:root {
    --primary-gold: #D4AF37;
    --secondary-blue: #0A192F;
    --accent-purple: #6c5ce7;
    --text-light: #f1f1f1;
    --text-dim: #a8b2d1;
    --gradient-hero: linear-gradient(135deg, #0A192F 0%, #112240 100%);

    /* Scoreboard Colors */
    /* Scoreboard Colors - Tuned to reference image */
    --score-12: #fd7e14;
    /* Bright Orange */
    --score-10: #f76707;
    /* Orange */
    --score-8: #d9480f;
    /* Dark Orange */
    --score-low: #5d4037;
    /* Dark Brown */
    /* Dark Brown/Low score bg */
    --table-bg: #000000;
    --row-hover: #1a1a1a;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--secondary-blue);
    color: var(--text-light);
    line-height: 1.6;
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Global Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-gold);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary-gold);
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.btn-wip {
    border: 1px solid var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.btn-wip:hover {
    background: var(--primary-gold);
    color: var(--secondary-blue) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.main-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(to right, #fff, #D4AF37, #fff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s infinite;
}

.year {
    color: var(--primary-gold);
    -webkit-text-fill-color: var(--primary-gold);
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-weight: 300;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--secondary-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    color: var(--secondary-blue);
    /* Fix: override global a:hover gold color */
}

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

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--secondary-blue);
}

/* About Section */
.section {
    padding: 6rem 0;
}

.about {
    background-color: #0d1b2a;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--primary-gold);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

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

.icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-dim);
}

/* Table Links */
.scoreboard a,
.history-table a {
    color: var(--text-light);
    /* Enforce light text */
    text-decoration: none;
    font-weight: 500;
}

.scoreboard a:hover,
.history-table a:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.socials {
    margin-top: 1.5rem;
}

.socials a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary-gold);
}

/* Animations */
@keyframes shine {
    0% {
        background-position: 200% center;
    }

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

@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }

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

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-links a {
        margin-left: 0;
    }

    /* Un-stick secondary columns on mobile to save space */
    .player-cell.sticky-col,
    .music-cell.sticky-col {
        position: static !important;
        /* Force un-stick */
        box-shadow: none !important;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        /* Restore normal border */
    }

    /* Keep Rank and Country sticky but adjust shadow */
    .country-cell.sticky-col {
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        /* Keep shadow only on the last sticky col */
    }

    .col-rank.sticky-col {
        box-shadow: none;
        /* No shadow for first col if second is also sticky */
    }

    .cta-group {
        flex-direction: column;
    }
}

/* --- Results Page / Scoreboard Styles --- */

.header-compact {
    background-color: var(--secondary-blue);
    padding-bottom: 5rem;
    /* Space for navbar */
    border-bottom: 2px solid var(--primary-gold);
}

.results-container {
    max-width: 100%;
    padding: 2rem;
    overflow-x: auto;
    background-color: #050505;
    min-height: 100vh;
}

.page-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.scoreboard-wrapper {
    overflow-x: auto;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    margin: 0 auto;
    /* Center the wrapper */
    max-width: fit-content;
    /* Allow it to shrink to table size for centering */
}

.scoreboard {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto Mono', monospace;
    /* Monospace for numbers formatting */
    font-size: 0.9rem;
    /* PC: Standard readable size */
    white-space: nowrap;
}

.scoreboard th,
.scoreboard td {
    padding: 0.6rem;
    /* PC: Comfortable padding */
    text-align: center;
    border: 1px solid #222;
}

/* Header Cells */
.scoreboard thead th {
    background-color: #111;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    font-weight: bold;
}

/* Flag Icons in Header */
.col-vote {
    min-width: 45px;
    /* PC: Comfortable width */
    font-size: 0.9rem;
    color: #aaa;
}

.flag-icon {
    font-size: 1.2rem;
    /* PC: Larger flags */
    margin-bottom: 0.3rem;
    display: inline-block;
}

/* Rows */
.scoreboard tbody tr {
    background-color: var(--table-bg);
    transition: background-color 0.2s;
}

.scoreboard tbody tr:hover {
    background-color: var(--row-hover);
}

/* Rank Column */
.col-rank,
.rank {
    font-weight: bold;
    font-size: 0.9rem;
    color: #fff;
    width: 30px;
}

.rank {
    background-color: #0a0a0a;
}

/* Sticky Country Name Column */
.sticky-col {
    position: sticky;
    left: 0;
    z-index: 5;
    background-color: inherit;
    /* Matches row background */
    border-right: 2px solid #444;
}

.scoreboard thead .sticky-col {
    z-index: 15;
    /* Higher than other headers */
    background-color: #111;
}

/* Country Cell Struct */
.country-cell {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    /* PC: More breathing room */
    min-width: 250px;
    /* PC: Wider country column */
}

.flag-large {
    font-size: 1.5rem;
    /* PC: Nice big flag */
}

.country-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Explicitly left-align items */
    text-align: left;
    line-height: 1.4;
}

.country-name {
    font-weight: bold;
    font-size: 0.9rem;
    /* PC: Readable text */
    color: #fff;
}

.user-name {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    display: none;
    /* Hidden by default on PC, shown on mobile */
}

/* Score Cells Styling */
.score-cell {
    font-weight: bold;
    /* Color is determined by pX classes */
}

.col-vote {
    vertical-align: middle;
    /* Ensure vertical centering */
}

.total-score {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary-gold);
    border-left: 2px solid #444;
}

/* Color Coding for Points */
.p12 {
    background-color: var(--score-12);
    color: #000;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.p10 {
    background-color: var(--score-10);
    color: #000;
}

.p8 {
    background-color: var(--score-8);
    color: #000;
}

.p7,
.p6,
.p5,
.p4,
.p3,
.p2,
.p1 {
    background-color: var(--score-low) !important;
    /* Richer dark brown */
    color: #fff;
    font-weight: normal;
}

/* Darker backgrounds for 1-7 points if preferred, mimicking image which has brownish tint */
.row-dark .p1,
.row-dark .p2,
.row-dark .p3 {
    background-color: #3e2b20;
}

.disabled,
.empty {
    /* Zebra striping for empty/disabled cells */
    background-color: #000000 !important;
    /* Deep black background */
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
}

/* Ensure sticky column in disabled rows gets the stripes too - REMOVED per user request */
/* tr.disabled .sticky-col {
    background-color: #000000 !important;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
} */

.edition-selector {
    background: transparent;
    border: none;
    color: var(--primary-gold);
    font-family: 'Montserrat', sans-serif;
    font-size: inherit;
    font-weight: 900;
    cursor: pointer;
    border-bottom: 2px solid var(--accent-purple);
    padding: 0 10px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
}

.edition-selector option {
    background-color: var(--secondary-blue);
    color: var(--text-light);
    font-size: 1rem;
}

/* Special styling for Tele-Vote column to prevent squashing */
/* Special styling for Tele-Vote column to prevent squashing - REMOVED per user request */
/* .col-tlv {
    min-width: 45px !important;
    font-weight: 800;
} */

/* --- Mobile Responsiveness Enhancements --- */

/* Smooth scrolling for table */
.scoreboard-wrapper {
    -webkit-overflow-scrolling: touch;
    /* Momentum scrolling on iOS */
}

/* Shadow for sticky column to indicate scrollability */
.sticky-col {
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
    /* Ultra-compact for phones */

    .main-title {
        font-size: 2.5rem;
        /* Smaller hero title */
    }

    .section-title,
    .page-title {
        font-size: 1.8rem;
    }

    .country-cell {
        min-width: 120px;
        /* Force country column smaller */
        gap: 0.2rem;
    }

    .country-name {
        font-size: 0.75rem;
        white-space: normal;
        /* Allow wrapping if needed */
        line-height: 1;
    }

    /* Hide participant column on mobile (shown under country now) */
    .player-cell {
        display: none !important;
    }

    .user-name {
        display: block !important;
        /* Show participant name on mobile (masked if needed) */
        font-size: 0.7rem;
        color: var(--primary-gold);
    }

    .flag-large {
        font-size: 1rem;
    }

    .col-vote {
        min-width: 24px;
        /* Even tighter voting columns */
        font-size: 0.65rem;
    }

    .scoreboard th,
    .scoreboard td {
        padding: 0.15rem;
        /* Minimal padding */
    }

    .score {
        font-size: 0.7rem;
    }

    .results-container {
        padding: 0.5rem;
        /* Less padding around table */
    }

    .scoreboard-wrapper {
        width: 100vw;
        /* Force full width */
        max-width: 100vw;
        display: block;
        /* Ensure it's a block to hold overflow */
        border: none;
        /* remove border on small screens if needed */
        margin-left: -0.5rem;
        /* Negate container padding to go edge-to-edge */
    }
}

@media (max-width: 480px) {
    /* Further compaction based on user feedback */

    .logo {
        font-size: 1rem;
        /* Smaller logo */
    }

    .navbar {
        padding: 0.5rem 1rem;
        /* Smaller navbar */
    }

    .section-title,
    .page-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .country-cell {
        min-width: 100px;
        /* Compress sticky col */
        gap: 0.2rem;
    }

    .country-name {
        font-size: 0.65rem;
        /* Tiny text to prevent wrapping */
        line-height: normal;
    }

    /* Reveal player name but tiny, if user wants it */
    .user-name {
        display: block;
        font-size: 0.5rem;
        line-height: 0.6rem;
    }

    .flag-large {
        font-size: 0.9rem;
        /* Smaller flag */
    }

    .scoreboard th,
    .scoreboard td {
        padding: 0.1rem;
        /* Almost no padding */
        height: 30px;
        /* Try to force a max height if possible, or min-height */
    }

    .score {
        font-size: 0.7rem;
        line-height: 30px;
        /* Center vertically */
    }

    .col-vote {
        min-width: 22px;
        max-width: 22px;
        /* Force narrow columns */
    }

    .scoreboard {
        font-size: 0.75rem;
        /* Preserve small font on mobile */
    }

    .flag-icon {
        font-size: 0.7rem;
    }
}

/* --- Burger Menu & Mobile Header Fixes --- */

.burger-menu {
    display: none;
    color: var(--primary-gold);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

/* Ensure header content has padding so it doesn't overlap navbar */
/* Ensure header content has padding so it doesn't overlap navbar */
.header-compact {
    /* Padding moved to mobile query only to avoid desktop gap */
    position: relative;
    z-index: 20;
}

@media (max-width: 768px) {

    /* Mobile Navbar Revamp */
    .navbar {
        position: fixed;
        /* Stick to top */
        top: 0;
        left: 0;
        background-color: rgba(10, 25, 47, 0.95);
        /* Opaque bg */
        padding: 0.8rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: row;
        /* Keep logo and burger in row */
        justify-content: space-between;
    }

    .burger-menu {
        display: block;
    }

    .nav-links {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-blue);
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 2px solid var(--primary-gold);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
        /* Show when toggled */
    }

    .nav-links a {
        margin: 0;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Push page content down because of fixed navbar */
    .header-compact {
        padding-top: 5rem;
    }
}

/* --- Rules Page Styling --- */
.rules-page {
    padding: 2rem 1rem;
    color: var(--text-light);
}

.rules-intro h2,
.rules-details h2 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    text-transform: uppercase;
}


/* --- Player Profile Styles --- */

.player-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar-large {
    width: 100px;
    height: 100px;
    background: var(--primary-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.player-info .badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.badge-gold {
    background: var(--primary-gold);
    color: #000;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

@media (max-width: 900px) {
    .content-columns {
        grid-template-columns: 1fr;
    }

    .player-hero {
        flex-direction: column;
        text-align: center;
    }
}

.section-title-sm {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-gold);
    padding-left: 1rem;
}

/* History Table */
.history-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.history-table th,
.history-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.history-table th {
    background: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    color: var(--text-dim);
}

/* Rank Cell Visibility Enhancements */
.text-muted {
    color: var(--text-dim);
    font-size: 0.85em;
}

.rank-cell {
    text-align: center;
    font-size: 1.1rem;
    white-space: nowrap;
}

.rank-cell strong {
    font-size: 1.3rem;
    font-weight: 900;
}

/* Rank Colors in History */
/* Rank Colors in History & Scoreboard */
/* Rank 1 - Gold */
.rank-1 .rank-cell,
.rank-1 .country-name,
.rank-1 .player-cell,
.rank-1 .player-cell a {
    color: var(--primary-gold) !important;
    font-weight: 900;
}

.rank-1 .rank-cell {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Rank 2 - Silver */
.rank-2 .rank-cell,
.rank-2 .country-name,
.rank-2 .player-cell,
.rank-2 .player-cell a {
    color: #b0bec5 !important;
    /* Blue-ish Silver for better contrast with white */
    font-weight: 700;
}

.rank-2 .rank-cell {
    text-shadow: 0 0 10px rgba(176, 190, 197, 0.5);
}

/* Rank 3 - Bronze */
.rank-3 .rank-cell,
.rank-3 .country-name,
.rank-3 .player-cell,
.rank-3 .player-cell a {
    color: #d98845 !important;
    /* Brighter Bronze */
    font-weight: 700;
}

.rank-3 .rank-cell {
    text-shadow: 0 0 10px rgba(217, 136, 69, 0.5);
}

/* Affinities */
.affinity-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.affinity-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

.affinity-list {
    list-style: none;
}

.affinity-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.affinity-list li:last-child {
    border-bottom: none;
}

.affinity-name a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
}

.affinity-name a:hover {
    color: var(--primary-gold);
}

.affinity-score {
    text-align: right;
    color: var(--primary-gold);
    font-weight: bold;
}

.affinity-score small {
    display: block;
    font-weight: normal;
    color: var(--text-dim);
    font-size: 0.7em;
}


.rule-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-orange);
}

.rule-block h3 {
    margin-top: 0;
    color: #fff;
}

.rule-block ul {
    padding-left: 1.5rem;
    line-height: 1.6;
}

.rule-block li {
    margin-bottom: 0.5rem;
}

.rules-footer {
    text-align: center;
    opacity: 0.6;
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* --- Homepage Carousel --- */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    /* Default desktop padding */
}

.carousel-container {
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.carousel-card {
    min-width: 300px;
    max-width: 300px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsiveness for Carousel */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0;
        /* Remove side padding on mobile */
    }

    .carousel-card {
        min-width: 85vw;
        /* Make card take almost full width */
        max-width: 85vw;
        padding: 1rem;
    }

    .carousel-track {
        gap: 15px;
    }

    /* Adjust buttons to overlap slightly or be smaller */
    .carousel-btn {
        background: rgba(0, 0, 0, 0.5);
        /* Darker background for visibility */
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }
}

.carousel-card h3 {
    margin: 0.5rem 0;
    color: var(--primary-gold);
}

.card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.winner-preview {
    margin: 1rem 0;
    background: rgba(255, 215, 0, 0.05);
    /* Gold tint */
    padding: 0.5rem;
    border-radius: 5px;
    width: 100%;
}

.winner-info {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.winner-info .country {
    font-weight: bold;
}

.winner-info .player {
    font-size: 0.8rem;
    color: #aaa;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 5px;
}

.carousel-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.btn-sm {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-sm:hover {
    background: var(--primary-gold);
    color: #000;
}