:root{
    --purple: #9b30ff;
    --muted: #d1d5db;
    --muted2: #adadade2;
    --black: #000;
    --green: #70f049;
    --dark-bg: #0a0a0a;
    --glass: rgba(255,255,255,0.03);
    --text-shadow: 0 6px 24px rgba(155,48,255,0.08);
}
html, body {
  overflow-x: clip;
}
body {
    position: relative;
    /* background: #000000; */
    background: 
            linear-gradient(#70f04913),
            url('../assets/ABSTRACT-for-green-.webp') no-repeat center top;
            /* radial-gradient(circle at center, rgba(32, 255, 3, 0.32), rgba(0, 0, 0, 0.474)); */
            /* url('assets/green-background.svg') no-repeat center top; */
    background-color: black;
    height: 100%;
    background-size: cover;
    background-position: center -150px;
    background-repeat: repeat-y;
    color: var(--muted);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.8;
    /* margin-top: 38%; */
}


.glow1-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.glow1-bg::before {
  content: "";
  position: absolute;
  top: 33%;
  left: -25rem;
  width: 1000px;
  height: 1000px;
  background: radial-gradient(
    circle,
    #70f04989 0%,
    #70f0493a 70%,
    transparent 100%
  );
  filter: blur(80px); /* smooth out the edges */
  pointer-events: none;
}



.glow2-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.glow2-bg::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    #70f04989 0%,
    #70f0493a 70%,
    transparent 100%
  );
  filter: blur(80px); /* smooth out the edges */
  pointer-events: none;
}

.glow3-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.glow3-bg::before {
  content: "";
  position: absolute;
  top: 83%;
  left: 63%;
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    #70f04989 0%,
    #70f0493a 70%,
    transparent 100%
  );
  filter: blur(80px); /* smooth out the edges */
  pointer-events: none;
}


.glow4-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.glow4-bg::before {
  content: "";
  position: absolute;
  top: 5%;
  left: 70%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    #70f04999 0%,
    #70f0493a 70%,
    transparent 100%
  );
  filter: blur(80px); /* smooth out the edges */
  pointer-events: none;
}


.glow1-bg,
.glow2-bg,
.glow3-bg,
.glow4-bg {
  pointer-events: none;
}



/* Pseudo-element for the dark overlay */
/* body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
} */
.smaller-image{
  max-width: 15rem;
}

@media (max-width: 768px){
  .smaller-image{
    max-width: 10rem;
  }
}

h1, h2, h3, h4 {
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
}
.highlight {
    font-size: 1.1rem;
    color: var(--green);
}
.section {
    padding: 80px 0;
    /* border-bottom: 1px dashed #333; */
}
.btn-apply {
    display: none;
    background: var(--green);
    color: var(--black);
    font-weight: bold;
    border-radius: 8px;
}

.btn-apply-head {
    text-decoration: none;
    color: inherit;
    font-size: 1.1rem;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 768px) {
    .header-logo {
    margin-bottom: 15px;
    }
    .btn-apply-head{
    display: none;
    }
    .btn-apply{
    display: block;
    }
}

.track-icon {
    width: 5.8rem;  /* Set the width to match the size you want */
    height: auto;
    filter: drop-shadow(0 0 0px var(--green)) drop-shadow(0 0 50px #70f04987) drop-shadow(0 0 1px var(--green));
    transition: transform 0.3s ease;
}

.track-icon:hover {
    transform: scale(1.05);
}

.prize-card {
  border: 2px solid var(--green);
  border-radius: 30px;
  padding-top: 65px;
  padding-bottom: 40px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  color: var(--green);
  font-size: 1.5rem;
  /* font-weight: bold; */
  width: 75%; /* Adjust the width as needed, or use a fixed value like 200px */
  max-width: 250px; /* Optionally, set a maximum width to control how large it can grow */
  height: auto; /* Keep the height flexible */
  margin: 0 auto; /* Center the card horizontally */
  filter: drop-shadow(0 0 1px var(--green)) drop-shadow(0 0 900px var(--green)) drop-shadow(0 0 1px var(--green));
}

.prize-image {
  width: 90px;  /* Set the size of the image */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 20px; /* Space between the image and text */
}
    /* .timeline {
      list-style: none;
      padding: 0;
    }
    .timeline li {
      margin-bottom: 15px;
    } */
.faq {
    font-size: 0.95rem;
    line-height: 1.6;
}
.header-logo {
    /* position: absolute; */
    /* top: 20px;     adjust spacing */
    /* right: 30px;   adjust spacing */
    width: 265px;  /* control size */
    /* height: auto; */
}


.partner-img {
  max-height: 110px;
  margin: 20px;
  filter: grayscale(100%) brightness(200%);
  transition: all 0.3s ease;
}

.partner-img:hover {
  filter: grayscale(0%) brightness(100%);
  transform: scale(1.05);
}

.sponsor-img {
    max-height: 80px;
    margin: 20px;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s ease;
}

.sponsor-img:hover {
    filter: grayscale(0%) brightness(100%);
    transform: scale(1.05);
}
.hero-title{
    margin-top: 6%;
    font-size:4rem;
    font-weight: 500;
    line-height: 0.89;
    margin-bottom: 1.5%;
}
.hero-description{
    font-size: 1.1rem;
    max-width: 70%;
    line-height: 1.2;
    /* margin-bottom: 10px; */
}

.very-light{
    color: var(--muted2);
}

/* Adjust the list to be on the right side */
.conditions-list {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Remove any left padding */
    margin-left: 5.8%;
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.2;
}

.conditions-list li::before {
    content: "-"; /* Add dash before each item */
    margin-right: 10px; /* Space between dash and text */
}


.timeline {
    position: relative;
    padding-left: 0;
    list-style: none;
}

/* .timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 15px;
    height: 87%;
    width: 1px;
    background: var(--green);
} */

    .timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 15px;
    height: 87%;
    width: 1px;
    background-image: linear-gradient(to bottom, var(--green) 0%, var(--green) 50%, transparent 50%, transparent 100%);
    background-size: 0.2rem 15px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 13px;
    width: 4px;
    height: 4px;
    /* border-radius: 50%; */
    background: var(--green);
    /* border: 4px solid var(--dark-bg); */
}

.timeline-item p, .timeline-item strong {
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 1px var(--green)) drop-shadow(0 0 300px var(--green)) drop-shadow(0 0 1px var(--green)); }
    to { filter: drop-shadow(0 0 2px var(--green)) drop-shadow(0 0 350px var(--green)) drop-shadow(0 0 2px var(--green)); }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--green);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--green); }
}

.staggered-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.staggered-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-hover-grow {
    transition: transform 0.3s ease;
}

.btn-hover-grow:hover {
    transform: scale(1.05);
    color: var(--green);
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    body {
    background-position: center -50px;
    background-size: cover;
    }
    
    .hero-title {
    font-size: 2.5rem;
    margin-top: 15%;
    text-align: center;
    }
    
    .hero-description {
    max-width: 100%;
    font-size: 1rem;
    text-align: center;
    }
    
    .header-logo {
    width: 200px;
    }
    
    .container {
    padding-left: 15px;
    padding-right: 15px;
    }
    
    .conditions-list {
    margin-left: 0;
    padding-left: 20px;
    font-size: 1rem;
    }
    
    .prize-card {
    width: 90%;
    margin-bottom: 30px;
    padding-top: 40px;
    padding-bottom: 25px;
    }
    
    .prize-image {
    width: 70px;
    }
    
    .track-icon {
    width: 4.5rem;
    margin-bottom: 15px;
    }
    
    .section {
    padding: 50px 0;
    }
    
    .timeline::before {
    left: 8px;
    height: 90%;
    }
    
    .timeline-item {
    padding-left: 25px;
    margin-bottom: 40px;
    }
    
    .timeline-item::before {
    left: 6px;
    }
    
    .sponsor-img {
    max-height: 60px;
    margin: 10px;
    }
    
    .faq {
    font-size: 0.9rem;
    }
    
    .highlight {
    font-size: 1rem;
    }
    
    .btn-apply {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: block;
    }
}

@media (max-width: 576px) {
    .hero-title {
    font-size: 2rem;
    }
    
    .prize-card {
    font-size: 1.2rem;
    }
    
    .conditions-list li {
    margin-bottom: 10px;
    }
    
    .sponsor-img {
    max-height: 50px;
    margin: 8px;
    }
}


@media (max-width: 768px) {
    .partner-img {
        max-height: 75px;
        margin: 10px;
    }
}