/* =========================================
   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: 'Russo One', 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;
}

/* --- 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)
========================================= */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 5px;
    transition: all 0.3s ease;
}


/* =========================================
   7. RESPONSIVE GIAO DIỆN ĐIỆN THOẠI
========================================= */
@media screen and (max-width: 768px) {
    /* 1. Kích hoạt nút Hamburger */
    .burger {
        display: block;
    }

    /* 2. Cấu trúc lại thanh Menu chính thành dạng trượt (Sidebar) */
    .nav-links {
        position: absolute;
        right: 0;
        top: 65px; /* Chiều cao tương đối của Navbar */
        height: 100vh;
        width: 100%;
        background-color: rgba(15, 15, 15, 0.98);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        
        /* Đẩy menu ra khỏi màn hình mặc định */
        transform: translateX(100%); 
        transition: transform 0.4s ease-in;
    }

    /* Lớp nav-active sẽ được Javascript gọi để trượt menu vào */
    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    /* 3. Xử lý lại Dropdown đa cấp trên Mobile */
    /* Trên mobile, các menu con không nên bay lơ lửng (absolute) mà nên đẩy nội dung xuống (static) */
    .dropdown-menu, 
    .sub-dropdown-menu {
        position: static;
        min-width: 100%;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .dropdown-menu a, 
    .sub-dropdown-menu a {
        justify-content: center; /* Canh giữa chữ thay vì ép sang 2 bên */
        padding: 10px;
        font-size: 14px;
        color: #CCCCCC; /* Chữ menu con nhạt màu hơn menu cha một chút */
    }

    /* Hiển thị luôn các menu con trên mobile để dễ bấm, hoặc bạn có thể giữ nguyên hiệu ứng hover/click */
    .dropdown:hover .dropdown-menu,
    .sub-dropdown:hover .sub-dropdown-menu {
        display: block;
    }

    /* 4. Hiệu ứng Animation cho nút Hamburger biến thành dấu X */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}



/* =========================================
   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; }
}



/* =========================================
   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); }
}

/* --- SECTION 2: TẦM NHÌN & SỨ MỆNH (WHY) --- */
.info-mission {
    padding: 100px 20px;
    background-color: #050505;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-heading .section-title {
    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;
}

.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;
    }
}

/* =========================================
   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);
}

.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;
}

/* --- Responsive --- */
@media screen and (max-width: 992px) {
    .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
    .manifesto-title { font-size: 2.5rem; }
    .badge-item:hover { transform: translateY(-5px); transform: translateX(0); }
}