/*
Theme Name: CrickPlayHD Theme
Theme URI: https://crickplayhd.local/
Author: Antigravity
Author URI: https://crickplayhd.local/
Description: A premium, dark-mode custom WordPress theme designed for cricket streaming, inspired by Freehit.
Version: 1.0.0
Text Domain: crickplayhd
*/

/* --- CSS Reset & Variables --- */
:root {
    --bg-color: #090c10;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #8b949e;
    --accent-color: #00d084;
    --accent-hover: #00a86b;
    --nav-bg: rgba(9, 12, 16, 0.95);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1; /* Pushes the footer to the bottom */
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 0.5em;
}

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

/* --- Header --- */
.site-header {
    background-color: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    position: relative;
    padding: 10px 0;
}

.logo-play-icon {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.5));
    flex-shrink: 0;
}

.brand-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    background: linear-gradient(to right, #ffffff, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(52, 211, 153, 0.3);
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.brand-hd {
    font-weight: 300;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-navigation a {
    font-size: 1rem;
    font-weight: 500;
}

/* --- Matches Grid --- */
.section-title {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 0.8rem;
}

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

.match-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.match-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.1);
}

.match-status.live {
    background-color: rgba(207, 46, 46, 0.2);
    color: #ff4d4d;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.team-vs {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.match-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.watch-btn {
    display: block;
    text-align: center;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.watch-btn:hover {
    background-color: var(--accent-hover);
    color: #fff;
}

/* --- Single Page --- */
.single-match-container {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.match-header {
    text-align: center;
    margin-bottom: 2rem;
}

.player-wrapper {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.video-container {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.server-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.server-tab {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.server-tab:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.server-tab.active {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.content-area {
    margin-top: 1rem;
}

.entry-content h2, 
.entry-content h3, 
.entry-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

/* Ensure the first heading doesn't have a massive top margin */
.entry-content h2:first-child,
.entry-content h3:first-child {
    margin-top: 0;
}

.entry-content p {
    margin-bottom: 1.5rem;
    color: #a1a1aa;
    line-height: 1.8;
}

.entry-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #a1a1aa;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: var(--primary-color, #00d084);
    text-decoration: underline;
}

/* --- Schedule Table --- */
.schedule-container {
    background-color: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 3rem;
}

.schedule-header {
    background-color: transparent;
    padding: 1rem 0;
    border-bottom: 2px solid var(--card-border);
}

.schedule-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.schedule-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

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

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

.schedule-table th {
    background-color: transparent;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
}

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

.schedule-table tr:hover td {
    background-color: transparent;
}

.schedule-date {
    white-space: nowrap;
    color: var(--accent-color);
    font-weight: 600;
}

.schedule-host {
    color: var(--text-secondary);
}

/* --- FAQ Accordion --- */
.faq-container {
    margin-bottom: 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question:after {
    transform: rotate(45deg);
}

.faq-item[open] .faq-question {
    border-bottom: 1px solid var(--card-border);
    background-color: rgba(255, 255, 255, 0.02);
}

.faq-answer {
    padding: 1.2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- CREX Style Scoreboard --- */
.crex-scoreboard-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
}
.crex-scoreboard-wrapper::-webkit-scrollbar { 
    display: none;
}
.crex-card-link {
    text-decoration: none;
    min-width: 320px;
    max-width: 380px;
    flex: 0 0 auto;
}
.crex-score-card {
    background-color: #1c2128;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid #2d333b;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.crex-score-card:hover {
    transform: translateY(-3px);
    background-color: #22272e;
    border-color: #00d084;
}
.crex-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2d333b;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.crex-series-name {
    font-size: 0.8rem;
    color: #8b949e;
    font-weight: 500;
}
.crex-live-badge {
    color: #ff3b30;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.crex-pulse {
    width: 6px;
    height: 6px;
    background-color: #ff3b30;
    border-radius: 50%;
    animation: crex-pulse-anim 1.5s infinite;
}
@keyframes crex-pulse-anim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(255, 59, 48, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}
.crex-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.crex-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.crex-team-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.crex-team-logo {
    width: 32px;
    height: 32px;
    background-color: #2d333b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: #c9d1d9;
    border: 1px solid #444c56;
}
.crex-team-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #c9d1d9;
}
.crex-team-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c9d1d9;
}
.crex-card-footer {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid #2d333b;
}
.crex-match-status {
    font-size: 0.8rem;
    color: #00d084;
    font-weight: 500;
}
.crex-no-match {
    background: #1c2128;
    color: #8b949e;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    border: 1px dashed #444c56;
}

/* --- Footer --- */
.site-footer {
    background-color: #05080a;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--card-border);
    margin-top: auto;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Series Page --- */
.series-page-container {
    padding: 1rem 1.5rem 3rem; /* Reduced top padding */
    max-width: 1000px;
}
.series-header {
    margin-bottom: 2rem; /* Reduced bottom margin */
}
.series-controls-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem; /* Reduced from 2rem */
}
.series-header .page-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 1rem;
}
.series-header .page-title span {
    color: var(--primary-color, #00d084);
}
.series-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 0 1rem;
    height: 42px; /* Fixed height to match buttons */
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
}
.series-search-form:focus-within {
    border-color: var(--primary-color, #00d084);
    background: rgba(255, 255, 255, 0.08);
}
.series-search-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.5rem;
    width: 100%;
    outline: none;
}
.series-search-form input::placeholder {
    color: #888;
}
.series-search-form button {
    background: transparent;
    border: none;
    color: var(--primary-color, #00d084);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
    transition: transform 0.2s;
}
.series-search-form button:hover {
    transform: scale(1.1);
}
.series-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
    padding: 0 1.2rem;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.filter-btn.active {
    background: var(--primary-color, #00d084);
    color: #11111a;
    border-color: var(--primary-color, #00d084);
    font-weight: 600;
}
.series-header .page-description {
    color: #a1a1aa;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 800px;
}
.series-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
/* Premium Series List (Freestyle Flat) */
.crex-style-container {
    background: transparent;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.crex-month-section {
    margin-bottom: 3rem;
}
.crex-month-section:last-child {
    margin-bottom: 0;
}

.crex-month-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.crex-month-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary-color, #00d084);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color, #00d084);
}

.crex-series-list {
    display: flex;
    flex-direction: column;
}

.crex-series-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    gap: 1.5rem;
}

.crex-series-item:last-child {
    border-bottom: none;
}

.crex-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Flat Type Colors for Dark Theme */
.type-intl .crex-icon-wrap { background: rgba(59, 130, 246, 0.08); color: #60a5fa; border-color: rgba(59, 130, 246, 0.2); }
.type-women .crex-icon-wrap { background: rgba(236, 72, 153, 0.08); color: #f472b6; border-color: rgba(236, 72, 153, 0.2); }
.type-league .crex-icon-wrap { background: rgba(234, 179, 8, 0.08); color: #facc15; border-color: rgba(234, 179, 8, 0.2); }
.type-default .crex-icon-wrap { background: rgba(255, 255, 255, 0.05); color: #ffffff; }

.crex-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.crex-series-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff; 
    margin: 0;
    line-height: 1.3;
}

.crex-series-meta-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 0.2rem;
}

.crex-series-date {
    font-size: 0.85rem;
    color: #a1a1aa;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}
.crex-series-date i {
    color: var(--primary-color, #00d084);
    font-size: 0.8rem;
}

.crex-series-extra-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color, #00d084);
    color: #11111a;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}
.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top-btn:hover {
    transform: scale(1.1) translateY(0);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.6);
}
.info-badge {
    font-size: 0.8rem;
    color: #cccccc;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.info-badge.venue-badge i {
    color: #f87171; /* red icon for location */
}

.info-badge.matches-badge i {
    color: #60a5fa; /* blue icon for list/matches */
}

/* Pagination Styles */
.series-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
}
.series-pagination ul.page-numbers {
    display: inline-flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}
.series-pagination ul.page-numbers li a,
.series-pagination ul.page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: #333333;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.series-pagination ul.page-numbers li a:hover {
    background: #555555;
    color: #fff;
}
.series-pagination ul.page-numbers li span.current {
    background: var(--primary-color, #00d084);
    color: #000000;
    font-weight: 700;
    border-radius: 4px;
}
/* FAQ Accordion Styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
details.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
details.faq-item[open] {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color, #00d084);
}
summary.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none !important; /* Hide default arrow */
    outline: none;
}
summary.faq-question::marker,
summary.faq-question::-webkit-details-marker {
    display: none !important;
    content: "" !important;
}
/* Force hide theme-injected plus/minus icons */
summary.faq-question::after,
summary.faq-question::before {
    display: none !important;
    content: none !important;
}
summary.faq-question span {
    flex: 1;
}
summary.faq-question i.faq-icon {
    color: var(--primary-color, #00d084);
    transition: transform 0.3s ease;
    margin-left: 15px;
}
details.faq-item[open] summary.faq-question i.faq-icon {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 1.5rem 1.5rem;
}
.faq-answer p {
    margin: 0;
    color: #a1a1aa;
    line-height: 1.7;
}
/* --- News Feed / Blog Index --- */
.news-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card {
    background-color: var(--card-bg, rgba(255,255,255,0.05));
    border: 1px solid var(--card-border, rgba(255,255,255,0.1));
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color, #00d084);
    box-shadow: 0 10px 25px rgba(0, 208, 132, 0.15);
}
.news-image-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}
.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-image-wrapper img {
    transform: scale(1.05);
}
.news-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color, #00d084);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
}
.news-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-meta {
    font-size: 0.85rem;
    color: #8b949e;
    margin-bottom: 0.8rem;
}
.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.news-card:hover .news-title {
    color: var(--primary-color, #00d084);
}
.news-excerpt {
    color: #a1a1aa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}
.read-more-btn {
    color: var(--primary-color, #00d084);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}
.news-card:hover .read-more-btn {
    gap: 0.8rem;
}

/* --- Single News Article (Reading Mode) --- */
.reading-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem;
}
.article-header {
    margin-bottom: 2rem;
    text-align: center;
}
.article-category .cat-badge {
    background: rgba(0, 208, 132, 0.1);
    color: var(--primary-color, #00d084);
    border: 1px solid rgba(0, 208, 132, 0.2);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}
.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.author-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
.author-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.author-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}
.post-date {
    color: #8b949e;
    font-size: 0.85rem;
}
.article-share {
    display: flex;
    gap: 0.5rem;
}
.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    color: #fff;
    transition: all 0.3s ease;
}
.share-btn:hover {
    transform: translateY(-2px);
}
.share-btn.whatsapp:hover { background: #25D366; }
.share-btn.twitter:hover { background: #1DA1F2; }
.share-btn.facebook:hover { background: #1877F2; }

.article-hero-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
}
.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.bottom-author-box {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
}
.author-avatar-large img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}
.author-bio-content h4 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.2rem;
}
.author-bio-content p {
    color: #a1a1aa;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Related News */
.related-news-section {
    margin-top: 5rem;
    border-top: 2px solid rgba(255,255,255,0.05);
    padding-top: 3rem;
}
.related-news-section h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #fff;
}
.related-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* --- Front Page New Elements --- */
.hero-banner {
    background: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(9,12,16,1) 100%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-top: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}

.hero-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16,185,129,0.4);
    color: #fff;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.quick-link-item {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.match-teams .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 40%;
    text-align: center;
}

.match-teams .team-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #fff;
    padding: 3px;
    border: 2px solid var(--card-border);
    transition: transform 0.3s ease;
}

.match-card:hover .team-logo {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.match-teams .team-vs {
    width: 20%;
    text-align: center;
    font-weight: 900;
    font-style: italic;
    color: var(--accent-color);
    font-size: 1rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        height: auto;
        padding: 1rem 0;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Premium Informative Dashboard --- */
.informative-dashboard {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.latest-news-section.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 992px) {
    .informative-dashboard {
        grid-template-columns: 1fr;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

.section-header .section-title {
    margin: 0;
    font-size: 1.5rem;
    border-left: none;
    padding-left: 0;
    position: relative;
    display: inline-block;
}

.section-header .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.9rem;
    height: 3px;
    width: 40px;
    background: var(--accent-color);
    border-radius: 3px;
}

.view-all-link {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    transform: translateX(3px);
    color: var(--accent-hover);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Premium News Hero Grid */
.hero-news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
}

.hero-news-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.hero-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.15);
}

.hero-main-card {
    grid-row: 1 / span 2;
    padding: 2.5rem;
}

.hero-sub-card-alt {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.hero-sub-card-alt:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.15);
    border-color: var(--accent-color);
}

.sub-card-img {
    height: 120px;
    width: 100%;
}

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

.sub-card-title {
    color: #fff;
    font-size: 1.15rem;
    margin: 0.5rem 0;
    font-weight: 700;
    line-height: 1.3;
}

.hero-card-content {
    position: relative;
    z-index: 2;
}

.hero-category-badge {
    background: var(--accent-color);
    color: #000;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.hero-card-title {
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    line-height: 1.3;
}

.hero-main-card .hero-card-title {
    font-size: 2rem;
}

.hero-sub-card .hero-card-title {
    font-size: 1.2rem;
}

.hero-card-excerpt {
    color: #d1d5db;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hero-card-meta {
    color: #9ca3af;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 992px) {
    .hero-news-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .hero-main-card {
        min-height: 400px;
        grid-row: auto;
        padding: 1.5rem;
    }
    .hero-main-card .hero-card-title {
        font-size: 1.5rem;
    }
    .hero-sub-card {
        min-height: 250px;
    }
}

/* Dashboard News Grid */
.dashboard-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.dashboard-news-card {
    overflow: hidden;
    border-radius: 0;
}

.dashboard-news-card:hover {
    /* No hover effect for flat design */
}

.dashboard-news-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-img-wrap {
    position: relative;
    height: 160px;
    overflow: hidden;
    border-radius: 0;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}

.dashboard-news-card:hover .news-img-wrap img {
    /* No image zoom on hover for flat design */
}

.news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-color);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.news-heading {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.dashboard-news-card:hover .news-heading {
    color: var(--accent-color);
}

.news-meta-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Premium Standings Widget */
.standings-widget {
    padding: 1.5rem;
    height: 100%;
}

.standings-tournament-title {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.standings-tournament-title::before {
    content: '\f091';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffd700;
    font-size: 1.2rem;
}

.standings-table-wrap {
    overflow-x: auto;
}

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

.standings-mini-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.standings-mini-table .text-right {
    text-align: right;
}

.standings-mini-table td {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.standings-mini-table tr:last-child td {
    border-bottom: none;
    padding-bottom: 0;
}

.pos-col {
    color: var(--text-secondary);
    font-weight: 600;
    width: 10%;
}

.team-col {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-weight: 500;
}

.team-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

.pts-col {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.05rem;
}

.standings-mini-table tr {
    transition: background-color 0.3s ease;
}

.standings-mini-table tr:hover td {
    background-color: rgba(255,255,255,0.02);
}

.empty-state {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
}

/* --- Pagination --- */
.series-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}
.series-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.series-pagination a.page-numbers:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-color, #00d084);
    border-color: var(--accent-color, #00d084);
}
.series-pagination .page-numbers.current {
    background: var(--accent-color, #00d084);
    color: #000;
    border-color: var(--accent-color, #00d084);
}
.series-pagination .page-numbers.dots {
    background: transparent;
    border: none;
}

/* --- News Page Layout --- */
.news-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 208, 132, 0.4);
}

.news-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #1a1f24;
}

.news-image-wrapper img, .news-image-wrapper .fallback-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image-wrapper img,
.news-card:hover .news-image-wrapper .fallback-image {
    transform: scale(1.08);
}

.news-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-color, #00d084);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

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

.news-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta i {
    color: var(--accent-color, #00d084);
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #ffffff;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-title {
    color: var(--accent-color, #00d084);
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color, #00d084);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.news-card:hover .read-more-btn {
    gap: 0.8rem;
}

.series-pagination a.page-numbers {
    text-decoration: none;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: -100px; /* Hidden initially */
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 15, 0.95);
    color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    border-top: 2px solid var(--accent-color, #10b981);
}

.cookie-consent-banner.show-banner {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #d1d5db;
}

.cookie-btn {
    background-color: var(--accent-color, #10b981);
    color: #000;
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background-color: #0ea5e9;
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
