/* ===================================
   FONTS & IMPORTS
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap");
@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&display=swap');

@font-face {
  font-family: "Cubic";
  src: url("https://db.onlinewebfonts.com/t/c3d1e6f8f0c6c3c0c5f5b5c5c5c5c5c5.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



/* ===================================
   CSS VARIABLES
   =================================== */
:root {
  --gradient-primary: linear-gradient(135deg, #c231c9 0%, #68a2eb 100%);
  --blob-1: #260b6866;
  --blob-2: #4c5dd780;
}

/* ===================================
   GLOBAL RESET & BASE
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


body {
  font-family: 'Satoshi', 'Poppins', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  color: #fff;
  position: relative;
}

/* ===================================
   BACKGROUND BLOBS (Code X)
   =================================== */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: var(--blob-1);
  top: -150px;
  right: -150px;
  animation: float 20s ease-in-out infinite;
  opacity: 0.6;
}

.blob-2 {
  width: 900px;
  height: 900px;
  background: var(--blob-2);
  bottom: -250px;
  left: -250px;
  animation: float 25s ease-in-out infinite reverse;
  opacity: 0.5;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}
/* ===================================
   HERO SECTION (Code X)
   =================================== */
.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 100px;
  margin-bottom: 120px;
  padding-top: 40px;
}

.hero-left {
  flex: 1;
  max-width: 650px;
  transform: translate(110px, 90px);
}

.brand-section {
  margin-bottom: 25px;
}

.brand-inline {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

/* SVG Logo Styling */
.codex-logo {
  width: 236px;
  aspect-ratio: 236 / 74;
  height: auto;
  display: block;
  margin-top: 20px;
}
.tag {
 position: absolute;

  width: clamp(320px, 18vw, 320px); /* 🔥 scales with screen */
  top: clamp(40px, 5vw, 58px);

  left: 63%;
  transform: translateX(-50%);

  z-index: 5;   /* 🔑 ensures it’s visible */
}

/* 48-Hour Hackathon */
.brand-sub {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  padding-bottom: 6px;
}

.hour {
  color: #4C5DD7;
}

.accent {
  color: #C231C9 !important;
}

.hackathon-subtitle {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-left: 5px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-family: "Satoshi", sans-serif;
  font-size: 24px;
  margin-top: 20px;
  letter-spacing: 0%;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 35px;
}

/* Countdown Timer */
.countdown-timer {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.timer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 22px;
  text-align: center;
  min-width: 100px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.timer-box:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(194, 49, 201, 0.3);
}

.timer-value {
  font-family: "Orbitron", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
  display: inline-block;
  padding: 0 4px;              /* 🔑 key fix */
  letter-spacing: 0.05em;
  
}

.timer-label {
  font-family: "Satoshi", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  
}

.register-now-btn {
  background: var(--gradient-primary);
  border: none;
  padding: 14px 50px;
  border-radius: 25px;
  color: #000000;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: "Satoshi", sans-serif;
}

.register-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(194, 49, 201, 0.5);
}

/* ===================================
   PRIZEPOOL SECTION
   =================================== */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.prizepool-section {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  width: 370px;
  height: 402px;
  min-width: 270px;
  min-height: 312px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  padding: 0;
  position: relative;
  transform: translate(-80px, 80px); 
}

.prizepool-bg-stack {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 0;
  pointer-events: none;
}

.prizepool-bg-stack span {
  font-family: 'Advent Pro', sans-serif;
  font-size: 62px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.8);
  opacity: 1;
  line-height: 0.8;
}

.prizepool-amount-main {
  position: relative;
  z-index: 2;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.2rem;
  font-size: 7.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 8px #C231C9D9, 0 0 16px #C231C9D9, 0 0 32px #C231C9D9, 0 0 48px rgba(188, 69, 194, 0.253);
}

.prizepool-text {
  display: none;
}

.prizepool-amount {
  display: none;
}

.prizepool-section .prizepool-text:last-child {
  display: none;
}

/* ===================================
   DETAILS SECTION (Code X)
   =================================== */
.details-section {
  margin-bottom: 120px;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 60px;
  letter-spacing: 0.05em;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-card {
  background: rgba(30, 30, 40, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.detail-card:hover {
  transform: translateY(-10px);
  background: rgba(40, 40, 50, 0.8);
  border-color: rgba(194, 49, 201, 0.3);
}

.detail-card:hover::before {
  opacity: 1;
}

.detail-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.detail-text {
  font-family: "Satoshi", sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* ===================================
   RULES SECTION (Code X)
   =================================== */
.rules-section {
  max-width: 900px;
  margin: 0 auto;
}

.accordion {
  margin-bottom: 60px;
}

/* ===================================
   ACCORDION (UPDATED – AUTO HEIGHT)
   =================================== */

.accordion-item {
  background: rgba(30, 30, 40, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(194, 49, 201, 0.3);
}

.accordion-header {
  width: 100%;
  padding: 25px 30px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: "Satoshi", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.accordion-header:hover {
  color: #c231c9;
}

.accordion-icon {
  color: #c231c9;
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}
.problem-block p {
  font-family: "Satoshi", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
}


/* 🔑 IMPORTANT CHANGE */
.accordion-content {
  height: 0;
  overflow: hidden;
  padding: 0 30px;
  opacity: 0;
  transition:
    height 0.45s ease,
    opacity 0.25s ease;
}

.accordion-item.active .accordion-content {
  opacity: 1;
  padding: 0 30px 25px 30px;
}

/* ===================================
   PROBLEM STATEMENT STYLING
   =================================== */

.problem-block {
  margin-bottom: 30px;
}

.problem-block h4 {
  font-family: "Satoshi", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.problem-label {
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #c231c9;
}

.problem-block p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cfd2ff;
}
.custom-bullets {
  list-style: none;          /* remove default bullets */
  margin: 0;
  padding: 0;
}

.custom-bullets li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 8px;

  /* paragraph font */
  font-family: "Satoshi", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: #cfd2ff;
}

.custom-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: inherit;
}

/* Mobile Fix */
@media (max-width: 480px) {
  .accordion-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* ===================================
   REGISTER BOTTOM BUTTON
   =================================== */
.register-bottom-btn {
  display: block;
  margin: 0 auto 60px auto;
  background: var(--gradient-primary);
  border: none;
  padding: 18px 120px;
  border-radius: 35px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Satoshi", sans-serif;
}

.register-bottom-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(194, 49, 201, 0.5);
}

/* ===================================
   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);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Large Tablets & Small Laptops (Code X) */
@media (max-width: 1200px) {
  .about-section {
    padding: 80px 60px;
    margin-top: -90px;
  }

  .about-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
  }

  .about-text {
    max-width: 100%;
  }

  .slider-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .slider-track {
    justify-content: center;
  }

  .hero-section {
    gap: 50px;
  }
  
  .prizepool-amount-main {
    font-size: 5.5rem;
  }
}

/* Tablets (Code X) */
@media (max-width: 1024px) {
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-section {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
  
  .hero-left {
    max-width: 100%;
  }
  
  .codex-logo {
    width: 190px;
    height: auto;
  }

  .brand-inline {
    gap: 15px;
  }


  .hackathon-subtitle {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
    .details-section,
    .rules-section,
.register-bottom-btn,
.footer {
padding-left: 20px;
padding-right: 20px;
}
    .hero-section {
padding: 0 20px;
padding-top: 10px;
}
    .hero-left {
transform: translate(0px, 30px);
text-align: center;
margin-bottom: 90px;
}
  
  .codex-logo {
    width: 200px;
    height: auto;
  }
  .tag {
    width: 230px;

    position: absolute;
    top: 80px;

    left: 50%;                 /* center anchor */
    transform: translateX(-50%); /* true centering */

    z-index: 5;
  }

  
  .brand-inline {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }


  .hackathon-subtitle {
    font-size: 1.3rem;
    margin-left: 0;
    text-align: center;
  }

  .hero-description {
    font-size: 18px;
    text-align: center;
    
  }
  
  .countdown-timer {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  
  .timer-box {
    flex: 1;
    min-width: calc(33.333% - 10px);
  }
  
  .details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .prizepool-amount-main {
    font-size: 4.5rem;
  }
  
  .prizepool-bg-stack span {
    font-size: 50px;
  }
  
  .prizepool-section {
    text-align: center;
    padding: 20px;
    width: 320px;
    height: 350px;
  }
  
  .register-bottom-btn {
    padding: 16px 80px;
    font-size: 1.1rem;
  }

}
/* Small Mobile (Tantra) */
@media screen and (max-width: 480px) {
  
.hero-left {
transform: translate(0px, 80px);
}
  /* Code X Mobile */
  .codex-logo {
    width: 180px;
    height: auto;
  }
  .tag {
    width: 230px;

    position: absolute;
    top: 75px;

    left: 50%;                 /* center anchor */
    transform: translateX(-50%); /* true centering */

    z-index: 5;
  }

  .timer-value,
  .timer-label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0;      /* 🔑 THIS fixes both-side clipping */
    padding: 0 3px;   
  }

  .brand-inline {
    gap: 8px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-description br {
    display: none;
  }
  
  .timer-value {
    font-size: 1.5rem;
  }
  
  .register-now-btn {
    width: 100%;
    padding: 14px 40px;
  }
  
  .register-bottom-btn {
    width: 100%;
    padding: 14px 40px;
  }
  
  .accordion-header {
    font-size: 1rem;
    padding: 20px 20px;
  }
  
  .accordion-content {
    padding: 0 20px;
  }
  
  .accordion-item.active .accordion-content {
    padding: 0 20px 20px 20px;
  }

  .about-text h1 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 14px;
  }

  .card.big,
  .card.small {
    width: 230px;
  }

  .card-desc h3 {
    font-size: 14px;
  }

  .card-desc p {
    font-size: 12px;
  }
  .hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .prizepool-section {
    transform: translate(0, 0) !important; /* reset */
  }
}
@media (min-width: 1025px) and (max-width: 1440px) {
  
  .hero-right {
    justify-content: flex-start; /* stop centering */
  }

  .prizepool-section {
    transform: translateX(-620px)
  }
 
}
@media (min-width: 1000px) {
  .prizepool-section {
    transform: translate(-80px, 80px);
  }
}


