/* page base - allow normal vertical scrolling, only hide horizontal overflow */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;   /* keep horizontal scrollbar hidden */
  overflow-y: auto;     /* normal vertical scrolling if page content requires it */
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}


/* Background - deep royal navy aesthetic */
body {
  background: #050505;
  
  color: #e0e6f6;

}
.galaxy-container {
  width: 100%;
  height: 100%;
  position: relative;
}


/* Canvas (stars background) — fixed to viewport so it cannot force page height */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;      /* CSS width equals viewport width */
  height: 100vh;     /* CSS height equals viewport height */
  display: block;
  z-index: 0;
  pointer-events: none; /* lets clicks pass through to page */
  box-sizing: border-box;
}

/* Navbar */
nav {
  position: fixed;
  top: 20px;
  right: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  background: rgba(44, 41, 41, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 100;
}

/* Left side: logo + title */
.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem; /* increased spacing between logo and title */
}

.nav-logo {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 8px;
}

.nav-title {
  font-size: 1.2rem;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  color: #8ea9db;
  text-shadow: none;
}

/* Nav links */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #a5b8e0;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  transition: color 0.3s, text-shadow 0.3s;
}

/* underline animation */
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #8ea9db;
  transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #b8c6f0;
  text-shadow: 0 0 8px rgba(184, 198, 240, 0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #8ea9db;
  transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   ULTIMATE FEST HERO
========================= */
/* =========================
   IIT TECHFEST STYLE HERO
========================= */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 120px 8% 80px;

  overflow: hidden;

  z-index: 1;
}

/* GRID BG */
.hero-grid {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

  background-size: 45px 45px;

  mask-image:
    radial-gradient(circle at center, black 30%, transparent 90%);

  animation:
    gridMove 12s linear infinite;

  z-index: 0;
}

@keyframes gridMove {

  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(45px);
  }
}

/* Glow */
.hero-glow {
  position: absolute;

  width: 600px;
  height: 600px;

  background:
    radial-gradient(circle,
      rgba(0, 0, 0, 0.15),
      transparent 70%);

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  filter: blur(60px);

  z-index: 0;
}

/* LEFT */
.hero-left {
  position: relative;

  z-index: 5;

  width: 50%;
}

/* Mini text */
.hero-mini-text {
  font-family: 'Orbitron', sans-serif;

  letter-spacing: 6px;

  font-size: 0.8rem;

  color: #8ea9db;

  margin-bottom: 25px;
}

/* Title */
.hero-title {
  font-size: 5rem;

  line-height: 0.9;

  margin: 0;

  font-family: 'Orbitron', sans-serif;

  font-weight: 900;

  text-transform: uppercase;

  color: #eef3ff;

  letter-spacing: 4px;

  text-shadow:
    0 0 15px rgba(142,169,219,0.25);

  animation:
    titleReveal 1s ease;
}

.hero-title span {
  color: #8ea9db;
}

@keyframes titleReveal {

  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Subtitle */
.hero-subtitle {
  margin-top: 18px;

  font-family: 'Orbitron', sans-serif;

  letter-spacing: 5px;

  color: #cdd9ff;

  font-size: 0.9rem;
}

/* Buttons */
.hero-buttons {
  display: flex;

  gap: 18px;

  margin-top: 45px;
}

.hero-btn {
  padding:
    1rem 2.3rem;

  border-radius: 14px;

  text-decoration: none;

  font-family: 'Orbitron', sans-serif;

  font-size: 0.95rem;

  letter-spacing: 2px;

  color: white;

  background:
    rgba(255,255,255,0.05);

  border:
    1px solid rgba(142,169,219,0.18);

  backdrop-filter: blur(14px);

  transition:
    all 0.35s ease;
}

.hero-btn:hover {

  transform:
    translateY(-4px)
    scale(1.04);

  box-shadow:
    0 0 25px rgba(142,169,219,0.25);

  border-color:
    rgba(142,169,219,0.4);
}

.register-btn {
  background:
    linear-gradient(
      135deg,
      rgba(142,169,219,0.22),
      rgba(255,255,255,0.08)
    );
}
.hero-pattern {

  display: flex;

  align-items: center;
  justify-content:left;

  gap: 12px;

  margin-top: 45px;
}

/* each tech bar */
.hero-pattern span {

  width: 14px;

  border-radius: 20px;

  background:
    linear-gradient(
      to top,
      rgba(142,169,219,0.15),
      #8ea9db
    );

  box-shadow:
    0 0 12px rgba(142,169,219,0.45);

  animation:
    equalizer 1.6s infinite ease-in-out;
}

/* different heights */
.hero-pattern span:nth-child(1) {
  height: 20px;
  animation-delay: 0s;
}

.hero-pattern span:nth-child(2) {
  height: 45px;
  animation-delay: 0.2s;
}

.hero-pattern span:nth-child(3) {
  height: 70px;
  animation-delay: 0.4s;
}

.hero-pattern span:nth-child(4) {
  height: 45px;
  animation-delay: 0.6s;
}

.hero-pattern span:nth-child(5) {
  height: 20px;
  animation-delay: 0.8s;
}

/* animation */
@keyframes equalizer {

  0% {
    transform: scaleY(0.7);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1.2);
    opacity: 1;
  }

  100% {
    transform: scaleY(0.7);
    opacity: 0.5;
  }
}


/* RIGHT */
.hero-right {
  position: relative;

  width: 45%;

  height: 600px;

  display: flex;

  justify-content: center;
  align-items: center;

  z-index: 5;
}

/* Rings */
.orbit {
  position: absolute;

  border-radius: 50%;

  border:
    1px solid rgba(142,169,219,0.18);
}

.orbit1 {
  width: 240px;
  height: 240px;

  animation:
    rotateRing 10s linear infinite;
}

.orbit2 {
  width: 340px;
  height: 340px;

  border-style: dashed;

  animation:
    rotateReverse 14s linear infinite;
}

.orbit3 {
  width: 460px;
  height: 460px;

  opacity: 0.35;

  animation:
    rotateRing 18s linear infinite;
}

@keyframes rotateRing {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {

  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* Logo Core */
.logo-core {
  position: relative;

  width: 480px;
  height: 480px;

  display: flex;

  justify-content: center;
  align-items: center;
}

.logo-core::before {
  content: '';

  position: absolute;

  inset: -12px;

  border-radius: inherit;

  border:
    1px solid rgba(142,169,219,0.18);

  animation:
    pulseRing 3s linear infinite;
}

@keyframes pulseRing {

  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Logo */
.hero-logo {
  width: 220px;

  animation:
    logoFloat 4s ease infinite;

  filter:
    drop-shadow(0 0 25px rgba(142,169,219,0.6));
}

@keyframes logoFloat {

  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Particles */
.particles span {
  position: absolute;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #8ea9db;

  box-shadow:
    0 0 12px #8ea9db;

  animation:
    particleFloat 5s linear infinite;
}

.particles span:nth-child(1) {
  top: 15%;
  left: 20%;
}

.particles span:nth-child(2) {
  top: 75%;
  left: 25%;
  animation-delay: 1s;
}

.particles span:nth-child(3) {
  top: 35%;
  right: 20%;
  animation-delay: 2s;
}

.particles span:nth-child(4) {
  bottom: 20%;
  right: 28%;
  animation-delay: 3s;
}

.particles span:nth-child(5) {
  top: 20%;
  right: 35%;
  animation-delay: 1.5s;
}

.particles span:nth-child(6) {
  bottom: 10%;
  left: 38%;
  animation-delay: 2.5s;
}

@keyframes particleFloat {

  0% {
    transform: translateY(0px) scale(0.5);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    transform: translateY(-35px) scale(1);
    opacity: 0;
  }
}

/* Background word */
.bg-word {
  position: absolute;

  bottom: -40px;
  right: 5%;

  font-size: 10rem;

  font-family: 'Orbitron', sans-serif;

  font-weight: 900;

  color:
    rgba(255,255,255,0.03);

  letter-spacing: 10px;

  z-index: 0;

  user-select: none;
}

/* MOBILE */
@media (max-width: 767px) {

  .hero {
    flex-direction: column;

    justify-content: center;

    text-align: center;

    padding-top: 120px;

    gap: 20px;
  }

  .hero-left {
    width: 100%;

    order: 2;
  }

  .hero-right {
    width: 100%;

    height: 320px;

    order: 1;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;

    letter-spacing: 3px;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: center;
  }

  .hero-btn {
    width: 75%;
  }

  .orbit1 {
    width: 160px;
    height: 160px;
  }

  .orbit2 {
    width: 230px;
    height: 230px;
  }

  .orbit3 {
    width: 300px;
    height: 300px;
  }

  .logo-core {
    width: 120px;
    height: 120px;
  }

  .hero-logo {
    width: 75px;
  }

  .bg-word {
    font-size: 4rem;

    bottom: 20px;
  }

  .hero-tech-lines {
    justify-content: center;
  }
}
/* Countdown Timer */
.countdown {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.countdown-heading {
  font-family: 'Orbitron', sans-serif;

  font-size: 2.2rem;

  font-weight: 800;

  letter-spacing: 4px;

  text-transform: uppercase;

  text-align: center;

  margin-top: -10px;
  margin-bottom: 35px;

  background:
    linear-gradient(
      90deg,
      #dfe7ff,
      #162032,
      #ffffff,
      #8ea9db
    );

  background-size: 300%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation:
    shimmerText 6s linear infinite;

  text-shadow:
    0 0 20px rgba(142,169,219,0.25);
}
.countdown-item {
  background: rgba(23, 27, 34, 0.7);
  backdrop-filter: blur(6px);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  text-align: center;
  min-width: 70px;
  box-shadow: 0 4px 12px rgba(142, 169, 219, 0.3);
}

.countdown-item span {
  display: block;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: #aebce8;
}

.countdown-item small {
  display: block;
  font-size: 0.75rem;
  color: #b8c6f0;
  letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .countdown {
    gap: 0.8rem;
  }
  .countdown-item span {
    font-size: 1.3rem;
  }
}

/* Floating animation for logo */
@keyframes logo-float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Glow animation for hero title */
@keyframes glow-pulse {
  0% { text-shadow: 0 0 10px rgba(174, 188, 232, 0.4); }
  100% { text-shadow: 0 0 20px rgba(120, 150, 210, 0.6), 0 0 35px rgba(120, 150, 210, 0.3); }
}

/* Responsive for tablets & mobile */
@media (max-width: 767px) {
  .hero-logo {
    width: 220px;
  }
  
}

@media (max-width: 767px) {
  nav ul {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(15, 25, 40, 0.95);
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    min-width: 180px;
  }

  .nav-links.show {
    display: flex;
    animation: slide-down 0.3s ease forwards;
  }

  .nav-links li {
    text-align: left;
  }

  
}

/* ============================= */
/* Trailer Section */
.trailer {
  text-align: center;
  margin: 40px auto;
  padding: 40px 20px;
  z-index: 2;
  position: relative;
}

.trailer-video iframe {
  width: 80%;
  max-width: 900px;
  height: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

/* 📱 Responsive */
@media (max-width: 767px) {
  .trailer-video iframe {
    width: 95%;
    height: 250px;
  }
}

/* ============================= */
/* Glitch Effect Heading */
/* ============================= */
/* Glitch Effect Heading (Hollow Style) */
.trailer-heading {
  position: relative;
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: transparent; /* hollow */
  -webkit-text-stroke: 2px #aebce8; /* outline */
  text-transform: uppercase;
  margin-bottom: 30px;
  overflow: hidden;
}

/* Create glitch layers */
.trailer-heading::before,
.trailer-heading::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 2px #8ea9db; /* outline for glitch */
  clip: rect(0, 900px, 0, 0);
}

/*.trailer-heading::before {
  animation: glitch-top 6s infinite linear alternate-reverse;
  -webkit-text-stroke: 2px #ff3d7f; /* pinkish glitch outline */
*/

.trailer-heading::after {
  animation: glitch-bottom 6s infinite linear alternate-reverse;
  -webkit-text-stroke: 2px #00eaff; /* cyan glitch outline */
}

/* Hover variant — stronger glitch */
.trailer-heading:hover::before {
  animation: glitch-top 1s infinite linear;
}
.trailer-heading:hover::after {
  animation: glitch-bottom 1s infinite linear;
}

/* Keyframes for glitch effect */
@keyframes glitch-top {
  0% { clip: rect(10px, 9999px, 50px, 0); transform: translate(-5px, -5px); }
  10% { clip: rect(30px, 9999px, 70px, 0); transform: translate(5px, -3px); }
  20% { clip: rect(5px, 9999px, 80px, 0); transform: translate(-3px, 5px); }
  30% { clip: rect(40px, 9999px, 100px, 0); transform: translate(3px, 2px); }
  40%, 100% { clip: rect(0, 9999px, 0, 0); transform: translate(0, 0); }
}

@keyframes glitch-bottom {
  0% { clip: rect(60px, 9999px, 120px, 0); transform: translate(5px, 5px); }
  10% { clip: rect(80px, 9999px, 140px, 0); transform: translate(-5px, 3px); }
  20% { clip: rect(50px, 9999px, 110px, 0); transform: translate(3px, -5px); }
  30% { clip: rect(70px, 9999px, 130px, 0); transform: translate(-3px, -2px); }
  40%, 100% { clip: rect(0, 9999px, 0, 0); transform: translate(0, 0); }
}

/* MARQUEE EVENTS START */

@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');

.banner {
  width: 100%;
  height: 100vh;
  text-align: center;
  overflow: hidden;
  position: relative;
  margin-top: 120px;
  background: transparent; /* ✅ keep starry bg visible */
}

.banner .slider {
  position: absolute;
  width: 200px;
  height: 250px;
  top: 15%;
  left: 40%; /* was 50% */
  transform: translateX(-50%);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  animation: autoRun 20s linear infinite;
  z-index: 2;
}


@keyframes autoRun {
  from {
    transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
  }
  to {
    transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
  }
}

.banner .slider .item {
  position: absolute;
  inset: 0;
  transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
    translateZ(550px);
}

.banner .slider .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
/* Hover zoom effect */
/* Default image styling */
.banner .slider .item img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Hover effect */
.banner .slider .item:hover img {
  transform: scale(1.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

/* Selected (clicked) state */
.banner .slider .item.selected img {
  transform: scale(1.25);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
}


.banner .content {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 100vw);
  text-align: center;
  z-index: 1;
}

.banner .content h1 {
  font-family: 'Cinzel', serif;
  font-size: 6em;
  line-height: 1em;
  color: #aebce8;
  text-shadow: 0 0 20px rgba(174, 188, 232, 0.6);
  position: relative;
  padding-bottom: 100px;
}

.banner .content h1::after {
  content: attr(data-content);
  position: absolute;
  inset: 0;
  -webkit-text-stroke: 2px #aebce8;
  color: transparent;
  opacity: 0.4;
}

.banner .model {
  display: none; /* ✅ removed */
}

/* 📱 Responsive */
@media screen and (max-width: 1023px) {
  .banner .slider {
    width: 160px;
    height: 200px;
  }
  .banner .slider .item {
    transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
      translateZ(300px);
  }
  .banner .content h1 {
    font-size: 4em;
  }
}

@media screen and (max-width: 768px) {
  .banner .slider {
    width: 100px;
    height: 150px;
  }
  .banner .slider .item {
    transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
      translateZ(180px);
  }
  .banner .content h1 {
    margin-bottom: 275px;
    font-size: 2.8em; 
  }
}

/* Pause the rotation when this class is active */
.banner .slider.paused {
  animation-play-state: paused ;
}


/* MARQUEE EVENTS END */

/* ============================= */
/* Elegant Royal Animated Footer */
/* ============================= */
.footer {
  position: relative;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75); /* translucent royal tone */
  backdrop-filter: blur(12px);
  color: #d6def8;
  padding: 100px 20px 30px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  border-top: 1px solid rgba(174, 188, 232, 0.3);
  margin-top: 60px;
}

/* Animated gradient line at top */
/* Base diagonal line styles */
.footer::before,
.footer::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 150%; /* extended to cover diagonal */
  opacity: 0.8;
  filter: drop-shadow(0 0 12px rgba(252, 228, 152, 0.521));
  background: linear-gradient(90deg, transparent, #e7d28d, #8ea9db, #cdd9ff, transparent);
  background-size: 200% 100%;
}

/* Line 1 – slightly above */
.footer::before {
  content: ''; 
  position: absolute;
  height: 1.5px;
  width: 120%; /* wider than footer */
  top: 1%;    /* slightly top */
  left: -10%;  /* start slightly outside left */
  transform: rotate(3deg);
  transform-origin: left top;
  background: linear-gradient(90deg, transparent, #d4af37, #8ea9db, #cdd9ff, transparent);
  background-size: 200% 100%;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
  animation: glow-flow 4s linear infinite;
}

/* Line 2 – from top-right to bottom-left at ~25deg */
.footer::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 200%;      /* long enough to cross diagonally */
  top: 0;
  right: -50%;      /* shift to start inside the footer */
  transform: rotate(-25deg); /* slant from top-right to bottom-left */
  transform-origin: top right;
  background: linear-gradient(90deg, transparent, #d4af37, #8ea9db, #cdd9ff, transparent);
  background-size: 200% 100%;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
  animation: glow-flow-reverse 5s linear infinite;
}

/* Glow animation – left to right */
@keyframes glow-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Glow animation – right to left */
@keyframes glow-flow-reverse {
  0% { background-position: 200% 50%; }
  100% { background-position: 0% 50%; }
}


/*animated top 
/* Decorative floating particles */
.footer::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: url('https://www.transparenttextures.com/patterns/stardust.png');
  opacity: 0.07;
  animation: drift 40s linear infinite;
}
@keyframes drift {
  from { transform: translate(0,0); }
  to { transform: translate(-200px,-200px); }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Logo & Title */
.footer-logo img {
  width: 80px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(174,188,232,0.8));
}

.footer-logo h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #b3c7ff, #8ea9db, #cdd9ff, #b3c7ff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 10s infinite linear;
}
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}
/* Footer Stats Container */
.footer-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: -30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  z-index: 2;
}

/* Divider between stats */
.footer-stats .stat-divider {
  width: 2px;
  height: 50px;
  background: linear-gradient(180deg, #8ea9db, #cdd9ff);
  opacity: 0.6;
  border-radius: 1px;
  box-shadow: 0 0 12px rgba(174,188,232,0.5);
}

/* Individual Stat */
.footer-stats .stat-item {
  text-align: center;
  cursor: default;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.footer-stats .stat-item:hover {
  transform: translateY(-5px);
  text-shadow: 0 0 15px rgba(174,188,232,0.9), 0 0 30px rgba(174,188,232,0.5);
}

/* Number Styling */
.footer-stats .stat-item span {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  font-family: 'Cinzel', serif;
  background: linear-gradient(90deg, #b3c7ff, #8ea9db, #cdd9ff, #b3c7ff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s infinite linear;
  text-shadow: 0 0 10px rgba(174,188,232,0.7);
}

/* Label Styling */
.footer-stats .stat-item small {
  display: block;
  font-size: 0.85rem;
  color: #cdd9ff;
  letter-spacing: 1px;
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Gradient Animation */
@keyframes gradient-shift {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .footer-stats {
    gap: 20px;
  }
  .footer-stats .stat-divider {
    display: none;
  }
  .footer-stats .stat-item span {
    font-size: 2rem;
  }
  .footer-stats .stat-item small {
    font-size: 0.8rem;
  }
}


/* Navigation Links */
.footer-links {
  display: flex;
  gap: 40px;
  margin-top: -40px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: #a5b8e0;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}
.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #cdd9ff;
  transition: width 0.3s ease;
}
.footer-links a:hover::before {
  width: 100%;
}
.footer-links a:hover {
  color: #796dc8;
  text-shadow: 0 0 10px rgba(174,188,232,0.8);
}

/* Social Icons (royal glow, no circles) */
.footer-social {
  display: flex;
  gap: 30px;
  justify-content: center;
  text-decoration: none;
  align-items: center;
}
.footer-social a {
  color: #a5b8e0;
  font-size: 1.7rem;
  transition: transform 0.3s ease, color 0.3s ease;
  display: flex;
  text-decoration: none;
  align-items: center;
}
.footer-social a:hover {
  color: #4556aeb5;
  transform: scale(1.25);
}
.footer-logo-icon {
  width: 32px;       /* adjust size as needed */
  height: 32px;
  filter: brightness(100%);
}
.white-logo {
  filter: brightness(100%);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 40px;
  font-size: 1rem;
  color: #8ea9db;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 15px;
  letter-spacing: 1px;
}

/* 📱 Responsive */
@media (max-width: 767px) {
  .footer{
    margin-top: -120px;
  }
  .footer-logo h2{
    font-size: 1.8rem;
  }
  .footer-links{
    margin-top: 1px;
    gap: 25px;
    font-size: 1rem;
  }
}

/* ===========================
   FOOTER TYPEWRITER
=========================== */

.footer-typewriter{
    width:100%;
    text-align:center;
    margin:35px 0;
    font-family:'Orbitron',sans-serif;
    font-size:1.4rem;
    font-weight:700;
    color:#ffffff;
    letter-spacing:2px;
    min-height:40px;
    text-shadow:
        0 0 8px rgba(255,255,255,.2),
        0 0 20px rgba(142,169,219,.4);
}

.footer-typewriter #typewriter{
    color:#aebce8;
}

.cursor{
    display:inline-block;
    color:#ffffff;
    animation:blink .8s infinite;
}

@keyframes blink{
    50%{
        opacity:0;
    }
}

@media(max-width:768px){

.footer-typewriter{
    font-size:0.95rem;
    line-height:1.6;
    padding:0 20px;
}
}

/* ===== FUTURISTIC ADDITIONS ===== */

/* ==================== OLD LOADER CSS - COMMENTED OUT FOR EASY REVERT ====================
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0d1b2a;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #8ea9db;
  font-family: 'Orbitron', sans-serif;
  z-index: 9999;
}
==================================================================================== */

/* LOADER BASE */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  background: #000 !important;
  z-index: 99999;
  overflow: hidden;
  isolation: isolate;
}


#loader {
  background: radial-gradient(circle at center, #000 0%, #000 60%, #050505 100%);
}
/* Warp canvas 
#warp {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Infinity center */
.infinity-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0) scale(1); /* 🔥 GPU */
  z-index: 10;

  will-change: transform, opacity; /* 🔥 hint browser */
  backface-visibility: hidden;
}
/* EXPANSION STATE */
.infinity-wrapper.expand {
  transform: translate3d(-50%, -50%, 0) scale(1.25); /* slightly less = smoother */
  transition: transform 0.9s ease-out;
}

.infinity-wrapper.zoom-out {
  transform: translate3d(-50%, -50%, 0) scale(6); /* reduce from 8 */
  opacity: 0;
  transition: transform 0.7s ease-in, opacity 0.7s ease-in;
}
.infinity-wrapper.expand path {
  filter: none; /* 🔥 temporarily remove heavy blur */
}

/* SVG size */
.infinity {
  width: 1000px;
  
  width: min(75vw, 600px); /* 🔥 scales with screen */
}
@media (max-width: 767px) {
  .infinity {
    width: 100vw; /* 🔥 bigger on phones */
  }
}
/* MAIN PATH (animated) */
.infinity #infinityPath {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 800;
  stroke-dashoffset: 800;

  animation: drawInfinity 1.6s ease forwards;
}

.infinity #infinityPath {
  animation: drawInfinity 1.6s linear forwards; /* 🔥 faster */
}

@keyframes drawInfinity {
  0% {
    stroke-dashoffset: 800;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* TEXT */
.loader-text {
  position: absolute;
  bottom: 10%;
  width: 100%;
  text-align: center;
  color: #8ea9db;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 4px;
  opacity: 0;
  animation: fadeText 2s ease forwards;
  animation-delay: 1s;
}

@keyframes fadeText {
  to { opacity: 1; }
}


/* ===========================
   TABLET FIXES ONLY
   iPad Mini / iPad / Tablets
=========================== */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  /* NAVBAR */
  nav {
    left: 20px;
    right: 20px;
    padding: 0.8rem 1.5rem;
  }

  nav ul {
    display: flex;
    gap: 1rem;
  }

  .hamburger {
    display: none;
  }

  /* HERO */
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 3rem;
    padding: 140px 5% 80px;
    min-height: auto;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-left {
    order: 2;
  }

  .hero-right {
    order: 1;
    height: 450px;
  }

  .hero-title {
    font-size: 3.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-pattern {
    justify-content: center;
  }
  .hero-logo{
     width: 280px !important;
  }
  /* LOGO SYSTEM */
  .logo-core {
    width: 400px;
    height: 400px;
  }

  .hero-logo {
    width: 180px;
  }

  .orbit1 {
    width: 260px;
    height: 260px;
  }

  .orbit2 {
    width: 350px;
    height: 350px;
  }

  .orbit3 {
    width: 450px;
    height: 450px;
  }

  /* COUNTDOWN */
  .countdown {
    gap: 1rem;
  }

  .countdown-item {
    min-width: 85px;
    padding: 1rem;
  }

  .countdown-item span {
    font-size: 1.8rem;
  }

  /* TRAILER */
  .trailer-video iframe {
    width: 90%;
    height: 400px;
  }

  .trailer-heading {
    font-size: 2.5rem;
  }

  /* MARQUEE EVENTS */
  .banner {
    height: 80vh;
  }

  .banner .slider {
    width: 140px;
    height: 190px;
    left: 50%;
  }

  .banner .slider .item {
    transform:
      rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
      translateZ(250px);
  }

  .banner .content h1 {
    font-size: 3.5rem;
    margin-bottom: 0;
  }

  /* FOOTER */
  .footer-links {
    gap: 25px;
  }

  .footer-stats {
    gap: 25px;
  }

  .footer-stats .stat-item span {
    font-size: 2.2rem;
  }
}

/* ==========================
   TABLET FIX - MARQUEE EVENTS
========================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .banner {
        height: 50vh !important;
        margin-top: 60px !important;
    }

    .banner .slider {
        top: 8% !important;
    }

    .banner .content {
        bottom: 15% !important;
    }

    .banner .content h1 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
}
/* ==========================
   TABLET FIX - CENTER MARQUEE
========================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .banner .slider {
        left: 40% !important;
       
    }

}


/* ==========================================
   BOSCOTSAV FLOATING GLASS CARDS
========================================== */

/* ===================================
   BOSCOTSAV INFINITY ISLAND
=================================== */

.infinity-island{
    display:none;
}

@media (max-width:768px){

    .hamburger{
        display:none !important;
    }

    .nav-links{
        display:none !important;
    }

    body{
        padding-bottom:110px;
    }

    .infinity-island{

        position:fixed;

        left:50%;
        bottom:25px;

        transform:translateX(-50%);

        z-index:99999;

        display:flex;
        justify-content:center;
        align-items:center;
    }

    .island-trigger{

        width:68px;
        height:68px;

        border:none;
        outline:none;

        cursor:pointer;

        border-radius:999px;

        background:rgba(25,25,30,.85);

        backdrop-filter:blur(25px);

        border:1px solid rgba(255,255,255,.08);

        box-shadow:
            0 10px 40px rgba(0,0,0,.35),
            inset 0 1px 0 rgba(255,255,255,.08);

        color:#d4af37;

        font-size:2rem;

        transition:.5s cubic-bezier(.22,1,.36,1);
    }

    .infinity-symbol{
        display:block;
        transition:.4s ease;
    }

    .island-menu{

        position:absolute;

        left:50%;
        bottom:0;

        transform:
            translateX(-50%)
            scaleX(.3);

        width:320px;
        height:68px;

        border-radius:999px;

        background:rgba(25,25,30,.92);

        backdrop-filter:blur(25px);

        border:1px solid rgba(255,255,255,.08);

        display:flex;
        justify-content:space-evenly;
        align-items:center;

        opacity:0;
        pointer-events:none;

        transition:
            opacity .35s ease,
            transform .45s cubic-bezier(.22,1,.36,1);

        box-shadow:
            0 10px 40px rgba(0,0,0,.35);
    }

    .island-item{

        color:white;
        font-size:1.1rem;

        opacity:0;

        transform:translateY(12px);

        transition:.3s ease;

        text-decoration:none;
    }

    .island-item i{
        transition:.25s ease;
    }

    .island-item:active i{
        transform:scale(1.2);
    }

    .infinity-island.active .island-menu{

        opacity:1;

        pointer-events:auto;

        transform:
            translateX(-50%)
            scaleX(1);
    }

    .infinity-island.active .island-item{

        opacity:1;

        transform:translateY(0);
    }

    .infinity-island.active .island-trigger{

        transform:scale(.8);

        opacity:0;
    }

    .island-item.active{

        color:#d4af37;
    }

    @keyframes islandFloat{

        0%{
            transform:translateX(-50%) translateY(0);
        }

        50%{
            transform:translateX(-50%) translateY(-4px);
        }

        100%{
            transform:translateX(-50%) translateY(0);
        }
    }

    .infinity-island{
        animation:islandFloat 5s ease-in-out infinite;
    }
}

/* Desktop */

@media (min-width:769px){

    .infinity-island{
        display:none !important;
    }
}