/* ==========================================
   CSS DESIGN SYSTEM - BÓNG ĐÁ PLUS PREMIUM
   ========================================== */

/* Variables & Tokens */
:root {
    --primary: #b30000;         /* Crimson Red */
    --primary-light: #e60000;
    --primary-dark: #800000;
    --secondary: #d4af37;       /* Gold Accent */
    --secondary-dark: #aa8c2c;
    
    --bg-dark: #121214;         /* Carbon Dark background */
    --bg-dark-card: #1e1e24;    /* Card Dark background */
    --bg-light: #f4f6f9;        /* Light page body background */
    --bg-light-card: #ffffff;   /* Card Light background */
    
    --text-light: #f5f6fa;
    --text-dark: #1e2022;
    --text-muted-dark: #8c96a3;
    --text-muted-light: #5f6670;
    
    --border-color-light: #e1e4eb;
    --border-color-dark: #2a2a32;
    
    --font-sans: 'Mulish', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Noto Serif', Georgia, serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 15px 35px rgba(179, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    cursor: pointer;
    font-family: var(--font-sans);
    border: none;
    background: none;
    outline: none;
    transition: var(--transition-smooth);
}

ul, ol {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card-premium {
    background-color: var(--bg-light-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color-light);
    overflow: hidden;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.card-premium:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.scrl-y {
    overflow-y: auto;
}

/* Custom Scrollbar */
.scrl-y::-webkit-scrollbar {
    width: 6px;
}
.scrl-y::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.scrl-y::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.scrl-y::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ==========================================
   1. TOP AD BANNER & CLOCK BAR
   ========================================== */
.top-banner-wrapper {
    background-color: #0b0b0d;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a20;
    text-align: center;
}

.top-banner {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary);
    display: inline-block;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% { opacity: 0.7; }
    50% { opacity: 1; text-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
    100% { opacity: 0.7; }
}

/* ==========================================
   2. HEADER & NAVIGATION
   ========================================== */
.main-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-bottom: 3px solid var(--primary);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-bold {
    color: var(--text-light);
}

.logo-accent {
    color: var(--primary-light);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 2px;
}

.logo-premium {
    font-size: 0.65rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fef1c9 0%, var(--secondary) 100%);
    color: #121214;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    letter-spacing: 1px;
}

.mobile-menu-btn {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
}

/* Navigation List */
.nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item {
    display: block;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #c8ced6;
    border-radius: var(--radius-sm);
}

.nav-item:hover, .nav-item.active {
    color: var(--text-light);
    background-color: var(--primary);
}

.mobile-menu-header {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 4px 6px 4px 16px;
    transition: var(--transition-smooth);
    width: 220px;
}

.search-box:focus-within {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary);
    width: 280px;
}

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

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

.search-btn {
    color: #7b8893;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box:focus-within .search-btn {
    color: var(--secondary);
}

.btn-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
}

.btn-auth:hover {
    background-color: var(--secondary);
    color: var(--bg-dark);
    border-color: var(--secondary);
}

/* ==========================================
   3. TRENDING BAR
   ========================================== */
.trending-bar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color-light);
    padding: 8px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.trending-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trending-label {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.trending-tags {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    margin: 0 15px;
    width: 100%;
}

.trending-tags::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.tag-link {
    color: var(--text-muted-light);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.tag-link:hover {
    color: var(--primary);
    background-color: rgba(179, 0, 0, 0.05);
}

.current-time {
    font-size: 0.8rem;
    color: var(--text-muted-light);
    font-weight: 600;
    white-space: nowrap;
}

/* ==========================================
   4. MAIN GRID LAYOUT
   ========================================== */
.main-content {
    padding: 30px 0;
}

.main-grid {
    display: grid;
    grid-template-columns: 7.2fr 3.8fr;
    gap: 30px;
}

/* ==========================================
   5. HERO BANNER SECTION
   ========================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-large {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-premium);
}

.hero-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-large:hover .hero-img-container img {
    transform: scale(1.05);
}

.hero-large::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
    color: var(--text-light);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.badge-primary {
    background-color: var(--primary);
    color: var(--text-light);
}

.badge-secondary {
    background-color: var(--secondary);
    color: var(--bg-dark);
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.hero-title a:hover {
    color: var(--secondary);
}

.hero-meta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #bcc3cd;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hero Side Grid */
.hero-side-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-side-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    box-shadow: var(--shadow-premium);
}

.hero-side-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.hero-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-side-card:hover img {
    transform: scale(1.06);
}

.hero-side-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    z-index: 2;
    color: var(--text-light);
}

.hero-side-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 6px;
}

.hero-side-title a:hover {
    color: var(--secondary);
}

/* ==========================================
   6. INTERACTIVE NEWS TABS & LIST
   ========================================== */
.news-tabs-container {
    margin-bottom: 40px;
}

.tabs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-color-light);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.tabs-buttons {
    display: flex;
    gap: 5px;
}

.tab-btn {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted-light);
    padding: 6px 14px;
    border-radius: 30px;
}

.tab-btn:hover {
    color: var(--primary);
    background-color: rgba(179, 0, 0, 0.04);
}

.tab-btn.active {
    color: var(--text-light);
    background-color: var(--primary);
}

/* News Cards Grid */
.news-grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.news-card-horizontal {
    display: grid;
    grid-template-columns: 3.5fr 8.5fr;
    gap: 20px;
    background-color: var(--bg-light-card);
    border-radius: var(--radius-md);
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color-light);
    transition: var(--transition-smooth);
}

.news-card-horizontal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: rgba(179, 0, 0, 0.15);
}

.card-img-container {
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 120px;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-category {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text-dark);
}

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

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.card-meta {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================
   7. EDITORIAL SECTION (Góc nhìn)
   ========================================== */
.editorial-section {
    margin-bottom: 30px;
    background: linear-gradient(135deg, #18191d 0%, #0e0e10 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    color: var(--text-light);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.3);
}

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

.editorial-section .section-title {
    color: var(--text-light);
    border-left-color: var(--secondary);
}

.see-all-link {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary);
}

.see-all-link:hover {
    color: var(--text-light);
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.editorial-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.editorial-card:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--secondary);
    transform: translateY(-4px);
}

.editor-quote {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 1.5;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 20px;
    position: relative;
}

.editor-quote::before {
    content: '“';
    font-size: 4rem;
    position: absolute;
    top: -25px;
    left: -15px;
    opacity: 0.1;
    color: var(--secondary);
}

.editor-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
}

.editor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

.editor-info {
    display: flex;
    flex-direction: column;
}

.editor-name {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-light);
}

.editor-title {
    font-size: 0.75rem;
    color: var(--text-muted-dark);
}

/* ==========================================
   8. SIDEBAR - MATCH SCORE WIDGET
   ========================================== */
.score-widget {
    background-color: var(--bg-dark-card);
    border-color: var(--border-color-dark);
}

.score-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #121214;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color-dark);
}

.widget-tabs {
    display: flex;
    gap: 5px;
}

.widget-tab-btn {
    color: var(--text-muted-dark);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 30px;
}

.widget-tab-btn:hover {
    color: var(--text-light);
}

.widget-tab-btn.active {
    color: var(--bg-dark);
    background-color: var(--secondary);
}

.download-app-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted-dark);
    display: flex;
    align-items: center;
    gap: 5px;
}

.download-app-link:hover {
    color: var(--secondary);
}

/* League Filters */
.league-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 16px;
    background-color: #1a1a20;
    border-bottom: 1px solid var(--border-color-dark);
    scrollbar-width: none;
}

.league-filters::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: #272730;
    color: var(--text-muted-dark);
    white-space: nowrap;
}

.filter-chip.active, .filter-chip:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

/* Widget Content Area */
.widget-content {
    min-height: 250px;
    max-height: 480px;
    overflow-y: auto;
    background-color: #16161b;
}

.matches-list-container, .standings-container {
    display: none;
}

.matches-list-container.active, .standings-container.active {
    display: block;
}

/* Matches Table Styling */
.score-table {
    width: 100%;
    border-collapse: collapse;
}

.match-row {
    border-bottom: 1px solid #202028;
    transition: var(--transition-smooth);
}

.match-row:hover {
    background-color: #202028;
}

.match-cell {
    padding: 12px 10px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.match-time {
    width: 75px;
    font-weight: 700;
    text-align: center;
    color: var(--text-muted-dark);
}

.match-time.live {
    color: #ff3333;
    animation: flashLive 1.5s infinite;
}

@keyframes flashLive {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.match-live-badge {
    background-color: #ff3333;
    color: #ffffff;
    font-size: 0.6rem;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 900;
    display: block;
    margin: 4px auto 0;
    width: fit-content;
}

.match-team-name {
    width: 35%;
    font-weight: 700;
}

.team-right {
    text-align: right;
}

.team-left {
    text-align: left;
}

.match-vs-score {
    width: 50px;
    text-align: center;
    font-weight: 900;
    background-color: #1a1a20;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--secondary);
    padding: 4px 0;
}

.match-vs-score.finished {
    color: #bcc3cd;
}

/* Standings Table Styling */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    color: var(--text-light);
}

.standings-table th {
    background-color: #1a1a20;
    color: var(--text-muted-dark);
    font-weight: 800;
    text-align: center;
    padding: 10px 6px;
    border-bottom: 1px solid var(--border-color-dark);
}

.standings-table td {
    padding: 12px 6px;
    border-bottom: 1px solid #202028;
    text-align: center;
}

.standings-table tr:hover {
    background-color: #202028;
}

.standings-table .col-rank {
    width: 40px;
    font-weight: 800;
    color: var(--secondary);
}

.standings-table .col-team {
    text-align: left;
    font-weight: 700;
    padding-left: 12px;
}

.standings-table .col-stats {
    width: 45px;
}

.standings-table .col-points {
    width: 55px;
    font-weight: 900;
    color: var(--secondary);
}

.widget-footer {
    padding: 12px 16px;
    background-color: #121214;
    border-top: 1px solid var(--border-color-dark);
    text-align: center;
}

.view-all-widget-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
}

.view-all-widget-link:hover {
    color: var(--text-light);
}

/* ==========================================
   9. SIDEBAR - MOST POPULAR WIDGET
   ========================================== */
.popular-widget {
    border-radius: var(--radius-md);
}

.popular-header {
    display: flex;
    border-bottom: 1px solid var(--border-color-light);
}

.pop-tab-btn {
    flex: 1;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-muted-light);
    padding: 14px 0;
    text-align: center;
    border-bottom: 3px solid transparent;
}

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

.pop-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.popular-content {
    padding: 16px;
}

.popular-list {
    counter-reset: pop-counter;
}

.popular-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color-light);
    position: relative;
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-item::before {
    counter-increment: pop-counter;
    content: counter(pop-counter);
    font-size: 1.8rem;
    font-weight: 900;
    color: #e2e8f0;
    width: 30px;
    line-height: 1;
    display: block;
    transition: var(--transition-smooth);
}

.popular-item:hover::before {
    color: var(--primary);
}

.popular-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.popular-title a:hover {
    color: var(--primary);
}

/* ==========================================
   10. SIDEBAR - AD CARD
   ========================================== */
.sidebar-ad-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #290000 100%);
    border-radius: var(--radius-md);
    padding: 24px;
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-premium);
}

.sidebar-ad-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
}

.ad-label {
    display: inline-block;
    background-color: var(--secondary);
    color: #121214;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.ad-title {
    font-size: 1.1rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.ad-desc {
    font-size: 0.85rem;
    color: #bcc3cd;
    margin-bottom: 20px;
}

.ad-button {
    background-color: var(--text-light);
    color: #121214;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

/* ==========================================
   11. SIDEBAR - CELEBRITY CAROUSEL (Hậu trường)
   ========================================== */
.backstage-widget {
    background-color: var(--bg-light-card);
}

.backstage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color-light);
}

.widget-title {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
}

.slider-controls {
    display: flex;
    gap: 5px;
}

.slider-control-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-muted-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.slider-control-btn:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide-item {
    min-width: 100%;
    padding: 16px;
}

.backstage-card {
    display: flex;
    flex-direction: column;
}

.backstage-img-container {
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 180px;
    margin-bottom: 12px;
}

.backstage-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.backstage-card:hover .backstage-img-container img {
    transform: scale(1.04);
}

.backstage-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.4;
}

.backstage-title a:hover {
    color: var(--primary);
}

/* ==========================================
   12. FOOTER DESIGN
   ========================================== */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 50px 0;
    border-top: 6px solid var(--primary);
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 4fr 5fr 3fr;
    gap: 40px;
}

.footer-logo {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-info .license {
    color: var(--text-muted-dark);
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-info .copyright {
    color: #64748b;
    font-size: 0.75rem;
}

.footer-editorial {
    border-left: 1px solid rgba(255,255,255,0.06);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 0 40px;
}

.footer-editorial p {
    margin-bottom: 12px;
    color: #cbd5e1;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-light);
    font-size: 1rem;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #121214;
}

.social-icon.fb:hover { background-color: #1877f2; }
.social-icon.yt:hover { background-color: #ff0000; }
.social-icon.pin:hover { background-color: #e60023; }
.social-icon.vff:hover { background-color: var(--secondary); }

/* ==========================================
   13. GLASSMORPHISM MODAL DIALOGS
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: 100%;
    max-width: 440px;
    background: rgba(30, 30, 36, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    position: relative;
    padding: 30px;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.06);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

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

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab-btn {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-muted-dark);
    border-bottom: 2px solid transparent;
}

.auth-tab-btn.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* Auth Form */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-muted-dark);
}

.form-group input {
    width: 100%;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-light);
    font-family: var(--font-sans);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    border-color: var(--secondary);
    background-color: rgba(255,255,255,0.08);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--text-muted-dark);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.forgot-pwd {
    color: var(--secondary);
}

.forgot-pwd:hover {
    text-decoration: underline;
}

.form-group-checkbox {
    margin-bottom: 24px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted-dark);
}

.form-group-checkbox input {
    margin-right: 6px;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(179,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179,0,0,0.4);
}

/* ==========================================
   14. ARTICLE DETAIL OVERLAY MODAL
   ========================================== */
.article-modal-card {
    width: 100%;
    max-width: 800px;
    background-color: var(--bg-light-card);
    color: var(--text-dark);
    position: relative;
    padding: 0;
    transform: translateY(25px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-modal-card .modal-close {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    z-index: 10;
}

.article-modal-card .modal-close:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.article-modal-content {
    height: 100%;
    padding: 40px;
}

/* Article detail elements */
.article-detail-category {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.article-detail-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.article-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted-light);
    font-weight: 600;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color-light);
    padding-bottom: 15px;
}

.article-detail-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.article-detail-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2d3748;
    margin-bottom: 40px;
}

.article-detail-body p {
    margin-bottom: 20px;
}

.article-detail-body strong {
    color: var(--text-dark);
}

/* Comment section */
.comments-section {
    border-top: 2px solid var(--border-color-light);
    padding-top: 30px;
}

.comments-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.comment-form {
    margin-bottom: 30px;
}

.comment-input-wrapper {
    position: relative;
}

.comment-textarea {
    width: 100%;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    resize: none;
    min-height: 100px;
    transition: var(--transition-smooth);
    margin-bottom: 15px;
    background-color: #fafbfc;
}

.comment-textarea:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(179,0,0,0.04);
}

.comment-submit-btn {
    background-color: var(--primary);
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 30px;
}

.comment-submit-btn:hover {
    background-color: var(--primary-light);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid var(--border-color-light);
    padding-bottom: 20px;
}

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

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #4a5568;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.comment-content-box {
    display: flex;
    flex-direction: column;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.comment-author-name {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.comment-time {
    font-size: 0.75rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

.comment-text {
    font-size: 0.9rem;
    color: #2d3748;
    line-height: 1.5;
}

/* ==========================================
   15. RESPONSIVE MEDIA QUERIES
   ========================================== */

/* Tablet view (max-width: 992px) */
@media screen and (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-large {
        height: 380px;
    }
    
    .hero-side-grid {
        flex-direction: row;
    }
    
    .hero-side-card {
        flex: 1;
        height: 180px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-editorial {
        border-right: none;
        padding-right: 0;
    }
    
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile view (max-width: 768px) */
@media screen and (max-width: 768px) {
    .hide-m {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Mobile slide menu */
    .main-nav {
        position: fixed;
        top: 0;
        left: -300px;
        bottom: 0;
        width: 280px;
        background-color: var(--bg-dark);
        z-index: 1001;
        box-shadow: 5px 0 25px rgba(0,0,0,0.3);
        transition: left 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        padding: 20px;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--border-color-dark);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    
    .close-menu-btn {
        color: var(--text-light);
        font-size: 1.5rem;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .nav-item {
        padding: 12px 20px;
        font-size: 1.05rem;
    }
    
    .trending-container {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .trending-tags {
        margin: 0;
        padding-bottom: 5px;
    }
    
    .current-time {
        align-self: flex-end;
    }
    
    .hero-side-grid {
        flex-direction: column;
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-editorial {
        border-left: none;
        padding-left: 0;
    }
    
    .article-modal-content {
        padding: 20px;
    }
    
    .article-detail-title {
        font-size: 1.5rem;
    }
    
    .article-detail-img {
        height: 220px;
    }
}
