/* Nature x Future-Tech Theme */
:root {
    --primary-green: #d4af37;
    /* rich gold */
    --dark-green: #b8860b;
    /* dark golden bronze */
    --light-green: #f7e7b0;
    /* soft pale gold */
    --primary-blue: #ffd700;
    /* bright metallic gold */
    --dark-blue: #8b7500;
    /* deep antique gold */
    --tech-blue: #ffcc00;
    /* tech-inspired vivid gold */
    --neon-green: #ffdf00;
    /* glowing yellow-gold */
    --neon-blue: #ffbf00;
    /* warm amber-gold */
    --pure-white: #fffaf0;
    /* warm cream white */
    --glass-bg: rgba(255, 248, 220, 0.1);
    /* subtle gold glass */
    --glass-border: rgba(212, 175, 55, 0.3);
    /* gold border tint */
    --glass-shadow: rgba(0, 0, 0, 0.4);
    /* elegant dark shadow */
}




html {

    scroll-behavior: smooth;

}

/* Base Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--pure-white);
    overflow-x: hidden;
    background-color: rgba(0, 0, 0, 0.8);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* Glassmorphic Effect */
.glassmorphic {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    border-radius: 10px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--primary-green), var(--tech-blue));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    color: white;
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.btn-hero {
    margin: 1rem 1rem;
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgb(253 213 2 / 13%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(10, 25, 41, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 204, 113, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--primary-green));
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin: 0 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.music-toggle {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px var(--neon-green));
}

.music-toggle:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px var(--neon-green));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('/wp-content/uploads/2025/10/unnamed-1.webp') no-repeat center center/cover;
    overflow: hidden;
    padding: 4rem;
}

/* Overlay Effects */




/* .hero::before {
backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(3px);
} */

.timeline-vine {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-green), transparent);
    box-shadow: 0 0 20px var(--primary-green);
    z-index: 1;
}

.neon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
    z-index: 1;
}


/* Container Positioning */
.container {
    position: relative;
    z-index: 2;
}

/* Additional Animations */
@keyframes floatLeaves {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes floatElements {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }

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

@keyframes pulseGlow {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.2;
    }
}


.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.vines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('../img/vines-pattern.png') repeat; */
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    top: 3rem;
    text-align: center;
    z-index: 3;
    position: relative;
}

.hero-logo {
    margin-bottom: 2rem;
}

.main-logo-img {
    height: 200px;
    width: auto;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0;
    color: var(--light-green);
    line-height: 1.3;
}

.countdown-container {
    margin: 2rem 0;
}

.countdown-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: var(--light-green);
    line-height: 1.3;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 22px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    padding: 0.5rem;
    min-width: 80px;

}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    color: var(--light-green);
}

/* About Section */
.about {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: url('../img/backgrounds/about.avif') no-repeat center center/cover;
    overflow: hidden;
    display: none;
}

.circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/circuit-pattern.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;

}

.section-description {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: var(--light-green);
}

.counters {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.counter-item {
    text-align: center;
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    transition: all 0.3s ease;
}

.counters>div {
    width: 24%;
}


.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(46, 204, 113, 0.2);
}

.counter-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;

}

.counter-value::after {
    content: '';
    display: inline;
}

/* .counter-item:nth-child(2) .counter-value::after {
    content: '';
} */

.counter-label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-green);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    border-radius: 10px;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--pure-white);
}

/* Timeline Section */
.timeline {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: url('../img/backgrounds/timeline.avif') no-repeat center center/cover;
    overflow: hidden;
}

.digital-vine {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-green), transparent);
    box-shadow: 0 0 20px var(--primary-green);
    z-index: 1;
}

.digital-vine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/digital-circuit.png') repeat-y;
    opacity: 0.3;
}

.timeline .container {
    position: relative;
    z-index: 2;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-green), var(--primary-blue));
    box-shadow: 0 0 10px var(--primary-green);
    z-index: 1;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-date {
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    padding-left: 2rem;
}

.timeline-date {
    flex: 1;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-green);

}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    border-left: 3px solid var(--primary-green);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    border-left: none;
    border-right: 3px solid var(--primary-blue);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(46, 204, 113, 0.2);
}

.timeline-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    color: var(--pure-white);
}

.timeline-content li::before {
    content: '•';
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

/* Events Section */
.events {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: url('../img/backgrounds/event.avif') no-repeat center center/cover;
    overflow: hidden;
}

.leaf-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/leaf-particles.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.events .container {
    position: relative;
    z-index: 2;
}

.event-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    gap: 1rem;
}

.category-btn {
    padding: 10px 20px;
    background: transparent;
    color: white;
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.events-container {
    margin-top: 2rem;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.3);
}

.event-card-img {
    height: 200px;
    background-position: center;
    background-size: cover;
}

.event-card-content {
    padding: 1.5rem;
}

.event-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.event-card p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--pure-white);
}

.event-card .btn-secondary {
    font-size: 0.9rem;
    padding: 8px 15px;
}

.rulebooks {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    border-radius: 10px;
}

.rulebooks h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.rulebook-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.rulebook-btn {
    padding: 10px 20px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.rulebook-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

/* Star Night Section */
.star-night {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: url('../img/backgrounds/star-night.avif') no-repeat center center/cover;
    overflow: hidden;
}

.neon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.star-night-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star-night-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.star-night-video.hidden {
    display: none;
}

.star-night-video.revealed {
    display: block;
}

.star-night .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.scratch-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

#scratchCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 3;
    border-radius: 15px;
}

.artist-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/star-night/ss.jpg') no-repeat center center/cover;
    z-index: 1;
    border-radius: 15px;
}

.scratch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    z-index: 2;
}

.scratch-overlay-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

/* Artist Reveal Text Styles */
.artist-reveal-text {
    text-align: center;
    margin-top: 2rem;
    animation: fadeIn 1s ease forwards;
}

.artist-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-green);
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;

}

.artist-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    letter-spacing: 2px;

}

/* Gallery Section */
.gallery {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: #00000057;
    overflow: hidden;
    padding: 40px;
}

.nature-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/nature-particles.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.gallery .container {
    position: relative;
    z-index: 2;
}



.carousel-container {
    perspective: 1000px;
    position: relative;
    ---height: 716px;
    height: var(---height);
    margin-bottom: calc(var(---height) / 3 * -1);
}

.carousel {
    max-width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: 20s linear infinite rotate
}

.carousel:hover {
    animation-play-state: paused
}

.carousel-item {
    position: absolute;
    width: 362px;
    left: 50%;
    top: 50%;
    margin-left: -175px;
    margin-top: -175px;
    transition: transform .5s;
    height: auto;
    aspect-ratio: 16 / 9;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .5)
}

/* 3D Carousel Styles */
.carousel-3d-container {
    position: relative;
    perspective: 1000px;
    height: 400px;
    margin: 3rem auto;
    width: 100%;
    max-width: 800px;
}

.carousel-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.carousel-3d-item {
    position: absolute;
    width: 300px;
    height: 350px;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -175px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: 2px solid var(--primary-green);
}

.carousel-3d-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-3d-item:hover img {
    transform: scale(1.05);
}

.carousel-controls {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.5);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    margin-top: 5rem;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid var(--primary-green);
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 5rem;
    right: 20px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-green);
}

/* =================================================================== */
/* SPONSORS SECTION STYLES (FINAL VERSION)          */
/* =================================================================== */

/* --- Main Section Wrapper --- */
.sponsors {
    padding: 5rem 0;
    position: relative;
    background: url('../img/backgrounds/Sponsor.avif') no-repeat center center/cover;
}

.sponsors .container {
    position: relative;
    z-index: 1;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 50px;
}

/* --- Titles --- */
.section-title,
.category-title {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
}

.category-title {
    font-size: 1.5rem;
}

/* --- Scrolling Marquee Styles --- */
.sponsors-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 150px;
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.sponsor-track {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    height: 100%;

    /* For Centered (Stopped) Marquee */
    width: 100%;
    -webkit-justify-content: center;
    justify-content: center;

    /* For Scrolling Marquee - uncomment 'animation' and the 2 lines below */
    /* animation: scroll 15s linear infinite;
    position: absolute;
    left: 0; */
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.sponsors-marquee-container:hover .sponsor-track {
    animation-play-state: paused;
}

/* --- Static Categories Layout --- */
.side-by-side-categories {
    display: -webkit-flex;
    display: flex;
    width: 100%;
    /* Spreads out the categories */
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    margin: -15px;
    /* Safari Fix: Fallback for 'gap' property */
    flex-direction: row-reverse;
}

.sponsor-category {
    text-align: center;
    -webkit-flex: 1 1 300px;
    flex: 1 1 300px;
    max-width: 400px;
    padding: 15px;
    /* Safari Fix: Fallback for 'gap' property */
}

.static-grid {
    display: flex;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

/* --- Universal Sponsor Item Style --- */
.sponsor-item {
    display: -webkit-flex;
    display: flex;
    /* The width property has been removed */
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 110px;
    margin: 0 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.sponsor-item-c {
    display: -webkit-flex;
    display: flex;
    /* The width property has been removed */
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 110px;
    margin: 0 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

/* This applies the fixed width ONLY to the marquee items */
.sponsor-track .sponsor-item .sponsor-item-c {
    width: 220px;
}

.static-grid .sponsor-item .sponsor-item-c {
    margin: 0;
}

.sponsor-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
}


a {
    color: var(--primary-blue);
    text-decoration: unset;
}


.sponsor-item a {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.sponsor-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.sponsor-item-c:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
}

.sponsor-item-c a {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.sponsor-item-c img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Add this new style for the stopped state */
.marquee-stopped .sponsor-track {
    position: relative;
    width: 100%;
    justify-content: center;
}

/* =================================================================== */
/* EVENT SPONSORS STYLES                        */
/* =================================================================== */

.event-sponsors {
    width: 100%;
    margin-top: 50px;
    /* Adds some space above this new section */
}

/* --- The Grid Layout --- */
.event-sponsor-grid {
    display: grid;
    /* Creates a responsive grid with columns between 240px and 1fr */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

/* --- The Card Design --- */
.event-sponsor-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    border-radius: 15px;
    overflow: hidden;
    /* Ensures the glass effect stays within the border */

    /* The Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);

    transition: all 0.3s ease;
}

.event-sponsor-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 0 25px rgba(46, 204, 113, 0.4);
}

/* --- Logo Area --- */
.event-sponsor-logo {
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.event-sponsor-logo img {
    max-width: 80%;
    max-height: 100px;
    object-fit: contain;
}

/* --- Info Area (Event Name) --- */
.event-sponsor-info {
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    /* A slightly darker base for the text */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-sponsor-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.sc img {
    min-width: 10rem;
    min-height: 10rem;
}

/* Contact Section */
.contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(to bottom, rgb(0, 0, 0) 0%, rgba(255, 255, 255, 0) 100px),
        linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(255, 255, 255, 0) 100px), url('../img/backgrounds/contact.avif') no-repeat center center/cover;
    overflow: hidden;
}

.global-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/global-circuit.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-container {
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    border-radius: 10px;
}

.contact-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--pure-white);
    display: inline-flex;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 8px 15px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

/* Footer */
.footer {
    padding: 2rem 0 1rem;
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 0rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-credits {
    margin-top: 1rem;
}

.footer-credits a {
    color: var(--primary-green);
    text-decoration: none;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    padding: 2rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border-radius: 10px;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.modal-content p {
    margin-bottom: 2rem;
    color: var(--pure-white);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Confetti Canvas */
.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* Animation for Earth Globe */
@keyframes rotateEarth {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.artist-reveal-text.revealed .artist-name {
    animation: textGlow 2s infinite;
}

/* Star Night Layout Updates */
.artist-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    min-height: 500px;
}

.central-scratcher {
    flex: 0 0 auto;
    text-align: center;
    z-index: 5;
}

.floating-artist {
    flex: 1;
    display: flex;
    top: 5rem;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.left-artist {
    justify-content: center;
}

.right-artist {
    justify-content: center
}

.floating-image-container {
    margin: 25px 25px;
    position: relative;
    text-align: center;
}

.floating-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 5%;
    border: 3px solid rgba(46, 204, 113, 0.5);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
    filter: brightness(0.8) contrast(1.2);
    transition: all 0.5s ease;
}

.floating-text {
    position: absolute;
    bottom: 350px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-green);
    font-size: 1.2rem;

    white-space: nowrap;
    animation: floatUpDown 3s ease-in-out infinite;
}

/* Floating Animation */
@keyframes floatUpDown {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Left image specific animation */
.left-artist .floating-image {
    animation: floatLeftRight 4s ease-in-out infinite;
}

@keyframes floatLeftRight {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    33% {
        transform: translateX(-10px) translateY(-5px);
    }

    66% {
        transform: translateX(5px) translateY(5px);
    }
}

/* Right image specific animation */
.right-artist .floating-image {
    animation: floatRightLeft 4s ease-in-out infinite;
}

@keyframes floatRightLeft {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    33% {
        transform: translateX(10px) translateY(-5px);
    }

    66% {
        transform: translateX(-5px) translateY(5px);
    }
}

/* Hover effects */
.floating-image:hover {
    filter: brightness(1) contrast(1.2);
    border-color: var(--primary-green);
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.6);
    transform: scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .artist-layout {
        gap: 1rem;
    }

    .floating-image {
        width: 150px;
        height: 150px;
    }

    .floating-text {
        font-size: 1rem;
        bottom: -35px;
    }
}

@media screen and (max-width: 768px) {
    .artist-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .floating-artist {
        justify-content: center !important;
    }

    .left-artist,
    .right-artist {
        order: 1;
    }

    .central-scratcher {
        order: 2;
    }

    .floating-image {
        width: 220px;
        height: 220px;
    }

    .floating-text {
        font-size: 0.9rem;
        bottom: -30px;
    }

    .counters>div {
        width: 100%;
    }

}

@media screen and (max-width: 480px) {
    .artist-layout {
        gap: 1.5rem;
    }

    .floating-image {
        width: 200px;
        height: 200px;
    }

    .floating-text {
        font-size: 1.5rem;
        bottom: -25px;
        margin: -30px 20px;
    }
}

/* Enhanced scratch container for central position */
.central-scratcher .scratch-container {
    margin: 9rem auto;
    position: relative;
    z-index: 10;
}

/* Ensure proper z-index layering */
.star-night {
    position: relative;
    z-index: 2;
}

.nebula-background,
.neon-glow {
    z-index: 1;
}

.artist-layout>* {
    z-index: 3;
}

.central-scratcher {
    z-index: 5;
}

.event-category-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--glass-bg);
    /* Customize this color to your preference */
    color: var(--neon-green);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.contact-info a {
    text-decoration: none;
    color: white;
}







/* Keyframe Animations */
@keyframes rotate {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px #00A7D4;
    }

    50% {
        box-shadow: 0 0 20px #00A7D4, 0 0 30px #A341D1;
    }

    100% {
        box-shadow: 0 0 5px #00A7D4;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes spotlight {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.glow {
    animation: glow 2s infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

.slide-in {
    animation: slideIn 0.5s ease forwards;
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.ripple:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

.spotlight {
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: spotlight 2s linear infinite;
}

/* Timeline Item Animations */
.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
}

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

/* Counter Animation */
.counter-value {
    transition: all 0.5s ease;
}

/* Event Card Hover Effects */
.event-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
}

/* Scratch Reveal Animation */
.scratch-reveal {
    animation: fadeIn 1s ease forwards;
}

/* Music Toggle Animation */
.music-toggle {
    transition: all 0.3s ease;
}

.music-toggle.playing {
    animation: pulse 1s infinite;
}

/* Button Hover Effects */
.btn-primary,
.btn-secondary,
.btn-hero {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before,
.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-hero:hover::before {
    left: 100%;
}

/* Navbar Scroll Animation */
.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
    animation: confetti-fall 5s linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}


/* Tablet Devices (768px and below) */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .main-logo {
        font-size: 3.5rem;
    }

    .countdown-value {
        font-size: 2rem;
        min-width: 60px;
    }

    .countdown {
        gap: 1rem;
    }

    .counters {
        gap: 1rem;
    }

    .counter-item {
        flex: 0 0 calc(50% - 2rem);
    }

    .counter-value {
        font-size: 2.5rem;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-date {
        position: absolute;
        left: 0;
        top: 0;
        text-align: left !important;
        padding: 0 !important;
        width: 50px;
    }

    .timeline-content {
        width: 100%;
    }

    /* Timeline Section */
    .timeline-container {
        padding: 1rem 0;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-date {
        position: absolute;
        left: 0;
        top: 0;
        text-align: left !important;
        padding: 0 !important;
        width: 50px;
        font-size: 1.2rem;
    }

    .timeline-content {
        width: 100%;
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content li {
        font-size: 0.9rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .scratch-container {
        width: 400px;
        height: 400px;
    }

    .carousel-container {
        ---height: 400px;
        max-width: 50%;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .btn-hero {
        margin: 0.5rem 0.5rem;
        padding: 12px 30px;
        font-size: 1rem;
    }

    .sponsor-track {
        animation: scroll 10s linear infinite;
        position: absolute;
        left: 0;
    }

}

/* Mobile Devices (480px and below) */
@media screen and (max-width: 480px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 30%;
    }

    .main-logo {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.6rem;
    }

    .countdown {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .countdown-item {
        flex: 0 0 calc(50% - 1rem);
        margin-bottom: 1rem;
    }

    .countdown-value {
        font-size: 1.8rem;
        min-width: 50px;
    }

    .counter-item {
        flex: 0 0 100%;
    }

    .counter-value {
        font-size: 2rem;
    }

    .scratch-container {
        width: 300px;
        height: 300px;
    }

    .carousel-item {
        max-width: 155px;
        margin-left: -30px;
        margin-top: -100px;
    }

    .event-cards {
        grid-template-columns: 1fr;
    }

    .rulebook-buttons {
        flex-direction: column;
    }

    .sponsor-item {
        width: 150px;
        height: 80px;
        margin: 0 1rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .about-content p {
        font-size: 1rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content li {
        font-size: 0.9rem;
    }

    /* Timeline Section */
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-date {
        width: 35px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 0.8rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content li {
        font-size: 0.8rem;
    }

    .sponsor-track {
        animation: scroll 10s linear infinite;
        position: absolute;
        left: 0;
    }

    .gallery {
        min-height: unset;
        height: auto;
    }
}

/* Darken backgrounds on mobile for better readability */


/* 
.hero::before,
.about::before,
.timeline::before,
.events::before,
.star-night::before,
.gallery::before,
.sponsors::before,
.contact::before,
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.2) 0%, rgba(20, 61, 93, 0.5) 100%);
    z-index: 1;
} */


.hero::before,
.about::before,
.timeline::before,
.events::before,
.star-night::before,
.gallery::before,
.sponsors::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(14px);
}


/* Height adjustments for mobile */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 4rem;
    }

    .hero-content {
        transform: scale(0.8);
    }
}

/* Add these updates to the existing responsive.css file */

/* Gallery responsive adjustments */
@media screen and (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .gallery-item {
        height: 200px;
    }

    .scratch-container {
        width: 400px;
        height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .gallery-item {
        height: 180px;
    }

    .scratch-container {
        width: 300px;
        height: 300px;
    }

    .lightbox {
        padding: 1rem;
    }

}

/* Full-screen sections on mobile */
@media screen and (max-width: 768px) {

    .hero,
    .about,
    .timeline,
    .events,
    .star-night,
    .sponsors,
    .gallery,
    .contact {
        max-height: 100%;
        padding: 4rem 0;
    }
}

/* 3D Carousel Responsive Styles */
@media screen and (max-width: 900px) {
    .carousel-3d-container {
        height: 350px;
    }

    .carousel-3d-item {
        max-width: 250px;
        height: 300px;
        margin-left: -125px;
        margin-top: -150px;
    }

    .carousel-item {
        width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .carousel-3d-container {
        height: 300px;
    }

    .carousel-3d-item {
        width: 220px;
        height: 260px;
        margin-left: -110px;
        margin-top: -130px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .carousel-3d-container {
        height: 250px;
    }

    .carousel-3d-item {
        max-width: 180px;
        height: 220px;
        margin-left: -90px;
        margin-top: -110px;
    }

    .carousel-controls {
        bottom: -40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Star Night Responsive Styles */
@media screen and (max-width: 768px) {
    .scratch-container {
        width: 400px;
        height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .scratch-container {
        width: 300px;
        height: 300px;
        max-width: 100%;
        max-height: 100%;
    }

    .star-night-video video {
        object-position: center;
    }
}

/* Prevent video from affecting other sections */
.star-night {
    isolation: isolate;
    /* Creates a new stacking context */
}

/* Artist Reveal Text Responsive Styles */
@media screen and (max-width: 768px) {
    .artist-title {
        font-size: 2rem;
    }

    .artist-name {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .artist-title {
        font-size: 1.8rem;
    }

    .artist-name {
        font-size: 2.2rem;
    }

    .star-night .section-description {
        font-size: 1rem;
    }
}

/* Timeline Specific Responsive Fixes */
@media screen and (max-width: 768px) {
    .timeline-vine {
        left: 30px;
    }
}

@media screen and (max-width: 480px) {
    .timeline-vine {
        left: 20px;
    }
}

/* Counter responsive fixes */
@media screen and (max-width: 768px) {
    .counters {
        flex-direction: column;
        gap: 1rem;
    }

    .counter-item {
        flex: 0 0 100%;
        padding: 1.2rem;
        margin: 0.5rem 0;
    }

    .counter-value {
        font-size: 2.5rem;
    }

    .counter-label {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .counter-item {
        padding: 1rem;
        margin: 0.3rem 0;
    }

    .counter-value {
        font-size: 2.2rem;
    }

    .counter-label {
        font-size: 0.9rem;
    }

    .footer-logo-img {
        height: 43px;
    }

    .countdown-title {
        font-size: 2.2rem;
        margin-bottom: 13px;
        line-height: 1;
    }

    .countdown {
        font-size: 18px;
    }

}

/* Animation fixes for mobile */
@media (prefers-reduced-motion: reduce) {
    .counter-value {
        transition: none;
    }
}

/* Ensure counters are visible and properly styled */
.counter-item {
    opacity: 1;
    transform: none;
    transition: all 0.5s ease;
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .counter-value {
        -webkit-font-smoothing: antialiased;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .counter-value {
        color: var(--primary-green) !important;
    }
}



/********** plugin css start  *********/


/* Minimal CSS for a modern look - Tailwind classes are assumed, but these ensure basic structure */
/* Custom CSS - Gold Theme (Version 1.0.3) */
.vdp-form-wrapper {
    /* Background: Light, warm gold/white */
    max-width: 600px;
    margin: 2rem auto;
    padding: 25px;
    /* Slightly more padding */
    /* soft pale gold */
    border-radius: 12px;
    /* Smoother corners */
    /* Shadow using a gold tone for elegance */

    /* Deep antique gold border */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.vdp-form h2 {
    /* Heading Color: Rich, primary gold */
    font-size: 1.8rem;
    /* Slightly larger */
    font-weight: 700;

    /* dark golden bronze */
    text-align: center;
    padding-bottom: 10px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    border-bottom: unset;
}

.vdp-form input:not([type="submit"]),
.vdp-form textarea,
.vdp-form select {
    /* Input Fields: Clean white background with gold accent */
    box-sizing: border-box;
    background-color: var(--pure-white);
    /* warm cream white background */
    border: 1px solid var(--primary-green);
    /* Rich gold border */
    transition: border-color 0.3s, box-shadow 0.3s;
}

.vdp-form input:focus,
.vdp-form textarea:focus,
.vdp-form select:focus {
    /* Focus State: Bright gold glow */
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px var(--tech-blue);
}

.hidden {
    display: none;
}

/* Styling the buttons for the new gold theme */
#vdp-submit-btn {
    /* Submit Button: Primary gold color */
    /* background-color: var(--primary-green) !important; */
    /* border-color: var(--primary-green) !important; */
    /* color: #333 !important; */
    /* Dark text for contrast */
    /* font-weight: 600; */
    /* transition: background-color 0.3s, transform 0.1s; */
}

#vdp-submit-btn:hover {
    /* background-color: var(--dark-green) !important; */
    /* transform: translateY(-1px); */
}




.vdp-form select {
    padding: 12px 15px;
    border-radius: 8px;
    margin-left: 9px;
}

.btn-submit-form {
    margin: auto;
    display: block;
    font-size: 16px;
}


.vdp-message {
    font-weight: 500;
    text-align: center;
}

.text-red-600 {
    color: #ff4d4d;
}

.text-green-600 {
    color: #509d50;
}

.otp-message-message {
    border: 1px solid #509d50;
    font-size: 14px;
    line-height: 1.3;
    padding: 6px 12px;
    margin-bottom: 15px;
}



@media(max-width: 768px) {
    .container.default_content {
        width: 100%;
        padding: 0 13px;
    }

    .vdp-form-wrapper {
        padding: 20px;
    }

    .vdp-form h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .vdp-form select {
        width: 100%;
        margin-left: 0;
    }
}

/********** plugin css end  *********/


/* inner banner start  */


.inner-banner {
    text-align: center;
    background-color: #0a0a0a;
    padding: 30px;
}


/* inner banner end  */




/************** gallery start  ***********/
.photos-grid-container {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 0;
    align-items: start;
}


@media (max-width: 580px) {
    .photos-grid-container {
        grid-template-columns: 1fr;
    }
}

.photos-grid-container .img-box {
    position: relative;
}

.photos-grid-container .img-box:hover .transparent-box {
    background-color: rgba(0, 0, 0, 0.6);
}

.photos-grid-container .img-box:hover .caption {
    transform: translateY(-5px);
}

.photos-grid-container img {
    max-width: 100%;
    display: block;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
}

.photos-grid-container .caption {
    color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-size: 1.5rem;
}

.photos-grid-container .transparent-box {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photos-grid-container .main-photo {
    grid-row: 1;
    grid-column: 1;
}

.photos-grid-container .sub {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0em;
}

.photos-grid-container .sub:nth-child(0) {
    grid-column: 1;
    grid-row: 1;
}

.photos-grid-container .sub:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
}

.photos-grid-container .sub:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.photos-grid-container .sub:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.hide-element {
    border: 0;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}


.photos-grid-container a img {
    filter: saturate(0);
    transition: 0.3s;
}

.photos-grid-container a:hover img {
    filter: saturate(1);
}


.register-page-text {
    text-align: center;
    max-width: 450px;
    margin: 0 auto 13px;
}

#vdp-registration-form h2 {
    margin-bottom: 0;
    padding-bottom: 6px;
}

.inner-banner-logo img {
    height: 108px;
}

.gallery-register-button {
    text-align: center;
    margin-top: 20px;
}