/* Premium Custom Stylesheet for Ngoại Hạng TV Landing Page - Blue Theme */

:root {
    --bg-primary: #080b0e;
    --bg-secondary: #0e131b;
    --bg-card: #131a24;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(37, 99, 235, 0.2);
    
    --accent-primary: #2563eb;
    --accent-primary-hover: #1d4ed8;
    --accent-primary-glow: rgba(37, 99, 235, 0.25);
    
    --accent-yellow: #ffd600;
    --accent-yellow-hover: #ffea00;
    
    --accent-blue: #00b0ff;
    --accent-blue-hover: #0091ea;

    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --text-dark: #5c6e88;
    
    --max-width: 1000px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basics */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding: 40px 0;
}

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

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #1c2633;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Brand Main Header */
.brand-logo-main {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
    text-align: center;
}

.main-logo-img {
    height: 70px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* Hero Section */
.hero-section {
    padding: 20px 0 40px;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* Quick Links Buttons */
.quick-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.quick-link-btn {
    background-color: #121822;
    border: 1px solid var(--border-accent);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: var(--transition);
}

.quick-link-btn:hover {
    background-color: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-primary);
}

/* Main Actions Grid (QUECHOATV & Telegram) */
.main-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 680px;
    margin: 0 auto 40px;
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.card-green {
    border-color: var(--border-accent);
}

.brand-inner-logo {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.telegram-icon-container {
    color: var(--accent-blue);
    margin-bottom: 14px;
}

.telegram-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.action-btn {
    display: inline-block;
    width: 220px;
    padding: 16px 0;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    font-size: 1.15rem;
}

.yellow-btn {
    background-color: var(--accent-yellow);
    color: #000;
}

.yellow-btn:hover {
    background-color: var(--accent-yellow-hover);
}

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

.blue-btn:hover {
    background-color: var(--accent-blue-hover);
}

/* Sponsor/Partner Grid (JBO, Fi88, JBO) */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.partner-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-3px);
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.logo-jbo {
    color: #fff;
}

.logo-fi88 {
    color: var(--accent-yellow);
}

.partner-bet-btn {
    background-color: var(--accent-primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    width: 100px;
    text-align: center;
}

.partner-bet-btn:hover {
    background-color: var(--accent-primary-hover);
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Sports Section */
.sports-section {
    padding: 40px 0;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.sport-card {
    height: 150px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.sport-card:hover {
    border-color: var(--accent-primary);
}

.sport-football {
    background: url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&q=80&w=300') no-repeat center/cover;
}
.sport-volleyball {
    background: url('https://images.unsplash.com/photo-1592656094267-764a450201e5?auto=format&fit=crop&q=80&w=300') no-repeat center/cover;
}
.sport-basketball {
    background: url('https://images.unsplash.com/photo-1546519638-68e109498ffc?auto=format&fit=crop&q=80&w=300') no-repeat center/cover;
}
.sport-billiards {
    background: url('https://images.unsplash.com/photo-1538333581680-913a340e42f9?auto=format&fit=crop&q=80&w=300') no-repeat center/cover;
}

.sport-overlay {
    position: absolute;
    inset: 0;
    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%);
}

.sport-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sport-content h3 {
    font-size: 1rem;
    font-weight: 700;
}

.sport-btn {
    background-color: var(--accent-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Commentators Section */
.commentators-section {
    padding: 40px 0;
    background-color: var(--bg-secondary);
}

.commentators-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.commentator-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
}

.avatar-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bg-green-glow {
    background: linear-gradient(135deg, var(--accent-primary), transparent);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.15);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-secondary);
    background-color: #1a232f;
}

/* Loading spinner */
.loading-spinner {
    color: var(--text-muted);
    text-align: center;
    width: 100%;
    padding: 20px 0;
    font-size: 0.9rem;
}

.commentator-card .name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
}

.commentator-card:hover .name {
    color: var(--accent-primary);
}

.commentator-card:hover .avatar-img {
    border-color: var(--accent-primary);
}

/* SEO Content & Sidebar Layout */
.content-section {
    padding: 50px 0;
}

.content-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
}

.seo-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.seo-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.seo-subtitle-h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 25px 0 10px;
    color: #fff;
    border-left: 3px solid var(--accent-primary);
    padding-left: 10px;
}

.seo-p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.seo-img-wrapper {
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.seo-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.seo-img-caption {
    background-color: rgba(255,255,255,0.01);
    padding: 8px;
    font-size: 0.8rem;
    color: var(--text-dark);
    text-align: center;
}

.seo-list, .seo-ordered-list {
    margin-bottom: 20px;
    padding-left: 20px;
}

.seo-list li, .seo-ordered-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.seo-list li {
    position: relative;
    padding-left: 10px;
}

.seo-list li::before {
    content: '•';
    color: var(--accent-primary);
    position: absolute;
    left: -10px;
}

.seo-ordered-list {
    list-style-type: decimal;
}

/* Sidebar */
.sidebar-aside {
    position: sticky;
    top: 30px;
    height: fit-content;
}

.sidebar-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    color: var(--accent-primary);
    border-bottom: 1px solid var(--border-color);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-btn-link {
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.3;
}

.sidebar-btn-link:hover, .sidebar-btn-link.active {
    background-color: rgba(37, 99, 235, 0.04);
    border-color: var(--accent-primary);
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .content-container {
        grid-template-columns: 1fr;
    }
    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .main-actions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .sports-grid {
        grid-template-columns: 1fr;
    }
    .commentators-grid {
        gap: 15px;
    }
}

/* FAQ Styling */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

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

.faq-question {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

/* Sponsors Section Styling */
.sponsors-section {
    padding: 40px 0;
}

.sponsors-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.sponsor-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.sponsor-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.highlight-sponsor {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-primary-glow);
}

.sponsor-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-popular {
    background-color: var(--accent-blue);
    color: #fff;
}

.badge-hot {
    background-color: #ff0055;
    color: #fff;
}

.badge-new {
    background-color: var(--accent-yellow);
    color: #000;
}

.sponsor-logo {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sponsor-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sponsor-logo-fallback {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-info {
    margin-top: 15px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.sponsor-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.sponsor-promo {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.sponsor-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}

.rating-stars {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

.rating-score {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.sponsor-btn-action {
    background-color: var(--accent-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 24px;
    border-radius: 6px;
    display: inline-block;
    width: 140px;
    transition: var(--transition);
}

.sponsor-btn-action:hover {
    background-color: var(--accent-primary-hover);
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .sponsors-list-grid {
        grid-template-columns: 1fr;
    }
}
