/* =========================================
   1. KHAI BÁO BIẾN MÀU SẮC (COLOR SYSTEM)
========================================= */
:root {
    /* Primary Colors (Màu chủ đạo) */
    --primary-bg: #0F0F0F;       /* Đen Vực Thẳm - Nền chính */
    --primary-dark: #1A1A1A;     /* Đen Nhạt - Nền menu */
    --primary-gold: #D4AF37;     /* Vàng Vinh Quang - Text nhấn, viền, icon */
    
    /* Accent Colors (Màu điểm nhấn đối kháng) */
    --accent-red: #C41E3A;       /* Đỏ Nhiệt Huyết */
    --accent-blue: #0047AB;      /* Xanh Trí Tuệ */
    
    /* Neutral Colors (Màu trung tính) */
    --text-light: #FFFFFF;
    --text-muted: #CCCCCC;

    /* HỆ THỐNG PHÔNG CHỮ (TYPOGRAPHY SYSTEM) */
    --font-headline: 'Anton', sans-serif;
    --font-subhead: 'Anton', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* =========================================
   2. RESET CSS & TYPOGRAPHY
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body); /* Đã đổi thành biến CSS */
}

body {
    background-color: var(--primary-bg);
    color: var(--text-light);
    overflow-x: hidden; /* Tránh thanh cuộn ngang rác giao diện */
}

/* =========================================
   3. THANH ĐIỀU HƯỚNG (NAVBAR)
========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(15, 15, 15, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-gold);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
}

/* Trạng thái 1: Lướt xuống -> Kéo thanh menu lên trên để ẩn đi */
.navbar.navbar--hidden {
    transform: translateY(-100%);
}

/* Trạng thái 2: Lướt ngược lên -> Hiện lại với nền trong suốt + hiệu ứng kính mờ (Glassmorphism) */
.navbar.navbar--transparent {
    background-color: rgba(15, 15, 15, 0.6); /* Giảm độ đặc xuống 60% */
    backdrop-filter: blur(12px); /* Làm mờ nội dung phía sau dải menu */
    -webkit-backdrop-filter: blur(12px); /* Hỗ trợ trình duyệt Safari */
    transform: translateY(0); /* Trả về vị trí ban đầu */
}

/* Trạng thái 3: Về lại điểm đầu trang -> Đặc lại như cũ */
.navbar.navbar--solid {
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translateY(0);
}

.logo a {
    display: flex; /* Căn giữa logo dọc/ngang nếu cần */
    align-items: center;
    text-decoration: none; /* Bỏ gạch chân thẻ <a> mặc định */
}

.logo img {
    /* LỆNH QUAN TRỌNG: Thiết lập chiều cao tối đa */
    /* Chiều cao Navbar chúng ta đang có là khoảng 80-90px (padding+content), 
       set max-height khoảng 50-60px là vừa đẹp, giữ lại khoảng trống padding */
    max-height: 55px; 
    
    width: auto; /* Chiều rộng tự động co giãn theo tỷ lệ ảnh */
    display: block; /* Tránh các khoảng trắng rác của thẻ img */
    transition: transform 0.3s ease; /* Hiệu ứng nhẹ khi hover */
}

/* Hiệu ứng hover cho logo (Tùy chọn) */
.logo img:hover {
    transform: scale(1.05); /* Phóng to nhẹ logo khi rê chuột vào */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-family: var(--font-body); /* Áp dụng Anton */
    letter-spacing: 1.5px;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

/* --- MENU CẤP 1 --- */
.dropdown-menu {
    display: block; 
    visibility: hidden; /* Ẩn menu nhưng giữ nguyên cấu trúc */
    opacity: 0;         /* Độ trong suốt = 0 (tàng hình) */
    transform: translateY(15px); /* Đẩy menu xuống 15px để tạo đà trượt */
    transition: visibility 0.3s, opacity 0.3s ease, transform 0.3s ease; /* Thời gian chuyển động mượt mà 0.3 giây */

    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-dark);
    list-style: none;
    min-width: 250px; 
    border-top: 3px solid var(--primary-gold);
    padding: 10px 0;
    font-family: var(--font-body) !important; /* Áp dụng Anton */
    letter-spacing: 1.5px;
}

.dropdown-menu a {
    padding: 10px 20px;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    white-space: nowrap; 
    text-transform: none; 
    font-family: var(--font-body) !important; /* Áp dụng Anton */
    letter-spacing: 1.5px;
}

.dropdown-menu a .arrow {
    font-size: 18px; 
    transition: transform 0.3s ease; 
}

.sub-dropdown:hover > a .arrow {
    transform: rotate(90deg);
}

.dropdown:hover .dropdown-menu {
    /* XÓA display: block; THAY BẰNG: */
    visibility: visible;
    opacity: 1;           /* Rõ dần lên 100% */
    transform: translateY(0); /* Trượt ngược về vị trí gốc */
}

.dropdown-menu a:hover {
    background-color: #333333;
}
/* =========================================
   FIX RESPONSIVE: ĐIỀU HƯỚNG DỰ PHÒNG MOBILE
========================================= */
/* Ẩn mục này trên Desktop (Màn hình lớn hơn 992px) */
@media screen and (min-width: 993px) {
    .mobile-only {
        display: none !important;
    }
}

/* Trên Mobile (dưới 992px), nó sẽ tự động hiện ra nhờ kế thừa thuộc tính block của CSS di động mà chúng ta đã làm trước đó. */
/* Tùy chọn: Làm nổi bật chữ Tổng quan lên một chút để người dùng dễ chú ý */
@media screen and (max-width: 992px) {
    .mobile-only a {
        color: var(--primary-gold) !important;
        font-weight: 700 !important;
        border-bottom: 1px dashed #333 !important; /* Tạo vạch ngăn cách nhẹ với các mục con bên dưới */
    }
}
/* --- MENU CẤP 2 (NESTED DROPDOWN) --- */
.dropdown-menu li {
    position: relative; 
    margin: 0;
}

.sub-dropdown-menu {
    display: block; 
    visibility: hidden;
    opacity: 0;
    transform: translateX(15px); /* Đẩy sang phải 15px để tạo đà trượt ngang */
    transition: visibility 0.3s, opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 0;
    left: auto;  
    right: 100%; 
    background-color: var(--primary-dark);
    list-style: none;
    min-width: 180px;
    border-left: none; 
    border-right: 2px solid var(--primary-gold);
    padding: 10px 0;
    box-shadow: -5px 2px 10px rgba(0, 0, 0, 0.5); 
    font-family: var(--font-body) ; /* Áp dụng Anton */
    letter-spacing: 1.5px;
}

.sub-dropdown-menu a {
    padding: 10px 20px;
    display: block;
    text-transform: none; 
    font-size: 13px; 
}

.sub-dropdown-menu a:hover {
    background-color: #333333;
    color: var(--primary-gold);
}

.sub-dropdown:hover .sub-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0); /* Trượt ngang về vị trí gốc */
}

/* =========================================
   4. KÝ HIỆU MENU ĐIỆN THOẠI (BURGER)
========================================= */
/* Mặc định ẩn nút Burger trên giao diện Máy tính */
.burger {
    display: none;
    cursor: pointer;
    position: relative; /* Bắt buộc để z-index hoạt động */
    z-index: 10000 !important; /* Luôn nằm trên cùng, cao hơn menu nền đen */
}

/* Thiết kế 3 vạch ngang cho nút Burger */
.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-gold); 
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hiệu ứng biến hình dấu X khi mở Menu */
.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }


/* =========================================
   FULL RESPONSIVE MENU (MOBILE) - FINAL UPDATE
========================================= */
@media screen and (max-width: 992px) {
    
    /* 1. HIỆN NÚT BURGER */
    .burger {
        display: block;
    }

    /* 2. KHUNG MENU CHÍNH (Nền đen đặc, trượt ngang) */
    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 100%; 
        background-color: #0a0a0a !important; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; 
        padding-top: 100px;
        transform: translateX(100%); /* Giấu menu sang phải */
        transition: transform 0.4s ease-in-out;
        z-index: 999;
        overflow-y: auto; /* Cho phép cuộn nếu quá dài */
    }

    /* Kích hoạt trượt ra */
    .nav-links.nav-active {
        transform: translateX(0);
    }

    /* Định dạng lại khoảng cách các mục lớn */
    .nav-links li {
        margin: 10px 0 !important;
        width: 100%;
        height: auto !important; 
        overflow: visible !important;
        text-align: center;
    }

    /* 3. MENU CẤP 2 (THÔNG TIN, ĐĂNG KÝ) */
    .dropdown-menu {
        display: none !important; 
        visibility: visible !important; 
        opacity: 1 !important;
        position: static !important; /* LỆNH CHỐT HẠ: Ép menu đẩy nội dung bên dưới xuống, không lơ lửng đè lên nhau */
        width: 100% !important;
        background-color: #151515 !important; 
        box-shadow: none !important;
        padding: 10px 0 !important;
        margin-top: 10px !important;
        border-top: none !important; /* Xóa viền vàng của máy tính */
        border-radius: 8px; 
        transform: none !important; 
    }

    /* JS gọi class này để mở menu cấp 2 */
    .dropdown.active-mobile > .dropdown-menu {
        display: block !important;
        animation: fadeInDown 0.3s ease;
    }

    /* Chữ bên trong Menu Cấp 2 */
    .dropdown-menu a {
        display: block !important; /* Hủy lệnh Flexbox đẩy chữ sang 2 bên của máy tính */
        text-align: center !important; 
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        color: #ccc !important; 
        justify-content: center !important; 
        border-bottom: 1px dashed #333 !important;
    }

    /* 4. MENU CẤP 3 (ĐĂNG KÝ XEM GIẢI ĐẤU) */
    .sub-dropdown-menu {
        display: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important; /* LỆNH CHỐT HẠ */
        width: auto !important;
        background-color: #1a1a1a !important; /* Nền tối hơn 1 chút phân biệt cấp bậc */
        margin: 5px 20px 10px !important; /* Thụt lề 20px ở 2 bên để thụt vào trong */
        padding: 5px 0 !important;
        border: 1px solid #333 !important; 
        border-radius: 8px;
        transform: none !important;
    }

    /* JS gọi class này để mở menu cấp 3 */
    .sub-dropdown.active-mobile-sub > .sub-dropdown-menu {
        display: block !important;
        animation: fadeInDown 0.3s ease;
    }

    /* Chữ bên trong Menu Cấp 3 */
    .sub-dropdown-menu a {
        display: block !important;
        text-align: center !important;
        font-size: 0.85rem !important;
        color: #999 !important;
        padding: 10px !important;
        border-bottom: 1px dashed #333 !important;
    }

    /* 5. TIỂU TIẾT: Hiệu ứng mũi tên */
    .nav-links a .arrow {
        display: inline-block;
        transition: transform 0.3s;
    }

    /* Hiệu ứng hoạt ảnh rơi nhẹ xuống */
    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
/* =========================================
   9. FOOTER (CHÂN TRANG)
========================================= */
.site-footer {
    background-color: #050505; /* Màu đen sâu hơn nền trang một chút để phân tách */
    border-top: 3px solid var(--primary-gold);
    color: var(--text-muted);
    padding: 60px 50px 20px;
    font-family: var(--font-body);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Chia làm 4 cột trên Desktop */
    grid-template-columns: 2fr 1fr 1.5fr 1fr; 
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: var(--font-subhead);
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Cột 1: Brand */
.footer-logo {
    max-height: 60px;
    margin-bottom: 15px;
}

.brand-col p { line-height: 1.6; font-size: 0.95rem; }

/* Cột 2: Links */
.link-col ul { list-style: none; }
.link-col li { margin-bottom: 12px; }
.link-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.link-col a:hover {
    color: var(--primary-gold);
    padding-left: 8px; /* Hiệu ứng đẩy chữ nhẹ sang phải khi hover */
}

/* Cột 3: Contact */
.contact-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-col i { color: var(--primary-gold); } /* Icon màu vàng */

/* Cột 4: Social Links */
.social-links {
    display: flex;
    gap: 15px;
}
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-dark);
    color: var(--text-light);
    border-radius: 50%; /* Bo tròn thành hình tròn */
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

/* Hiệu ứng màu thương hiệu thật khi hover vào icon mạng xã hội */
.social-icon.facebook:hover { background-color: #1877F2; border-color: #1877F2; transform: translateY(-5px); }
.social-icon.youtube:hover { background-color: #FF0000; border-color: #FF0000; transform: translateY(-5px); }
.social-icon.tiktok:hover { background-color: #000000; border-color: #25F4EE; color: #25F4EE; transform: translateY(-5px); }

/* Bản quyền (Bottom) */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 0.85rem;
}

/* RESPONSIVE CHO FOOTER & SPONSORS */
@media screen and (max-width: 992px) {
    .footer-container { grid-template-columns: 1fr 1fr; } /* Tablet: 2 cột */
}
@media screen and (max-width: 576px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; } /* Mobile: 1 cột */
    .contact-col p { justify-content: center; }
    .social-links { justify-content: center; }
}


/* =========================================
   5. KHU VỰC HERO SECTION
========================================= */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Dùng màu chủ đạo làm gradient nền để tôn lên text */
    background: radial-gradient(circle at center, var(--primary-dark) 0%, var(--primary-bg) 100%);
    text-align: center;
    padding: 0 50px;
}

.glory-title {
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-gold); 
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* --- NÚT KÊU GỌI HÀNH ĐỘNG (ỨNG DỤNG MÀU ĐỎ NHẤN) --- */
.cta-button {
    padding: 15px 40px;
    background-color: var(--primary-gold);
    color: var(--primary-bg);
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: var(--font-subhead); /* Áp dụng Anton */
    letter-spacing: 1.5px;
}

.cta-button:hover {
    /* Đổi sang màu Đỏ khi hover để tạo cảm giác máu lửa, giục giã đăng ký */
    background-color: var(--accent-red);
    color: var(--text-light);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.8); 
}

/* =========================================
   6. CONCEPT SECTION (ỨNG DỤNG MÀU ĐỐI KHÁNG ĐỎ - XANH)
========================================= */
.concept-section {
    padding: 100px 50px;
    background-color: var(--primary-bg);
    border-top: 1px solid #333; 
}

.concept-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px; 
}

.concept-text {
    flex: 1; 
}

.concept-text h2 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-subhead); /* Áp dụng Anton */
    letter-spacing: 1.5px;
}

.concept-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: justify;
}

.concept-image {
    flex: 1; 
    position: relative;
}

.concept-image img {
    width: 100%;
    height: auto;
    border-radius: 8px; 
    /* Thay viền vàng đơn điệu bằng viền gradient Đỏ - Xanh đại diện cho 2 phe */
    border: 3px solid transparent;
    background-image: linear-gradient(var(--primary-bg), var(--primary-bg)), 
                      linear-gradient(45deg, var(--accent-red), var(--accent-blue));
    background-origin: border-box;
    background-clip: content-box, border-box;
    
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.concept-image img:hover {
    transform: scale(1.02); 
    /* Ánh sáng tỏa ra hỗn hợp màu đối kháng khi rê chuột vào */
    box-shadow: -10px 10px 30px rgba(196, 30, 58, 0.3), 10px -10px 30px rgba(0, 71, 171, 0.3);
}
/* =========================================
   FIX RESPONSIVE: CONCEPT SECTION (MOBILE)
========================================= */
@media screen and (max-width: 768px) {
    /* 1. Thu nhỏ lề 2 bên của cả khu vực để lấy thêm không gian cho chữ */
    .concept-section {
        padding: 50px 20px; /* Máy tính là 50px, điện thoại chỉ nên để 20px */
    }

    /* 2. Bẻ khóa bố cục: Chuyển từ ngang (Row) sang dọc (Column) */
    .concept-content {
        flex-direction: column; /* Lệnh quan trọng nhất: Ép rớt dòng */
        gap: 30px; /* Thu hẹp khoảng cách giữa chữ và hình */
        text-align: center; /* Căn giữa toàn bộ cụm này */
    }

    /* 3. Phá bỏ chia đôi 50/50, ép chiếm 100% chiều rộng màn hình */
    .concept-text, 
    .concept-image {
        flex: none; /* Tắt lệnh chia cột của máy tính */
        width: 100%; 
    }

    /* 4. Tinh chỉnh lại Tiêu đề cho vừa vặn với màn hình nhỏ */
    .concept-text h2 {
        font-size: 2rem; /* Chữ to quá rớt dòng xấu, thu lại 1 chút */
        text-align: center; /* Tiêu đề nằm giữa màn hình */
    }

    /* 5. Đoạn văn bản dàn trải đều, dễ đọc */
    .concept-text p {
        text-align: justify;
        font-size: 1rem; /* Thu nhỏ chữ 1 xíu để không bị ngợp */
    }
}
/* =========================================
   SECTION ĐỐI TÁC (SPONSORS)
========================================= */
.sponsors-section-home {
    padding: 80px 50px;
    background-color: var(--primary-bg); /* Nền đen */
    text-align: center;
    border-top: 1px solid #333;
}

.section-title {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.sponsors-grid-home {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.sponsor-tier-home {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.sponsor-logo-home {
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; 
    border-radius: 8px;
    /* Hiệu ứng: Chuyển toàn bộ logo màu thành xám bạc/trắng đen để đồng bộ giao diện */
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Khi rê chuột vào: Khôi phục lại màu sắc gốc của brand và phát sáng nhẹ */
.sponsor-logo-home:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* --- Phân cấp kích thước logo theo độ lớn Gói tài trợ (Visual Hierarchy) --- */
.diamond-tier-home .sponsor-logo-home { 
    max-height: 200px; /* To nhất, nổi bật nhất */
}
.gold-tier-home .sponsor-logo-home { 
    max-height: 175px;  
}
.silver-tier-home .sponsor-logo-home { 
    max-height: 125px;  
}
.companion-tier-home .sponsor-logo-home { 
    max-height: 100px;  /* Nhỏ nhất, tiết kiệm không gian */
}

/* Tinh chỉnh khoảng cách giữa các hàng tài trợ để tạo sự thoáng đãng (White space) */
.sponsors-grid-home {
    display: flex;
    flex-direction: column;
    gap: 45px; /* Tăng khoảng cách giữa các cấp bậc tài trợ */
    align-items: center;
}
/* =========================================
   FIX RESPONSIVE: PHÂN CẤP LOGO NHÀ TÀI TRỢ (KIM TỰ THÁP)
========================================= */
@media screen and (max-width: 768px) {
    /* 1. Giải phóng không gian lề cho section */
    .sponsors-section-home {
        padding: 50px 15px !important;
    }

    /* 2. Thu hẹp khoảng cách giữa các hàng và các logo */
    .sponsors-grid-home {
        gap: 30px !important;
    }
    .sponsor-tier-home {
        gap: 15px !important; 
    }

    /* 3. LỆNH CHỐT HẠ: Thiết lập lại thang tỷ lệ Kim tự tháp cho Mobile */
    /* Hạ đồng loạt chiều cao tối đa xuống để logo không đụng viền ngang màn hình */
    .diamond-tier-home .sponsor-logo-home { 
        max-height: 95px !important; /* Thu từ 200px xuống 90px */
    }
    
    .gold-tier-home .sponsor-logo-home { 
        max-height: 85px !important; /* Thu từ 175px xuống 70px */
    }
    
    .silver-tier-home .sponsor-logo-home { 
        max-height: 75px !important; /* Thu từ 125px xuống 50px */
    }
    
    .companion-tier-home .sponsor-logo-home { 
        max-height: 60px !important; /* Thu từ 100px xuống 35px */
    }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-heading .section-title {
    padding-top: 100px;
    font-family: var(--font-headline);
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 10px; /* Đẩy chữ nhỏ xuống một chút */
    letter-spacing: 2px;
}

.section-subtitle {
    color: #999;
    font-size: 1.1rem;
    max-width: 700px;
    /* Đã sửa dòng này: Đổi -30px thành 15px (Top) | auto (Left/Right) | 50px (Bottom) */
    margin: 15px auto 50px; 
    line-height: 1.6;
}
/* =========================================
   FIX RESPONSIVE: ÉP TIÊU ĐỀ NẰM TRÊN 1 DÒNG
========================================= */
@media screen and (max-width: 768px) {
    .section-title,
    .concept-text h2 {
        /* 1. Lệnh cấm tuyệt đối việc rớt dòng */
        white-space: nowrap !important; 
        
        /* 2. Thu nhỏ font chữ tự động theo chiều rộng màn hình (Fluid Typography) */
        /* Cỡ chữ sẽ giao động linh hoạt từ 1.2rem (nhỏ nhất) đến 2rem (lớn nhất) */
        font-size: clamp(2rem, 5.5vw, 3rem) !important; 
        
        /* 3. Ép nhẹ khoảng cách giữa các chữ cái lại để tiết kiệm diện tích */
        letter-spacing: 1px !important; 
        
        /* 4. Căn giữa và bảo vệ viền */
        text-align: center !important;
        width: 100%;
        overflow: hidden; /* Giấu đi phần dư thừa nếu màn hình quá bé (như iPhone 5) */
        text-overflow: ellipsis; /* Thêm dấu ... nếu chữ quá dài */
    }
}
/* =========================================
   TRANG BẢNG GIÁ VÉ (PRICING TABLES)
========================================= */
.pricing-section {
    padding: 60px 20px 100px;
}

/* --- NÚT GẠT (TOGGLE SWITCH) --- */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.toggle-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #888;
    transition: color 0.3s ease;
}

.toggle-text.active {
    color: var(--primary-gold);
}

.badge-save {
    background-color: var(--accent-red);
    color: #FFF;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 5px;
    vertical-align: middle;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary-gold);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }
/* =========================================
   FIX RESPONSIVE: NÚT GẠT BẢNG GIÁ VÉ (MOBILE)
========================================= */
@media screen and (max-width: 576px) {
    /* 1. Thu hẹp khoảng cách giữa các thành phần */
    .pricing-toggle-container {
        gap: 10px; 
    }

    /* 2. Ép chữ không được rớt dòng bậy bạ */
    .toggle-text {
        font-size: 0.9rem; /* Thu nhỏ chữ 1 chút cho vừa màn hình */
        white-space: nowrap; /* LỆNH CHỐT HẠ: Cấm bẻ chữ "Lẻ 1 Ngày" thành 2 dòng */
        
        /* Chuyển nội dung bên trong (chữ Combo và nhãn) xếp chồng lên nhau */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    /* 3. Tinh chỉnh lại cái nhãn "Tiết kiệm 20%" */
    .badge-save {
        margin-left: 0; /* Xóa khoảng lề thừa trên máy tính */
        font-size: 0.65rem; /* Thu nhỏ chữ trong nhãn */
        padding: 3px 6px;
        white-space: nowrap; /* Cấm rớt chữ trong cái nhãn đỏ */
    }

    /* 4. Thu nhỏ "nhẹ" cái nút gạt lại cho cân đối với chữ */
    .switch {
        width: 50px;
        height: 28px;
    }
    
    .slider:before {
        height: 20px;
        width: 20px;
        bottom: 4px;
    }
    
    input:checked + .slider:before {
        transform: translateX(22px);
    }
}

/* --- LƯỚI THẺ CARD GIÁ VÉ --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center; /* Để thẻ giữa có thể nhô cao hơn */
}

.price-card {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: left;
    transition: transform 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-10px);
}

.card-header h3 {
    font-family: var(--font-subhead);
    font-size: 1.6rem;
    color: #FFF;
    margin-bottom: 10px;
}

.card-header p {
    color: #AAA;
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 50px;
    margin-bottom: 20px;
}

.card-price {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
    color: #FFF;
}

.currency { font-size: 1.2rem; font-weight: 700; margin-right: 5px; margin-top: 5px; }
.amount { font-family: var(--font-headline); font-size: 3.5rem; line-height: 1; color: var(--primary-gold); }
.card-duration { color: #888; font-size: 0.9rem; font-style: italic; margin-bottom: 30px; border-bottom: 1px solid #333; padding-bottom: 20px;}

.card-features { list-style: none; margin-bottom: 40px; }
.card-features li { margin-bottom: 15px; color: #DDD; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.card-features li i { color: var(--primary-gold); margin-top: 3px; }

/* STYLE ĐẶC BIỆT CHO HÌNH ẢNH MERCHANDISE */
.merch-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed #555;
    align-items: center !important;
}

.merch-item img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--primary-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    background-color: #333;
    color: #FFF;
    transition: all 0.3s ease;
    border: 1px solid #555;
}

.pricing-btn:hover { background-color: #555; }

/* --- STYLE PHÂN CẤP TỪNG THẺ --- */

/* Thẻ VVIP (Nổi bật nhất) */
.vvip-card {
    border-color: var(--primary-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    transform: scale(1.05); /* Phóng to thẻ giữa */
    z-index: 2;
}

.vvip-card:hover { transform: scale(1.05) translateY(-10px); box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4); }

.popular-badge {
    position: absolute;
    top: 42px; right: -50px;
    background-color: var(--accent-red);
    color: #FFF;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.vvip-btn { background-color: var(--primary-gold); color: var(--primary-bg); border: none; }
.vvip-btn:hover { background-color: #FFF; box-shadow: 0 0 20px rgba(212, 175, 55, 0.6); }

/* Thẻ VIP */
.vip-card:hover { border-color: var(--accent-red); box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3); }
.vip-btn { background-color: transparent; border: 2px solid var(--accent-red); color: var(--accent-red); }
.vip-btn:hover { background-color: var(--accent-red); color: #FFF; }

/* Responsive */
@media screen and (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
    .vvip-card { transform: scale(1); }
    .vvip-card:hover { transform: translateY(-10px); }
}

/* =========================================
   TRANG MUA VÉ (CHECKOUT PAGE) - FULL CSS
========================================= */
.checkout-section {
    padding: 60px 20px 100px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Cột trái to hơn cột phải */
    gap: 40px;
    align-items: start;
}

.checkout-form-box, .checkout-summary-box {
    background-color: #111;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 12px;
}

.checkout-summary-box {
    position: sticky;
    top: 120px;
    background: linear-gradient(to bottom, #111, #0a0a0a);
    border-color: var(--primary-gold);
}

.box-title {
    font-family: var(--font-subhead);
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 25px;
    border-bottom: 1px dashed #444;
    padding-bottom: 15px;
    letter-spacing: 1px;
}

/* --- GIAO DIỆN FORM NHẬP LIỆU (ESPORTS FORM) --- */
.esports-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.esports-form .form-row.full-width .input-group {
    flex: 100%;
}

.esports-form .input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.esports-form label {
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.esports-form label span {
    color: var(--accent-red);
    margin-left: 3px;
}

.esports-form input,
.esports-form select {
    background-color: #222;
    border: 1px solid #444;
    color: #FFF;
    padding: 12px 15px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.esports-form input:focus,
.esports-form select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    background-color: #1a1a1a;
}

/* Hiệu ứng khi Form bị khóa (lúc đang khởi tạo đơn) */
.esports-form input:disabled,
.esports-form select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #333;
    border-color: #555;
}

/* --- TÓM TẮT ĐƠN HÀNG (SUMMARY) --- */
.summary-details {
    margin-bottom: 30px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    color: #CCC;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.summary-divider {
    height: 1px;
    background-color: #444;
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #FFF;
    font-size: 1.2rem;
    white-space: nowrap;
}

.total-amount {
    font-family: var(--font-headline);
    font-size: 2rem;
    color: var(--accent-red);
    padding-left: 20px;
}

/* --- NÚT BẤM CHÍNH --- */
.submit-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    background-color: var(--primary-gold);
    color: var(--primary-bg);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.submit-btn:hover {
    background-color: #FFF;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.submit-btn:disabled {
    background-color: #555;
    color: #AAA;
    cursor: not-allowed;
    box-shadow: none;
}

/* --- HIỆU ỨNG TRƯỢT XUỐNG CHO MÃ QR (SLIDE-DOWN) --- */
.qr-hidden-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.8s ease-in-out, opacity 0.6s ease-in-out, padding 0.8s ease-in-out;
}

.qr-hidden-section.show-slide {
    max-height: 1000px;
    opacity: 1;
    margin-top: 20px;
}

/* --- GIAO DIỆN THANH TOÁN VIETQR ĐỘNG --- */
.vietqr-info-box {
    background-color: rgba(0, 163, 224, 0.1);
    border: 1px solid #00A3E0;
    color: #00A3E0;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.qr-image.vietqr-shadow {
    max-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 3px solid var(--primary-gold);
    transition: all 0.3s ease;
    background-color: #FFF; /* Nền trắng bắt buộc để camera điện thoại dễ nhận diện QR */
    padding: 10px;
}

.qr-instruction {
    margin-top: 20px;
}

.qr-instruction p {
    color: #CCC;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.qr-instruction i {
    color: var(--primary-gold);
    width: 20px;
    text-align: center;
    margin-right: 5px;
}

/* --- RADAR QUÉT TRẠNG THÁI (ĐIỂM NHẤN UX) --- */
.payment-radar-status {
    margin-top: 25px;
    padding: 20px;
    background-color: rgba(212, 175, 55, 0.05); /* Nền vàng trong suốt */
    border-radius: 8px;
    border: 1px solid var(--primary-gold);
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.payment-radar-status i.fa-spin {
    color: var(--primary-gold);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 992px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-summary-box { position: static; }
}
/* =========================================
   FIX RESPONSIVE: TRANG THANH TOÁN & FORM (MOBILE)
========================================= */
@media screen and (max-width: 768px) {
    /* 1. Giải phóng không gian: Giảm lề của section và các hộp form */
    .checkout-section {
        padding: 40px 15px 80px !important;
    }

    .checkout-form-box, 
    .checkout-summary-box {
        padding: 20px 15px !important; /* Thu nhỏ lề trong từ 30px xuống 15px */
    }

    /* 2. Ép các ô nhập liệu thành 1 hàng dọc duy nhất, chiếm 100% bề ngang */
    .esports-form .form-row {
        flex-direction: column !important; /* Chuyển từ ngang sang dọc */
        gap: 15px !important; /* Thu hẹp khoảng cách giữa các hàng */
        margin-bottom: 15px !important;
    }

    .esports-form .input-group {
        width: 100% !important;
        min-width: unset !important; /* Gỡ bỏ giới hạn 200px để không bị tràn viền */
    }

    /* 3. Căn chỉnh lại khu vực Tổng tiền cho vừa vặn */
    .summary-total {
        flex-direction: column; /* Đẩy chữ "Tổng tiền" và con số lên xuống xếp chồng */
        align-items: flex-start !important;
        gap: 10px;
    }

    .total-amount {
        padding-left: 0 !important;
        font-size: 1.8rem !important; /* Chữ số nhỏ lại 1 xíu để không bị rớt dòng */
    }
}

/* =========================================
   TRANG CƠ CẤU GIẢI THƯỞNG
========================================= */
/* --- HERO SECTION: CON SỐ TỔNG --- */
.prize-hero {
    padding: 80px 20px 40px;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--primary-bg) 70%);
    border-bottom: 1px solid #333;
}

.hero-subtitle {
    color: var(--text-light);
    font-family: var(--font-subhead);
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-total-prize {
    font-family: var(--font-headline);
    font-size: 5rem;
    color: var(--primary-gold);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    margin-bottom: 15px;
    line-height: 1;
}

.hero-total-prize .currency {
    font-size: 2rem;
    vertical-align: top;
    margin-left: 10px;
}

.hero-note { color: #888; font-style: italic; }

/* --- SECTION 1: BỤC VINH QUANG (PODIUM) --- */
.podium-section { padding: 80px 20px; }

.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Căn đáy để tạo thành bậc thang */
    gap: 20px;
    margin-top: 50px;
}

.podium-card {
    background-color: #111;
    border-radius: 12px 12px 0 0;
    padding: 40px 20px 20px;
    text-align: center;
    width: 30%;
    position: relative;
    border-top: 5px solid;
    transition: transform 0.3s ease;
}

.podium-card:hover { transform: translateY(-10px); }

.medal-icon {
    width: 60px; height: 60px;
    background-color: #222;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.8rem;
    position: absolute;
    top: -30px; left: 50%;
    transform: translateX(-50%);
    border: 3px solid;
}

.rank-title { font-family: var(--font-headline); font-size: 1.8rem; margin-bottom: 5px; color: #FFF; }
.rank-alias { color: #AAA; font-size: 0.95rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.prize-cash { font-family: var(--font-subhead); font-size: 2.2rem; margin-bottom: 25px; }
.prize-cash span { font-size: 1.2rem; }

.prize-perks { list-style: none; text-align: left; padding: 0 10px; }
.prize-perks li { margin-bottom: 12px; font-size: 0.9rem; color: #CCC; display: flex; align-items: flex-start; gap: 8px; }
.prize-perks li i { margin-top: 3px; }

/* Style cụ thể từng hạng */
.gold-card { 
    border-color: var(--primary-gold); 
    height: 480px; /* Quán quân cao nhất */
    box-shadow: 0 -10px 40px rgba(212, 175, 55, 0.2);
    z-index: 2;
}
.gold-card .medal-icon { border-color: var(--primary-gold); color: var(--primary-gold); width: 80px; height: 80px; top: -40px; font-size: 2.5rem; background-color: #332b00;}
.gold-card .prize-cash { color: var(--primary-gold); font-size: 2.8rem; }
.gold-card .prize-perks li i { color: var(--primary-gold); }

.silver-card { border-color: #C0C0C0; height: 420px; }
.silver-card .medal-icon { border-color: #C0C0C0; color: #C0C0C0; }
.silver-card .prize-cash { color: #C0C0C0; }
.silver-card .prize-perks li i { color: #C0C0C0; }

.bronze-card { border-color: #CD7F32; height: 380px; }
.bronze-card .medal-icon { border-color: #CD7F32; color: #CD7F32; }
.bronze-card .prize-cash { color: #CD7F32; }
.bronze-card .prize-perks li i { color: #CD7F32; }

/* --- SECTION 2: GIẢI PHỤ --- */
.special-awards-section { padding: 60px 20px; background-color: #0a0a0a; border-top: 1px solid #222; }

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.award-item {
    background-color: #111;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.award-item:hover { border-color: var(--accent-red); box-shadow: 0 5px 20px rgba(196, 30, 58, 0.2); transform: translateY(-5px); }

.award-icon { font-size: 2.5rem; color: var(--accent-red); margin-bottom: 15px; }
.award-item h4 { font-family: var(--font-subhead); font-size: 1.4rem; color: #FFF; margin-bottom: 10px; letter-spacing: 1px; }
.award-desc { color: #888; font-size: 0.9rem; margin-bottom: 20px; min-height: 40px; }
.award-value { color: var(--primary-gold); font-weight: 700; font-size: 1.5rem; margin-bottom: 15px; }
.award-extras { list-style: none; color: #CCC; font-size: 0.85rem; }
.award-extras li { margin-bottom: 5px; }

/* --- SECTION 3: QUYỀN LỢI TOÀN DÂN --- */
.participation-perks { padding: 80px 20px; }
.perks-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, #111 100%);
    border: 1px solid var(--primary-gold);
    padding: 50px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.perks-box h3 { color: var(--primary-gold); font-size: 1.6rem; margin-bottom: 15px; font-family: var(--font-subhead); }
.perks-box p { color: #FFF; margin-bottom: 25px; font-size: 1.05rem; }

.perks-highlights {
    display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
}
.perks-highlights span {
    background-color: #222; padding: 10px 20px; border-radius: 30px; color: #FFF; font-weight: 600; border: 1px solid #444;
}
.perks-highlights i { color: var(--primary-gold); margin-right: 8px; }

/* Hiệu ứng nhịp đập cho nút CTA */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(196, 30, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(196, 30, 58, 0); }
}

/* Fix dứt điểm nút Đăng ký xẹp lép */
.register-btn-huge {
    display: block; /* Ép thành khối để nhận kích thước */
    max-width: 400px;
    margin: 40px auto 0; /* Canh giữa hoàn hảo */
    padding: 18px 30px; /* Bơm phồng nút lên */
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    background-color: var(--accent-red);
    color: #FFF;
    animation: pulse-red 2s infinite; /* Gắn hiệu ứng nhịp đập */
    transition: all 0.3s ease;
}

.register-btn-huge:hover {
    background-color: #FFF;
    color: var(--accent-red);
    animation: none; /* Tắt nhịp đập khi rê chuột vào */
    box-shadow: 0 0 25px rgba(196, 30, 58, 0.8); /* Phát sáng rực rỡ */
}


/* --- RESPONSIVE --- */
@media screen and (max-width: 992px) {
    .podium-container { flex-direction: column; align-items: center; gap: 40px; }
    .podium-card { width: 100%; height: auto !important; order: 0 !important; }
    .gold-card { order: -1 !important; /* Luôn ép Quán quân lên đầu trên Mobile */ }
    .awards-grid { grid-template-columns: 1fr; }
    .perks-highlights { flex-direction: column; gap: 15px; }
}
@media screen and (max-width: 576px) {
    .hero-total-prize { font-size: 3.5rem; }
    .hero-total-prize .currency { font-size: 1.2rem; }
}

/* =========================================
   SECTION ĐĂNG KÝ THI ĐẤU (FORM)
========================================= */
.registration-section {
    padding: 100px 50px;
    background: radial-gradient(circle at center, var(--primary-dark) 0%, var(--primary-bg) 100%);
    border-top: 1px solid #333;
}

.reg-container {
    max-width: 800px; /* Thu hẹp form lại để dễ nhìn hơn */
    margin: 0 auto;
    background-color: rgba(15, 15, 15, 0.8);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    /* Viền trên cùng có hiệu ứng màu gradient đối kháng */
    border-top: 4px solid;
    border-image: linear-gradient(to right, var(--accent-red), var(--primary-gold), var(--accent-blue)) 1;
}

.reg-header {
    text-align: center;
    margin-bottom: 40px;
}

.reg-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -30px; /* Kéo subtitle lên gần title hơn */
}

/* Bố cục Form */
.esports-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Chia 2 cột đều nhau */
    gap: 30px;
}

.form-row.full-width {
    grid-template-columns: 1fr; /* 1 cột tràn viền */
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    font-family: var(--font-subhead);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.input-group label span {
    color: var(--accent-red); /* Dấu sao màu đỏ báo hiệu bắt buộc */
}

/* Styling cho các ô nhập liệu (Input & Select) */
.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group select {
    width: 100%;
    padding: 15px 20px;
    background-color: #111;
    border: 1px solid #444;
    border-radius: 6px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    outline: none;
}

/* Đổi màu chữ của placeholder cho bớt chói */
.input-group input::placeholder {
    color: #666;
}

/* Hiệu ứng phát sáng khi người dùng click vào ô (Focus State) */
.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    background-color: #1A1A1A;
}

/* Thiết kế lại khu vực Tải File (Custom File Upload) */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    background-color: #111;
    border: 2px dashed #555;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-gold);
    background-color: #1a1a1a;
}

/* Chồng ô input file thật (nhưng tàng hình) lên trên bản thiết kế */
.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0; /* Tàng hình */
    cursor: pointer;
    z-index: 10;
}

.file-upload-design {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-muted);
    width: 100%;
}

.file-upload-design i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.file-hint {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-top: 5px;
}

/* Nút Submit */
.form-submit {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2rem;
    border-radius: 6px;
}

/* Responsive cho Form */
@media screen and (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr; /* Rớt xuống 1 cột trên điện thoại */
        gap: 20px;
    }
    .reg-container { padding: 30px 20px; }
}

/* =========================================
   11. POPUP LOADING ESPORTS
========================================= */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.95); /* Đen mờ 95% */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: opacity 0.5s ease, visibility 0.5s;
}

/* Class để ẩn popup khi không dùng đến */
.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-modal {
    background: #111;
    border: 2px solid var(--primary-gold);
    border-radius: 10px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.radar-spinner {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 20px;
    animation: spin-radar 2s linear infinite;
}

@keyframes spin-radar {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

#loading-title {
    font-family: var(--font-headline);
    color: var(--text-light);
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* Khung bọc thanh tiến độ */
.progress-container {
    width: 100%;
    height: 15px;
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #333;
}

/* Thanh chạy bên trong */
.progress-bar {
    width: 0%; /* Sẽ được JS điều khiển */
    height: 100%;
    background: linear-gradient(90deg, var(--accent-red), var(--primary-gold));
    box-shadow: 0 0 10px var(--primary-gold);
    transition: width 0.3s ease;
}

.loading-text {
    font-family: var(--font-body);
    color: var(--primary-gold);
    font-weight: bold;
    margin-bottom: 10px;
}

.loading-tip {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* =========================================
   TRANG ĐỐI TÁC & NHÀ TÀI TRỢ
========================================= */
.sponsor-section { padding: 40px 20px 100px; }
.sponsors-wrapper { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 50px; }

.tier-title {
    text-align: center; font-family: var(--font-subhead); font-size: 1.5rem; color: #FFF; margin-bottom: 30px; letter-spacing: 2px;
}
.tier-title i { margin-right: 10px; }

/* Màu sắc tiêu đề theo Hạng */
.tier-diamond .tier-title { color: #00E5FF; text-shadow: 0 0 15px rgba(0, 229, 255, 0.4); }
.tier-gold .tier-title { color: var(--primary-gold); }
.tier-silver .tier-title { color: #C0C0C0; }
.tier-media .tier-title { color: #888; font-size: 1.2rem; }

/* Lưới hiển thị Logo */
.sponsor-grid { display: grid; gap: 20px; justify-items: center; }
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 15px; }

/* Ô trống (Placeholder) mời gọi tài trợ */
.sponsor-placeholder {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 2px dashed #444; border-radius: 12px;
    text-decoration: none; transition: all 0.3s ease;
    text-align: center; padding: 20px; width: 100%; box-sizing: border-box;
}

.sponsor-placeholder i { font-size: 2rem; margin-bottom: 10px; color: #666; transition: color 0.3s; }
.sponsor-placeholder span { font-weight: 700; color: #888; letter-spacing: 1px; transition: color 0.3s; }
.sponsor-placeholder p { font-size: 0.9rem; color: #666; margin-top: 10px; }

/* --- Style riêng cho từng Hạng khi Hover --- */
/* Kim Cương (To nhất) */
.diamond-box { height: 250px; border-width: 3px; max-width: 600px; }
.diamond-box:hover { border-color: #00E5FF; background-color: rgba(0, 229, 255, 0.05); box-shadow: 0 0 30px rgba(0, 229, 255, 0.2); transform: translateY(-5px); border-style: solid; }
.diamond-box:hover i, .diamond-box:hover span { color: #00E5FF; }

/* Vàng */
.gold-box { height: 180px; }
.gold-box:hover { border-color: var(--primary-gold); background-color: rgba(212, 175, 55, 0.05); box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); transform: translateY(-5px); border-style: solid; }
.gold-box:hover i, .gold-box:hover span { color: var(--primary-gold); }

/* Bạc */
.silver-box { height: 140px; }
.silver-box:hover { border-color: #C0C0C0; background-color: rgba(192, 192, 192, 0.05); box-shadow: 0 0 15px rgba(192, 192, 192, 0.2); transform: translateY(-3px); border-style: solid; }
.silver-box:hover i, .silver-box:hover span { color: #FFF; }


/* =========================================
   FIX RESPONSIVE: KIM TỰ THÁP TRANG ĐỐI TÁC (MOBILE)
========================================= */
@media screen and (max-width: 768px) {
    /* 1. Thu hẹp khoảng cách các khu vực cho gọn gàng */
    .sponsors-wrapper { gap: 40px !important; }
    .sponsor-grid { gap: 15px !important; }

    /* 2. Ép lưới về 1 cột (Nhà tài trợ Đồng hành vẫn giữ 2 cột cho tiết kiệm chỗ) */
    .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
    .grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    /* 3. LỆNH CHỐT HẠ: Khóa chiều rộng tối đa để tạo tháp phân cấp */
    /* Dù là 1fr nhưng không được vượt quá con số này, phần dư sẽ tự động căn giữa */
    .diamond-box { 
        max-width: 260px !important; 
        width: 100%; 
        margin: 0 auto; /* Tự động nằm giữa màn hình */
    }
    
    .gold-box { 
        max-width: 200px !important; 
        width: 100%; 
        margin: 0 auto; 
    }
    
    .silver-box { 
        max-width: 140px !important; 
        width: 100%; 
        margin: 0 auto; 
    }
    
    .companion-box { 
        max-width: 100px !important; 
        width: 100%; 
        margin: 0 auto; 
    }

    /* 4. Hạ cỡ chữ tiêu đề (Kim Cương, Vàng...) xuống một chút cho cân đối với khối hộp */
    .tier-title { 
        font-size: 1.25rem !important; 
        margin-bottom: 20px !important; 
    }
}

/* --- Màu sắc tiêu đề Hạng Đồng hành --- */
.tier-companion .tier-title { color: #888; font-size: 1.2rem; }

/* --- Style cho Hạng Đồng hành (Nhỏ nhất - 4 ô) --- */
.companion-box { 
    height: 100px; 
    border-radius: 8px; 
}
.companion-box i { display: none; } /* Ẩn icon dấu cộng cho gọn */
.companion-box:hover { 
    border-color: #888; 
    background-color: rgba(255, 255, 255, 0.05); 
    border-style: solid; 
    transform: translateY(-2px);
}
.companion-box:hover span { color: #FFF; }

.diamond-box, 
.gold-box, 
.silver-box, 
.companion-box {
    height: auto !important;     /* Bỏ chiều cao cố định cũ */
    aspect-ratio: 4 / 3;         /* Khóa cứng tỉ lệ 4:3 */
    padding: 0 !important;       /* Xóa lề để ảnh được tràn sát viền */
    overflow: hidden;            /* Cắt bỏ phần ảnh dư thừa nếu có */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   CĂN CHỈNH LOGO NHÀ TÀI TRỢ THẬT
========================================= */
.sponsor-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;           
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hiệu ứng trôi chuột (Hover): Ảnh sáng bừng lên và zoom nhẹ vào trong */
.sponsor-placeholder:hover .sponsor-logo {
    transform: scale(1.08);      /* Phóng to ảnh ra 8% */
}

/* =========================================
   TRANG KẾT QUẢ THI ĐẤU
========================================= */
.results-section { padding: 40px 20px 100px; }

/* --- Nút Lọc Vòng Đấu --- */
.round-filters { margin-bottom: 40px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.round-btn {
    background-color: #111; border: 1px solid #333; color: #888;
    padding: 10px 25px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: all 0.3s ease;
}
.round-btn:hover { border-color: #666; color: #FFF; }
.round-btn.active { background-color: #222; border-color: var(--primary-gold); color: var(--primary-gold); box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }
.round-btn.final-round { border-color: var(--accent-red); color: var(--accent-red); }
.round-btn.final-round.active { background-color: rgba(196, 30, 58, 0.1); box-shadow: 0 0 15px rgba(196, 30, 58, 0.4); }

/* --- Thẻ Trận Đấu (Match Card) --- */
.matches-container { display: flex; flex-direction: column; gap: 25px; max-width: 800px; margin: 0 auto; }
.match-card {
    background-color: #111; border: 1px solid #333; border-radius: 10px; overflow: hidden; transition: transform 0.3s ease;
}
.match-card:hover { border-color: #555; transform: translateY(-3px); }

/* Trận đang trực tiếp có viền đỏ nhấp nháy */
.live-match { border-color: var(--accent-red); box-shadow: 0 0 20px rgba(196, 30, 58, 0.2); }

/* Header của Card */
.match-header {
    background-color: #1a1a1a; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; font-size: 0.9rem; font-weight: 600;
}
.match-time { color: #888; }
.status-ended { color: #666; }
.status-live { color: var(--accent-red); animation: pulse-text 1.5s infinite; }
.status-upcoming { color: #00A3E0; }
@keyframes pulse-text { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* Body của Card (Chứa 2 đội) */
.match-body { padding: 20px; position: relative; }
.match-vs {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background-color: #222; color: #888; font-size: 0.8rem; font-weight: 700; padding: 5px 10px; border-radius: 20px; border: 1px solid #333; z-index: 2;
}

.team {
    display: flex; justify-content: space-between; align-items: center; padding: 10px 0;
}
.team-info { display: flex; align-items: center; gap: 15px; font-family: var(--font-subhead); font-size: 1.2rem; }
.team-logo { width: 40px; height: 40px; background-color: #222; border-radius: 8px; display: flex; justify-content: center; align-items: center; color: #888; font-size: 1.2rem; }
.team-name { color: #FFF; }
.team-score { font-family: var(--font-headline); font-size: 2rem; color: #FFF; font-weight: 700; width: 40px; text-align: center; }

/* Style cho Đội Thắng / Thua */
.team-winner .team-name { color: var(--primary-gold); }
.team-winner .team-score { color: var(--primary-gold); }
.team-winner .team-logo { color: var(--primary-gold); border: 1px solid var(--primary-gold); }
.winner-crown { color: var(--primary-gold); font-size: 1.2rem; margin-left: 10px; }

.team-loser { opacity: 0.4; filter: grayscale(100%); transition: opacity 0.3s; }
.team-loser:hover { opacity: 0.8; filter: none; }

/* Footer của Card */
.match-footer { background-color: #151515; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #333; font-size: 0.9rem; }
.match-mvp { color: #AAA; }
.vod-btn { color: #FFF; text-decoration: none; background-color: #333; padding: 6px 15px; border-radius: 4px; transition: all 0.3s; font-weight: 600; }
.vod-btn:hover { background-color: var(--primary-gold); color: #000; }
.live-btn { background-color: var(--accent-red); color: #FFF; }
.live-btn:hover { background-color: #FFF; color: var(--accent-red); }

@media screen and (max-width: 576px) {
    .team-info { font-size: 1rem; }
    .team-logo { width: 30px; height: 30px; font-size: 1rem; }
    .team-score { font-size: 1.5rem; }
    .match-footer { flex-direction: column; gap: 10px; text-align: center; }
}


/* =========================================
   CẤU TRÚC TAB & LƯỚI 4x2 (TRANG KẾT QUẢ)
========================================= */

/* Ẩn tất cả các nội dung vòng đấu theo mặc định */
.round-content {
    display: none;
    animation: fadeInTab 0.5s ease;
}

/* Chỉ hiển thị vòng đấu đang được active */
.round-content.active {
    display: block;
}

/* Hiệu ứng trượt và mờ ảo khi đổi tab */
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Lưới 4x2 cho Vòng 1/8 (2 cột, 4 hàng) */
.match-grid-4x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 cột song song */
    gap: 25px;
}

/* Lưới 1 cột cho Tứ kết, Bán kết (hiển thị danh sách dọc) */
.match-grid-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Responsive cho điện thoại --- */
@media screen and (max-width: 992px) {
    /* Ép lưới 4x2 thành 1 cột trên iPad/Điện thoại */
    .match-grid-4x2 { 
        grid-template-columns: 1fr; 
        max-width: 700px;
        margin: 0 auto;
    }
}

/* =========================================
   THIẾT KẾ ĐẶC BIỆT: THẺ CHUNG KẾT TỔNG
========================================= */
.grand-final-card {
    border: 2px solid var(--primary-gold) !important;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.25) !important;
    background: linear-gradient(180deg, #1f1a00 0%, #0a0a0a 100%) !important;
    transform: scale(1.05); /* Ép thẻ to hơn bình thường 5% */
    margin: 20px 0;
}

.grand-final-card:hover {
    transform: scale(1.08); /* Phóng to hơn nữa khi rê chuột */
    box-shadow: 0 0 70px rgba(212, 175, 55, 0.4) !important;
}

.grand-header {
    background-color: #332b00 !important;
    padding: 20px 30px !important;
    font-size: 1.1rem !important;
    border-bottom: 2px solid var(--primary-gold) !important;
}

.grand-header .match-time {
    color: var(--primary-gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grand-body {
    padding: 50px 40px !important; /* Bơm phồng khoảng trống bên trong */
}

.grand-logo {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.8rem !important;
    background-color: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid var(--primary-gold) !important;
    color: var(--primary-gold) !important;
}

.grand-vs {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.2rem !important;
    background-color: var(--primary-gold) !important;
    color: #000 !important;
    border: 4px solid #111 !important;
    font-weight: 900 !important;
}

.grand-score {
    font-size: 3.5rem !important; /* Điểm số to khổng lồ */
    color: var(--primary-gold) !important;
}

@media screen and (max-width: 768px) {
    .grand-final-card { transform: scale(1); margin: 0; }
    .grand-final-card:hover { transform: scale(1.02); }
    .grand-body { padding: 30px 20px !important; }
    .grand-score { font-size: 2.5rem !important; }
}

/* =========================================
   LỊCH TRÌNH SỰ KIỆN (VERTICAL TIMELINE)
========================================= */
.info-timeline-section {
    padding: 100px 20px;
    background-color: var(--primary-bg);
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-red), var(--primary-gold));
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%; 
    box-sizing: border-box;
    margin-bottom: 40px;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-dot {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px; 
    background-color: #111;
    border: 4px solid var(--primary-gold);
    top: 15px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.timeline-item.right .timeline-dot {
    left: -25px;
}

.timeline-content {
    padding: 30px;
    background-color: #111;
    position: relative;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid var(--primary-gold);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 10px;
    font-family: var(--font-subhead);
}

.timeline-content p {
    color: #AAA;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    .timeline-container::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 80px; padding-right: 20px; }
    .timeline-item.right { left: 0; }
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 6px; }
}


.timeline-section {
    padding: 80px 20px;
    background-color: #0a0a0a;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 20px 0;
}

/* Đường kẻ dọc ở giữa */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #333;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

/* Thẻ nằm bên trái */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

/* Thẻ nằm bên phải */
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* Dấu chấm phát sáng trên trục thời gian */
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--primary-bg);
    border: 4px solid var(--primary-gold);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--primary-gold);
    box-shadow: 0 0 15px var(--primary-gold);
}

/* Nội dung trong Timeline */
.timeline-content {
    padding: 20px 30px;
    background-color: #111;
    border: 1px solid #333;
    position: relative;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: #555;
}

.timeline-date {
    display: inline-block;
    color: #00A3E0;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    background-color: rgba(0, 163, 224, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.timeline-phase {
    color: #FFF;
    font-family: var(--font-headline);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #888;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Style riêng cho các thẻ đặc biệt (Tứ Kết, Chung Kết) */
.highlight-item .timeline-content { border-color: var(--primary-gold); box-shadow: 0 0 20px rgba(212, 175, 55, 0.1); }
.pulse-dot { animation: pulse-gold 2s infinite; }

.final-item .timeline-content { border-color: var(--accent-red); background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, #111 100%); }
.trophy-dot { 
    width: 40px; height: 40px; right: -20px; top: 15px; 
    background-color: var(--accent-red); border-color: var(--accent-red); color: #FFF;
    display: flex; justify-content: center; align-items: center; font-size: 1.2rem;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- Responsive cho Điện thoại (Ép Timeline về 1 bên) --- */
@media screen and (max-width: 768px) {
    .timeline-container::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; text-align: left !important; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot { left: 21px !important; right: auto; }
    .trophy-dot { left: 11px !important; }
}

.timeline-time {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #FFF;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-time i {
    color: var(--primary-gold);
}

.timeline-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    background-color: var(--primary-gold);
    color: var(--primary-bg); /* Chữ tối màu trên nền vàng */
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.timeline-btn:hover {
    background-color: #FFF;
    color: var(--primary-bg);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* Biến thể: Nút Viền (Outline) cho Livestream */
.timeline-btn.outline-btn {
    background-color: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
}

.timeline-btn.outline-btn:hover {
    background-color: var(--accent-red);
    color: #FFF;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.5);
}

/* =========================================
   SECTION HIGHLIGHT (MANIFESTO)
========================================= */

.highlight-manifesto {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    overflow: hidden;
}

/* Thêm một quầng sáng mờ ảo ở góc */
.highlight-manifesto::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- Cột Trái: Chữ --- */
.manifesto-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(196, 30, 58, 0.1);
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--accent-red);
}

.manifesto-title {
    font-family: var(--font-headline);
    font-size: 3rem;
    line-height: 1.1;
    color: #FFF;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.text-gold {
    color: var(--primary-gold);
    white-space: nowrap;
}

.manifesto-text p {
    color: #CCC;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.manifesto-text strong {
    color: #FFF;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2px 5px;
    border-radius: 4px;
}

/* --- Cột Phải: Các Badge --- */
.manifesto-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    background-color: #111;
    border: 1px solid #333;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-gold);
}

.badge-item:hover {
    transform: translateX(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    background-color: #1a1a1a;
}

.badge-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-right: 25px;
    width: 50px;
    text-align: center;
}

.badge-info h4 {
    color: #FFF;
    font-family: var(--font-subhead);
    font-size: 1.2rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.badge-info p {
    color: #999;
    font-size: 1rem;
    margin: 0;
}
/* =========================================
   FIX RESPONSIVE: TRANG LIÊN HỆ (MANIFESTO SECTION)
========================================= */
@media screen and (max-width: 768px) {
    /* 1. Giải phóng không gian lề cho thiết bị nhỏ */
    .highlight-manifesto {
        padding: 50px 15px !important;
    }

    /* 2. LỆNH CHỐT HẠ: Ép Grid 2 cột thành 1 cột duy nhất */
    .manifesto-grid {
        grid-template-columns: 1fr !important; /* Chiếm trọn 100% chiều ngang */
        gap: 40px !important; 
    }

    /* 3. Tinh chỉnh phần Văn bản (Cột trái cũ) */
    .manifesto-tag {
        display: block;
        width: fit-content;
        margin: 0 auto 20px auto !important; /* Đẩy Tag ra giữa màn hình */
    }

    .manifesto-title {
        font-size: 2.2rem !important; /* Thu nhỏ chữ tiêu đề để không bị tràn */
        text-align: center !important; 
    }

    .manifesto-text p {
        text-align: justify !important; /* Dàn đều chữ đọc cho sướng mắt */
        font-size: 1rem !important;
    }

    /* 4. Tinh chỉnh phần Thẻ thông tin (Cột phải cũ) */
    .manifesto-badges {
        width: 100% !important; 
    }

    .badge-item {
        padding: 20px 15px !important; /* Thu nhỏ lề trong của các thẻ */
    }

    .badge-icon {
        font-size: 2rem !important; /* Icon nhỏ lại 1 chút cho cân đối */
        margin-right: 15px !important;
        width: 40px !important;
    }

    .badge-info h4 {
        font-size: 1.1rem !important; /* Tiêu đề thẻ vừa vặn hơn */
    }
    .text-gold {
        font-size: 1.5rem
    }
}

.contact-section {
    padding: 60px 20px 100px;
    background-color: var(--primary-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Cột Form to hơn cột Info một chút */
    gap: 40px;
    align-items: stretch;
}

.contact-info-box, .contact-form-box {
    background-color: #111;
    border: 1px solid #333;
    padding: 35px;
    border-radius: 12px;
}

.contact-info-box {
    border-top: 4px solid var(--primary-gold);
}

.contact-form-box {
    border-top: 4px solid var(--accent-red);
}

.box-title {
    padding-bottom: 10px;
}
/* --- Danh sách Thông tin liên hệ --- */
.info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    color: #CCC;
    font-size: 1rem;
    line-height: 1.6;
}

.info-list li i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-top: 5px;
}

.info-list li a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s;
}

.info-list li a:hover {
    color: #FFF;
    text-decoration: underline;
}

/* --- Form Liên hệ (Bổ sung thêm cho thẻ Textarea) --- */
.esports-form textarea {
    background-color: #222;
    border: 1px solid #444;
    color: #FFF;
    padding: 12px 15px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    resize: vertical; /* Chỉ cho phép kéo giãn chiều dọc */
}

.esports-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.3);
    background-color: #1a1a1a;
}

/* --- Responsive --- */
@media screen and (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* =========================================
   FIX GIAO DIỆN FORM (Ô NHẬP LIỆU & NÚT BẤM)
========================================= */

/* Căn chỉnh nhãn (Label) */
.esports-form label {
    display: block;
    color: #CCC;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.esports-form label span {
    color: var(--accent-red);
}

/* Biến hình các ô nhập liệu thành Đen nhám */
.esports-form input,
.esports-form select,
.esports-form textarea {
    width: 100%;
    background-color: #222;
    border: 1px solid #444;
    color: #FFF;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ép không bị tràn khung */
    margin-bottom: 20px; /* Cách đều các ô với nhau */
}

/* Hiệu ứng phát sáng khi click vào ô nhập liệu */
.esports-form input:focus,
.esports-form select:focus,
.esports-form textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.3);
    background-color: #1a1a1a;
}

/* Bơm phồng nút Submit khổng lồ */
.submit-btn.full-width-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--accent-red);
    color: #FFF;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn.full-width-btn:hover {
    background-color: #FFF;
    color: var(--accent-red);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.6);
}

/* Trạng thái khi đang gửi (Loading) */
.submit-btn.full-width-btn:disabled {
    background-color: #555;
    color: #AAA;
    cursor: not-allowed;
    box-shadow: none;
}

/* =========================================
   TRANG QUY TẮC & ĐIỀU LỆ (ACCORDION)
========================================= */
.rules-section {
    padding: 60px 20px 100px;
}

.accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.accordion-item.active {
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    border: none;
    color: #FFF;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #1a1a1a;
}

.acc-title {
    font-family: var(--font-subhead);
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--primary-gold);
}

.acc-title i {
    width: 30px;
    text-align: center;
    margin-right: 10px;
}

.acc-icon {
    font-size: 1.2rem;
    color: #888;
    transition: transform 0.4s ease;
}

/* Xoay icon mũi tên khi Accordion mở */
.accordion-item.active .acc-icon {
    transform: rotate(180deg);
    color: var(--primary-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #0a0a0a;
}

.acc-body {
    padding: 20px 25px 30px 65px; /* Thụt lề vào khớp với text tiêu đề */
    color: #CCC;
    line-height: 1.7;
    font-size: 1rem;
    border-top: 1px dashed #333;
}

.acc-body ul {
    list-style-type: square;
    padding-left: 20px;
}

.acc-body li {
    margin-bottom: 12px;
}

.acc-body strong {
    color: #FFF;
}

/* Danh sách con (Sub-list) thụt vào sâu hơn */
.sub-list {
    margin-top: 10px;
    list-style-type: circle !important;
}

.sub-list li {
    color: #AAA;
}

.sub-list em {
    color: var(--accent-red);
    font-style: normal;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .acc-body { padding: 20px 15px 25px 20px; }
    .acc-title { font-size: 1.05rem; }
}

/* =========================================
   TRANG THÔNG TIN (INFORMATION PAGE)
========================================= */
.info-page-wrapper {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
}

/* --- SECTION 1: HERO BANNER (WHAT) --- */
.info-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Dùng ảnh nền hoành tráng hoặc màu gradient tối */
    background: url('https://via.placeholder.com/1920x1080/0a0a0a/333333?text=AOV+Background') center/cover no-repeat fixed;
}

.info-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.8), rgba(5,5,5,1));
    z-index: 1;
}

.info-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.info-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1); /* Vàng trong suốt */
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.info-main-title {
    font-family: var(--font-headline); /* Giữ font chữ tiêu đề to (Anton/Russo) */
    font-size: 5rem;
    color: #FFF;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    margin-bottom: 15px;
    line-height: 1.1;
}

.info-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 25px;
    white-space: nowrap;
}

.info-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #CCC;
    max-width: 750px;
    margin: 0 auto 40px;
}

.scroll-down-btn {
    display: inline-block;
    color: var(--text-light);
    font-size: 2rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}
/* =========================================
   FIX RESPONSIVE: TRANG THÔNG TIN (MOBILE HERO)
========================================= */
@media screen and (max-width: 768px) {
    /* 1. Giải cứu dòng Tagline: Cho phép rớt dòng và thu nhỏ chữ */
    .info-tagline {
        white-space: normal !important; /* Lệnh "chốt hạ": Hủy bỏ cấm rớt dòng */
        font-size: 1.2rem !important; /* Thu nhỏ từ 1.5rem xuống 1.2rem */
        line-height: 1.5 !important;
        padding: 0 10px; /* Thêm lề an toàn 2 bên */
    }

    /* 2. Thu nhỏ chữ ROAD TO GLORY khổng lồ */
    .info-main-title {
        /* Sử dụng hàm clamp để chữ tự co giãn từ 2.5rem đến 4rem tùy kích thước màn hình */
        font-size: clamp(2.5rem, 10vw, 4rem) !important; 
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    /* 3. Tinh chỉnh đoạn văn bản mô tả bên dưới */
    .info-description {
        font-size: 0.95rem !important; /* Hạ cỡ chữ xuống một chút để dễ đọc */
        padding: 0 15px !important; /* Ép lề an toàn không cho chạm sát mép điện thoại */
        text-align: justify !important; /* Dàn đều chữ 2 bên cho gọn gàng */
    }
    
    /* 4. Hạ thấp vị trí của khối nội dung để tránh bị thanh Nav che khuất (nếu có) */
    .info-hero-content {
        padding-top: 60px;
    }
}

/* --- SECTION 2: TẦM NHÌN & SỨ MỆNH (WHY) --- */
.info-mission {
    padding: 100px 20px;
    background-color: #050505;
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mission-card {
    background: #111;
    border: 1px solid #333;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hiệu ứng viền sáng lên khi rê chuột */
.mission-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.mission-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

.mission-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #FFF;
    font-weight: 700;
}

.mission-card p {
    color: #AAA;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Đáp ứng giao diện di động (Responsive) */
@media (max-width: 992px) {
    .mission-grid { grid-template-columns: repeat(2, 1fr); }
    .info-main-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .mission-grid { grid-template-columns: 1fr; }
    .info-tagline { font-size: 1.2rem; }
}

/* =========================================
   SECTION 3: QUY MÔ GIẢI ĐẤU (STATS COUNTER)
========================================= */
.info-stats {
    position: relative;
    padding: 100px 20px;
    background: url('https://via.placeholder.com/1920x600/111111/222222?text=Crowd+Background') center/cover fixed;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}

.info-stats-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(5, 5, 5, 0.85); /* Làm tối nền để nổi chữ */
}

.relative-z {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-family: var(--font-headline); /* Phông chữ to, cứng cáp */
    font-size: 5rem;
    color: var(--primary-gold);
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.plus-sign {
    font-size: 3.5rem;
    margin-left: 5px;
    color: var(--accent-red);
}

.stat-label {
    font-family: var(--font-subhead);
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-desc {
    color: #AAA;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* Đáp ứng giao diện di động */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; gap: 50px; }
    .stat-number { font-size: 4rem; }
}

/* =========================================
   SECTION 4: ĐỊA ĐIỂM TỔ CHỨC (WHERE)
========================================= */
.info-venue-section {
    padding: 100px 20px;
    background-color: #050505; /* Màu nền đen đặc */
    border-top: 1px solid #222;
}

.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.venue-info h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-family: var(--font-subhead);
    letter-spacing: 1px;
}

.venue-desc {
    color: #AAA;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.venue-features {
    list-style: none;
    margin-bottom: 35px;
}

.venue-features li {
    margin-bottom: 15px;
    color: #CCC;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.venue-features li i {
    color: var(--primary-gold);
    margin-top: 4px;
}

.venue-features li strong {
    color: var(--text-light);
}

.venue-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-red);
    color: #FFF;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.venue-btn:hover {
    background-color: #FFF;
    color: var(--accent-red);
    box-shadow: 0 0 20px rgba(196, 30, 58, 0.6);
}

/* Khung chứa bản đồ */
.venue-map {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transition: border-color 0.3s ease;
}

.venue-map:hover {
    border-color: var(--primary-gold);
}

/* Ép bản đồ Google Maps có tông màu tối (Dark Mode filter) */
.venue-map iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(105%) contrast(105%);
}

/* Đáp ứng giao diện di động */
@media screen and (max-width: 992px) {
    .venue-grid {
        grid-template-columns: 1fr; /* Tràn thành 1 cột */
        gap: 40px;
    }
    
    .venue-map {
        height: 350px;
    }
}

