/* ==========================================================================
   BADMINTON MANAGER PRO - HOMEPAGE DESIGN SYSTEM
   Modern Minimal, High-End SaaS UI/UX (Apple, Stripe, Linear Aesthetic)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
    /* Color Palette - Obsidian Deep Dark */
    --bg-dark: #070c18;
    --bg-card: #0f172a;
    --bg-card-hover: #17243b;
    --bg-card-light: #131d31;
    --bg-card-subtle: rgba(15, 23, 42, 0.75);
    
    /* Brand Primary & Accents */
    --primary: #0284c7;
    --primary-light: #38bdf8;
    --primary-glow: rgba(2, 132, 199, 0.35);
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.3);
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #8b5cf6;
    --cyan: #06b6d4;

    /* Text Colors */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;

    /* Borders & Dividers */
    --border: #1e293b;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.35);

    /* Surface & Glass */
    --nav-bg: rgba(7, 12, 24, 0.85);
    --glass-card: rgba(15, 23, 42, 0.78);
    --glass-border: rgba(255, 255, 255, 0.09);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.2);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-score: 'Chakra Petch', sans-serif;

    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-pill: 9999px;
}

[data-theme="light"] {
    /* Color Palette - Ultra Clean Crisp Light */
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-card-light: #f8fafc;
    --bg-card-subtle: rgba(248, 250, 252, 0.85);

    /* Brand Primary & Accents */
    --primary: #0284c7;
    --primary-light: #0369a1;
    --primary-glow: rgba(2, 132, 199, 0.18);
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.18);
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #8b5cf6;
    --cyan: #06b6d4;

    /* Text Colors */
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-subtle: #94a3b8;

    /* Borders & Dividers */
    --border: #e2e8f0;
    --border-light: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(2, 132, 199, 0.35);

    /* Surface & Glass */
    --nav-bg: rgba(255, 255, 255, 0.88);
    --glass-card: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(0, 0, 0, 0.08);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.12);
}

/* --------------------------------------------------------------------------
   2. GLOBAL BASE STYLES & RESET
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Ambient Glow Gradients */
.ambient-glow {
    position: fixed;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(140px);
    opacity: 0.14;
    transition: opacity 0.3s ease;
}

.glow-1 { top: -120px; left: -120px; background: #0284c7; }
.glow-2 { top: 35%; right: -180px; background: #10b981; }
.glow-3 { bottom: 10%; left: 15%; background: #6366f1; }

[data-theme="light"] .ambient-glow {
    opacity: 0.07;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   3. HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
.landing-nav {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    width: 100%;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

[data-theme="light"] .landing-nav {
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Brand Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    flex-shrink: 0;
}

.nav-logo i {
    font-size: 26px;
    color: #38bdf8;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
    transition: transform 0.25s ease;
}

.nav-logo:hover i {
    transform: rotate(-10deg) scale(1.08);
}

[data-theme="light"] .nav-logo i {
    color: #0284c7;
    filter: drop-shadow(0 0 8px rgba(2, 132, 199, 0.3));
}

.logo-text h2 {
    font-size: clamp(15px, 1.35vw, 18px);
    font-weight: 800;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff 0%, #38bdf8 55%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    white-space: nowrap;
}

[data-theme="light"] .logo-text h2 {
    background: linear-gradient(135deg, #0f172a 0%, #0284c7 55%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    display: block;
    white-space: nowrap;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-links a i {
    font-size: 13px;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(2, 132, 199, 0.08);
}

[data-theme="dark"] .nav-links a:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--text-main);
    transform: translateY(-1px);
}

.theme-icon-moon,
.theme-icon-sun {
    font-size: 13px;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-icon-sun { display: inline-block; color: #f59e0b; }
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: inline-block; color: #0284c7; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--primary-glow);
}

.btn-outline {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-pill-action {
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. HOMEPAGE TWO-COLUMN LAYOUT
   -------------------------------------------------------------------------- */
.home-container {
    padding-top: 24px;
    padding-bottom: 70px;
}

.home-layout-grid {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.home-main-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.home-section {
    margin-bottom: 64px;
    position: relative;
}

/* Section Header Structure */
.section-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.section-header--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    text-align: left;
    margin-bottom: 28px;
}

.section-header-left {
    max-width: 760px;
}

.section-header-actions {
    flex-shrink: 0;
}

.section-tag {
    color: #0284c7;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(2, 132, 199, 0.1);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(2, 132, 199, 0.2);
}

[data-theme="dark"] .section-tag {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.25);
}

.section-title {
    font-size: clamp(23px, 2.8vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    line-height: 1.25;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 14.5px;
    max-width: 680px;
    margin-top: 8px;
    line-height: 1.6;
}

.section-header:not(.section-header--split) .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   5. LEFT SIDEBAR: TOURNAMENTS (GIẢI ĐẤU MỚI NHẤT)
   -------------------------------------------------------------------------- */
.tournaments-sidebar {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 116px);
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: all 0.3s ease;
}

[data-theme="light"] .tournaments-sidebar {
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.sidebar-title-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

[data-theme="light"] .sidebar-title-icon {
    color: #0284c7;
}

.sidebar-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.sidebar-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.sidebar-count-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(2, 132, 199, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(2, 132, 199, 0.3);
    white-space: nowrap;
}

[data-theme="light"] .sidebar-count-badge {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
}

/* Sidebar Search */
.sidebar-search {
    position: relative;
    margin-bottom: 12px;
}

.sidebar-search i.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
    pointer-events: none;
}

.sidebar-search-input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 8px 30px 8px 34px;
    font-size: 12.5px;
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.sidebar-search-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
    background: var(--bg-card);
}

.sidebar-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 12px;
    display: none;
}

.sidebar-search-clear:hover {
    color: var(--text-main);
}

/* Sidebar Filter Tabs */
.sidebar-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    background: var(--bg-dark);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.sidebar-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 7px;
    padding: 6px 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sidebar-tab-btn:hover {
    color: var(--text-main);
}

.sidebar-tab-btn.active {
    background: var(--bg-card);
    color: #38bdf8;
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(56, 189, 248, 0.25);
}

[data-theme="light"] .sidebar-tab-btn.active {
    background: #ffffff;
    color: #0284c7;
    border-color: #cbd5e1;
}

/* Tournament Scroll List */
.tournaments-list-scroll {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
    margin-bottom: 12px;
    min-height: 260px;
}

.tournaments-list-scroll::-webkit-scrollbar {
    width: 4px;
}

.tournaments-list-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 4px;
}

.tournaments-list-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Tournament Card Item */
.tourney-item-card {
    background: var(--bg-card-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.tourney-item-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tourney-item-card.is-live {
    border-color: rgba(16, 185, 129, 0.45);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--bg-card-light) 100%);
}

.tourney-item-card.is-live:hover {
    border-color: #10b981;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
}

.tourney-item-card.is-active-tourney {
    box-shadow: 0 0 0 1.5px #0284c7;
}

[data-theme="light"] .tourney-item-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .tourney-item-card:hover {
    border-color: #0284c7;
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.1);
}

.tourney-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.tourney-status-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    text-transform: uppercase;
}

.tourney-status-badge.status-ongoing {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.tourney-status-badge.status-completed {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.25);
}

.tourney-status-badge.status-upcoming {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tourney-dates {
    font-size: 11px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.tourney-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.tourney-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.18s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tourney-title a:hover {
    color: #38bdf8;
}

[data-theme="light"] .tourney-title a:hover {
    color: #0284c7;
}

.tourney-venue {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tourney-venue i {
    color: #f43f5e;
    font-size: 11px;
    flex-shrink: 0;
}

.tourney-stats-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.tourney-stat-chip {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-dark);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

[data-theme="light"] .tourney-stat-chip {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.tourney-quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--border-light);
}

.tourney-quick-btn {
    padding: 5px 4px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-muted);
    background: var(--bg-dark);
    border: 1px solid var(--border);
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
}

.tourney-quick-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--bg-card);
}

[data-theme="light"] .tourney-quick-btn {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .tourney-quick-btn:hover {
    background: #ffffff;
    color: #0284c7;
    border-color: #0284c7;
}

/* Sidebar Footer & Facebook */
.sidebar-footer-cta {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-fb-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.sidebar-fb-iframe-wrap {
    width: 100%;
    height: 310px;
    overflow: hidden;
    background: #ffffff;
}

.sidebar-fb-iframe-wrap iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block;
}

.sidebar-fb-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 12px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 11.5px;
}

.sidebar-fb-footer-bar a {
    color: #1877f2;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sidebar-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 12.5px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

/* Live Pulse Dot */
.live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.live-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.4);
    animation: pulseRing 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
    padding: 10px 0 30px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.28);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 20px;
}

[data-theme="dark"] .hero-badge {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(56, 189, 248, 0.1);
}

.hero h1.hero-title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.hero-gradient-text {
    background: linear-gradient(135deg, #0284c7 0%, #10b981 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero-gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 28px;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-hero-cta {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    padding: 13px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.45);
    transition: all 0.25s ease;
}

.btn-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.55);
}

.btn-hero-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 12px 22px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

/* 5 Quick Access Portals Grid */
.hero-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
    text-align: left;
}

.portal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--portal-accent, #0284c7);
    opacity: 0.85;
    transition: height 0.2s ease;
}

.portal-card:hover {
    transform: translateY(-4px);
    border-color: var(--portal-accent, var(--primary));
    box-shadow: var(--shadow-md);
}

.portal-card:hover::before {
    height: 4px;
}

.portal-card--courts  { --portal-accent: #10b981; }
.portal-card--player  { --portal-accent: #0284c7; }
.portal-card--tv      { --portal-accent: #f59e0b; }
.portal-card--checkin { --portal-accent: #06b6d4; }
.portal-card--pairing { --portal-accent: #8b5cf6; }

.portal-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.portal-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--portal-accent);
    transition: transform 0.2s ease;
}

.portal-card--courts .portal-icon  { background: rgba(16, 185, 129, 0.12); }
.portal-card--player .portal-icon  { background: rgba(2, 132, 199, 0.12); }
.portal-card--tv .portal-icon      { background: rgba(245, 158, 11, 0.12); }
.portal-card--checkin .portal-icon { background: rgba(6, 182, 212, 0.12); }
.portal-card--pairing .portal-icon { background: rgba(139, 92, 246, 0.12); }

.portal-card:hover .portal-icon {
    transform: scale(1.1);
}

.portal-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    background: var(--bg-dark);
    color: var(--portal-accent);
    border: 1px solid var(--border);
}

.portal-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.25;
}

.portal-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--portal-accent);
    transition: gap 0.2s ease;
}

.portal-card:hover .portal-link {
    gap: 9px;
}

/* Value Props Highlights Strip */
.hero-highlights-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    text-align: left;
    margin-bottom: 40px;
}

.highlight-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 4px;
}

.chip-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.chip-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chip-text strong {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.chip-text span {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   7. NEWS SECTION (.home-news-section)
   -------------------------------------------------------------------------- */
.home-news-section {
    position: relative;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.home-news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-xs);
}

.home-news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(2, 132, 199, 0.4);
    box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.15);
}

.home-news-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-card-hover);
}

.home-news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-news-card:hover .home-news-thumb {
    transform: scale(1.06);
}

.home-news-cat-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-news-featured-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.home-news-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.home-news-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.home-news-card:hover .home-news-title {
    color: var(--primary);
}

.home-news-summary {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.home-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.home-news-card:hover .home-news-footer i {
    transform: translateX(4px);
    transition: transform 0.2s ease;
}

.news-empty-state {
    text-align: center;
    padding: 44px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
}

.news-empty-state i {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   8. ECOSYSTEM SECTION (HỆ SINH THÁI 6 PHÂN HỆ)
   -------------------------------------------------------------------------- */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}

.eco-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: var(--eco-theme, #0284c7);
    opacity: 0.9;
    transition: height 0.2s ease;
}

.eco-card:hover {
    transform: translateY(-5px);
    border-color: var(--eco-theme, #38bdf8);
    box-shadow: var(--shadow-md);
}

.eco-card:hover::before {
    height: 5px;
}

.eco-card--admin      { --eco-theme: #0284c7; }
.eco-card--courts     { --eco-theme: #10b981; }
.eco-card--player     { --eco-theme: #38bdf8; }
.eco-card--tv         { --eco-theme: #f59e0b; }
.eco-card--referee    { --eco-theme: #ef4444; }
.eco-card--evaluation { --eco-theme: #8b5cf6; }

.eco-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.eco-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--eco-theme);
}

.eco-card--admin .eco-icon      { background: rgba(2, 132, 199, 0.12); }
.eco-card--courts .eco-icon     { background: rgba(16, 185, 129, 0.12); }
.eco-card--player .eco-icon     { background: rgba(56, 189, 248, 0.12); }
.eco-card--tv .eco-icon         { background: rgba(245, 158, 11, 0.12); }
.eco-card--referee .eco-icon    { background: rgba(239, 68, 68, 0.12); }
.eco-card--evaluation .eco-icon { background: rgba(139, 92, 246, 0.12); }

.eco-badge {
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    background: rgba(2, 132, 199, 0.1);
    color: var(--eco-theme);
    border: 1px solid var(--border);
}

.eco-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}

.eco-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.eco-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.eco-bullets li {
    font-size: 12.5px;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.eco-bullets li i {
    color: var(--eco-theme);
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.eco-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-card-subtle);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 700;
    color: var(--eco-theme);
    text-decoration: none;
    transition: all 0.2s ease;
}

.eco-btn:hover {
    background: var(--eco-theme);
    color: #ffffff !important;
    border-color: var(--eco-theme);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   9. FEATURES SECTION (CÁC TÍNH NĂNG NÂNG CAO)
   -------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 18px;
    margin-bottom: 14px;
}

.feature-card h4 {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. WORKFLOW TIMELINE (HƯỚNG DẪN 7 BƯỚC)
   -------------------------------------------------------------------------- */
.workflow-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.flow-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-xs);
}

.flow-card:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.flow-num {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #fff;
    font-weight: 900;
    font-size: 17px;
    font-family: var(--font-score);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.flow-content {
    flex-grow: 1;
    min-width: 0;
}

.flow-content h4 {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.flow-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.flow-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid var(--border);
}

[data-theme="dark"] .flow-tag {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

/* --------------------------------------------------------------------------
   11. BOTTOM CTA BANNER & FOOTER
   -------------------------------------------------------------------------- */
.bottom-cta-banner {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(2, 132, 199, 0.25);
    border-radius: var(--radius-xl);
    padding: 44px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cta-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(2, 132, 199, 0.12);
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.bottom-cta-banner h3 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.bottom-cta-banner p {
    font-size: 14.5px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 26px;
    line-height: 1.6;
}

.cta-banner-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Landing Footer */
.landing-footer {
    border-top: 1px solid var(--border-light);
    padding: 36px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

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

/* --------------------------------------------------------------------------
   12. POPUP MODAL: ĐĂNG KÝ QUẢN TRỊ
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

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

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

.modal-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 4px 0 18px;
}

.reg-form-group {
    margin-bottom: 14px;
}

.reg-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.reg-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.reg-input-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    font-size: 13px;
    pointer-events: none;
}

.reg-input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 36px 9px 36px;
    color: var(--text-main);
    font-size: 13px;
    font-family: inherit;
    transition: all 0.2s;
}

.reg-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.reg-pwd-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
}

.reg-helper {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.btn-reg-submit {
    width: 100%;
    justify-content: center;
    padding: 11px;
    font-size: 14px;
    font-weight: 800;
    margin-top: 10px;
}

.modal-bottom-links {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.modal-bottom-links a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.modal-bottom-links a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   13. FLOATING CONTACT WIDGET (HOTLINE & ZALO)
   -------------------------------------------------------------------------- */
.floating-contact-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.floating-btn {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-btn:hover {
    transform: scale(1.08);
}

.floating-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.floating-hotline .floating-circle {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.floating-hotline .floating-circle i {
    animation: phoneVibrate 1.8s infinite ease-in-out;
}

.floating-zalo .floating-circle {
    background: linear-gradient(135deg, #0084ff 0%, #0056d6 100%);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4);
}

@keyframes phoneVibrate {
    0%, 100% { transform: rotate(0) scale(1); }
    5%  { transform: rotate(-18deg) scale(1.1); }
    10% { transform: rotate(18deg) scale(1.1); }
    15% { transform: rotate(-18deg) scale(1.1); }
    20% { transform: rotate(18deg) scale(1.1); }
    25% { transform: rotate(0) scale(1); }
}

/* --------------------------------------------------------------------------
   14. MOBILE & RESPONSIVE ADAPTATIONS
   -------------------------------------------------------------------------- */
.mobile-sidebar-toggle {
    display: none;
    width: 100%;
    margin-bottom: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 13.5px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

@media (max-width: 1280px) {
    .home-layout-grid {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    .home-layout-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tournaments-sidebar {
        position: static;
        max-height: none;
    }

    .mobile-sidebar-toggle {
        display: flex;
    }

    .tournaments-sidebar.is-collapsed-mobile {
        display: none;
    }

    .hero {
        padding-top: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .landing-nav {
        padding: 12px 0;
    }

    .nav-links {
        display: none;
    }

    .btn-text-full {
        display: none;
    }

    .btn-text-short {
        display: inline;
    }

    .home-section {
        margin-bottom: 44px;
    }

    .section-header--split {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .home-news-grid,
    .ecosystem-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .flow-card {
        padding: 16px;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .floating-circle {
        width: 46px;
        height: 46px;
    }
    
    .floating-hotline .floating-circle {
        font-size: 17px;
    }

    .floating-zalo .floating-circle svg {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================================================
   MULTI-SPORT ENHANCEMENTS (BADMINTON & PICKLEBALL DUAL SUPPORT)
   ========================================================================== */

/* Sport Badges in Sidebar & Tourney Cards */
.tourney-sport-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tourney-sport-badge.sport-badminton {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

[data-theme="dark"] .tourney-sport-badge.sport-badminton {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
}

.tourney-sport-badge.sport-pickleball {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

[data-theme="dark"] .tourney-sport-badge.sport-pickleball {
    color: #34d399;
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(52, 211, 153, 0.4);
}

/* Sidebar Filter Categories */
.sidebar-filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.sidebar-filter-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-subtle);
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 2px;
}

.sidebar-sport-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-dark);
    padding: 3px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.sidebar-sport-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 7px;
    padding: 6px 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sidebar-sport-tab-btn:hover {
    color: var(--text-main);
}

.sidebar-sport-tab-btn.active {
    background: var(--bg-card);
    color: var(--text-main);
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border);
}

.sidebar-sport-tab-btn.active.sport-badminton {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(2, 132, 199, 0.1);
}

[data-theme="light"] .sidebar-sport-tab-btn.active.sport-badminton {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.3);
}

.sidebar-sport-tab-btn.active.sport-pickleball {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(16, 185, 129, 0.1);
}

[data-theme="light"] .sidebar-sport-tab-btn.active.sport-pickleball {
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Hero Multi-Sport Dual Showcase Cards */
.hero-sport-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 28px 0 32px 0;
}

.sport-hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sport-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: opacity 0.3s ease;
}

.sport-hub-card--badminton::before {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.sport-hub-card--pickleball::before {
    background: linear-gradient(90deg, #10b981, #f59e0b);
}

.sport-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.sport-hub-card--badminton:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.15);
}

.sport-hub-card--pickleball:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.sport-hub-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sport-hub-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sport-hub-card--badminton .sport-hub-icon-wrap {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

[data-theme="dark"] .sport-hub-card--badminton .sport-hub-icon-wrap {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
}

.sport-hub-card--pickleball .sport-hub-icon-wrap {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .sport-hub-card--pickleball .sport-hub-icon-wrap {
    color: #34d399;
    background: rgba(16, 185, 129, 0.18);
}

.sport-hub-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.sport-hub-badge--bwf {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

[data-theme="dark"] .sport-hub-badge--bwf {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}

.sport-hub-badge--dupr {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .sport-hub-badge--dupr {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.3);
}

.sport-hub-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sport-hub-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.sport-hub-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}

.sport-hub-features li {
    font-size: 12.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sport-hub-card--badminton .sport-hub-features li i {
    color: #0284c7;
    font-size: 11px;
}

[data-theme="dark"] .sport-hub-card--badminton .sport-hub-features li i {
    color: #38bdf8;
}

.sport-hub-card--pickleball .sport-hub-features li i {
    color: #10b981;
    font-size: 11px;
}

[data-theme="dark"] .sport-hub-card--pickleball .sport-hub-features li i {
    color: #34d399;
}

.sport-hub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.sport-hub-stat {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.sport-hub-stat strong {
    color: var(--text-main);
    font-weight: 800;
}

.sport-hub-btn {
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease;
}

.sport-hub-card--badminton .sport-hub-btn {
    color: #0284c7;
}

[data-theme="dark"] .sport-hub-card--badminton .sport-hub-btn {
    color: #38bdf8;
}

.sport-hub-card--pickleball .sport-hub-btn {
    color: #10b981;
}

[data-theme="dark"] .sport-hub-card--pickleball .sport-hub-btn {
    color: #34d399;
}

.sport-hub-btn:hover {
    transform: translateX(3px);
}

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