:root {
    --nh-navy: #001f3f;
    --primary-deep: #1b1464;
    --primary-bg: #0b082d;
    --accent-pink: #ff5e62;
    --accent-coral: #ff9966;
    --accent-purple: #6a11cb;
    --accent-lime: #ccff00;
    --white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --nh-blue: #002d5b;
    --nh-yellow: #d4af37;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --gradient-main: linear-gradient(135deg, var(--accent-pink), var(--accent-coral));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--primary-bg);
    color: var(--white);
    overflow-x: hidden !important;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
}

/* --- Navigation --- */
nav {
    padding: 5%;
    position: absolute;
    width: 100%;
    height: 100px;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    /* Ensure it's above other content */
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animation for menu toggle icon */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        /* Show hamburger on mobile */
    }

    .nav-links {
        display: none;
        /* Hide nav links by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        /* Full viewport height */
        background-color: var(--primary-bg);
        /* Use a solid background */
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        pointer-events: all;
    }

    .nav-links .nav-btn {
        margin: 1rem 0;
        /* Adjust spacing for mobile buttons */
        padding: 15px 40px;
        font-size: 1.5rem;
    }

    /* Adjust nav padding when menu is active to avoid content overlap */
    nav.main-nav.active {
        padding-right: 5%;
        /* Keep padding consistent */
    }
}

.logo {
    max-width: 100%;
    display: contents !important;
}

.logo .marathon {
    width: 18%;
}

.logo .nhce_logo {
    width: 15%;
}

.nav-btn {
    padding: 12px 30px;
    background: linear-gradient(to right, #ff5e62, #ff9966);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(255, 94, 98, 0.2);
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 94, 98, 0.3);
}

/* --- Hero Banner --- */
.hero {
    height: 100vh;
    min-height: 850px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: var(--primary-bg);
    overflow: hidden;
}

/* Video Background Container */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1);
}

/* Overlay to keep text legible and maintain original radial gradient feel */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%,
            rgb(15 8 95 / 25%) 0%,
            rgb(11 8 45 / 24%) 80%);
    z-index: 2;
}

/* Dotted pattern from original code */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px,
            transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    padding-top: 70px;
}

.hero h1 {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-shadow: 3px 4px 10px #000000ab;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

.prize-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-cta a {
    letter-spacing: 1px;
}

.marathon_begin {
    /* padding: 15px; */
    font-size: 30px;
    text-transform: capitalize;
}

/* --- Categories --- */
.section-title {
    text-align: center;
    background: linear-gradient(to bottom, #0b082d, #05041a);
    padding: 40px 5% 40px;
    /* background: var(--bg-dark); */
}

.section-title h2 {
    font-size: 4rem;
    color: var(--nh-gold);
}

.section-title p {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    background: rgba(197, 160, 89, 0.1);
}

.cat-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: var(--nh-navy);
    cursor: pointer;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}

.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, var(--bg-dark));
    transition: var(--transition);
}

.cat-card:hover img {
    transform: scale(1.1);
    opacity: 0.2;
}

.cat-card:hover .cat-overlay {
    padding-bottom: 60px;
}

.cat-dist {
    font-size: 3rem;
    color: var(--nh-gold);
    line-height: 1;
}

.cat-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.btn-main {
    padding: 18px 45px;
    background: linear-gradient(to right, #ff5e62, #ff9966);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 15px 30px rgba(255, 94, 98, 0.3);
    transition: 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 94, 98, 0.4);
}

.hero-timer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    min-width: 500px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.timer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid var(--accent-pink);
    width: 100px;
    height: 100px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: pulse-glow 3s infinite;
}

.timer-card span {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide animation when number updates */
.number-animate {
    animation: numberSlide 0.4s ease-out;
}

@keyframes numberSlide {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 10px 40px rgba(255, 94, 98, 0.15);
    }

    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
}

.timer-unit label {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--accent-pink);
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Teko', sans-serif;
}

/* --- About Section --- */
.about-section {
    padding: 120px 5%;
    background: linear-gradient(to top, #0b082d, #05041a);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-section h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #ff6263;
}

.about-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: 1px;
}

.about-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 600px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-box {
    text-align: left;
}

.stat-box h4 {
    font-size: 2.5rem;
    color: var(--accent-pink);
    margin-bottom: 20px;
    line-height: 2.5rem;
}

.stat-box span {
    font-size: 15px;
    text-transform: capitalize;
    /* letter-spacing: 1px; */
    color: var(--text-muted);
}

.about-visual {
    flex: 1;
    position: relative;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-visual img {
    width: 95%;
    height: 95%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* --- Benefits Section --- */
.benefits-section {
    padding: 100px 5%;
    background: #05041a;
    text-align: center;
}

.section-tag {
    color: #ff5e62;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.benefits-section h2 {
    font-size: 4rem;
    margin-bottom: 80px;
}

.benefits-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.benefits-column {
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 350px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.benefit-number {
    font-size: 5rem;
    font-weight: 800;
    color: #ff5e62;
    line-height: 0.8;
    opacity: 0.9;
}

.center-circle {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 15px solid #1a1545;
    background-image: url("https://images.unsplash.com/photo-1452626038306-9aae5e071dd3?auto=format&fit=crop&w=600&q=80");
    background-size: cover;
    background-position: center;
}

/* --- REDESIGNED EVENTS SECTION --- */
.events-section {
    background: #05041a;
    padding: 120px 5%;
    position: relative;
}

.events-intro {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.events-intro.visible {
    opacity: 1;
    transform: translateY(0);
}

.events-intro span {
    color: #fff;
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
}

.events-intro h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.event-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.event-card {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
    transition: var(--transition-smooth);
    opacity: 0;
    /* transform: translateY(-50px); */
}

.event-card:nth-child(even) {
    flex-direction: row-reverse;
    /* transform: translateX(50px); */
}

.event-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.event-card:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 94, 98, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.event-info {
    flex: 1.2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(45deg, rgba(11, 8, 45, 0.8), transparent);
}

.event-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0px;
    letter-spacing: 1px;
}

.event-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item label {
    font-size: 0.75rem;
    color: var(--accent-pink);
    font-weight: 700;
    text-transform: uppercase;
}

.stat-item label svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    margin-right: 4px;
    vertical-align: -2px;
}

.stat-item span {
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
}

.event-cost {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.event-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.event-title-row h3,
.event-title-row .event-cost {
    margin-bottom: 0;
}

.event-cost small {
    font-size: 1rem;
    color: var(--accent-pink);
    font-weight: 400;
}

.reg-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.reg-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 8px;
    transition: 0.3s;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
}

.reg-btn.primary {
    background: var(--gradient-main);
    color: white;
}

.reg-btn.secondary {
    border: 2px solid var(--white);
    color: white;
}

.reg-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

/* --- Premium Accordion --- */
.premium-acc {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.acc-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.acc-head {
    padding: 10px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.acc-head:hover {
    color: var(--accent-pink);
}

.acc-head span {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}

.acc-head .plus {
    font-size: 1.8rem;
    transition: 0.4s;
    color: var(--accent-pink);
}

.acc-row.active .plus {
    transform: rotate(45deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.acc-row.active .acc-body {
    max-height: 1000px;
    transition: max-height 0.8s ease-in;
    padding: 0px;
    margin-bottom: 10px;
}

.acc-body .age li {
    font-size: 15px;
    line-height: 28px;
}

.acc-body .prize li {
    font-size: 14px;
    line-height: 28px;
}

.event-media {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1.5s ease;
}

.event-card:hover .event-media img {
    transform: scale(1.1);
}

@media (max-width: 1100px) {
    .hero-overlay {
        opacity: 0.8;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .prize-timer {
        flex-direction: column;
    }

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

    .hero-timer {
        justify-content: center;
        flex-wrap: wrap;
        min-width: auto;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-section p {
        margin-left: auto;
        margin-right: auto;
    }

    .about-stats {
        justify-content: center;
    }

    .about-visual {
        width: 100%;
        height: 300px;
    }

    .benefits-layout {
        flex-direction: column;
    }

    .center-circle {
        width: 300px;
        height: 300px;
    }

    .benefits-column {
        width: 100%;
        gap: 40px;
    }
}



@media (max-width: 600px) {
    .event-card {
        display: flex;
        flex-direction: column !important;
    }

    .hero h1 {
        margin: 20px 0px;
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 10px;
    }


    .about-section h3 {
        font-size: 1.4rem;
    }

    .about-container {
        text-align: left;
    }

    .hero-timer {
        gap: 20px;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        margin: 15px auto;
    }

    .timer-unit {
        width: 85px;
        height: 85px;
    }

    .timer-unit span {
        font-size: 1.8rem;
    }

    .timer-unit label {
        font-size: 16px;
    }

    .stat-box h4 {
        font-size: 1.8rem;
    }

    .about-section h2 {
        font-size: 2.5rem;
    }

    .event-cost {
        font-size: 2rem;
    }

    .event-cost small {
        font-size: 0.7rem;
    }

    .event-stats {
        flex-direction: column;
    }

    .stat-item {
        flex-direction: row;
        /* justify-content: center; */
        align-items: center;
        gap: 1rem;
    }
}

/* Forces a 2x2 grid on small phones to prevent horizontal overlapping */
@media (max-width: 440px) {


    .hero-timer {
        gap: 40px;
        max-width: 220px;
        /* Constrains width so units wrap into two rows */
    }

    .timer-unit {
        width: 80px;
        height: 100px;
    }

    .timer-unit span {
        font-size: 2.2rem;
    }

    .btn-main {
        padding: 15px 25px;
    }

    /* .timer-unit span {
        margin-top: 30px;
        margin-left: 30px;
    } */

    /* .timer-unit label {
        margin-left: 30px;
    } */

    .marathon_begin {
        padding: 5px;
        font-size: 38px;
        line-height: 48px;
        text-transform: capitalize;
    }

    .hero-cta {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .logo .marathon {
        width: 40%;
    }

    .logo .nhce_logo {
        width: 37%;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 140px;
        padding-bottom: 60px;
        align-items: flex-start;
    }

    .hero-content {
        padding-top: 45%;
    }

    .desktop-poster {
        display: none;
    }

    .mobile-poster {
        display: block !important;
    }
}

/* Prize Section */
.prize-section {
    background: linear-gradient(135deg, rgba(255, 94, 98, 0.1), rgba(255, 153, 102, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-top: 0px;
    width: 100%;
    max-width: 600px;
    margin-left: 30px;
}

.prize-header h3 {
    text-align: center;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: capitalize;
    letter-spacing: 2px;
}

.prize-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.prize-tabs .tab-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 40px;
    margin: 0 5px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.prize-tabs .tab-btn.active,
.prize-tabs .tab-btn:hover {
    background: var(--gradient-main);
    color: #fff;
    border-color: transparent;
    cursor: pointer;
}

.prize-content {
    display: flex;
    gap: 15px;
}

.prize-grid {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.prize-grid.active {
    display: block;
}

.prize-card {
    background: #ffffffb8;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex: 1;
}

.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.prize-card h4 {
    color: var(--accent-pink);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.prize-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prize-card ul li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

.prize-card ul li:last-child {
    border-bottom: none;
}

.prize-card ul li span {
    color: #4a0606e1;
    font-weight: 700;
}

.prize-card ul li strong {
    color: #4a0606e1;
    font-weight: 700;
    /* font-family: 'Orbitron', sans-serif; */
}

@media (max-width: 1100px) {
    .prize-section {
        margin-left: 0;
        margin-top: 30px;
        max-width: 100%;
    }
}

/* Association Section */
.association-section {
    padding: 60px 5%;
    background: #080620;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.association-section h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--white);
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.sponsors-grid img {
    max-height: 120px;
    opacity: 1;
    filter: grayscale(0);
    transition: all 0.3s ease;
}

.sponsors-grid img:hover {
    opacity: 0.6;
    filter: grayscale(1);
    transform: scale(1.05);
}

.vertical-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    align-self: stretch;
}

@media (max-width: 768px) {
    .vertical-divider {
        display: none;
    }
}

/* Lightbox & Route Map Styles */
.route-map-thumb {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.route-map-thumb:hover {
    transform: scale(1.02);
    border-color: var(--accent-pink);
}

.mobile-poster {
    display: none;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.close-lightbox:hover {
    color: var(--accent-pink);
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

/* Terms & Condition */

.terms-section {
    padding: 160px 5% 80px;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, #1b1464 0%, var(--primary-bg) 60%);
}

.terms-card {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.terms-card h1 {
    font-size: 3rem;
    color: var(--accent-pink);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
}

.terms-list {
    counter-reset: terms-counter;
    list-style: none;
}

.terms-list>li {
    position: relative;
    margin-bottom: 30px;
    padding-left: 50px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.terms-list>li::before {
    counter-increment: terms-counter;
    content: counter(terms-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: "Barlow Condensed", sans-serif;
    color: white;
    font-size: 1.2rem;
}

/* Nested List Styles (Caret Icon) */
.terms-list ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.terms-list ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.terms-list ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: -4px;
    color: var(--accent-pink);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.terms-list strong {
    color: var(--accent-coral);
    display: block;
    margin-bottom: 5px;
    font-size: 1.3rem;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .terms-section {
        padding-top: 140px;
    }

    .terms-card {
        padding: 30px 20px;
    }

    .terms-card h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .prize-content {
        flex-direction: column;
    }

    .btn-main {
        padding: 15px 15px;
    }
}

.prize-pool-link {
    padding: 16px 45px;
    border: 2px solid var(--accent-lime);
    border-radius: 10px;
    background: transparent;
    color: var(--accent-lime);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    animation: glowPulse 1.5s infinite alternate;
    letter-spacing: 1
}

@keyframes glowPulse {
    from {
        text-shadow: 0 0 5px rgba(204, 255, 0, 0.2);
        transform: scale(1);
    }

    to {
        text-shadow: 0 0 20px rgba(204, 255, 0, 0.8), 0 0 10px rgba(204, 255, 0, 0.6);
        transform: scale(1.05);
        color: #fff;
    }
}

.group-registration-section p {
    max-width: 500px;
}

.group-registration-section h6 a {
    color: var(--accent-pink);
    text-decoration: none;
}


.group-registration-section h6 a:hover {
    color: #f1f1f1;
    text-decoration: none;
}

/* Notice Modal Styles */
.notice-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.notice-content {
    background: linear-gradient(135deg, #1b1464, #0b082d);
    color: #fff;
    margin: auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.notice-content h2 {
    color: var(--accent-pink);
    margin-bottom: 25px;
    font-size: 2.5rem;
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: 1px;
}

.notice-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.close-notice {
    position: absolute;
    top: 15px;
    right: 25px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-notice:hover {
    color: var(--accent-pink);
    transform: rotate(90deg);
}