:root {
  --header-bg: #000;
  --btn-bg: #FF3C00;
  --btn-color: #fff;
}

@font-face {
  font-family: 'Rootstock Sans Body';
  font-display: swap;
  font-style: normal;
  src: url('/fonts/Rootstock-Sans-Body.woff2') format('woff2'),
       url('/fonts/Rootstock-Sans-Body.woff') format('woff');
}

@font-face {
  font-family: 'Rootstock Sans Tags';
  font-display: swap;
  font-style: normal;
  src: url('/fonts/Rootstock-Sans-Tags.woff2') format('woff2'),
       url('/fonts/Rootstock-Sans-Tags.woff') format('woff');
}

@font-face {
  font-family: 'Rootstock Sans Headline';
  font-display: swap;
  font-style: normal;
  src: url('/fonts/Rootstock-Sans-Headline.woff2') format('woff2'),
       url('/fonts/Rootstock-Sans-Headline.woff') format('woff');
}

/* --- RESET --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: inherit;
}

.register-btn:hover,
.register-btn-desktop:hover,
.mobile-register-btn:hover,
.register-btn-hero:hover,
.additional-prize-card .register-btn:hover {
  color: white;
  background-color: #B12600 !important;
}

.register-btn,
.register-btn-desktop,
.register-btn-hero,
.additional-prize-card .register-btn {
  transition: background-color 0.4s ease, color 0.4s ease;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: 'Albert Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


html, body {
  height: 100vh;
}


html, body, p, a {
  font-family: 'Rootstock Sans Body', system-ui, sans-serif;
}

.image-fade-top {
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%);
  mask-image: linear-gradient(to bottom, transparent, black 8%);
  mask-mode: alpha;
}

.image-fade-top-lg {
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 39%);
  mask-image: linear-gradient(to bottom, transparent, black 39%);
  mask-mode: alpha;
}

.gradient-bg {
  background-image: linear-gradient(180deg, #E0EAEE 0%, #AEBEC6 39.52%, #D3E5ED 57.5%, #AEBEC6 92%, #D3E5ED 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-size: 100% 7377px;
}

.gradient-bg::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background-image: linear-gradient(180deg, #E0EAEE 0%, #AEBEC6 39.52%, #D3E5ED 57.5%, #AEBEC6 92%, #D3E5ED 100%);
  background-repeat: no-repeat;
  background-size: 100% 7377px;
  pointer-events: none;
}


/* Headings use headline font */
h1, h2, h4, h5, h6 {
  font-family: 'Rootstock Sans Headline', sans-serif;
}

h2{
font-size: 48px !important;
font-style: normal;
font-weight: 700 !important;
line-height: 56px; /* 116.667% */
margin-bottom: 40px !important;
}

h3{
  font-size: 38px !important;
  font-style: normal;
  line-height: 48px !important; /* 126.316% */
  font-weight: 400;
}

h5 {
  color: #030303 !important;
  font-size: 30px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 30px; /* 100% */
}

.bold {
  font-weight: 700 !important;
  font-family: 'Rootstock Sans Headline', sans-serif;
}


.mb-heading {
  margin-bottom: 40px;
}

.lg-text {
  color: #000;
  text-align: center;
  font-size: 120px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  font-family: 'Rootstock Sans Headline', sans-serif !important;
}

.rif-token {
  margin-bottom: 80px;
  color: #000;
  text-align: center;
  font-size: 32px !important;
  font-style: normal;
  font-weight: 600;
  line-height: 40px !important; /* 125% */
}

.bold-hl{
  font-weight: 700;
  font-family: 'Rootstock Sans Headline', sans-serif !important;
}

/* Tag class only uses Tag font */
.tag {
  font-family: 'Rootstock Sans Tags', sans-serif;
}

.bold {
  font-weight: 700 !important;
}




/* --- HEADER STRUCTURE --- */
#main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.4s ease, color 0.4s ease, opacity 0.4s ease;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 80px;
  height: 40px;
  background: transparent;
  transition: background-color 0.3s ease, height 0.4s ease, padding 0.4s ease;
}

header.scrolled .top-bar {
  height: 73px;
}

/* black bar on scroll */
#main-header.scrolled .top-bar {
  background: var(--header-bg);
  justify-content: space-between;

}

#main-header .top-bar {
  transition: background-color 0.4s ease, height 0.4s ease, padding 0.4s ease;
}

#main-header.pre-scroll .top-bar {
  height: 40px; /* or your original height */
  padding: 8px 80px;
}


.logo-area {
  display: none;
  align-items: center;
  gap: 1rem;
}



.nav-links {
  display: none;
}

.register-btn {
  border-radius: 8px !important;
  background: #FF3C00 !important;
  font-family: 'Rootstock Sans Headline', sans-serif;
  
}



.banner-hero {
  background-color: #C7D4DA;
  filter: drop-shadow(0px 4px 50px rgba(0, 0, 0, 0.25));
  width: 100%;
  min-height: 152px;
  margin-top: 336px;
  margin-bottom: 240px;
  color: #000;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 133.333% */
  padding-top: 40px;
  padding-bottom: 40px;
  z-index: 1;
  position: relative;
}

.banner-hero span{
  font-family: 'Rootstock Sans Headline', sans-serif;
}


.rsk-logo-hero{
  width: 100%;
  max-width: 245px;
}

.ai-logo-hero{
  width: 100%;
  max-width: 683px;
}

.powered {
  color: #000;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 133.333% */
  font-family: 'Rootstock Sans Headline', sans-serif;
  margin-bottom: 20px;
}

.card-hero {
  font-family: 'Rootstock Sans Body', sans-serif;
  background-color: #C7D4DA;
  filter: drop-shadow(0px 4px 50px rgba(0, 0, 0, 0.25));
  border-radius: 12px;
  padding-top: 104px;
  padding-bottom: 104px;
  text-align: center;
  width: 960px;
  height: 616px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

#card-hero h2, h3 {
  max-width: 640px;
}

.card-text {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.yj-card {
  padding: 40px 32px;
  text-align: center;
  border-radius: 8px !important;
  padding: 40px 32px;
  background: #F7FCFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  z-index: 2;
}



.card-dec-image{
  position: absolute;
  width: 140px !important;
  height: 165px;
  aspect-ratio: 111/122;
  top: -115px;
  right: 45px;
  z-index: 5;
}

.yj-card-img1 {
  position: absolute;
  width: 412px !important;
  height: 524px;
  aspect-ratio: 103/131;
  left: -15%;
  top: -90%;
}

.yj-card-img2 {
  position: absolute;
  width: 171px !important;
  height: 275px;
  aspect-ratio: 171/275;
  bottom: -25%;
  left: -5%;
  z-index: 5;
}

.yj-card-img3 {
  position: absolute;
  width: 389px !important;
  top: -78%;
  right: -16%;
}

.text-container {
  max-width: 960px;
}



.hero-date {
  color: #000;
  text-align: center;
  font-family: "Advent Pro", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: 32px; /* 100% */
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-top: 15px;
  margin-bottom: 35px;
}

.hero-description{
  max-width: 600px; 
  text-align: center; 
  font-size: 20px;
  font-style: normal;
  line-height: 28px; /* 140% */
}


.register-btn-hero {
  border-radius: 8px !important;
  background: #FF3C00 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 328px;
  height: 48px;
  color: #FFF !important;
  font-size: 20px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: normal;
  letter-spacing: -0.4px;
  margin-top: 40px;
  z-index: 5;
  font-family: 'Rootstock Sans Headline', sans-serif !important;
  text-decoration: none;

}

.register-btn-hero a {
  color: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.4px;
}

.register-btn-desktop {
  font-family: 'Rootstock Sans Headline', sans-serif;
  border-radius: 8px;
  background: #FF3C00;
  padding: 7px 39px;
  color: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.4px;
  text-decoration: none;
}


.nav-links-scroll a {
  color: white;
  text-decoration: none;
}


.nav-links a {
  color: white;
  text-decoration: none;
}

.register-btn {
  display: none;
}

.register-btn.desktop {
  display: none;
}

#main-header.scrolled .logo-area {
  display: flex;
  width: 100%;
}

.hamburger-icon {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10001;
  pointer-events: auto;
}



.hamburger-icon .icon-bars {
  opacity: 1;
  transform: scale(1);
}

.hamburger-icon .icon-close {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

.hamburger-icon.open .icon-bars {
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
}

.hamburger-icon.open .icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}




/* Float to top-left when inside mobile overlay */
.mobile-menu .hamburger-icon {
  position: absolute;
  top: 16px;
  left: 16px;
}

.hamburger-icon svg {
  position: absolute;
  position: absolute;
  width: 24px;
  height: 24px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none; 
}

.icon-bars {
  opacity: 1;
  transform: scale(1);
}

.icon-close {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}


.nav-links-scroll {
  transition: opacity 0.4s ease;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.nav-links-scroll.is-fading {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}




.logo-one,
.nav-links-scroll {
  transition: opacity 0.4s ease;
}

/* When toggled open */
.hamburger-icon.open .icon-bars {
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
}

.hamburger-icon.open .icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (min-width: 1100px) {
  .hamburger-icon {
    display: none;
  }
  .footer {
    height: 200px;
  }
  .central-graphic-mobile,
  .swirl-image-mobile, .mobile-grid-steps {
    display: none !important;
  }
  .mobile-grid-steps {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
  .logo-extra,
.register-btn-desktop {
  opacity: 0;
  display: none;
  transition: opacity 0.4s ease;
}
.how-grid {
  display: grid !important;
}

}

@media (max-width: 1200px) {
  .more-container{
    justify-content: center !important;
  }
}

/* Make sure this icon is in same spot on mobile menu */
@media (max-width: 1100px) {
  #main-header.pre-scroll .logo-one {
    display: none;
  }
  #main-header.scrolled .logo-one{
    opacity: 0 ;
    display: none;
  }
  .prize-icon4{
    display: none;
  }
  .top-bar .hamburger-icon {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10001; /* above .mobile-menu (9999) */
  }
  .mobile-menu .hamburger-icon {
    /* Prevent overlap — this ensures it's visible inside menu */
    z-index: 10001;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 101vh;
    width: 100%;
    background: black;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 300ms ease;
    display: flex;
    flex-direction: column;
    padding: 26px 16px 1.5rem 16px;
    z-index: 10;
  }
  
  .mobile-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
}

.hamburger-icon.open svg {
  color: white;
  fill: white;
}

.hamburger-icon.open svg rect {
  fill: white !important;
}



.hamburger {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-menu.active {
  display: flex;
}

.mobile-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.mobile-logo {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  justify-content: center;
}

#menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 50%;
  font-size: 1.25rem;
  font-weight: 600;
  align-items: flex-start;
  text-align: left;
  width: 288px;
}

.mobile-nav-container{
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-family: 'Rootstock Sans Headline', sans-serif;
  color: #FFF;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px; /* 118.182% */
}

.mobile-register-btn {
  font-family: 'Rootstock Sans Headline', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  color: white;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  background: #FF3C00;
  text-decoration: none;
  font-weight: bold;
  width: 288px;
  height: 48px;
  color: #FFF;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.4px;
}


.pre-scroll .top-bar {
  background-color: #000;
  padding: 8px 80px;
  height: 40px;

}

@media (min-width: 768px) {

  /* Hide the hamburger on desktop */
  .hamburger {
    display: none;
  }




  

  /* 
    Pre-scroll state: 
    Position the nav absolutely below the header,
    text is black and it starts with a slight downward offset 
    (to "float up" on scroll).
  */
  #main-header.pre-scroll .nav-links-scroll {
    position: absolute;
    left: 50%;
    /* Adjust top value to be just below your header 
       (here we assume the header’s height is defined by .top-bar’s padding) */
    top: calc(100% + 32px);
    color: black;
    opacity: 1;
    display: flex;
  }

  /* 
    Scrolled state: 
    Position the nav within the header and change text color to white.
  */
  #main-header.scrolled .nav-links-scroll {
    position: absolute; /* keep it in the same flow */
    top: 50%; /* vertically center inside navbar */
    transform: translate(-50%, -50%); /* horizontal center + vertical center */
    opacity: 1;
  }
}

.mobile-footer-image{
  display: none;
}


@media (min-width: 768px) {

  /* Hide the hamburger on desktop */
  .hamburger {
    display: none;
  }


  /* Base styling for the single nav (desktop) */
  .nav-links-scroll {
    justify-content: center;
    gap: 56px;
    font-weight: 700;
    /* Transition for both color and transform changes */
    transition: transform 0.4s ease, color 0.4s ease;
  }


  .ai-logo-hero {
    width: 100%;
    max-width: 683px;
    aspect-ratio: 683 / 160;
    height: auto;
    display: block;
    object-fit: contain;
    image-rendering: auto;
  }
  

/* Base */
.nav-links-scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  font-weight: 700;
  position: absolute;
  left: 50%;
  top: calc(100% + 10px); /* initially below the header */
  transform: translateX(-50%);
  opacity: 1;
  z-index: 999;
  transition:
    top 0.4s ease,
    transform 0.4s ease,
    color 0.4s ease;
  will-change: top, transform;
}

.nav-links-scroll a {
  color: black;
  text-decoration: none;
  transition: color 0.4s ease;
}

.nav-links-scroll {
  opacity: 0;
}

#main-header.scrolled .nav-links-scroll {
  opacity: 1;
}


#main-header.scrolled .nav-links-scroll a {
  color: white;
}
}
/* --- MEDIA QUERIES --- */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .logo-area {
    display: flex !important;
    width: 100%;
    justify-content: center;
  }


  .register-btn.desktop {
    display: none;
  }

  #main-header.scrolled .register-btn.desktop {
    display: inline-block;
  }

  #main-header.pre-scroll .nav-links a {
    color: black;
  }

  #main-header.scrolled .nav-links a {
    color: white;
  }
}

@media (max-width: 1100px) {
  .nav-links,
  .nav-links-scroll {
    display: none !important;
  }

  .mobile-menu.active .logo-extra {
    display: inline-block;
    opacity: 1;
  }



  .mobile-menu.scrolled .logo-extra {
    display: none;
  }

  #main-header.active .logo-extra.active {
    display: inline-block;
  }

  .left {
    width: 100%;
    justify-content: flex-start;
  }

  .logo-area {
    justify-content: center;
  }

  #main-header.scrolled .register-btn.desktop {
    display: none;
  }

  .pre-scroll .top-bar {
    background-color: transparent;
    height: 40px;
  }

  .mobile-menu.active .top-bar {
    background-color: transparent !important;
  }

  #main-header.scrolled .top-bar {
    padding: 4px 15px;
    height: 73px;
  }


}

/* iPad Pro Portrait (height is 1024px here) */
@media (max-width: 1100px) and (orientation: portrait) {
  .mobile-nav {
    margin-top: 65%; /* Adjust for portrait layout */
  }
}

/* iPad Pro Landscape or Nest Hub */
@media (max-width: 1100px) and (orientation: landscape) {
  .mobile-nav {
    margin-top: 15%; /* Adjust for landscape layout */
  }
}
/* Fade-in effect for logo and register button */
.logo-extra,
.register-btn-desktop {
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: opacity;
}

/* On scroll, fade in and float up */
#main-header.scrolled .logo-extra,
#main-header.scrolled .register-btn-desktop {
  opacity: 1;
}


#about h2{
  color: #000;
  text-align: center;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 56px; /* 116.667% */
}

#about h3{
  margin-bottom: 24px;
  color: #000;
  text-align: center;
  font-size: 38px;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 48px; /* 126.316% */
}

#about p {
  color: #000;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}



.hero-section {
  background-image: url('images/hero-bg.jpg');
  background-image: image-set(
    url('images/hero-bg.webp') type('image/webp'),
    url('images/hero-bg.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center calc(50% - -18px);
  background-repeat: no-repeat;
  width: 100%;
  max-width: 100%;
  height: 2241px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  text-align: center;
  padding-top: 100px;
  background-color: #b0c0c8;
  z-index: 2;
  position: relative;
}

.hero-section .container{
  z-index: 2;
}

.hero-bg1, .hero-bg2{
  display: none;
  z-index: 1;
}

.hero-logo {
  margin-top: 100px;
  margin-bottom: 12px;
}

.left {
  display: flex;
  justify-content: space-between;
}



.how-grid-stair {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, auto);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.how-grid{
  display: none;
}

.mobile-grid-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}


@media (max-width: 540px) {
  .how-to-join{
    padding-bottom: 144px !important;
  }
    .hero-section-wrapper {
      padding-bottom: 336px;
    }
    .hero-description{
      font-size: 18px;
      line-height: 26px;
      margin-left: 15px;
      margin-right: 15px;
    }
    .accordion-body{
      font-size: 16px !important;
      font-style: normal !important;
      line-height: 22px !important; /* 137.5% */
    }
    .timeline-frame {
      padding-left: 20px;
    }
    .card-purple {
      margin-bottom: 24px;
    }
    .card-beige{
      margin-bottom: 18px;
    }
  /* Custom icon sizing */
  .timeline-icon-wrapper .tl-icon1 {
  width: 80px;
  height: 56px;
}
.resource-grid {
  margin-top: 0px !important;
}
#resources h3{
  margin-bottom: 105px !important;
}
.tl-description{
  font-size: 16px !important;
}
.tl-date{
  font-size: 14px;
}
.rif-token{
  font-size: 20px !important ;
}
.card-dec-image{
  right: -7% !important;
}
.hero-date{
  font-size: 24px;
}
#about p{
  font-size: 16px;
}

.timeline-icon-wrapper .tl-icon2 {
  width: 72px;
  height: 71px;
}

.timeline-icon-wrapper .tl-icon3 {
  width: 45px;
  height: 42px;
}

.timeline-icon-wrapper  .tl-icon4 {
  width: 65px;
  height: 65px;
}

.timeline-icon-wrapper  .tl-icon5 {
  width: 66px;
  height: 62px;
}
  .resource-grid .last-resource{
    margin-bottom: 0px ;
  }
  .resource-grid{
    gap: 0px;
  }
  .timeline-event .left {
    justify-content: flex-end;
  }
  .resource-section{
    padding-bottom: 144px !important;
  }
  .why-join-section .yj-card-img1 {
    left: 20%;
    top: -17%;
  }
  .why-join-section .yj-card-img2 {
    bottom: 94%;
    left: 14%;
}
  .mobile-footer-image{
    width: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: -4px;
  }


  .faq-footer-image {
    display: none;
  }
  .timeline-section {
    padding-bottom: 144px !important;
  }
  .timeline-line{
    left: 44px !important;
  }
  .why-join-section{
    margin: 0px 0 !important;
  }
  .additional-prize-card .register-btn{
    width: 256px !important;
  }
  .prizes-section{
    margin-top: 0px !important;
    padding-bottom: 180px !important;
  }
  .gradient-bg {
    fill: linear-gradient(180deg, #E0EAEE 0%, #AEBEC6 39.52%, #D3E5ED 57.5%, #AEBEC6 78.85%, #D3E5ED 86.54%, #AEC0C8 96.63%);
    background-image: linear-gradient(
      180deg,
       #E0EAEE 0%,
        #AEBEC6 39.52%,
         #D3E5ED 57.5%,
          #AEBEC6 78.85%,
           #D3E5ED 86.54%,
            #AEC0C8 96.63%
    ) !important;
    background-size: 100% 8476px !important;    
  }
  
  #prizes .prize-card{
    width: 85vw !important;
    height: 224px !important;
  }

  .prize-card object {
    margin-top: 32px;
  }
  .card-prize{
    font-size: 36px !important;
  }
  .card-place{
  font-size: 24px !important;
  line-height: 28px; /* 116.667% */
  }
  #prizes .additional-prize-card{
    height: 267px !important;
    width: 85vw !important;
    flex: none !important;
  }
  #prizes .additional-prize-card p {
    font-size: 16px;
    line-height: 22px; /* 137.5% */
}
  .how-to-join h3{
    margin-bottom: 32px !important;
  }
  .faq-section .accordion-button{
    font-size: 22px !important;
    line-height: 26px; /* 118.182% */
  }
  .hero-section .container {
    --bs-gutter-x: 0px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .faq-section .accordion-button{
    padding: 32px 0px !important;
  }
  .faq-section{
    padding-top: 0px !important;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px !important;
  }
  .hero-bg1, .hero-bg2{
    display: inline-block;
    position: absolute;
    width: 100%;
    left: 0;
  }
  .hero-logo{
    margin-bottom: 10px;
    max-width: 146px;
  }
  .banner-hero{
    margin-bottom: 0px;
    margin-top: 0px;
  }
  .hero-date{
    margin-bottom: 40px;
    margin-top: 10px;
  }
  .hero-section{
    background-image: none;
    height: auto;
    padding-bottom: 200px;
  }
  .hero-bg1{
    bottom: 0;
  }
  .hero-bg2{
    bottom: 0;
  }
  .ai-logo-hero{
    max-width: 304px;
  }
  
  .register-btn-hero{
    width: 100%;
  }
  .card-hero {
    border-radius: 0px;
  }
}





/* HERO & MOBILE END */



.step-box {
  border-radius: 8px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  z-index: 2;
  display: flex;
  align-items: center;
  width: 420px;
  height: 128px;
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: left;
  max-width: 450px;
}

.how-to-join {
  padding-top: 104px;
  overflow: hidden;
  padding-bottom: 268px;
}

.how-to-join h3 {
  max-width: 960px;
  margin-bottom: 135px;
  color: #000;
  text-align: center;
  font-size: 38px;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 48px; /* 126.316% */
  font-family: 'Rootstock Sans Body', sans-serif;
}

.why-join-section {
  padding-bottom: 200px;
  overflow: hidden;
}

/* NEW STYLES MOBIL ADJUSTMENT */

.why-join-container {
  padding: 0 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-join-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.why-join-header h3 {
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 400 !important;
  font-family: 'Rootstock Sans Body', sans-serif;
}

/* Card container layout */
.why-join-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

.yj-card {
  width: 100%;
  max-width: 320px;
  height: 360px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.yj-card h5 {
  margin-top: 0;
}

.yj-card p {
  margin-top: 16px;
}

/* Images (already styled, keep as is unless you'd like to adjust mobile positioning) */

/* MOBILE OVERRIDES ALREADY GOOD */
@media (min-width: 992px) {
  .why-join-container {
    padding: 0 32px;
  }

  .why-join-card-wrapper {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .yj-card {
    width: 320px;
  }

  .mobile-only {
    display: none;
  }
}


.card-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.prizes-section {
  padding-bottom: 200px;
}



.dark-grey{
  background: #AEBCCC;
}

.light-grey {
  background: #CCD8E5 !important;
}

.prize-icon{
  position: absolute;
} 



.prize-icon1{
  width: 140px;
  height: 140px;
  left: 5%;
  top: 54%;
  z-index: 2;
} 
.prize-icon2{
  left: 7%;
  bottom: 8%;
  z-index: 2;
} 
.prize-icon3{
  right: -3%;
  top: 5%;
  z-index: 2;
} 
.prize-icon4{
  right: 7%;
  top: 31%;
  z-index: 3;
} 

.prize-card {
  width: 336px;
  height: 232px !important;
  border-radius: 8px !important;
  background: #FFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  font-family:'Rootstock Sans Headline', sans-serif;;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.prize-card img{
  margin-top: 32px;
  margin-bottom: 16px;
}

.card-prize {
  color: #000;
  text-align: center;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: 56px; /* 127.273% */
  font-family:'Rootstock Sans Headline', sans-serif;;
}

.card-place {
  color: #000;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 116.667% */
  margin-bottom: 0px;
}

.card-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.prize-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  position: relative;
}


.additional-prize-card {
  flex: 1 1 100%;
  height: 280px !important;
  border-radius: 8px !important;
  background: #FFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  position: relative !important;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 1056px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 40px;
}

.additional-prize-card p {
  color: #000;
  text-align: center;
  max-width: 560px;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px; /* 133.333% */
  margin-bottom: 24px;
}

.additional-prize-card .register-btn {
  width: 328px;
  height: 48px;
  color: white;
  border-radius: 8px;
  background: #FF3C00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  font-family: 'Rootstock Sans Headline', sans-serif;
}

.additional-prize-card h3 {
  color: #000;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 40px; /* 125% */
  font-family:'Rootstock Sans Headline', sans-serif;;
  margin-top: 40px;
  margin-bottom: 24px;
}

.step-number {
  color: #FFF;
  text-align: center;
  font-family: "Advent Pro", sans-serif;
  font-size: 104px;
  font-style: normal;
  font-weight: 500;
  line-height: 104px; /* 100% */
  padding: 0px 40px;
}

.central-graphic {
  position: absolute;
  top: 35%;
  left: 51%;
  width: 595px;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.swirl-image {
  position: absolute;
  top: 57%;
  left: 18%;
  width: 260px;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.central-graphic-mobile,
.swirl-image-mobile {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
.central-graphic-mobile {
  width: 633px;
  aspect-ratio: 633/538;
}
.swirl-image-mobile {
  right: 20%;
  width: 260px;
}

.step-1, .step-5{
  width: 360px !important;
}
/* Step placements */
.step-1 { 
  grid-column: 1; 
  grid-row: 1; 
  transform: translate(56%, -30%);
}
.step-2 { 
   grid-column: 2;
   grid-row: 2; 
   transform: translate(0%, -61%);
  }
.step-3 { 
  grid-column: 3; 
  grid-row: 3; 
  transform: translate(-21%, -105%);
}
.step-4 {
  grid-column: 1;
  grid-row: 4;
  transform: translate(64%, -134%);
}
.step-5 { 
  grid-column: 2; 
  grid-row: 4; 
  transform: translate(47%, -80%);
}




#resources h3 {
  margin-bottom: 117px;
  font-family: 'Rootstock Sans Body', sans-serif !important;
    color: black;
    font-size: 38px !important;
    font-weight: 400 !important;
    line-height: 48px !important;
    max-width: 960px;
    width: 100%;
}


.resource-card{
  width: 320px;
  height: 360px;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  position: relative;
}

.card-blue {
  background: #A9D9EC;
}

.card-purple {
  background: #BCCAEB;
}

.card-beige {
  background: #D7E2E3;
}

.card-green {
  background: #A6C9CC;
}

.card-orange {
  background-color: #FECB9B;
}

.card-pink {
  background: #FDBCB3;
}

.cta-arrow {
  margin-left: 8px;
}

.resource-footer {
  position: absolute;
  bottom: 20px;
  right: 28px;
  color: #000;
  text-align: right;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 133.333% */
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-family: 'Rootstock Sans Headline', sans-serif;
}

.more-link {
  color: #000;
  text-align: right;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  font-family: 'Rootstock Sans Headline', sans-serif;
  line-height: 24px; /* 133.333% */
  text-decoration: none;
}

.resource-title {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 133.333% */
  margin-top: 25px;
  margin-bottom: 16px;
  font-family: 'Rootstock Sans Headline', sans-serif;
}

.resource-section {
  padding-bottom: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.more-container-frame {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 110px;
}

.more-container {
  max-width: 1008px; 
  width: 100%; 
  display: flex; 
  justify-content: flex-start;
  align-items: center; 
  margin-top: 40px;
}

.resource-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  gap: 60px;
}





/* Mobile image float */
@media (max-width: 767.98px) {
  .resource-card {
    padding-top: 40px;
    z-index: 2;
    height: 228px;
    width: 80vw;
  }
  .resource-grid {
    justify-content: center;
    margin-top: 105px;
  }
  .prize-icon1 {
    left: -5%;
    top: 86%;
    z-index: 0;
  }
  .prize-icon3 {
    right: -9%;
    top: -30%;
}
  .resource-title{
    margin-top: 0px !important;
    font-size: 14px;
  }
  .resource-footer, .more-link{
    font-size: 14px;
  }
  .resource-wrapper {
    position: relative;
  }

  .resource-wrapper .resource-float-img {
    object-fit: contain;
    position: absolute;
    z-index: 2;
  }
  
  .resource-docs {
    top: -50px;
    right: -25%;
    transform: translateX(-50%);
    width: 107px;
    height: 99px;
  
  }

  .resource-foundry{
    top: -40px;
    left: 60px;
    transform: translateX(-50%);
    width: 172px;
    height:88px;

  }

  .resource-faucet{
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    width: 107px;
    height: 99px;
  }

  .resource-rpc {
    top: -65px;
    right: -85px;
    transform: translateX(-50%);
    width: 107px;
    height: 99px;
  }
  .resource-github {
    top: -63px;
    left: 15px;
    width: 94px;
    height: 127px;
    transform: rotate(-90deg);
    transform: translateX(-50%);
    aspect-ratio: 94/127;
  }
  .resource-yt {
    top: -52px;
    left: 46%;
    width: 71px;
    height: 96px;
    transform: rotate(90deg);
    transform: translateX(-50%);
    aspect-ratio: 71/96;
  }


  .resource-card .resource-image {
    display: none;
  }
}


.resource-image {
  margin-left: 8px;
}

/* Desktop image on top inside the card */
@media (min-width: 768px) {
  .resource-wrapper .resource-float-img {
    display: none;
  }
}

.timeline-section {
  position: relative;
}

#prizes h3{
color: black;
 font-size: 38px;
 font-weight: 400;
 line-height: 48px;
 font-family: 'Rootstock Sans Body', sans-serif;
 max-width: 960px;
}

.timeline-section{
  padding-bottom: 200px;
}

.timeline-section h3 {
  margin-bottom: 150px;
  font-weight: 400;
  color: black;
  font-size: 38px;
  line-height: 48px;
  font-family: 'Rootstock Sans Body', sans-serif;

}

.timeline-line {
  position: absolute;
  top: -85px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ADC1C9 0%, #555F63 72.5%, #ADC1C9 100%);
  z-index: 1;
}

.timeline-frame {
  position: relative;
}

.timeline-event {
  display: flex;
  flex-direction: column;
  gap: 110px;
  position: relative;
  z-index: 2;
}

/* Grid layout for alternating items */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  will-change: opacity, transform;
}

.timeline-item.reveal {
  opacity: 1;
  transform: translateY(0);
}


/* Desktop-specific animations */
@media (min-width: 768px) {
  .timeline-item.left {
    transform: translateX(-40px);
  }

  .timeline-item.right {
    transform: translateX(40px);
  }

  .timeline-item.left.reveal,
  .timeline-item.right.reveal {
    transform: translateX(0);
    opacity: 1;
  }
}

.timeline-item.left .timeline-content {
  grid-column: 1;
  text-align: right;
  padding-right: 12px;
  margin-left: 235px;
}


@media (max-width: 1200px) {
  .timeline-item.left .timeline-content {
    margin-left: 75px;
  }
  .more-container-frame {
    margin-left: 0px;
    justify-content: center;
  }
  
}
.timeline-item.left .timeline-icon-wrapper {
  grid-column: 2;
}

.timeline-item.right .timeline-icon-wrapper {
  grid-column: 2;
}

.timeline-item.right .timeline-content {
  grid-column: 3;
  text-align: left;
  padding-left: 12px;
}

.timeline-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-icon {
  object-fit: contain;
}

/* Content styling */
.tl-date {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  font-style: normal;
  line-height: 24px; /* 133.333% */
  font-family: 'Rootstock Sans Headline', sans-serif;
  margin-bottom: 4px;
}

.tl-title {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Rootstock Sans Headline', sans-serif;
  line-height: 1.25;
  margin-bottom: 4px;
}

.tl-description {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
}

/* Custom icon sizing */
.tl-icon1 {
  width: 197px;
  height: 136px;
}

.tl-icon2 {
  width: 316px;
  height: 312px;
}

.tl-icon3 {
  width: 57px;
  height: 57px;
}

.tl-icon4 {
  width: 232px;
  height: 211px;
}

.tl-icon5 {
  width: 95px;
  height: 95px;
}




/* Mobile styles */
@media (max-width: 767.98px) {
  .timeline-line {
    left: 24px;
    transform: none;
    height: 100%;
    display: block;
  }
  .timeline-frame .left {
    flex-direction: row-reverse;
  }

  .timeline-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    
  }

  .timeline-item.reveal {
    opacity: 1;
    transform: translateY(0);
  }

  .timeline-icon-wrapper {
    width: 50px;
    flex-shrink: 0;
  }

  .timeline-content {
    width: 100%;
    text-align: left !important;
    padding-left: 0 !important;
    align-self: center;
    padding-right: 0 !important;
  
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    grid-column: auto;
  }

  .timeline-icon {
    width: 50px;
    height: 50px;
  }
}



.timeline-content {
  max-width: 360px;
}






#faq {
  display: flex;
  justify-content: center;
  align-items: center;
}

.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}


.faq-section {
  margin-left: 15px;
  margin-right: 15px;
  text-align: center;
  padding-bottom: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 960px;
  width: 100%;
}

.faq-section h2 {
  font-weight: 700;
}

.accordion-header {
  margin-bottom: 0px !important;
}

.new-container {
  max-width: 990px;
  padding: 0px 15px;
  width: 100%;
}


.accordion-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.accordion {
  width: 100%;
  border-radius: 0px;
}

.accordion-item:last-of-type{
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-bottom: none !important;
}

.accordion-icon {
  display: flex;
  transition: transform 0.4s ease;
}

.accordion-button:not(.collapsed) .accordion-icon {
  transform: rotate(180deg);
}

/* Optional: remove default caret */
.accordion-button::after {
  display: none;
}





.accordion-button:not(.collapsed) {
  background-color: transparent !important;
  box-shadow: none;
}

.accordion-item {
  border: none !important;
  border-bottom: 1px solid black !important;
  background-color: transparent !important;
}

.accordion-body {
  text-align: left;
  color: black;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 16px 30px 32px 25px !important;
}

.accordion-button:not(.collapsed){
  box-shadow: none !important;
}

.accordion-button{
    color: #000 !important;
    font-size: 32px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; /* 125% */
    background-color: transparent !important;
    padding: 32px 25px !important;
}


/* FOOTER */

/* Image just above footer */
.faq-footer-image {
  width: 100%;
  object-fit: cover;
  margin-bottom: -4px;
}

.footer {
  background: #000;
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
}


.footer-image-frame {
  background-color: #b7c8cd0b;
}

.footer-logo {
  margin-left: 80px;
}

.footer-logo {
  font-weight: bold;
  font-size: 1.1rem;
}



@media (max-width: 767.98px) {
  .footer-logo img{
    width: 92px;
    height: 32px;
  }
  .footer {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }

  .footer-logo {
    order: 2;
    margin-left: 0px;
  }
}


@media (max-width: 991px) {
  h2 {
/* H2 mobile */
    font-size: 32px !important;
    line-height: 40px !important; /* 125% */
  }
  .prize-icon3{
    width: 102px;
    height: 112px;
  }
  .timeline-item.left .timeline-content {
    margin-left: 0px;
  }
  .prize-icon1 {
    width: 96px;
    height: 95px;
  }
  .prize-icon2 {
    width: 69px;
    height: 69px;
  }
  .prize-icon4 {
    width: 69px;
    height: 69px;
    top: 47%;
  }
  .mobile-nav{
    margin-top: 70%;
  }
  h3 {
  /* H3 mobile */
  font-size: 24px !important;
  line-height: 30px !important; /* 125% */
  font-style: normal;
  }
  #resources h3 {
    font-size: 24px !important;
    line-height: 30px !important; /* 125% */
    font-style: normal;
  }


  .yj-card {
    padding: 40px 16px;
    max-width: 85vw;
    height: fit-content;
  }

.card-hero{
  width: 100%;
}
}

.card-hero {
  padding-left: 30px;
  padding-right: 30px;
}


/* Default (pre-scroll): black hamburger icon */
#main-header.pre-scroll .hamburger-icon {
  color: black;
}

/* After scroll: white hamburger icon */
#main-header.scrolled .hamburger-icon {
  color: white;
}


.faq-section h3{
  font-weight: 400 !important;
  margin-bottom: 80px;
  font-family: 'Rootstock Sans Body', sans-serif !important;
}


@media (max-width: 1100px) {
  .why-join-header h3 {
    margin-bottom: 222px;
  }
  .swirl-image-mobile{
    right: -130px;
    height: 217px;
    width: 133px;
    z-index: 5;
    top: 80%;
  }
  .central-graphic-mobile{
    width: 595px;
    height: 505px;
    top: 65%;
    left: 0;
  }
  #main-header.scrolled .register-btn-desktop  {
    opacity: 0;
    display: none;
  }
  .card-dec-image{
    top: 97%;
    right: 24%;
    width: 109px;
    height: 132px;
  }
  .yj-card-img1 {
    width: 193px !important;
    height: 276.474px;
    left: 33%;
    top: -25%;
  }
  
  .yj-card-img2 {
    width: 79px !important;
    height: 152px;
    bottom: 91%;
    left: 41%;
    z-index: 2;
  }
  
  .yj-card-img3 {
    width: 223px !important;
    top: 53%;
    right: 56%;
  }
}




@media (max-width: 768px) {
  .card-dec-image{
    right: -17%;
  }

.prize-icon2 {
  left: -7%;
  bottom: -8%;
}

  .card-hero {
    padding-left: 15px;
    padding-right: 15px;
}
  .lg-text{
    color: #000;
    text-align: center;
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0px;
  }
  .yj-card-img1 {
    left: 2%;
    top: -22%;
  }
  
  .yj-card-img2 {
    bottom: 93%;
    left: 25%;
  }
}