/*1. Root Variables*/
:root {
    --bg-color: #121212;
    --text-color: #ffffff;
    --nav-bg: rgba(18, 18, 18, 0.9);
    --card-bg: rgba(18, 18, 18, 0.85);
    --accent-color: #9b59b6;
    --secondary-color: #f39c12;
    --icon-color: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --tick-count: 20;
    --tick-color: var(--text-color);
    --tick-size: 8px;
}

body.light-mode {
    --bg-color: #f5f5f5;
    --text-color: #333333;
    --nav-bg: rgba(245, 245, 245, 0.9);
    --card-bg: #ffffff;
    --icon-color: #000000;
    --glass: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------------
 * 2. Base Styles
 * ---------------------------------------------- */
html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1vw + 0.5rem, 16px);
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: background .3s, color .3s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
    line-height: 1.6;
    font-size: clamp(0.9rem, 1vw + 0.5rem, 1.1rem);
}

/* ----------------------------------------------
 * 3. Loading Screen
 * ---------------------------------------------- */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.1);
    border-top: 8px solid var(--accent-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Creative Equalizer Loader */
.loader-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.loader-bars .bar {
    width: 8px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 4px;
    animation: pulse 0.8s ease-in-out infinite;
}

.loader-bars .bar:nth-child(1) {
    animation-delay: 0s;
}

.loader-bars .bar:nth-child(2) {
    animation-delay: 0.1s;
}

.loader-bars .bar:nth-child(3) {
    animation-delay: 0.2s;
}

.loader-bars .bar:nth-child(4) {
    animation-delay: 0.3s;
}

.loader-bars .bar:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes pulse {

    0%,
    100% {
        height: 24px;
        opacity: 0.6;
    }

    50% {
        height: 64px;
        opacity: 1;
    }
}

/* Loading animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buffer indication */
.timeline.buffering::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: buffering 1.5s linear infinite;
}

@keyframes buffering {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ----------------------------------------------
 * 4. Navbar
 * ---------------------------------------------- */
.navbar {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background .3s;
}

.navbar-brand {
    color: var(--text-color) !important;
    letter-spacing: .3rem;
}

.nav-link {
    color: var(--text-color) !important;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--accent-color);
    transition: width .3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    background: transparent;
    padding: .5rem;
}

.navbar-toggler i {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: color .3s;
}

.navbar-toggler:hover i {
    color: var(--accent-color);
}

/* Active Navigation Styles */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link.active::after {
    width: 100%;
    opacity: 1;
}

/* Hover effect */
.nav-link:hover::after {
    width: 70%;
    opacity: 0.7;
}

/* ----------------------------------------------
 * 5. Dark/Light Toggle
 * ---------------------------------------------- */
.theme-switch {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    background: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background .3s;
    padding: 0 6px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch .slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 30px;
    background: var(--card-bg);
    border-radius: 30px;
    padding: 0 8px;
    transition: background-color .4s;
}

.theme-switch .slider i {
    font-size: .9rem;
    color: var(--text-color);
    transition: opacity .3s, transform .3s;
}

.theme-switch input:checked+.slider .fa-sun {
    opacity: 0;
    transform: scale(0.6);
}

.theme-switch input:not(:checked)+.slider .fa-moon {
    opacity: 0;
    transform: scale(0.6);
}

.navbar .theme-switch {
    margin-left: 15px;
}

/* ----------------------------------------------
 * 6. Hero Section
 * ---------------------------------------------- */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

body.light-mode #background-video-light {
    opacity: 1;
}

body:not(.light-mode) #background-video-dark {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: .2rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
}

@supports not (mix-blend-mode: difference) {

    .hero-content h1,
    .hero-content p {
        color: #fff;
    }
}

body.light-mode .hero-content h1,
body.light-mode .hero-content p {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta1-btn,
.cta2-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 350px;
    height: 60px;
    padding: 10px;
    font-size: .9rem;
    text-decoration: none;
    white-space: normal;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform .3s;
    font-size: clamp(0.8rem, 1vw + 0.4rem, 1rem);
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
}

.cta1-btn {
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
}

.cta2-btn {
    background: none;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
}

.cta1-btn:hover,
.cta2-btn:hover {
    transform: scale(1.1);
}

.cta1-btn:hover::before,
.cta2-btn:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    z-index: -1;
}

/* Background Video Transitions */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: opacity 1s ease-in-out; /* Smooth 1-second transition */
}

/* Initial state: Light mode active, dark mode hidden */
body.light-mode #background-video-light {
    opacity: 1;
}

body.light-mode #background-video-dark {
    opacity: 0;
}

/* Dark mode: Dark mode active, light mode hidden */
body.dark-mode #background-video-light {
    opacity: 0;
}

body.dark-mode #background-video-dark {
    opacity: 1;
}

/* Make sure both videos have proper positioning */
#hero {
    position: relative;
    overflow: hidden;
}

/* ----------------------------------------------
 * 7. Hero Blobs
 * ---------------------------------------------- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .7;
    pointer-events: none;
    animation: blob-move 12s infinite;
    z-index: -1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    top: 20%;
    left: 10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    bottom: 10%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes blob-move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-25px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* ----------------------------------------------
 * 8. Latest Releases
 * ---------------------------------------------- */
#latest {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

#latest::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 130vh);
    background: url('../imgs/graffiti-overlay.png') no-repeat center/cover;
    opacity: .1;
    pointer-events: none;
    z-index: -1;
}

/* Light mode adjustments */
body.light-mode #latest::before {
    opacity: .05;
    mix-blend-mode: multiply;
}

/* Add container isolation to prevent overlay bleeding */
#latest .container {
    position: relative;
    z-index: 2;
}

/* Card backdrop blur for better contrast */
#latest .release-card {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.release-card {
    background: var(--card-bg) !important;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.release-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.release-card .card-title {
    color: var(--accent-color);
    margin-top: 1rem;
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.5rem);
}

.streaming-links {
    margin-top: 15px;
}

.dsp-icon {
    width: 40px;
    height: 40px;
    transition: transform .3s ease, filter .3s ease;
}

body:not(.light-mode) .dsp-icon {
    filter: brightness(0) invert(1);
}

body.light-mode .dsp-icon {
    filter: brightness(1) invert(0);
}

.dsp-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* ----------------------------------------------
 * 9. Competitions
 * ---------------------------------------------- */
#competitions {
    padding: 100px 0;
}

#competitions h3 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.8rem, 4vw + 1rem, 3rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Main countdown container */
.competition-countdown {
    display: table;
    background: none !important;
    color: #6e6e6e79;
    font-family: 'Orbitron', monospace !important;
    font-size: clamp(1.8rem, 3.6vw + 1.2rem, 3rem) !important;
    font-weight: 700;
    padding: 0.5rem 0.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: none !important;
    margin: 0 auto 2rem;
}

/* Individual countdown number spans */
.competition-countdown span {
    color: var(--accent-color) !important;
    font-size: clamp(1.2rem, 2vw + 0.8rem, 2rem) !important;
}

.challenge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 80px;
}

.challenge-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    flex: 1 1 calc(33.333% - 20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    text-align: center;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.challenge-card h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.challenge-card p {
    line-height: 1.5;
}

.challenge-card .btn-entry {
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .3s;
}

.challenge-card .btn-entry:hover {
    background: var(--secondary-color);
}

/* Rules Card */
.rules-card {
    background: var(--glass);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    max-height: 300px;
    overflow-y: auto;
    transition: transform .3s;
}

.rules-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.rules-header {
    font-size: 1.25rem;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
}

.rules-content {
    font-size: 0.9rem;
    line-height: 1.4;
}

.rules-content h5 {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--accent-color);
}

.rules-content ul {
    margin-left: 1rem;
}

/* Custom Scrollbar for Rules Card */
.rules-card::-webkit-scrollbar {
    width: 8px;
}

.rules-card::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 8px;
}

.rules-card::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 8px;
}

/* Coming Soon Overlay */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    letter-spacing: .1rem;
    z-index: 2;
    border-radius: 15px;
}

body.light-mode .coming-soon-overlay {
    background-color: #ffffffb7;
    color: #000;
}

/* ----------------------------------------------
 * 10. About Section
 * ---------------------------------------------- */
 .about-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--accent-color) 100%);
    overflow: hidden;
}

.section-title {
    font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

/* Consolidated Profile Image Styles */
.about-image {
    position: relative;
    width: 280px;
    height: 280px;
    z-index: 1;
    isolation: isolate;
}

.blob-mask {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    animation: blobMorph 8s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
}

.profile-img {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    border: none;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    will-change: opacity, transform;
    animation: imagePulse 4s infinite ease-in-out;
}

/* Keep content property */
.profile-img#profile-img-light {
    content: url('../imgs/mikeynu-profile-LM.jpg');
}

.profile-img#profile-img-dark {
    content: url('../imgs/mikeynu-profile-DM.jpg');
}

/* Light/dark theme state rules */
body.light-mode .profile-img#profile-img-light {
    opacity: 1;
}

body.light-mode .profile-img#profile-img-dark {
    opacity: 0;
}

body.dark-mode .profile-img#profile-img-light {
    opacity: 0;
}

body.dark-mode .profile-img#profile-img-dark {
    opacity: 1;
}

/* Make the shadow part of the blob, not the image */
.blob-mask::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: inherit;
    box-sizing: border-box;
    pointer-events: none;
}

.about-details {
    flex: 1 1 400px;
    color: #fff;
}

.about-details p {
    font-size: clamp(0.95rem, 1vw + 0.6rem, 1.125rem);
    margin-bottom: 30px;
    text-align: justify;
    text-justify: inter-word;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.about-cards .card {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.about-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.about-cards .card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.about-cards .card h3 {
    margin: 10px 0;
    font-size: 1.1rem;
}

.about-facts {
    display: flex;
    gap: 40px;
}

.about-facts .fact {
    text-align: center;
}

.about-facts .fact h3 {
    font-size: clamp(1.8rem, 3vw + 1rem, 2.5rem);
    margin-bottom: 5px;
    color: var(--accent-color);
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 30% 70% 50% 50% / 60% 40% 60% 40%;
    }
    25% {
        border-radius: 80% 20% 50% 50% / 40% 60% 40% 60%;
    }
    50% {
        border-radius: 50% 50% 80% 20% / 60% 40% 40% 60%;
    }
    75% {
        border-radius: 20% 80% 50% 50% / 50% 50% 60% 40%;
    }
}

/* Add subtle zoom pulse effect to profile images */
@keyframes imagePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* ----------------------------------------------
 * 11. Blog Section
 * ---------------------------------------------- */
#blog {
    padding: 100px 0;
    background: var(--bg-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.blog-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 20px;
}

.blog-card .card-title {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.5rem);
}

.blog-card .card-text {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 1vw + 0.5rem, 1.1rem);
}

/* ----------------------------------------------
 * 12. Contact Section
 * ---------------------------------------------- */
.contact-section {
    background: var(--bg-color);
    padding: 120px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    background: var(--card-bg);
    padding: 1.25rem;
    border-radius: 12px;
    transition: transform .3s, box-shadow .3s;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.info-card i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    min-width: 2.5rem;
    text-align: center;
}

.info-card h4 {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.3rem);
}

.info-card p {
    font-size: clamp(0.85rem, 1vw + 0.4rem, 1rem);
}

/* Form Card */
.form-card {
    backdrop-filter: blur(12px);
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    color: var(--text-color);
    transition: border-color .3s, box-shadow .3s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field input:not(:placeholder-shown),
.form-field textarea:not(:placeholder-shown) {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.form-field label {
    opacity: 0;
    transition: opacity .25s ease, top .25s ease, font-size .25s ease;
    font-size: clamp(0.75rem, 1vw + 0.4rem, 0.85rem);
}

.form-field input:focus+label,
.form-field textarea:focus+label,
.form-field input:not(:placeholder-shown)+label,
.form-field textarea:not(:placeholder-shown)+label {
    opacity: 1;
    top: -0.6rem;
    left: 1rem;
    font-size: 0.85rem;
    background: var(--bg-color);
    padding: 0 0.25rem;
}

.submit-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    border-radius: 50px;
    color: var(--bg-color);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform .3s;
    font-size: clamp(0.8rem, 1vw + 0.4rem, 1rem);
    padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 3vw, 2rem);
}

.submit-btn:hover {
    transform: scale(1.05);
}

/* Contact Section Title */
#contact {
    padding-top: 100px;
    position: relative;
}

#contact .section-title {
    font-family: 'Syncopate', sans-serif;
    text-align: center;
    margin-bottom: 1rem;
}

#contact .section-subtitle {
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-family: 'Montserrat', sans-serif;
}

/* Add decorative elements */
#contact .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--accent-color) 50%,
        transparent 100%
    );
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #contact {
        padding-top: 60px;
    }
    
    #contact .section-subtitle {
        margin-bottom: 2rem;
    }
}

/* Contact Form Styles */
.form-response {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.form-response.success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.form-response.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.form-control {
    background: var(--card-bg) !important;
    border: 1px solid rgba(155, 89, 182, 0.2);
    color: var(--text-color) !important;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.2);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ----------------------------------------------
 * 13. Newsletter
 * ---------------------------------------------- */
#newsletter {
    padding: 50px 0;
    background: var(--nav-bg);
    text-align: center;
}

#newsletter h4 {
    margin-bottom: 20px;
    font-size: clamp(1.2rem, 2vw + 0.8rem, 1.5rem);
    color: var(--text-color);
}

#newsletter form {
    display: inline-flex;
    max-width: 500px;
    width: 100%;
}

#newsletter input[type="email"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid var(--accent-color);
    border-radius: 50px 0 0 50px;
    background: var(--card-bg);
    color: var(--text-color);
}

#newsletter button {
    padding: 10px 25px;
    border: none;
    background: var(--accent-color);
    color: var(--bg-color);
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background .3s;
}

#newsletter button:hover {
    background: var(--secondary-color);
}

/* Add to your style.css file */
.newsletter-response.success {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 10px;
}

.newsletter-response.error {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 10px;
}

/* ----------------------------------------------
 * 14. Footer
 * ---------------------------------------------- */
footer {
    background: var(--nav-bg);
    color: var(--text-color);
    text-align: center;
    padding: 2rem 0;
    font-size: 14px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .social-icons a {
    color: var(--text-color);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color .3s;
}

footer .social-icons a:hover {
    color: var(--accent-color);
}

footer p {
    margin: 0.5rem 0 0;
}

/* Custom Twitter Icon */
.custom-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.twitter-icon {
    background-image: url('../icons/twitter.png');
    filter: brightness(0) invert(1); /* Makes the icon white to match other icons */
}

body.light-mode .twitter-icon {
    filter: brightness(0); /* Makes the icon black in light mode if needed */
}

/* Ensure all social icons have the same hover effect */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 8px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
}

/* Apply the same size to both icon types */
.social-icons i,
.social-icons .custom-icon {
    font-size: 18px;
}

/* ----------------------------------------------
 * 15. Audio Player - Clean Version */
#audio-player {
    padding: 2rem 0;
}

.audio-player {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Cover Art */
.player-row.cover-art-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

.cover-art {
    width: 250px;
    height: 250px;
    background: #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    position: relative;
    transition: transform 0.3s ease;
}

.cover-art:hover {
    transform: scale(1.02);
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info Row */
.player-row.info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0.5rem 1rem;
}

.bpm-key, .time-stamp {
    font-family: 'Orbitron', monospace;
    font-size: clamp(0.75rem, 1vw + 0.5rem, 0.9rem);
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(155, 89, 182, 0.3);
}

/* Timeline */
.timeline {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--accent-color) var(--progress, 0%), 
        rgba(0, 0, 0, 0.1) var(--progress, 0%));
    border-radius: 3px;
    appearance: none;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.timeline::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline:hover {
    height: 8px;
}

.timeline::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4);
}

/* Add Firefox support */
.timeline::-moz-range-track {
    background: linear-gradient(90deg, 
        var(--accent-color) var(--progress, 0%), 
        rgba(0, 0, 0, 0.1) var(--progress, 0%));
    height: 6px;
    border-radius: 3px;
}

.timeline::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Controls Row */
.player-row.controls-row {
    display: grid;
    grid-template-columns: auto 1fr auto; /* Three columns: play button | space | volume */
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
}

/* Left Column - Play Button */
.col.left {
    grid-column: 1;
    justify-self: start; /* Align to the far left */
}

/* Right Column - Volume Control */
.col.right {
    grid-column: 3;
    justify-self: end; /* Align to the far right */
}

/* Play Button */
#player-play-pause {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

#player-play-pause::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--card-bg);
    border-radius: 50%;
    z-index: 1;
}

#player-play-pause svg {
    width: 24px;
    height: 24px;
    fill: var(--text-color);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

#player-play-pause:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0; /* Remove auto margin */
}

.volume-icon {
    color: var(--text-color);
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.volume-icon:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--accent-color) var(--volume, 100%), 
        rgba(255,255,255,0.1) var(--volume, 100%));
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    -webkit-appearance: none;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border: 2px solid var(--bg-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .audio-player {
        padding: 1.5rem;
    }
    
    .cover-art {
        width: 200px;
        height: 200px;
    }
    
    .volume-slider {
        width: 60px;
    }
    
    .player-row.controls-row {
        gap: 1rem;
        padding: 1rem;
    }
}

/* Remove duplicated blocks and consolidate media queries */
@media (max-width: 768px) {
    /* Combine all mobile styles */
    .hero-content h1 { font-size: clamp(2rem, 5vw + 1rem, 2.5rem); }
    .hero-content p { font-size: clamp(1rem, 2vw + 0.8rem, 1.2rem); }
    .hero-buttons { display: inline-block; }
    .cta1-btn { margin-bottom: 20px; }
    .navbar .theme-switch { 
        margin-left: 0;
        margin-top: 15px;
    }
    .contact-container { grid-template-columns: 1fr; }
    .about-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .about-facts { justify-content: center; }
    .about-cards .card h3 {
        font-size: clamp(1rem, 1.5vw + 0.5rem, 1.1rem);
    }
}

/* AOS Initialization */
.js [data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Creative Section Headings */
section h2.gradient-text {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
}

section h2.gradient-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--accent-color) 50%,
        transparent 100%
    );
    border-radius: 2px;
}

section h2.gradient-text span {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

/* Competitions Section */
#competitions h3.step-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#competitions h3.step-title i {
    color: var(--accent-color);
    font-size: 0.9em;
    filter: drop-shadow(0 0 10px rgba(155, 89, 182, 0.4));
}

/* About Cards */
.about-cards .card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--accent-color);
    margin: 1rem 0;
    letter-spacing: 0.05em;
}

/* Blog Section */
.blog-card .card-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Contact Section */
.info-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

/* Newsletter Section */
#newsletter h4 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    color: var(--text-color);
}

/* Hover Effects */
section h2.gradient-text:hover::after {
    width: 150px;
    transition: width 0.3s ease;
}

.about-cards .card:hover h3 {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Archives Audio Player */
.archives-wrapper .audio-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(155, 89, 182, 0.1);
}

.archives-wrapper .song-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.archives-wrapper .song-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.archives-wrapper .audio-player {
    background: none !important;
    box-shadow: none !important;
    padding: 1rem;
    border-radius: 10px;
    position: relative;
}

/* Custom Audio Controls for Archives */
.archives-wrapper audio::-webkit-media-controls-panel {
    background: linear-gradient(180deg, 
        rgba(155, 89, 182, 0.1),
        rgba(0, 0, 0, 0.3)
    );
}

.archives-wrapper audio::-webkit-media-controls-play-button {
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: scale(1.2);
}

.archives-wrapper audio::-webkit-media-controls-current-time-display,
.archives-wrapper audio::-webkit-media-controls-time-remaining-display {
    color: var(--text-color);
    font-family: 'Orbitron', monospace;
    font-size: 12px;
}

.archives-wrapper audio::-webkit-media-controls-timeline {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    height: 3px;
    margin: 0 10px;
}

.archives-wrapper audio::-webkit-media-controls-volume-slider {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    padding: 0;
}

/* Hover Effects */
.archives-wrapper .audio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.1);
    border-color: rgba(155, 89, 182, 0.2);
}

.archives-wrapper .audio-card:hover .song-title {
    color: var(--secondary-color);
}

.archives-wrapper .audio-card:hover .audio-player {
    background: rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .archives-wrapper .audio-card {
        padding: 1rem;
    }
    
    .archives-wrapper .song-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .archives-wrapper .audio-player {
        padding: 0.5rem;
    }
}

/* Archives Section Spacing */
#archives.section-padding {
    padding-top: calc(80px + 3rem); /* Navbar height + additional spacing */
    min-height: 100vh;
}

#archives .section-title {
    margin-bottom: 1rem;
    padding-top: 2rem;
}

#archives .section-subtitle {
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #archives.section-padding {
        padding-top: calc(70px + 2rem); /* Adjusted for mobile navbar height */
    }
    
    #archives .section-title {
        margin-bottom: 0.75rem;
        padding-top: 1.5rem;
    }
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
    padding: 1rem;
}

.page-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--text-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    z-index: 1;
}

.page-btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--card-bg);
    border-radius: 28px;
    z-index: -1;
    transition: all 0.3s ease;
}

.page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.3);
    color: var(--accent-color);
}

.page-btn:hover::before {
    opacity: 0.9;
}

.page-info {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color);
    font-size: 1rem;
    letter-spacing: 0.1em;
    padding: 0.8rem 1.5rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(155, 89, 182, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pagination {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .page-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .page-info {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

/* Custom Audio Player */
.custom-player {
    background: linear-gradient(145deg, rgba(18, 18, 18, 0.9), rgba(30, 30, 30, 0.9));
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(155, 89, 182, 0.1);
    backdrop-filter: blur(10px);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.play-pause {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-pause::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--card-bg);
    z-index: 1;
}

.play-pause i {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
}

.play-pause:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4);
}

.timeline-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    transition: height 0.2s ease;
}

.timeline:hover {
    height: 8px;
}

.progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 3px;
    width: 0%;
}

.current-time, .duration {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    min-width: 45px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.volume-control i {
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.volume-control i:hover {
    color: var(--accent-color);
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.volume-slider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .player-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .volume-control {
        width: 100%;
        justify-content: center;
    }
    
    .timeline-wrapper {
        width: 100%;
    }
}

/* Message Styling */
.no-audio-message,
.maintenance-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: var(--card-bg);
    border-radius: 15px;
    gap: 1rem;
}

.no-audio-message i,
.maintenance-message i {
    font-size: 2rem;
    color: var(--accent-color);
}

.no-audio-message p,
.maintenance-message p {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var (--text-color);
    margin: 0;
}

.maintenance-message i {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Privacy Policy Styles */
#privacy {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--bg-color);
    text-align: center;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.policy-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(155, 89, 182, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.policy-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 2px;
}

.policy-section ul {
    list-style: none;
    padding-left: 0;
}

.policy-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.policy-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.contact-info {
    display: inline-block;
    background: var(--bg-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: var(--accent-color);
    font-family: 'Orbitron', sans-serif;
}

#privacy .section-title {
    margin-bottom: 1rem;
}

#privacy .section-subtitle {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    opacity: 0.8;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    #privacy .section-subtitle {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .policy-section h2 {
        font-size: 1.25rem;
    }
}

/* Dropdown Styling */
.dropdown-menu {
    background: var(--card-bg);
    border: 1px solid rgba(155, 89, 182, 0.1);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--text-color);
    padding: 0.7rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(155, 89, 182, 0.2));
    color: var(--accent-color);
    transform: translateX(5px);
}

.dropdown-item.active {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--text-color);
}

.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .dropdown-menu {
        border: none;
        background: transparent;
        box-shadow: none;
        padding-left: 1rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
    }
}

/* Improve custom player controls */
#archives .player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

#archives .timeline-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

#archives .timeline {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

#archives .progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--accent-color);
    border-radius: 2px;
}

#archives .volume-control {
    display: flex;
    align-items: center;
    margin-left: 5px;
}

#archives .volume-control i {
    font-size: 14px;
    cursor: pointer;
    margin-right: 6px;
    color: var(--text-color);
    width: 20px;
    text-align: center;
    transition: color 0.2s;
}

#archives .volume-control i:hover {
    color: var(--accent-color);
}

#archives .current-time,
#archives .duration {
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.8;
    width: 35px;
    text-align: center;
}

/* Volume control styling for all audio players */
.volume-control {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.volume-icon, 
.volume-control i {
    font-size: 16px;
    cursor: pointer;
    color: var(--text-color);
    width: 20px;
    text-align: center;
    transition: color 0.2s;
}

.volume-control i:hover,
.volume-icon:hover {
    color: var(--accent-color);
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    margin-left: 8px;
    transition: all 0.2s;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* ===================================================
   VOTING RESULTS PAGE STYLES
   =================================================== */

/* Voting specific header - rename to avoid conflicts */
.voting-header,
.voting-header::before,
.voting-header::after {
  background: none !important;
  background-image: none !important;
  background-color: transparent !important;
}

/* Voting Header */
.voting-header {
  text-align: center;
  padding-bottom: 1rem;
  background: none !important;
}
.voting-header h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.voting-header p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Voting Chart Container */
.voting-chart-container {
  background: var(--card-bg);
  padding: 1rem;
  height: 400px;
}
#v2-barChart {
  width: 100% !important;
  height: 100% !important;
}

/* Voting Pagination */
.voting-pagination-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.voting-pagination-controls button {
  background: var(--accent-color) !important;
  color: var(--card-bg) !important;
  border: 2px solid var(--accent-color) !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.voting-pagination-controls button:hover:not(:disabled) {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.voting-pagination-controls button:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  background: var(--text-secondary) !important;
  border-color: var(--text-secondary) !important;
}
.voting-page-indicator {
  font-weight: 500;
}

/* Voting Loading & Error States */
.voting-chart-loading,
.voting-chart-error {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  font-size: 1.1rem;
}
.voting-chart-loading::before { content: '📊'; margin-right: 0.5rem; animation: votingPulse 2s infinite; }
@keyframes votingPulse { 0%,100%{opacity:1;} 50%{opacity:0.5;} }

.voting-chart-error::before { content: '⚠️'; font-size:2rem; }

/* View Results Button Specific Styling */
.viewresultsbutton {
    display: block !important;
    width: fit-content;
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.viewresultsbutton:hover {
    transform: translateX(-50%) scale(1.1);
}

/* Voting Download Button - CTA2 Style */
.download-btn-cta2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 350px;
    height: 60px;
    padding: 10px 20px;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: normal;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    background: none;
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    font-family: inherit;
    left: 50%;
    transform: translateX(-50%);
}

.download-btn-cta2:hover {
    transform: translateX(-50%) scale(1.1);
    color: var(--text-color);
}

.download-btn-cta2:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    z-index: -1;
}

.download-btn-cta2 i {
    margin-right: 8px;
}

/* Center the download section */
.voting-download-section {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Voting Results Page Container - Desktop Padding Fix */
.voting-results-container {
    padding-top: 120px; /* Add space for navbar on desktop */
    min-height: 100vh;
}

.voting-container-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Keep mobile view unchanged */
@media (max-width: 768px) {
    .voting-results-container {
        padding-top: 80px; /* Smaller padding for mobile */
    }
    
    .voting-container-wrapper {
        padding: 1rem;
        margin: 1rem;
    }
}

/* Voting Results Page Graffiti Overlay */
.voting-results-section {
    position: relative;
    z-index: 1;
}

.voting-results-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../imgs/graffiti-overlay.png') no-repeat center/cover;
    opacity: .1;
    pointer-events: none;
    z-index: -1;
}

/* Light mode adjustments for voting results */
body.light-mode .voting-results-section::before {
    opacity: .05;
    mix-blend-mode: multiply;
}

/* Ensure voting container is above overlay */
.voting-container-wrapper {
    position: relative;
    z-index: 2;
}

/* Winner Showcase and Runner-ups Deck */
.winner-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin: 3rem 0;
    padding: 0 1rem;
}

/* Winner Card */
.winner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    border-radius: 25px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 2rem;
    width: 100%;
    max-width: 700px;
    text-align: center;
}

@media (min-width: 768px) {
    .winner-card {
        flex-direction: row;
        text-align: left;
        padding: 2.5rem;
    }
}
.winner-rank {
    position: absolute;
    top: -15px;
    left: -15px;
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    color: var(--accent-color);
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    .winner-rank {
        font-size: 5rem;
        top: -20px;
        left: -20px;
    }
}
.winner-img {
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .winner-img {
        margin-bottom: 0;
        margin-right: 2rem;
    }
}

.winner-img img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .winner-img img {
        width: 140px;
        height: 140px;
    }
}
.winner-info {
    margin-left: 1rem;
    text-align: left;
}
.winner-info h3 {
    margin: 0;
    font-size: 1.2rem;
}

/* Gradient text for winner name */
.winner-info h2 strong {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Runner-ups Card Deck - mobile: horizontal scroll */
.runnerups-card-deck {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.runnerups-card-deck::-webkit-scrollbar {
    height: 6px;
}

.runnerups-card-deck::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.runnerups-card-deck::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.entry-card {
    position: relative;
    flex: 0 0 auto;
    width: 120px;
    height: 160px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    padding: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(155, 89, 182, 0.1);
}
.entry-rank {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}
.entry-card img {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    filter: saturate(0%);
    object-fit: cover;
    transition: filter 0.3s ease;
}
.entry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    z-index: 5;
}
.entry-card:hover img {
    filter: saturate(100%);
}

/* Entry handle styling */
.entry-handle {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-color);
    display: block;
    margin-top: 0.3rem;
    opacity: 0.8;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entry-card:hover .entry-handle {
    opacity: 1;
    color: var(--accent-color);
}

/* Desktop: stacked deck effect */
@media (min-width: 768px) {
    .runnerups-card-deck {
        flex-wrap: nowrap;
        justify-content: center;
        padding: 0;
    }
    .entry-card {
        margin-left: -40px;
    }
    .entry-card:first-child {
        margin-left: 0;
    }
}

/* Ensure fonts scale nicely */
body {
    font-size: 1rem;
}
@media (min-width: 768px) {
    body {
        font-size: 1.1rem;
    }
}