/* roulang page: index */
:root {
            --primary: #141D1A;
            --secondary: #3DDC84;
            --accent: #FFB800;
            --card-bg: #1E2A26;
            --card-bg-light: #222F2A;
            --border: #2F3D38;
            --border-light: #3A4A44;
            --text: #DCE5E0;
            --text-secondary: #9AABA3;
            --text-muted: #6E817A;
            --footer-bg: #0F1613;
            --radius: 12px;
            --radius-sm: 8px;
            --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
            --shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.5);
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
            --font-mono: 'SF Mono', 'Cascadia Code', 'Roboto Mono', 'Courier New', monospace;
            --max-width: 1200px;
            --header-height: 68px;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }

        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.65;
            color: var(--text);
            background-color: var(--primary);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            padding-top: var(--header-height);
            min-height: 100vh;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            border: 0;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: color var(--transition);
        }

        a:hover {
            color: var(--secondary);
        }

        button,
        input,
        textarea,
        select {
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
            border: none;
            outline: none;
            background: none;
            color: inherit;
        }

        button {
            cursor: pointer;
        }

        button:focus-visible,
        a:focus-visible,
        input:focus-visible {
            outline: 2px solid var(--secondary);
            outline-offset: 2px;
        }

        ul,
        ol {
            list-style: none;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ========== Header / Navigation ========== */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--header-height);
            z-index: 1000;
            background: rgba(20, 29, 26, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
        }

        .site-header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            width: 100%;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .brand-logo {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--secondary), #1a8f4e);
            flex-shrink: 0;
        }

        .brand-logo svg {
            width: 20px;
            height: 20px;
            fill: var(--primary);
        }

        .brand-name {
            font-size: 1.25rem;
            font-weight: 800;
            letter-spacing: 0.5px;
            color: var(--text);
            white-space: nowrap;
        }

        .brand-name span {
            color: var(--secondary);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1;
            justify-content: center;
        }

        .nav-links a {
            padding: 8px 14px;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all var(--transition);
            white-space: nowrap;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--secondary);
            background: rgba(61, 220, 132, 0.08);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .nav-btn {
            padding: 8px 18px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.85rem;
            background: var(--accent);
            color: var(--primary);
            transition: all var(--transition);
            white-space: nowrap;
        }

        .nav-btn:hover {
            background: #e6a800;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
        }

        .search-toggle {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--card-bg);
            border: 1px solid var(--border);
            transition: all var(--transition);
        }

        .search-toggle:hover {
            border-color: var(--secondary);
        }

        .search-toggle svg {
            width: 18px;
            height: 18px;
            fill: var(--text-secondary);
        }

        .search-dropdown {
            display: none;
            position: absolute;
            top: calc(var(--header-height) - 4px);
            right: 20px;
            width: 300px;
            background: var(--card-bg-light);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 14px;
            box-shadow: var(--shadow-hover);
            z-index: 999;
        }

        .search-dropdown.open {
            display: block;
        }

        .search-dropdown input {
            width: 100%;
            padding: 10px 14px;
            border-radius: var(--radius-sm);
            background: var(--primary);
            border: 1px solid var(--border);
            color: var(--text);
            font-size: 0.9rem;
        }

        .search-dropdown input::placeholder {
            color: var(--text-muted);
        }

        .menu-toggle {
            display: none;
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            align-items: center;
            justify-content: center;
            background: var(--card-bg);
            border: 1px solid var(--border);
            flex-shrink: 0;
        }

        .menu-toggle svg {
            width: 20px;
            height: 20px;
            fill: var(--text);
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: var(--header-height);
            left: 0;
            right: 0;
            background: var(--primary);
            border-bottom: 1px solid var(--border);
            padding: 12px 20px 20px;
            z-index: 999;
            flex-direction: column;
            gap: 4px;
        }

        .mobile-menu.open {
            display: flex;
        }

        .mobile-menu a {
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text);
            transition: all var(--transition);
        }

        .mobile-menu a:hover,
        .mobile-menu a.active {
            color: var(--secondary);
            background: rgba(61, 220, 132, 0.06);
        }

        /* ========== Section Base ========== */
        .section {
            padding: 56px 0;
        }

        .section-sm {
            padding: 36px 0;
        }

        .section-dark {
            background: var(--footer-bg);
        }

        .section-alt {
            background: #17211E;
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 28px;
            flex-wrap: wrap;
        }

        .section-header h2 {
            font-size: 1.65rem;
            font-weight: 800;
            letter-spacing: 0.3px;
            color: var(--text);
            line-height: 1.3;
        }

        .section-header h2 .highlight {
            color: var(--secondary);
        }

        .section-header .section-link {
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-secondary);
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: color var(--transition);
        }

        .section-header .section-link:hover {
            color: var(--secondary);
        }

        .section-header .section-link svg {
            width: 14px;
            height: 14px;
            fill: currentColor;
        }

        .section-desc {
            font-size: 0.95rem;
            color: var(--text-secondary);
            margin-bottom: 24px;
            max-width: 600px;
        }

        /* ========== Hero ========== */
        .hero {
            position: relative;
            padding: 80px 0 72px;
            background-image: url('/assets/images/football_155.webp');
            background-size: cover;
            background-position: center;
            overflow: hidden;
         background-size: cover !important;}

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(20, 29, 26, 0.93) 0%, rgba(20, 29, 26, 0.75) 50%, rgba(20, 29, 26, 0.55) 100%);
            z-index: 1;
        }

        .hero .container {
            position: relative;
            z-index: 2;
        }

        .hero-content {
            max-width: 620px;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 20px;
            background: rgba(61, 220, 132, 0.14);
            color: var(--secondary);
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 18px;
            border: 1px solid rgba(61, 220, 132, 0.25);
        }

        .hero-tag .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--secondary);
            animation: pulse-dot 1.8s infinite;
        }

        @keyframes pulse-dot {
            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.5;
                transform: scale(1.5);
            }
        }

        .hero h1 {
            font-size: 2.7rem;
            font-weight: 900;
            line-height: 1.2;
            letter-spacing: -0.5px;
            margin-bottom: 16px;
            color: var(--text);
        }

        .hero h1 .accent {
            color: var(--accent);
        }

        .hero-subtitle {
            font-size: 1.05rem;
            color: var(--text-secondary);
            margin-bottom: 28px;
            max-width: 520px;
            line-height: 1.7;
        }

        .hero-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 26px;
            border-radius: var(--radius-sm);
            font-weight: 700;
            font-size: 0.95rem;
            transition: all var(--transition);
            white-space: nowrap;
            letter-spacing: 0.3px;
        }

        .btn svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .btn-primary {
            background: var(--accent);
            color: var(--primary);
            box-shadow: 0 4px 16px rgba(255, 184, 0, 0.25);
        }

        .btn-primary:hover {
            background: #e6a800;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 184, 0, 0.35);
            color: var(--primary);
        }

        .btn-secondary {
            background: transparent;
            color: var(--secondary);
            border: 1.5px solid var(--secondary);
        }

        .btn-secondary:hover {
            background: var(--secondary);
            color: var(--primary);
            transform: translateY(-2px);
        }

        .hero-stats {
            display: flex;
            gap: 28px;
            margin-top: 36px;
            flex-wrap: wrap;
        }

        .hero-stat {
            display: flex;
            flex-direction: column;
        }

        .hero-stat .stat-number {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--accent);
            font-family: var(--font-mono);
            letter-spacing: -0.5px;
        }

        .hero-stat .stat-label {
            font-size: 0.8rem;
            color: var(--text-secondary);
            font-weight: 400;
        }

        /* ========== Quick Entry ========== */
        .quick-entry {
            padding: 28px 0;
            background: var(--card-bg-light);
            border-bottom: 1px solid var(--border);
        }

        .quick-entry .container {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 12px;
        }

        .quick-entry-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            padding: 18px 12px;
            border-radius: var(--radius);
            background: var(--card-bg);
            border: 1px solid var(--border);
            transition: all var(--transition);
            text-align: center;
            cursor: pointer;
        }

        .quick-entry-card:hover {
            transform: translateY(-4px);
            border-color: var(--secondary);
            box-shadow: var(--shadow-hover);
            background: var(--card-bg-light);
        }

        .quick-entry-icon {
            width: 42px;
            height: 42px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(61, 220, 132, 0.1);
            flex-shrink: 0;
        }

        .quick-entry-icon svg {
            width: 22px;
            height: 22px;
            fill: var(--secondary);
        }

        .quick-entry-card span {
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text);
            white-space: nowrap;
        }

        /* ========== Live Cards ========== */
        .live-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }

        .live-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 22px;
            box-shadow: var(--shadow);
            transition: all var(--transition);
            cursor: pointer;
            position: relative;
        }

        .live-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: var(--border-light);
        }

        .live-card-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
        }

        .live-tag {
            font-size: 0.72rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 4px;
            letter-spacing: 0.5px;
        }

        .live-tag.football {
            background: rgba(61, 220, 132, 0.12);
            color: var(--secondary);
        }

        .live-tag.basketball {
            background: rgba(255, 184, 0, 0.14);
            color: var(--accent);
        }

        .live-status {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--text-secondary);
        }

        .live-status .status-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--text-muted);
        }

        .live-status .status-dot.live {
            background: var(--secondary);
            animation: pulse-dot 1.6s infinite;
        }

        .live-status .status-dot.upcoming {
            background: var(--accent);
        }

        .live-status .status-dot.finished {
            background: var(--text-muted);
        }

        .live-teams {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
            gap: 8px;
        }

        .live-team {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            flex: 1;
            text-align: center;
        }

        .live-vs {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-muted);
            flex-shrink: 0;
        }

        .live-score {
            text-align: center;
            font-family: var(--font-mono);
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--accent);
            letter-spacing: 2px;
            margin-bottom: 10px;
        }

        .live-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.78rem;
            color: var(--text-secondary);
            border-top: 1px solid var(--border);
            padding-top: 12px;
        }

        .live-meta .signal {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-weight: 500;
        }

        .live-meta .signal svg {
            width: 13px;
            height: 13px;
            fill: var(--secondary);
        }

        /* ========== Featured Match ========== */
        .featured-match {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            background-image: url('/assets/images/football_171.webp');
            background-size: cover;
            background-position: center;
            box-shadow: var(--shadow);
            min-height: 260px;
            display: flex;
            align-items: stretch;
         background-size: cover !important;}

        .featured-match::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(100deg, rgba(20, 29, 26, 0.96) 20%, rgba(20, 29, 26, 0.72) 55%, rgba(20, 29, 26, 0.35) 100%);
            z-index: 1;
        }

        .featured-content {
            position: relative;
            z-index: 2;
            padding: 32px 36px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 12px;
            flex: 1;
        }

        .featured-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .featured-tag svg {
            width: 14px;
            height: 14px;
            fill: var(--accent);
        }

        .featured-teams {
            display: flex;
            align-items: center;
            gap: 18px;
            flex-wrap: wrap;
        }

        .featured-teams .team {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--text);
            letter-spacing: -0.5px;
        }

        .featured-teams .ft-vs {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-muted);
        }

        .featured-time {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--secondary);
            font-family: var(--font-mono);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .featured-time svg {
            width: 16px;
            height: 16px;
            fill: var(--secondary);
        }

        .featured-actions {
            display: flex;
            gap: 10px;
            margin-top: 6px;
            flex-wrap: wrap;
        }

        .featured-actions .btn {
            padding: 10px 22px;
            font-size: 0.85rem;
        }

        /* ========== League Section ========== */
        .league-scroll {
            display: flex;
            gap: 14px;
            overflow-x: auto;
            padding-bottom: 8px;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
        }

        .league-scroll::-webkit-scrollbar {
            height: 4px;
        }

        .league-scroll::-webkit-scrollbar-track {
            background: var(--border);
            border-radius: 2px;
        }

        .league-scroll::-webkit-scrollbar-thumb {
            background: var(--border-light);
            border-radius: 2px;
        }

        .league-card {
            flex: 0 0 auto;
            width: 160px;
            padding: 18px 16px;
            border-radius: var(--radius);
            background: var(--card-bg);
            border: 1px solid var(--border);
            text-align: center;
            transition: all var(--transition);
            scroll-snap-align: start;
            cursor: pointer;
        }

        .league-card:hover {
            transform: translateY(-4px);
            border-color: var(--secondary);
            box-shadow: var(--shadow-hover);
            background: var(--card-bg-light);
        }

        .league-name {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 6px;
        }

        .league-count {
            font-size: 0.75rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .league-count .num {
            color: var(--accent);
            font-weight: 700;
            font-family: var(--font-mono);
        }

        /* ========== Calendar ========== */
        .calendar-days {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 8px;
            -webkit-overflow-scrolling: touch;
            margin-bottom: 20px;
        }

        .calendar-day {
            flex: 0 0 auto;
            width: 76px;
            padding: 12px 8px;
            border-radius: var(--radius-sm);
            background: var(--card-bg);
            border: 1px solid var(--border);
            text-align: center;
            transition: all var(--transition);
            cursor: pointer;
        }

        .calendar-day:hover {
            border-color: var(--border-light);
            background: var(--card-bg-light);
        }

        .calendar-day.active {
            background: var(--secondary);
            border-color: var(--secondary);
        }

        .calendar-day .day-name {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 4px;
        }

        .calendar-day .day-num {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--text);
            font-family: var(--font-mono);
        }

        .calendar-day .day-count {
            font-size: 0.65rem;
            font-weight: 600;
            color: var(--text-muted);
            margin-top: 4px;
        }

        .calendar-day.active .day-name,
        .calendar-day.active .day-num,
        .calendar-day.active .day-count {
            color: var(--primary);
        }

        .calendar-events {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .calendar-event {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 18px;
            border-radius: var(--radius-sm);
            background: var(--card-bg);
            border: 1px solid var(--border);
            transition: all var(--transition);
            cursor: pointer;
        }

        .calendar-event:hover {
            background: var(--card-bg-light);
            border-color: var(--border-light);
        }

        .calendar-event .event-time {
            font-family: var(--font-mono);
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--accent);
            flex-shrink: 0;
            min-width: 48px;
        }

        .calendar-event .event-teams {
            flex: 1;
            font-weight: 600;
            font-size: 0.92rem;
            color: var(--text);
        }

        .calendar-event .event-league {
            font-size: 0.7rem;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 4px;
            background: rgba(61, 220, 132, 0.1);
            color: var(--secondary);
            flex-shrink: 0;
        }

        /* ========== Score Ticker ========== */
        .score-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .score-row {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 18px;
            border-radius: var(--radius-sm);
            background: var(--card-bg);
            border: 1px solid var(--border);
            transition: all var(--transition);
            cursor: pointer;
        }

        .score-row:hover {
            background: var(--card-bg-light);
            border-color: var(--border-light);
        }

        .score-row .score-time {
            font-family: var(--font-mono);
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-secondary);
            flex-shrink: 0;
            min-width: 42px;
        }

        .score-row .score-teams {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text);
        }

        .score-row .score-value {
            font-family: var(--font-mono);
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--accent);
            letter-spacing: 1px;
            flex-shrink: 0;
        }

        .score-row .score-phase {
            font-size: 0.7rem;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 4px;
            background: rgba(255, 184, 0, 0.1);
            color: var(--accent);
            flex-shrink: 0;
        }

        /* ========== Highlights ========== */
        .highlight-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
        }

        .highlight-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all var(--transition);
            cursor: pointer;
        }

        .highlight-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: var(--border-light);
        }

        .highlight-card .hl-image {
            width: 100%;
            height: 170px;
            object-fit: cover;
            display: block;
        }

        .highlight-card .hl-body {
            padding: 16px 18px;
        }

        .highlight-card .hl-tag {
            font-size: 0.7rem;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 4px;
            background: rgba(61, 220, 132, 0.1);
            color: var(--secondary);
            margin-bottom: 8px;
            display: inline-block;
        }

        .highlight-card .hl-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
            line-height: 1.45;
        }

        .highlight-card .hl-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        /* ========== Star Players ========== */
        .star-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            padding-bottom: 8px;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
        }

        .star-scroll::-webkit-scrollbar {
            height: 4px;
        }

        .star-scroll::-webkit-scrollbar-track {
            background: var(--border);
            border-radius: 2px;
        }

        .star-scroll::-webkit-scrollbar-thumb {
            background: var(--border-light);
            border-radius: 2px;
        }

        .star-card {
            flex: 0 0 auto;
            width: 200px;
            padding: 22px 16px;
            border-radius: var(--radius);
            background: var(--card-bg);
            border: 1px solid var(--border);
            text-align: center;
            transition: all var(--transition);
            scroll-snap-align: start;
            cursor: pointer;
        }

        .star-card:hover {
            transform: translateY(-4px);
            border-color: var(--secondary);
            box-shadow: var(--shadow-hover);
            background: var(--card-bg-light);
        }

        .star-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--secondary), #1a5c38);
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            font-family: var(--font-mono);
            letter-spacing: 0;
        }

        .star-name {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 4px;
        }

        .star-team {
            font-size: 0.78rem;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }

        .star-label {
            display: inline-block;
            font-size: 0.68rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 4px;
            background: rgba(255, 184, 0, 0.12);
            color: var(--accent);
            letter-spacing: 0.5px;
        }

        /* ========== Stats Table ========== */
        .stats-tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 16px;
            border-bottom: 1px solid var(--border);
            padding-bottom: 0;
        }

        .stats-tab {
            padding: 10px 20px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-secondary);
            border-bottom: 2px solid transparent;
            transition: all var(--transition);
            cursor: pointer;
            white-space: nowrap;
        }

        .stats-tab:hover {
            color: var(--text);
        }

        .stats-tab.active {
            color: var(--secondary);
            border-bottom-color: var(--secondary);
        }

        .stats-table-wrap {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .stats-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.88rem;
            min-width: 500px;
        }

        .stats-table th {
            text-align: left;
            padding: 12px 16px;
            font-weight: 600;
            color: var(--text-secondary);
            background: var(--card-bg-light);
            border-bottom: 1px solid var(--border);
            font-size: 0.75rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .stats-table td {
            padding: 12px 16px;
            border-bottom: 1px solid var(--border);
            color: var(--text);
            white-space: nowrap;
        }

        .stats-table tbody tr {
            transition: background var(--transition);
        }

        .stats-table tbody tr:hover {
            background: var(--card-bg-light);
        }

        .stats-table .rank {
            font-family: var(--font-mono);
            font-weight: 700;
            color: var(--accent);
            width: 40px;
        }

        .stats-table .player-name {
            font-weight: 600;
        }

        .stats-table .stat-value {
            font-family: var(--font-mono);
            font-weight: 800;
            color: var(--secondary);
        }

        .stats-panel {
            display: none;
        }

        .stats-panel.active {
            display: block;
        }

        /* ========== Transfer News ========== */
        .news-list {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .news-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 18px;
            border-bottom: 1px solid var(--border);
            transition: all var(--transition);
            cursor: pointer;
            flex-wrap: wrap;
        }

        .news-item:first-child {
            border-top: 1px solid var(--border);
        }

        .news-item:hover {
            background: var(--card-bg-light);
        }

        .news-item .news-title {
            flex: 1;
            font-size: 0.92rem;
            font-weight: 600;
            color: var(--text);
            line-height: 1.5;
            min-width: 200px;
        }

        .news-item .news-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 0.75rem;
            color: var(--text-secondary);
            flex-shrink: 0;
        }

        .news-item .news-meta .author {
            font-weight: 500;
            color: var(--text-secondary);
        }

        /* ========== FAQ ========== */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .faq-item {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            overflow: hidden;
            transition: all var(--transition);
        }

        .faq-item:hover {
            border-color: var(--border-light);
        }

        .faq-question {
            padding: 16px 20px;
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            cursor: pointer;
            width: 100%;
            text-align: left;
            transition: color var(--transition);
            background: none;
        }

        .faq-question:hover {
            color: var(--secondary);
        }

        .faq-question .faq-icon {
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            fill: var(--text-secondary);
            transition: transform var(--transition);
        }

        .faq-item.open .faq-question .faq-icon {
            transform: rotate(180deg);
            fill: var(--secondary);
        }

        .faq-answer {
            display: none;
            padding: 0 20px 18px;
            font-size: 0.88rem;
            color: var(--text-secondary);
            line-height: 1.7;
        }

        .faq-item.open .faq-answer {
            display: block;
        }

        /* ========== Community CTA ========== */
        .community-cta {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            padding: 36px 32px;
            background-image: url('/assets/images/football_087.webp');
            background-size: cover;
            background-position: center;
         background-size: cover !important;}

        .community-cta::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(20, 29, 26, 0.9) 20%, rgba(20, 29, 26, 0.65) 100%);
            z-index: 1;
        }

        .community-cta .cta-inner {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

        .community-cta .cta-text {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            max-width: 420px;
            line-height: 1.5;
        }

        .community-cta .cta-text span {
            color: var(--secondary);
        }

        .community-cta .btn {
            background: var(--accent);
            color: var(--primary);
            padding: 12px 26px;
            font-size: 0.9rem;
            box-shadow: 0 4px 16px rgba(255, 184, 0, 0.25);
        }

        .community-cta .btn:hover {
            background: #e6a800;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 184, 0, 0.35);
            color: var(--primary);
        }

        /* ========== Subscribe CTA ========== */
        .subscribe-cta {
            background: linear-gradient(135deg, #1E2A26 0%, #141D1A 100%);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 36px 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            flex-wrap: wrap;
        }

        .subscribe-cta .subscribe-text {
            flex: 1;
            min-width: 260px;
        }

        .subscribe-cta .subscribe-text h3 {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 8px;
        }

        .subscribe-cta .subscribe-text p {
            font-size: 0.88rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        .subscribe-form {
            display: flex;
            gap: 10px;
            flex: 1;
            min-width: 280px;
            max-width: 420px;
        }

        .subscribe-form input {
            flex: 1;
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            background: var(--primary);
            border: 1px solid var(--border);
            color: var(--text);
            font-size: 0.9rem;
            min-width: 0;
        }

        .subscribe-form input::placeholder {
            color: var(--text-muted);
        }

        .subscribe-form .btn {
            padding: 12px 22px;
            background: var(--secondary);
            color: var(--primary);
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .subscribe-form .btn:hover {
            background: #4ce892;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(61, 220, 132, 0.3);
            color: var(--primary);
        }

        /* ========== Signal Tags ========== */
        .signal-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .signal-tag {
            padding: 8px 18px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-secondary);
            background: var(--card-bg);
            border: 1px solid var(--border);
            transition: all var(--transition);
            cursor: pointer;
        }

        .signal-tag:hover {
            color: var(--secondary);
            border-color: var(--secondary);
            background: var(--card-bg-light);
        }

        /* ========== Footer ========== */
        .site-footer {
            background: var(--footer-bg);
            padding: 32px 0 40px;
            border-top: 1px solid var(--border);
        }

        .site-footer .container {
            display: flex;
            flex-direction: column;
            gap: 8px;
            text-align: center;
        }

        .site-footer .footer-row {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        .site-footer .footer-row a {
            color: var(--text-secondary);
            transition: color var(--transition);
        }

        .site-footer .footer-row a:hover {
            color: var(--secondary);
        }

        .site-footer .footer-row .separator {
            margin: 0 8px;
            color: var(--text-muted);
        }

        /* ========== Responsive ========== */
        @media (max-width: 1024px) {
            .live-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .highlight-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .quick-entry .container {
                grid-template-columns: repeat(6, 1fr);
                gap: 8px;
            }

            .quick-entry-card {
                padding: 14px 8px;
            }

            .quick-entry-card span {
                font-size: 0.72rem;
            }

            .hero h1 {
                font-size: 2.2rem;
            }
        }

        @media (max-width: 768px) {
            :root {
                --header-height: 60px;
            }

            body {
                padding-top: var(--header-height);
                font-size: 14px;
            }

            .container {
                padding: 0 16px;
            }

            .section {
                padding: 40px 0;
            }

            .section-sm {
                padding: 24px 0;
            }

            .section-header h2 {
                font-size: 1.35rem;
            }

            .site-header .container {
                gap: 12px;
            }

            .brand-name {
                font-size: 1.05rem;
            }

            .brand-logo {
                width: 30px;
                height: 30px;
            }

            .nav-links {
                display: none;
            }

            .nav-btn {
                display: none;
            }

            .menu-toggle {
                display: flex;
            }

            .search-dropdown {
                right: 16px;
                width: calc(100% - 32px);
                top: calc(var(--header-height) - 2px);
            }

            .hero {
                padding: 52px 0 48px;
            }

            .hero h1 {
                font-size: 1.75rem;
                letter-spacing: -0.3px;
            }

            .hero-subtitle {
                font-size: 0.92rem;
            }

            .hero-stats {
                gap: 20px;
                margin-top: 28px;
            }

            .hero-stat .stat-number {
                font-size: 1.2rem;
            }

            .hero-actions {
                flex-direction: column;
                gap: 8px;
            }

            .hero-actions .btn {
                width: 100%;
                justify-content: center;
            }

            .quick-entry .container {
                grid-template-columns: repeat(3, 1fr);
                gap: 6px;
            }

            .quick-entry-card {
                padding: 14px 6px;
            }

            .quick-entry-icon {
                width: 34px;
                height: 34px;
            }

            .quick-entry-icon svg {
                width: 18px;
                height: 18px;
            }

            .quick-entry-card span {
                font-size: 0.7rem;
            }

            .live-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .highlight-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .featured-content {
                padding: 22px 18px;
            }

            .featured-teams .team {
                font-size: 1.2rem;
            }

            .league-card {
                width: 130px;
                padding: 14px 12px;
            }

            .stats-table {
                min-width: 420px;
            }

            .calendar-day {
                width: 64px;
                padding: 10px 6px;
            }

            .calendar-day .day-num {
                font-size: 1rem;
            }

            .star-card {
                width: 160px;
                padding: 16px 12px;
            }

            .star-avatar {
                width: 48px;
                height: 48px;
                font-size: 1.1rem;
            }

            .community-cta {
                padding: 24px 18px;
            }

            .community-cta .cta-text {
                font-size: 1rem;
            }

            .subscribe-cta {
                padding: 24px 18px;
                flex-direction: column;
                align-items: stretch;
            }

            .subscribe-form {
                max-width: none;
                flex-direction: column;
            }

            .subscribe-form .btn {
                width: 100%;
                justify-content: center;
            }

            .news-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
                padding: 14px 16px;
            }

            .news-item .news-title {
                min-width: auto;
            }

            .stats-tabs {
                overflow-x: auto;
                gap: 2px;
            }

            .stats-tab {
                padding: 8px 14px;
                font-size: 0.75rem;
                white-space: nowrap;
            }
        }

        @media (max-width: 520px) {
            .section-header h2 {
                font-size: 1.15rem;
            }

            .hero h1 {
                font-size: 1.5rem;
            }

            .hero-subtitle {
                font-size: 0.85rem;
            }

            .quick-entry .container {
                gap: 4px;
            }

            .quick-entry-card {
                padding: 10px 4px;
            }

            .quick-entry-card span {
                font-size: 0.65rem;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 100%;
            }

            .live-card {
                padding: 16px;
            }

            .live-teams {
                flex-direction: row;
                gap: 4px;
            }

            .live-team {
                font-size: 0.9rem;
            }

            .featured-teams .team {
                font-size: 1rem;
            }

            .score-row {
                flex-wrap: wrap;
                gap: 8px;
                padding: 12px 14px;
            }

            .score-row .score-teams {
                min-width: 140px;
            }

            .highlight-card .hl-image {
                height: 140px;
            }

            .star-card {
                width: 140px;
                padding: 14px 10px;
            }

            .signal-tag {
                padding: 6px 12px;
                font-size: 0.72rem;
            }

            .site-footer .footer-row {
                font-size: 0.72rem;
            }

            .news-item .news-meta {
                font-size: 0.68rem;
                gap: 6px;
                flex-wrap: wrap;
            }
        }
