* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}
* {
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}
:root {
  --mobile-width: 88%;
}
.hero,
.navbar {
  overflow-x: clip;
}
body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  color: #fff;
  position: relative;
}
body > *:not(.global-glow) {
  position: relative;
  z-index: 2;
}
/* FIX NAVBAR CLICK BLOCKING */
.navbar,
.nav-container,
.nav-links,
.nav-link {
  position: relative;
  z-index: 9999;
  pointer-events: auto;
}

/* Disable click capture on ALL decorative layers */
.global-glow,
.glow,
.glow::before,
.glow::after {
  pointer-events: none;
}
/* Prevent carousel UI layers from blocking image clicks */
.carousel-controls,
.carousel-indicators {
  pointer-events: none;
}

/* Re-enable pointer events ONLY on the actual buttons */
.carousel-controls button,
.carousel-indicators span {
  pointer-events: auto;
}

.global-glow,
.glow,
.glow *,
.hero,
.hero *::before,
.hero *::after {
  pointer-events: none;
}
/* Re-enable interaction for CTA */
.cta-layer,
.get-started-btn,
.get-started-btn * {
  pointer-events: auto;
}



/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 1000;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 56px;        /* adjust as needed */
  width: auto;         /* keeps aspect ratio */
  display: block;
}


.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.8;
}
.register-btn {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: rgba(179, 179, 179, 0.3);
  border: 2px solid rgba(194, 49, 202, 1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: color 0.6s ease;
}

.register-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 200%;
  height: 200%;
  background: rgba(194, 49, 202, 1);
  border-radius: 100% 100% 0 0;
  transform: translate(-50%, 100%) scale(0);
  transform-origin: center bottom;
  z-index: -1;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.register-btn:hover {
  border-color: #fff;
}
.register-btn:hover .arrow-circle {
  background: #fff;
  transition: background 0.3s ease;
}

.register-btn:hover .arrow {
  color: rgba(210, 70, 225, 1);
  transform: rotate(45deg);
  transition: transform 0.3s ease, color 0.3s ease;
}

.register-btn:hover::before {
  transform: translate(-50%, 0) scale(1);
}

.register-btn span {
  position: relative;
  z-index: 1;
}

.arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(210, 70, 225, 1);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.arrow {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1;
  display: inline-block;
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-top: -60px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  z-index: 3;
}
.cta-layer {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
}
.get-started-btn {
  transform: none !important;
}
.hero-title {
  position: relative;
  width: min(90vw, 1100px);
  height: 380px;
  margin: 0 auto 2.5rem;
  transform: translateX(100px);
  will-change: transform;
}
.title-text {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  z-index: 1;
  opacity: 0;
  transform-origin: left center;
  animation: titleSlideIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.title-26 {
  position: absolute;
  right: 0;
  left: 64%;
  top: 50%;
  transform: translateY(-50%);
  width: 370px;
  z-index: 1;
  opacity: 0;
  animation: title26SpringIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.title-boy {
  position: absolute;
  left: 55%;
  bottom: -60px;
  width: 530px;
  z-index: 3;
  opacity: 1;
  animation: boySpringIn 1.8s cubic-bezier(0.16, 1, 0.3, 1)forwards;
}
@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translate(-120%, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
@keyframes title26SpringIn {
  0% {
    opacity: 0;
    transform: translate(120%, -50%);
  }

  65% {
    opacity: 1;
    transform: translate(-8%, -50%);
  }

  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
@keyframes boySpringIn {
  0% {
    transform: translateX(120%) translateY(140px) scale(0.95);
  }

  65% {
    transform: translateX(-54%) translateY(-14px) scale(1.04);
  }

  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}
.get-started-btn {
  background: rgba(179, 179, 179, 0.3);
  border: 2px solid rgba(58, 72, 200, 1);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  cursor: pointer;
  position: relative;
  overflow: visible;
  white-space: nowrap;
  transition: color 0.4s ease;
}
.get-started-btn .arrow {
  font-size: 0.95rem;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}


.get-started-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 72, 200, 1);
  clip-path: ellipse(0% 0% at 100% 100%);
  transition: clip-path 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 8px;
  z-index: -1;
}
.get-started-btn:hover::before {
  clip-path: ellipse(150% 150% at 100% 100%);
}
.get-started-btn span {
  position: relative;
  z-index: 1;
}

.cta-anim {
  opacity: 0;
  animation: ctaSpringIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.9s;
}
@keyframes ctaSpringIn {
  0% {
    opacity: 0;
    transform: translateX(120%);
  }

  65% {
    opacity: 1;
    transform: translateX(-8%);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Glow Layers */
.global-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0; /* IMPORTANT */
}

/* SHARED */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(220px);
  mix-blend-mode: screen;
  will-change: transform;
}
.glow-blue {
  position: absolute;
  width: 622px;
  height: 622px;
  top: -255px;
  left: 112px;
  pointer-events: none;
  z-index: 1;
  background: rgba(76, 93, 215, 0.59);
  opacity: 1;
  border-radius: 50%;
  filter: blur(224px);
  mix-blend-mode: screen;
  transform: translateY(-100%);
  animation: blueSlideIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.15s;
}
.glow-pink {
  position: absolute;
  width: 622px;
  height: 622px;
  top: 305px;
  left: 1152px;
  pointer-events: none;
  z-index: 1;
  background: rgba(210, 70, 225, 0.85);
  border-radius: 50%;
  filter: blur(224px);
  mix-blend-mode: screen;
  transform: translateX(40%);
  animation: slidePinkIn 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.15s;
}
@keyframes blueSlideIn {
  to {
    transform: translateY(0);
  }
}
@keyframes slidePinkIn {
  to {
    transform: translateX(0);
  }
}
/* Responsive */
@media (max-width: 880px) {
  .navbar {
    padding: 1.2rem 1rem;
  }

  .nav-container {
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: space-between;
  }

  .nav-logo img {
  height: 46px;
  margin-top: -5px;
  }

  .nav-links {
    gap: 1.2rem;
    justify-content: flex-end;
  overflow-x: hidden;
  flex-wrap: nowrap;
  }

  .register-btn {
    padding: 0.3rem 0.9rem;
    font-size: 0.9rem;
  }
  .hero-title {
  position: relative;
  width: min(80vw, 900px);
  height: 380px;
  margin: 0 auto 2.5rem;
  transform: none;
}
.title-text {
  left: -40px;
  top: 40%;
  width: 290px;
}
.title-26 {

  right: 0;
  left: 59%;
  top: 40%;
  width: 200px;
}
.title-boy {
  left: 50%;
  bottom: 92px;
  width: 290px;
}
  .get-started-btn {
    transform: none !important;
    margin: 16px auto 0;
    display: block;
    margin-top: 120px;
    left: -20px;
    font-size: 0.9rem;
    padding: 7px 8px;
    white-space: nowrap;
  }

  .glow-blue {
    width: 400px;
    height: 500px;
    left: -100px;
    filter: blur(150px);
  }

  .glow-pink {
    width: 350px;
    height: 350px;
    left: auto;
    right: -100px;
    filter: blur(150px);
  }
}
@media screen and (max-width: 480px) {


  .hero-title {
    position: relative;
    width: 100%;
    height: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0 auto 16px;
    margin-bottom: -50px;

  }
  .title-text {
    content: url("assets/tan tra_phone.png");
    width: 220px;
    top: -180px;
    left: 3%;
  }

  .title-26 {
    content: url("assets/26_phone.png");
    width: 250px;
    left: 10%;
    top: -40px;
  }

  .title-boy {
    content: url("assets/TANTRA_CHARACTER_PHONE.png");
    width: 240px;
    top:-320px;
    left: 49%;
    transform: translateX(55%);
}
  @keyframes boySpringIn {
    0% {
      transform: translateX(90%) translateY(140px) scale(0.95);
    }

    65% {
      transform: translateX(5%) translateY(-14px) scale(1.04);
    }

    100% {
      transform: translateX(12%) translateY(0) scale(1);
    }
  }
.cta-layer {
    position: relative;
    display: flex;
    left: -19.5%;
    transform: translateX(-50%);
    justify-content: center;
    width: 100%;
    transform: none;
  }

  .get-started-btn {
    transform: none !important;
    margin-top: 220px;
  }
  .register-btn{
   padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  gap: 0.3rem;
  }
}

@media screen and (max-width: 368px) {
  .hero {
    margin-top: 10px;   /* was 60px */
    padding-top: 20px;
  }

  .hero-title {
    width: 100%;
    height: auto;
    transform: none;
    margin: 0 auto;
    margin-bottom: -50px;
  }

  .title-text {
    content: url("assets/tan tra_phone.png");
    width: 190px;
    top: -180px;
    left: -10px;
  }

  .title-26 {
    content: url("assets/26_phone.png");
    width: 230px;
    top:  -60px;
    left: 0;

  }

  .title-boy {
    content: url("assets/TANTRA_CHARACTER_PHONE.png");
    top: -315px;
    width: 226px;
    left: 52%;
    transform: translateX(55%);
}
  @keyframes boySpringIn {
    0% {
      transform: translateX(90%) translateY(140px) scale(0.95);
    }

    65% {
      transform: translateX(-5%) translateY(-14px) scale(1.04);
    }

    100% {
      transform: translateX(3%) translateY(0) scale(1);
    }
  }

  .cta-layer {
    position: relative;
    display: flex;
    left: -19.5%;
    transform: translateX(-50%);
    justify-content: center;
    width: 100%;
    transform: none;
  }

  .get-started-btn {
    transform: none !important;
    margin-top: 180px;
  }
  .register-btn{
   padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  gap: 0.3rem;
  }
}
@media (min-width: 881px) {
   .cta-layer {
    position: absolute;
    top: calc(68% + 20px);
    left: calc(54.5% + 370px + 10px);
    transform: translateY(-50%);
  }
}
@media (max-width: 355px) {

  .navbar {
    padding-top: 1rem;
    padding-bottom: 0.6rem;
  }

  .nav-logo {
    font-size: 1.1rem;
  }

  .nav-link {
    font-size: 0;
    position: relative;
  }

  .nav-link::before {
    content: "\f095";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
  }

  .nav-links {
    gap: 1.2rem;
  }
}

/* ========================= */
/* ABOUT SECTION */
/* ========================= */

.about-section {
  padding: 120px 180px;
   overflow-x: hidden;
  overflow-y: visible;
}
.about-section::before {
   content: "";
  position: absolute;
  width: 1300px;
  height: 1300px;
  top: 30%;
  left: -650px;
  transform: translateY(-50%);


  filter: blur(50px);
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
}
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1400px;
  position: relative;
  margin: auto;
  z-index: 2;
}

/* LEFT TEXT */
.about-text {
  max-width: 520px;
}

.about-text h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
}

.about-title {
  font-family: 'Manrope', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.highlight {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: #d246e1;
}

.about-desc {
  font-family: 'Poppins', sans-serif;
   margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: #f0f0f0;
}


.about-text p {
  margin-top: 24px;
  line-height: 1.8;
  color: #d0d0d0;
}


/* ========================= */
/* SLIDER */
/* ========================= */

.slider-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  display: flex;
  justify-content: center;
  position: relative;
  padding: 48px 0;
  height: 420px;
}


.slider-track {
  display: flex;
  align-items: center;
  gap: 32px;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* ========================= */
/* CARD */
/* ========================= */

.card {
  flex-shrink: 0;
  background: linear-gradient(180deg,#3a0a55,#08020b);
  border-radius: 22px;
  padding: 18px;
  border: 1.5px solid rgb(121,193,255);
  transition: transform 0.4s ease, filter 0.4s ease;
   transform-origin: center center;
   width: 320px;
   will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.card.big {
  z-index: 2;
   transform: scale(1.08);
  filter: brightness(1.15);
}

.card.small {
  transform: scale(0.9);
  filter: brightness(0.75);
}

/* IMAGE */
.card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 14px;
}

/* TEXT */
.card h3 {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 6px;
}

.card p {
  font-size: 13px;
  text-align: center;
  color: #f1e9ff;
  line-height: 1.5;
}


/* Tablets */
@media (max-width: 1024px) {

  .about-section {
    padding: 80px 40px;
    
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }

  .about-title {
    font-size: 44px;
    white-space: normal;
  }

  .about-desc {
    font-size: 16px;
  }

  .slider-wrapper {
    width: 100%;
  }
}


/* Phones */
@media (max-width: 768px) {
  .about-section {
    position: relative;
  
 z-index: 2;
  }

  .about-section::before {
    display: none;
  }

  .slider-wrapper {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    display: flex;
    justify-content: center;
    height: 340px;
  }

  .slider-track {
    display: flex;
    align-items: center;
    gap: 16px;
     padding: 24px 0;
  }

  .card {
    flex-shrink: 0;
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .card.big {
    width: 260px;
    transform: scale(1.15);
    z-index: 3;
    opacity: 1;
  }

  .card.small {
    width: 180px;
    transform: scale(0.8);
    opacity: 0.5;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .about-section{
    margin-top: -98px;
  }

  .about-title {
    font-size: 26px;
  }

  .about-desc {
    font-size: 14px;
  }

  .card.big {
    width: 220px;
  }

  .card.small {
    width: 170px;
  }
}

/* ========================= */
/* PARTNERS IMAGE SECTION */
/* ========================= */

.partners-image-section {
  padding: 60px 0 40px;
  background: transparent;
}

.partners-image-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.partners-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 355px) {
  .about-title{
    font-size: 15rem;
  }
}
@media (max-width: 360px) {

  .about-section {
    padding: 60px 16px;
    padding-top: 24px;
    margin-top: -90px;
    overflow-x: hidden;
    position: relative;
 
 z-index: 2;
  }

  .about-section::before {
    display: none;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
  }

  .about-text {
    max-width: 100%;
  }

  .slider-wrapper {
    width: 100%;
    padding: 32px 0;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .slider-track {
    gap: 12px;
  }

  body,
  html {
    overflow-x: hidden;
  }

  .slider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slider-track {
    justify-content: flex-start;
  }


  .card.big {
    width: 200px;
    transform: scale(1.08);
    margin: 0 auto;
    z-index: 3;
  }

  .card.small {
    width: 150px;
    transform: scale(0.88);
    opacity: 0.6;
  }

}
@media (min-width: 1024px) {

  .about-container {
    display: grid;
    grid-template-columns: 520px 1fr;
    align-items: center;
    gap: 80px;
  }
  .slider-wrapper {
    height: auto;
    min-height: 420px;
    overflow-y: visible;
    padding: 24px 0;
  }

  .slider-track {
    align-items: center;
  }

}
#highlights {
  padding: 80px 20px;
  text-align: center;
}

/* TITLE */
.highlights-title {
  color: white;
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  margin-bottom: 50px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.title-animate {
  opacity: 0;
  transform: translateY(-10px);
  animation: titleFade 0.5s ease forwards;
}

@keyframes titleFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CAROUSEL */
.highlights-carousel {
  max-width: 1000px;
  margin: auto;
}

.carousel-container {
  position: relative;
  height: 400px;
  overflow: visible;
  border-radius: 10px;
  perspective: 1000px;
}

.carousel-images {
  position: relative;
  height: 100%;
}

.carousel-image {
  position: absolute;
  width: 280px;
  height: 340px;
  object-fit: contain;
  border-radius: 15px;
  opacity: 0;
  transform: translateX(400px) scale(0.8);
  transition: all 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  left: 50%;
  top: 50%;
  margin-left: -140px;
  margin-top: -175px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.carousel-image.center {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 10;
  border: 2px solid rgba(210, 70, 225, 0.85);
  box-shadow:
    0 0 30px rgba(190, 94, 201, 0.85),
    0 0 60px rgba(210, 70, 225, 0.85);
}

.carousel-image.left {
  opacity: 0.6;
  transform: translateX(-350px) scale(0.85);
  z-index: 5;
  filter: brightness(0.7);
  cursor: pointer;
}

.carousel-image.right {
  opacity: 0.6;
  transform: translateX(350px) scale(0.85);
  z-index: 5;
  filter: brightness(0.7);
  cursor: pointer;
}

/* CONTROLS */
.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 20;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(155, 92, 255, 0.4);
  background: rgba(155, 92, 255, 0.1);
  color: #9b5cff;
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.carousel-btn:hover {
  transform: scale(1.1);
}

/* INDICATORS */
.carousel-indicators {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
}

.carousel-indicator.active {
  background: #9b5cff;
  box-shadow: 0 0 10px rgba(155, 92, 255, 0.6);
  transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .highlights-title {
    font-size: 2rem;
    margin-bottom: -1px;
  }

  .carousel-container {
    height: 280px;
  }

  .carousel-image {
    width: 180px;
    height: 230px;
    margin-left: -90px;
    margin-top: -115px;
  }

  .carousel-image.left {
    transform: translateX(-220px) scale(0.75);
  }

  .carousel-image.right {
    transform: translateX(220px) scale(0.75);
  }
}

#codex-section {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 60px 0;
   width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  isolation: isolate;
  min-height: 560px;
}
#codex-section,
.wrapper,
.flip-wrapper{
  overflow-anchor: none;
}


/* ================= MOBILE BASE ================= */
.wrapper {
  width: 100%;
  max-width: 414px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
}

/* ================= CARD GROUP (WIDTH OWNER) ================= */
.card-group {
  width: var(--mobile-width);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================= FLIP ================= */
.flip-wrapper {
  width: var(--mobile-width);
  aspect-ratio: 16 / 9;
  position: relative;
  transform-style: preserve-3d;
  animation: flipLeftPause 4s linear infinite;
}

.flip-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
}

.flip-wrapper img.back {
  transform: rotateY(-180deg);
}

@keyframes flipLeftPause {
  0%  { transform: rotateY(0deg); }
  20% { transform: rotateY(0deg); }
  50% { transform: rotateY(-180deg); }
  70% { transform: rotateY(-180deg); }
  100% { transform: rotateY(-360deg); }
}

/* ================= CARD ================= */
.hack-card {
  width: 100%;
  padding: 18px 20px;
  background:
    radial-gradient(circle at top right,#7b2d6f 0%,rgba(123,45,111,0.6) 45%,transparent 60%),
    radial-gradient(circle at bottom left,#7b2d6f 0%,rgba(123,45,111,0.6) 15%,transparent 65%),
    radial-gradient(circle at top left,#1f214f 0%,rgba(31,33,79,0.7) 45%,transparent 70%),
    radial-gradient(circle at bottom right,#1f214f 0%,rgba(31,33,79,0.7) 45%,transparent 70%),
    linear-gradient(135deg,#2b1b4d,#4b1e5e);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border-radius: 18px 18px 0 0;
}

.card-header {
  font-size: 22px;
  font-weight: 700;
}

.card-header span {
  font-weight: 400;
  opacity: 0.85;
}

.divider {
  height: 2px;
  background: rgba(255,255,255,0.25);
  margin: 16px 0 22px;
margin-left: calc(26px + 12px);
}

.card-content {
  display: flex;
  justify-content: space-between;
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.features li {
  display: flex;
  align-items: center;
}

/* BULLET */
.features .bullet {
  font-size: 26px;
  opacity: 0.5;
  margin-right: 12px;
  line-height: 1;
}

/* TEXT */
.features .text {
  white-space: nowrap;
  font-size: 16px;
}


.price {
  text-align: right;
}

.price h1 {
  font-size: 46px;
  line-height: 1;
}

.price span {
  font-size: 14px;
  opacity: 0.85;
}

/* ================= REGISTER BAR ================= */
.register-bar {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, #2a184f, #6a2a6f);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  justify-content: center;
  border-radius: 0 0 16px 16px;
  margin-top: 12px;
}

.reg-btn {
  padding: 12px 32px;
  font-size: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* ================= SMALL PHONES ================= */
@media (max-width: 360px) {
  :root {
    --mobile-width: 84%;
  }

  .card-header { font-size: 20px; }
  .features li { font-size: 15px; }
  .price h1 { font-size: 42px; }
}

/* ================= LAPTOP ================= */
.lap-ticket { display: none; }

@media (min-width: 1024px) {

#codex-section {
display: block;
padding-left: 140px;
min-height: 440px;
}
body {
    justify-content: flex-start;
}

.wrapper {
position: relative;
display: flex;
align-items: center;
}

  .card-group {
 position: absolute;
  left: 0;
  transform: translateX(-200px);

}

  .hack-card {
    width: 480px;
    padding: 28px 32px;
    flex-direction: column;
    height: 330px;
  }

  .register-bar {
    width: 480px;
  }

  .card-header { font-size: 28px; }
  .features li { font-size: 20px; }
  .price h1 { font-size: 64px; }

  .flip-wrapper {
    order: 2;
    width: 720px;
    flex-shrink: 0;
    left: 200px;
  }

  .mobile-ticket { display: none; }
  .lap-ticket { display: block; }
}

@media (max-width: 400px), (max-height: 750px) {

  :root {
    --mobile-width: 82%;
  }

  .wrapper {
    gap: 12px;
  }

  .hack-card {
    padding: 14px 16px;
  }

  .features {
    gap: 10px;
  }

  .card-header {
    font-size: 18px;
  }

  .features li {
    font-size: 14px;
  }

  .price h1 {
    font-size: 34px;
  }

  .register-bar {
    padding: 10px;
  }

  .reg-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}
@media (max-width: 320px) {


  .features .text {
    white-space: nowrap;
    font-size: 13px;
  }

  .features .bullet {
    font-size: 18px;
    margin-right: 6px;
  }

  .features {
    gap: 10px;
  }

  .price h1 {
    font-size: 30px;
  }

  .price span {
    font-size: 11px;
  }

  .hack-card {
    padding: 12px 12px;
  }


  .divider {
    margin-left: calc(18px + 6px);
  }
}

/* ========================= */
/* CONTACT SECTION */
/* ========================= */

.contact-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 120px 0 140px;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

/* Left blue glow */
.contact-section::before {
  content: "";
  position: absolute;
  width: 1300px;
  height: 1300px;
  top: 50%;
  left: -650px;
  transform: translateY(-50%);
  filter: blur(60px);
  z-index: 0;
}

/* ================= TITLE ================= */

.contact-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

/* ================= CONTAINER ================= */

.contact-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  gap: 100px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* ================= CARD ================= */

.contact-card {
  width: 540px;
  padding: 50px 45px;
  background:
    radial-gradient(circle at top right,#7b2d6f 0%,rgba(123,45,111,0.6) 45%,transparent 60%),
    radial-gradient(circle at bottom left,#7b2d6f 0%,rgba(123,45,111,0.6) 15%,transparent 65%),
    radial-gradient(circle at top left,#1f214f 0%,rgba(31,33,79,0.7) 45%,transparent 70%),
    radial-gradient(circle at bottom right,#1f214f 0%,rgba(31,33,79,0.7) 45%,transparent 70%),
    linear-gradient(135deg,#2b1b4d,#4b1e5e);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 30px 70px rgba(0,0,0,0.65);
}

/* ================= FORM ================= */

.contact-card label {
  display: block;
  margin-top: 22px;
  font-size: 18px;
  font-weight: 600;
   letter-spacing: 0.2px;
  color: #ffffff;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  margin-top: 12px;
  padding: 18px 20px;
  border-radius: 12px;
  border: none;
  background: rgba(0,0,0,0.4);
  color: #ffffff;
  font-size: 16px;
   font-weight: 400;
}

.contact-card textarea {
  height: 140px;
  resize: none;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}

/* ================= BUTTON ================= */

.contact-card button {
  margin-top: 40px;
  width: 100%;
  padding: 18px 0;
  border-radius: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;

  border: 2px solid #4c5dd7;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 50%,
    #4c5dd7 50%,
    #2f8cff 100%
  );
  background-size: 200% 100%;
  background-position: left bottom;

  cursor: pointer;
  transition: all 0.5s ease;
}

/* Hover animation */
.contact-card button:hover {
  background-position: right bottom;
  box-shadow: 0 0 25px rgba(76, 93, 215, 0.7);
  color: #ffffff;
}

.contact-card button:hover {
  background: linear-gradient(90deg,#4c5dd7,#2f8cff);
  box-shadow: 0 0 25px rgba(76,93,215,0.6);
}

/* ================= INFO ================= */

.contact-info {
  color: #ffffff;
  max-width: 320px;
}

.contact-info h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.contact-info p {
  margin-top: 22px;
  font-size: 16px;
  color: #bdbdbd;
  font-weight: 400;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
}

.contact-info i {
  font-size: 20px;
  color: #ffffff;
  opacity: 0.9;
}

/* ================= MAP ================= */

.map-box {
  margin-top: 26px;
  width: 280px;
  height: 190px;
  border-radius: 16px;
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  font-family: "Satoshi", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}
/* ================= CONTACT RESPONSIVE ================= */

@media (max-width: 1024px) {
  .contact-container {
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .contact-section {
    padding: 80px 20px 100px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .contact-card {
    width: 100%;
    max-width: 520px;
  }

  .contact-info {
    text-align: center;
    max-width: 100%;
  }

  .map-box {
    margin: 24px auto 0;
  }

}
@media(max-width: 768px){
.footer {
padding-left: 20px;
padding-right: 20px;
}
}
 

@media (max-width: 480px) {
  .contact-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .contact-card {
    padding: 30px 22px;
  }

  .contact-card label {
    font-size: 16px;
  }

  .contact-card input,
  .contact-card textarea {
    font-size: 15px;
  }

  .contact-info h3 {
    font-size: 22px;
  }

  .contact-info span {
    font-size: 16px;
  }
}
/*Avantika*/

/*--------------------------Zoom and marquee scroll--------------------------*/

.zoom-section {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;

}

.zoom-section::after {
  content: "";
  display: block;
  height: 100vh;
}

.zoom-frame {
  width: 100%;
  max-width: 100vw;     /* 🔒 never exceed screen */
  padding: 0 1rem;     /* breathing room */
  overflow: hidden;
}

.zoom-frame h1 {
  max-width: 100%;
  text-align: center;
  white-space: normal; /* 🚨 IMPORTANT */
  line-height: 1.2;
}
.content {
  transform-origin: center center;
  will-change: transform;
}
.zoom-section .content {
  transform-origin: center center; /* zoom from center */
  will-change: transform;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: white;
  font-weight: 600;
  letter-spacing: 0.3px;
  
  white-space: nowrap;
}

h1 span {
  color: #6fa8ff;
}

/* marquee row */
.marquee {
  width: 100%;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  background: #000;
}

/* moving track */
.track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.track.reverse {
  animation-direction: reverse;
}
@font-face {
  font-family: "Tusker";
  src: url("fonts/TuskerGrotesk6700Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* text */
.track span {
  font-size: 100px;
  font-weight: 900;
  color: white;
  margin-right: 24px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: "Tusker", sans-serif;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* video (desktop stays same) */
.video-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* true center */
  z-index: 100;
  pointer-events: none;
}

.video-container video {
  width: 450px;
  height: 260px;
  border-radius: 16px;
  object-fit: cover;
  pointer-events: auto;
  box-shadow: 0 0 40px 12px rgba(128, 0, 255, 0.7),
              0 0 90px 28px rgba(150, 0, 255, 0.5),
              0 0 140px 60px rgba(180, 0, 255, 0.3);
  animation: purplePulse 1.8s infinite alternate ease-in-out;
}

@keyframes purplePulse {
  from {
    box-shadow: 0 0 30px 10px rgba(119, 82, 156, 0.5),
                0 0 70px 20px rgba(144, 89, 184, 0.3),
                0 0 110px 40px rgba(117, 47, 146, 0.15);
  }
  to {
    box-shadow: 0 0 65px 15px rgba(120, 77, 163, 0.9),
                0 0 120px 32px rgba(131, 70, 175, 0.7),
                0 0 170px 70px rgba(117, 51, 145, 0.4);
  }
}


/* hero-marquee wrapper */
.scroll.hero-marquee {
  position: relative;
  z-index: 2;
  opacity: 1;
  display: grid;
  place-items: center;
}

/* 📱 MOBILE FIXES — MINIMAL */
@media (max-width: 768px) {

   h1 {
    font-size: clamp(1.4rem, 6vw, 2.4rem);
    text-align: center;
  }
  /* allow hero to breathe */
  .zoom-section {
    height: 50vh;          /* 👈 allow content-based height */
    min-height: 60vh;      /* 👈 still gives breathing room */
    padding: 3rem 1rem;
  }

  .track span {
    font-size: 7vw;
  }

  .marquee {
    height: 10vw;
  }

  /* ✅ IMPORTANT: video becomes part of flow on mobile */
   .video-container {
    transform: translate(-50%, -45%);
  }

  .video-container video {
    width: 45vw;
    height: calc(45vw / 1.73);
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .zoom-section {
    height: 35vh;        /* 🔽 reduce visible height */
    min-height: unset;  /* 🔑 remove forced tall height */
    padding: 2rem 1rem; /* optional: tighter spacing */
  }
 
   h1 {
    font-size: clamp(1.4rem, 6vw, 2.4rem);
    text-align: center;
  }
  .track span { font-size: 9vw; }
  .marquee { height: 12vw; }

  .video-container video {
    width: 55vw;
    height: calc(55vw / 1.73);
  }
}

@media (max-width: 360px) {
 
  .zoom-section {
    height: 30vh;        /* even smaller for very small phones */
    padding: 1.5rem 1rem;
  }
   h1 {
    font-size: clamp(1.4rem, 6vw, 2.4rem);
    text-align: center;
  }
  .track span { font-size: 10.5vw; }
  .marquee { height: 14vw; }

  .video-container video {
    width: 65vw;
    height: calc(65vw / 1.73);
  }
}

