@font-face {
    font-family: 'DINPro';
    src: url('fonts/DINPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINPro';
    src: url('fonts/DINPro-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DINPro';
    src: url('fonts/DINPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VTF Justina';
    src: url('fonts/VTF_Justina/VTFJustinaGEO-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VTF Justina';
    src: url('fonts/VTF_Justina/VTFJustinaGEO-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Global Styles */
:root {
    --primary-color: #51bdd6;
    --primary-light: #a4f6ff;
    --primary-dark: #232a35;
    --accent-color: #cb8944;
    --accent-light: #ffe4cc;
    --text-dark: #424242;
    --text-light: #ffffff;
    --text-grey: #757575;
    --bg-light: #f4f3f2;
    --font-heading: 'STRATUM 2', 'VTF Justina', sans-serif;
    --font-body: 'DINPro', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    /* Subtle texture pattern */
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Header */
header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    /* Extra bold */
    letter-spacing: -1px;
    display: inline-flex;
    gap: 6px;
    text-transform: uppercase;
}

.logo-canita {
    color: #000;
}

.logo-golf {
    color: var(--primary-color);
}

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

.nav-links a {
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.nav-cta {
    background: var(--primary-color);
    color: #fff !important;
    padding: 10px 36px;
    border-radius: 4px;
    /* Slightly rounded square */
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 90vh;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.hero-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    /* Above the next-stop overlap */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero h1 {
    font-size: 5rem;
    /* Massive heading */
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: var(--accent-light);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
}

/* Next Stop Widget */
.next-stop {
    background: #fff;
    color: var(--text-dark);
    padding: 3rem 4rem;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 4px solid var(--accent-color);
}

.next-stop h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.countdown-box {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    align-items: center;
}

.date-info {
    text-align: left;
}

.date-info h3 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--primary-color);
}

.date-info p {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

.timer span {
    font-family: 'Roboto', sans-serif;
    /* Monospace-ish look */
    color: var(--text-dark);
    letter-spacing: 2px;
    font-size: 2.5rem;
}

/* Ranking Preview - Card Style */
.ranking-preview {
    padding-bottom: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
}

.ranking-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 1160px;
    margin: 0 auto 2rem;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table th {
    background: var(--primary-dark);
    color: var(--text-dark);
    padding: 20px;
    text-align: left;
    font-weight: 500;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.ranking-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.ranking-table tr:last-child td {
    border-bottom: none;
}

.ranking-table tr:hover {
    background-color: #f8fcfb;
}

.rank-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 0.9rem;
}

.rank-badge.gold {
    background: #ffd700;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
}

.rank-badge.silver {
    background: #c0c0c0;
    box-shadow: 0 2px 4px rgba(192, 192, 192, 0.4);
}

.rank-badge.bronze {
    background: #cd7f32;
    box-shadow: 0 2px 4px rgba(205, 127, 50, 0.4);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.player-avatar {
    font-size: 1.5rem;
    color: #ddd;
}

.rank-icon.text-gold {
    color: #ffd700;
}

.trend-up {
    color: green;
    margin-left: 5px;
}

.trend-down {
    color: red;
    margin-left: 5px;
}

.trend-steady {
    color: var(--text-grey);
    margin-left: 5px;
}

.view-all-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* News Section */
.news-section {
    padding: 4rem 0 6rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    height: 220px;
    width: 100%;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

/* Zoom effect */

.news-content {
    padding: 2rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-content a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Sponsors */
.sponsors {
    padding: 6rem 0;
    background: #fff;
}

.sponsors .section-title {
    margin-bottom: 3.5rem;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.sponsor-logo {
    max-width: 160px;
    height: auto;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition);
}

.sponsor-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Ad Carousel */
.ad-carousel {
    background: var(--bg-light);
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    gap: 2rem;
    animation: scroll 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.ad-banner {
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    background: #fff;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ad-banner:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.ad-banner img {
    height: 120px;
    width: auto;
    object-fit: cover;
    border-radius: 4px;
}

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

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

/* Footer */
footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #bbb;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .next-stop {
        margin-top: 2rem;
        padding: 2rem;
    }

    .countdown-box {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .date-info {
        text-align: center;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .ranking-table th:nth-child(3),
    .ranking-table td:nth-child(3) {
        display: none;
        /* Hide Category on mobile */
    }

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

    .date-info h3 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .timer span {
        font-size: 1.5rem;
    }
}

/* Philosophy Section (New) */
.philosophy-section {
    padding: 8rem 0;
    color: #fff;
    text-align: center;
    position: relative;
    /* Background handled inline for parallax overlap */
}

.philosophy-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.text-accent {
    color: var(--accent-color);
    font-style: italic;
    font-family: var(--font-heading);
}

.philosophy-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
    opacity: 0.9;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    display: block;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Highlights Section (New) */
.highlights-section {
    padding-bottom: 4rem;
    background: #f4f4f4;
}

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

.highlight-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.highlight-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.view-gallery-btn {
    display: block;
    text-align: center;
    margin-top: 3rem;
    color: var(--primary-dark);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.view-gallery-btn:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .philosophy-content h2 {
        font-size: 2.5rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* Tour Page Specific Styles */

/* Tour Hero */
.tour-hero {
    height: 60vh;
    /* Shorter than home hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    margin-bottom: 4rem;
}

/* Legacy Section */
.legacy-section {
    padding: 4rem 0 8rem;
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.legacy-content .drop-cap::first-letter {
    font-size: 3.5rem;
    float: left;
    margin-right: 0.5rem;
    margin-top: -0.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

.legacy-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.l-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.l-stat i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.legacy-image {
    position: relative;
}

.legacy-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.image-offset-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    z-index: 1;
}

/* Timeline Calendar */
.calendar-section {
    padding: 4rem 0 8rem;
    background: #fff;
}

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

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 140px;
    /* Moved from 50px to 140px to clear date column */
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 131px;
    /* Center on 140px line (140 - 9) */
    top: 20px;
    z-index: 2;
}

.timeline-dot.pulse {
    border-color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 202, 40, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 202, 40, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 202, 40, 0);
    }
}

.timeline-date {
    width: 120px;
    /* Left column width */
    padding-top: 20px;
    text-align: right;
    padding-right: 20px;
    /* Reduced padding to fit text better */
    font-weight: 700;
    color: var(--text-grey);
    font-size: 0.9rem;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.timeline-content {
    flex: 1;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-left: 40px;
    /* Gap from line (140 + 20 + 20 approx) */
    box-shadow: var(--shadow-sm);
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.timeline-item.next .timeline-content {
    background: #fff;
    border-left-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.timeline-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.status-badge.completed {
    background: #e0e0e0;
    color: #777;
}

.status-badge.open {
    background: var(--primary-color);
    color: #fff;
}

.status-badge.upcoming {
    background: #fff3e0;
    color: #ff9800;
    border: 1px solid #ff9800;
}

.winner-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.timeline-content .btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.timeline-content .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Course Showcase */
.courses-section {
    padding: 4rem 0 8rem;
    background: var(--bg-light);
}

.section-subtitle {
    text-align: center;
    margin-top: -3rem;
    margin-bottom: 4rem;
    color: var(--text-grey);
    font-weight: 300;
    font-size: 1.2rem;
}

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

.course-card {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.course-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    color: #fff;
    transform: translateY(60px);
    /* Hide details initially */
    transition: var(--transition);
}

.course-card:hover .course-overlay {
    transform: translateY(0);
    padding-bottom: 3rem;
}

.course-overlay h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.course-details {
    display: flex;
    justify-content: space-between;
    opacity: 0;
    /* Hide initially */
    transition: var(--transition);
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
}

.course-card:hover .course-details {
    opacity: 1;
}

.course-details span {
    font-size: 0.9rem;
    font-weight: 500;
}

.course-details i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: auto;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.close-modal {
    color: #fff;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
}

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

.modal-header {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.modal-title-overlay {
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    color: #fff;
}

.modal-title-overlay h2 {
    margin: 0;
    font-size: 2rem;
}

.modal-title-overlay p {
    margin: 0;
    opacity: 0.8;
}

.modal-body {
    padding: 2rem;
}

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

.mini-leaderboard {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.mini-leaderboard td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.mini-leaderboard tr:first-child td {
    font-weight: bold;
    background: #fffcf0;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 1rem;
}

.modal-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.modal-gallery img:hover {
    transform: scale(1.05);
}

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

    .modal-content {
        width: 95%;
        margin: 10px auto;
    }
}

/* Ranking Page Specific Styles */

/* Ranking Hero */
.ranking-hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
    /* Connects to podium */
    position: relative;
}

/* Podium Section */
.podium-section {
    padding: 4rem 0;
    background: #f9f9f9;
}

.podium-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-top: 3rem;
}

.podium-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    width: 250px;
    transition: var(--transition);
}

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

/* Sizes */
.podium-card.gold {
    width: 300px;
    padding: 3rem 2rem;
    z-index: 2;
    border-top: 6px solid #FFD700;
}

.podium-card.silver {
    border-top: 6px solid #C0C0C0;
    order: 1;
}

.podium-card.bronze {
    border-top: 6px solid #CD7F32;
    order: 3;
}

.podium-card.gold {
    order: 2;
}

/* Center gold */

.podium-rank {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: #eee;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.podium-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 1.5rem;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.podium-card.gold .podium-avatar {
    width: 130px;
    height: 130px;
    border-color: #FFD700;
}

.podium-card.silver .podium-avatar {
    border-color: #C0C0C0;
}

.podium-card.bronze .podium-avatar {
    border-color: #CD7F32;
}

.podium-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.podium-points {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.crown-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #FFD700;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Leaderboard Section */
.leaderboard-section {
    padding: 4rem 0;
    background: #fff;
}

/* Ranking Toolbar (Unified Control Bar) */
.ranking-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.toolbar-left,
.toolbar-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.toolbar-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.toolbar-right {
    justify-content: flex-end;
    gap: 15px;
}

/* Filters (Reset to fit in toolbar) */
.ranking-filters {
    background: #fff;
    padding: 0.4rem;
    border-radius: 50px;
    display: inline-flex;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Lighter shadow */
    gap: 0.3rem;
    margin-bottom: 0;
    /* No bottom margin inside toolbar */
    flex-wrap: nowrap;
    position: static;
    /* Remove absolute centering */
    transform: none;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-grey);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-btn:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.03);
}

.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Premium Floating Search */
.search-box {
    background: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    /* Limit width */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .ranking-toolbar {
        flex-direction: column;
        gap: 1.5rem;
    }

    .toolbar-left,
    .toolbar-center,
    .toolbar-right {
        width: 100%;
        justify-content: center;
    }

    .ranking-filters {
        flex-wrap: wrap;
    }
}

.search-box:focus-within {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.search-box i {
    color: #ccc;
    font-size: 1.1rem;
    transition: 0.3s;
}

.search-box:focus-within i {
    color: var(--primary-color);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--text-color);
    font-family: var(--font-body);
}

.search-box input::placeholder {
    color: #bbb;
}

/* Table Enhancements */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}

.ranking-table th {
    background: var(--primary-color);
    color: var(--text-dark);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.highlight-row {
    background: #fffcf0;
}

/* Subtle highlight for top 3 in table */

.table-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: 10px;
}

.table-rank-badge {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
}

.table-rank-badge.gold {
    background: #FFD700;
}

.table-rank-badge.silver {
    background: #C0C0C0;
}

.table-rank-badge.bronze {
    background: #CD7F32;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
    align-items: center;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 4px;
    color: var(--primary-color);
    font-weight: 700;
    transition: 0.2s;
}

.page-link.active,
.page-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination .page-link:last-child {
    width: auto;
    padding: 0 20px;
}

/* Methodology */
.methodology-section {
    padding: 3rem 0;
    background: #f4f4f4;
    font-size: 0.9rem;
    color: var(--text-grey);
    text-align: center;
    border-top: 1px solid #eee;
}

/* Responsive Ranking */
@media (max-width: 768px) {
    .podium-grid {
        flex-direction: column;
        align-items: center;
    }

    .podium-card {
        width: 100%;
        order: unset !important;
    }

    .podium-card.gold {
        width: 100%;
        transform: scale(1.05);
        margin: 2rem 0;
    }

    .ranking-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

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

    .search-box {
        width: 100%;
    }
}

/* Responsive Tour */
@media (max-width: 768px) {
    .legacy-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Timeline adjustments */
    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 11px;
    }

    .timeline-date {
        display: none;
        /* Hide date column on mobile */
    }

    .timeline-content {
        margin-left: 40px;
        /* Push content to right of line (20px line + 20px gap) */
    }

    .course-card {
        height: 300px;
    }
}

/* News Magazine Page Styles */

/* News Hero */
.news-hero {
    min-height: 30vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.news-hero-overlay {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    padding: 6rem 0;
    color: #fff;
}

.category-tag {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 3rem;
}

.news-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
    max-width: 800px;
}

.news-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Topics Nav */
.topics-nav {
    padding: 2rem 0 1rem;
    text-align: center;
}

/* Bento Grid */
.news-section {
    padding: 2rem 0 6rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    /* Allow rows to size automatically */
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-grey);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.news-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--primary-color);
}

.read-more {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Card Variants */
.news-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.news-card.large .news-img {
    height: 350px;
}

.news-card.large h3 {
    font-size: 1.8rem;
}

.news-card.video .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: 0.3s;
}

.news-card.video:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

.news-card.video.dark {
    background: #222;
}

.news-card.video.dark h3 {
    color: #fff;
}

.news-card.quote {
    background: var(--primary-color);
    color: #fff;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.quote-content i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.quote-content blockquote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.quote-content cite {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: normal;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* Newsletter */
.newsletter-section {
    padding: 4rem 0;
    background: #f9f9f9;
    text-align: center;
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Responsive News */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .news-card.large {
        grid-column: auto;
        grid-row: auto;
    }

    .news-card.large .news-img {
        height: 200px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .news-hero h1 {
        font-size: 2.2rem;
    }
}

/* News Detail Page */

.article-header {
    padding: 8rem 0 3rem;
    /* Extra padding for fixed header */
    text-align: center;
    background: #fff;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.back-link:hover {
    color: var(--primary-color);
}

.article-category {
    display: block;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-lead {
    font-size: 1.25rem;
    color: var(--text-grey);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    max-width: 600px;
    margin: 0 auto;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.author-info img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.publish-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-grey);
}

.read-time {
    font-size: 0.9rem;
    color: var(--text-grey);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-hero-img {
    height: 80vh;
    width: 100%;
    background-size: cover;
    background-position: center 10%;
    margin-bottom: 4rem;
}

/* Content Body */
.article-body {
    padding-bottom: 4rem;
}

.article-container {
    max-width: 740px !important;
    /* Optimal line length for reading */
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    font-family: 'Georgia', serif;
    /* Serif for body text usually reads better */
    font-family: var(--font-body);
    /* Or stick to sans if preferred, currently using sans */
}

/* Drop cap */
.drop-cap {
    float: left;
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0.8;
    font-weight: 700;
    margin-right: 12px;
    margin-bottom: -5px;
    color: var(--primary-color);
}

/* Pull Quote */
.article-body blockquote {
    border-left: 4px solid var(--accent-color);
    margin: 2.5rem 0;
    padding: 1rem 2rem;
    background: #f9f9f9;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.4;
    font-style: italic;
    color: var(--primary-color);
}

.article-body h3 {
    margin: 2.5rem 0 1rem;
    font-size: 1.8rem;
}

.article-body figure {
    margin: 2.5rem 0;
}

.article-body figure img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.article-body figcaption {
    font-size: 0.9rem;
    color: var(--text-grey);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Share Section */
.share-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: 0.3s;
}

.share-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Related News */
.related-news {
    padding: 4rem 0;
    background: #f9f9f9;
}

.related-news h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Responsive Detail */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

    .article-lead {
        font-size: 1.1rem;
    }

    .article-hero-img {
        height: 40vh;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .article-header {
        text-align: left;
    }
}

/* Registration Page - Premium Styles */
.page-hero {
    height: 45vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 5rem;
    position: relative;
    /* subtle overlay gradient */
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

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

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-hero p {
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.register-section {
    padding-bottom: 6rem;
}

.register-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* Forms Column */
.form-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-grey);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    font-weight: 700;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    box-shadow: 0 -2px 5px rgba(220, 53, 69, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 0.8rem;
    font-size: 2rem;
    font-family: var(--font-heading);
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.8rem;
}

.tab-header h3 {
    margin-bottom: 0;
}

.price-badge {
    background: var(--accent-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
}

.form-intro {
    color: var(--text-grey);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.styled-form .form-group {
    margin-bottom: 1.8rem;
}

.styled-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.styled-form input,
.styled-form select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fcfcfc;
    color: #333;
}

.styled-form input:hover,
.styled-form select:hover {
    border-color: #ccc;
}

.styled-form input:focus,
.styled-form select:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.file-upload {
    border: 2px dashed #ddd;
    padding: 2.5rem;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    background: #fafafa;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background: #fff5f5;
}

.file-upload i {
    font-size: 2.5rem;
    color: #aaa;
    margin-bottom: 1rem;
    display: block;
    transition: 0.3s;
}

.file-upload:hover i {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.file-upload input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.full-width {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Info Column */
.info-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-family: var(--font-heading);
}

.info-card h3 i {
    color: var(--accent-color);
    background: rgba(255, 193, 7, 0.15);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
}

.contact-list li {
    display: flex;
    gap: 18px;
    margin-bottom: 1.8rem;
    align-items: flex-start;
}

.contact-list li i {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.contact-list li div {
    display: flex;
    flex-direction: column;
}

.contact-list strong {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-list a,
.contact-list span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.4;
}

.contact-list a:hover {
    color: var(--primary-color);
}

.info-card.dark {
    background: #1a1a1a;
    color: #fff;
    border: none;
}

.info-card.dark .payment-intro {
    color: #bbb;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.bank-details {
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

.bank-item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.bank-item strong {
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.bank-item span {
    color: #ccc;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.payment-note {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    align-items: flex-start;
}

.payment-note i {
    color: var(--accent-color);
    margin-top: 3px;
}

.payment-note small {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .register-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }
}

/* Player Profile Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.player-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .player-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
}

.player-hero {
    height: 200px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.player-content {
    padding: 2rem;
    text-align: center;
    margin-top: -60px;
    position: relative;
}

.player-modal-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.player-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.player-category {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: block;
}

.player-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
}

.p-stat-box {
    display: flex;
    flex-direction: column;
}

.p-stat-box span {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.p-stat-box strong {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.player-bio {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: left;
}

.player-bio h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.player-bio p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* -------------------------------------
   FAQs Accordeon
   ------------------------------------- */

.faq-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background-color: #fcfcfc;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* -------------------------------------
   Video Modal & Play Overlay
   ------------------------------------- */

.legacy-image.video-trigger {
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(236, 9, 40, 0.8);
    /* var(--accent-color) */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 5;
}

.legacy-image.video-trigger:hover .play-btn-overlay {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-modal-overlay {
    /* Uses existing .modal-overlay defaults */
    opacity: 0;
    visibility: hidden;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.video-modal-overlay.active .video-modal-content {
    transform: translateY(0);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-stat-box span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-grey);
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 500;
}

.p-stat-box strong {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

/* Ensure player-info is clickable */
.player-info {
    cursor: pointer;
    transition: 0.2s;
}

.player-info:hover {
    transform: translateX(5px);
}

.player-bio {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: left;
}

.player-bio h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.player-bio p {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.6;
}