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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #ffffff;
    --bg-alt: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --text-dark: #f0f0f0;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --bg-alt: #2d2d2d;
    --border-color: #444;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: var(--transition);
    line-height: 1.6;
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Navigation */
nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.ranking-info {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

/* Section Styles */
section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--border-color);
}

section:last-child {
    border-bottom: none;
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--text-dark);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Countdown Clock */
.countdown {
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-align: center;
}

/* Match Cards */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.match-card {
    background: var(--bg-alt);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.match-date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.match-time {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.match-stage {
    background: var(--primary-color);
    color: white;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: bold;
}

.match-number {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.match-teams {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
    color: var(--text-dark);
}

.weather {
    background: rgba(102, 126, 234, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
}

/* History Section */
.history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    overflow-x: auto;
    display: block;
}

.history-table thead {
    background: var(--primary-color);
    color: white;
}

.history-table th,
.history-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.history-table tr:hover {
    background: var(--bg-alt);
}

/* Roster Table */
.roster-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    table-layout: fixed;
}

.roster-table thead {
    background: var(--primary-color);
    color: white;
}

.roster-table th,
.roster-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.roster-table th {
    font-weight: bold;
    white-space: nowrap;
}

.roster-table tbody tr:hover {
    background: var(--bg-alt);
}

.roster-table tbody tr:nth-child(even) {
    background: rgba(102, 126, 234, 0.05);
}

@media (max-width: 768px) {
    .roster-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .roster-table th,
    .roster-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Ranking Card */
.ranking-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 30px 0;
}

.ranking-card h3 {
    color: white;
    margin-bottom: 15px;
}

.rank-number {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0;
}

.rank-points {
    font-size: 24px;
    opacity: 0.95;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.link-card {
    background: var(--bg-alt);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.link-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.link-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    word-break: break-all;
}

.link-card a:hover {
    text-decoration: underline;
}

/* Transportation Section */
.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.transport-card {
    background: var(--bg-alt);
    padding: 20px;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
}

.transport-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 18px;
}

.transport-card p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 14px;
}

/* Address Card */
.address-card {
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    margin: 30px 0;
}

.address-card p {
    margin: 10px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.map-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.map-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
}

.map-link:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

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

footer a:hover {
    text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
    font-size: 24px;
    border: none;
    box-shadow: var(--shadow);
}

.scroll-to-top.show {
    opacity: 1;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

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

    .history-table {
        font-size: 14px;
    }

    .history-table th,
    .history-table td {
        padding: 10px;
    }

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

    .map-links {
        flex-direction: column;
    }

    .map-link {
        display: block;
        text-align: center;
    }

    section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    .match-card {
        padding: 15px;
    }

    .ranking-card {
        padding: 20px;
    }

    .rank-number {
        font-size: 36px;
    }

    .rank-points {
        font-size: 18px;
    }

    .address-card {
        padding: 15px;
    }

    .countdown {
        font-size: 12px;
        padding: 10px 15px;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .theme-toggle,
    .scroll-to-top {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Article Page Styles ===== */
.article-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.article-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-category,
.article-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.article-subtitle {
    font-size: 18px;
    opacity: 0.95;
}

.article-content {
    padding: 60px 20px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    margin-top: 40px;
    display: block;
}

.article-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.info-card {
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.info-card.highlight {
    border-left-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.warning-card {
    background: linear-gradient(135deg, #ff6b6b20, #ffa50020);
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #ff6b6b;
}

.warning-card h3 {
    color: #d63031;
    margin-bottom: 10px;
}

.warning-emphasis {
    font-weight: bold;
    color: #d63031;
    font-size: 18px;
    margin-top: 15px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tip-card {
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.tip-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.tip-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.tip-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
}

.cta-emoji {
    font-size: 48px;
    margin: 20px 0;
}

.back-link {
    margin-top: 40px;
    text-align: center;
}

/* ===== News Carousel Styles ===== */
.news-section {
    background: var(--bg-alt);
}

.news-carousel-container {
    position: relative;
    margin-top: 30px;
}

.news-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-tile {
    min-width: 320px;
    max-width: 320px;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.news-tile:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.news-tile-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 20px;
}

.news-tile-category {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
}

.news-tile-date {
    font-size: 12px;
    opacity: 0.9;
}

.news-tile-content {
    padding: 20px;
}

.news-tile-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-tile-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-tile-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: var(--transition);
}

.news-tile-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.carousel-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive for article and carousel */
@media (max-width: 768px) {
    .article-hero h1 {
        font-size: 28px;
    }

    .article-intro {
        font-size: 16px;
    }

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

    .news-tile {
        min-width: 280px;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .article-hero {
        padding: 40px 15px;
    }

    .article-hero h1 {
        font-size: 22px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .cta-card {
        padding: 25px;
    }

    .news-tile {
        min-width: 260px;
        max-width: 260px;
    }
}

/* ===== Match Page Styles ===== */

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-alt);
    padding: 15px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

/* Match Hero */
.match-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.match-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.match-hero h1 {
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.match-teams-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.match-teams-display .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.match-teams-display .team-flag {
    font-size: 64px;
}

.match-teams-display .team-name {
    font-size: 24px;
    font-weight: bold;
}

.match-teams-display .vs {
    font-size: 32px;
    font-weight: bold;
    opacity: 0.8;
}

.match-info-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.match-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.match-info-item strong {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
}

.match-info-item span {
    font-size: 18px;
    font-weight: 600;
}

/* Teams Grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.team-card {
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.team-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.team-card ul {
    margin: 0 0 15px 20px;
}

.team-card li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* Weather Grid */
.weather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.weather-card {
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.weather-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.weather-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.weather-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.weather-card p {
    color: var(--text-light);
    margin: 5px 0;
    font-size: 14px;
}

/* Schedule Table */
.schedule-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.schedule-table thead {
    background: var(--primary-color);
    color: white;
}

.schedule-table tbody tr:hover {
    background: var(--bg-alt);
}

.schedule-table a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.schedule-table a:hover {
    text-decoration: underline;
}

.schedule-table .current-match {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    font-weight: bold;
}

.schedule-table .current-match td {
    border-left: 3px solid var(--primary-color);
}

/* Fan Poll */
.poll-container {
    margin: 30px 0;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--bg-alt);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid var(--border-color);
}

.poll-option:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.poll-flag {
    font-size: 32px;
}

.poll-team {
    font-weight: bold;
    min-width: 120px;
    color: var(--text-dark);
}

.poll-bar {
    flex: 1;
    height: 20px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.poll-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 0.5s ease;
}

.poll-percent {
    font-weight: bold;
    min-width: 50px;
    text-align: right;
    color: var(--primary-color);
}

/* FAQs */
.faq-list {
    margin: 20px 0;
}

.faq-item {
    background: var(--bg-alt);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Internal Links Grid */
.internal-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.internal-link-card {
    display: block;
    background: var(--bg-alt);
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.internal-link-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.internal-link-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.internal-link-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Clickable Match Card */
a.match-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.match-card-link:hover .match-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-color);
}

a.match-card-link .match-card {
    cursor: pointer;
}

/* Responsive Match Page */
@media (max-width: 768px) {
    .match-hero h1 {
        font-size: 26px;
    }

    .match-teams-display .team-flag {
        font-size: 48px;
    }

    .match-teams-display .team-name {
        font-size: 18px;
    }

    .match-teams-display .vs {
        font-size: 24px;
    }

    .match-info-grid {
        gap: 20px;
    }

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

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

    .poll-option {
        flex-wrap: wrap;
    }

    .poll-team {
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .match-hero {
        padding: 30px 15px;
    }

    .match-hero h1 {
        font-size: 22px;
    }

    .match-teams-display {
        gap: 20px;
    }

    .match-teams-display .team-flag {
        font-size: 40px;
    }

    .match-teams-display .team-name {
        font-size: 16px;
    }

    .match-info-item span {
        font-size: 16px;
    }

    .faq-item {
        padding: 15px 20px;
    }

    .faq-item h3 {
        font-size: 16px;
    }
}

/* ===== Match Page Additional Styles ===== */

/* Small Countdown */
.countdown-small {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-align: center;
    display: inline-block;
    backdrop-filter: blur(10px);
}

/* Team Ranking */
.team-ranking {
    font-size: 14px;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 15px;
}





/* Mobile Responsive for Match Pages */
/* Team Form */
.team-form {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 5px;
    color: #ffeb3b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Match Info */
.hero-match-info {
    margin-top: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-match-info p {
    color: white;
    font-size: 16px;
    margin: 5px 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .countdown-small {
        font-size: 12px;
        padding: 8px 16px;
    }

    .team-ranking {
        font-size: 12px;
        padding: 4px 10px;
    }

    .team-form {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .hero-match-info p {
        font-size: 14px;
        margin: 3px 0;
    }
}

@media (max-width: 480px) {
    .match-teams-display .team-ranking {
        font-size: 11px;
    }

    .countdown-small {
        font-size: 11px;
        padding: 6px 12px;
    }
}