
        :root {
            /* Màu chủ đạo: Xanh biển dịu mắt */
            --primary: #8ECAE6; 
            --primary-glow: rgba(142, 202, 230, 0.4);
    
            /* Màu nhấn: Vàng nắng hoặc Cam đất nhẹ */
            --secondary: #F4A261; 
    
            /* NỀN CHÍNH: Màu kem ấm bạn đã chọn */
            --bg-base: #FEF1E1; 
    
            /* Nền của các khối (Card, FAQ): Màu trắng sữa để nổi bật trên nền kem */
            --bg-surface: #FFFFFF; 
            --bg-surface-hover: #FFF9F2;
    
            /* Viền: Dùng tông màu tối hơn nền một chút để tạo chiều sâu */
            --border-subtle: rgba(184, 150, 110, 0.2);
            --border-highlight: rgba(184, 150, 110, 0.4);
    
            /* CHỮ: Quan trọng! Phải đổi sang màu tối để đọc được trên nền sáng */
            --text-main: #433422;  /* Nâu đen ấm */
            --text-muted: #7D6B58; /* Nâu xám nhẹ */
        }

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

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 90px;
        }

        body {
            font-family: 'Nunito', sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            line-height: 1.7;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;

            /* Chèn ảnh pattern */
            background-image: url('pattern.png');
    
            /* Thiết lập lặp lại ảnh để phủ kín trang */
            background-repeat: repeat;
    
            /* Kích thước 256px như bạn mong muốn */
            background-size: 196px;
   

        }

        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0; width: 100vw; height: 100vh;
            background: 
                radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(250, 204, 21, 0.04) 0%, transparent 50%);
            z-index: -1;
            pointer-events: none;
        }

        h1, h2, h3, .brand-font {
            font-family: 'Baloo 2', cursive;
        }

        /* --- Navbar --- */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 15px 50px;
            background: rgba(254, 241, 225, 0.6); /* Màu nền khớp với bg-base nhưng có độ trong suốt */
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            border-bottom: 1px solid var(--border-subtle);
            box-shadow: 0 4px 20px rgba(139, 115, 85, 1); /* Đổi bóng đổ đen sang bóng đổ nâu nhạt */
        }

        .nav-brand {
            font-family: 'Baloo 2', cursive;
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-main);
            text-decoration: none;
            letter-spacing: 1px;
    
            /* Thêm 3 dòng dưới đây để căn giữa chữ và ảnh */
            display: flex;
            align-items: center; 
            gap: 12px; /* Khoảng cách giữa icon và chữ */
        }

        .nav-brand span {
            color: var(--primary);
        }

        .nav-links {
            display: flex;
            gap: 32px;
        }

        .nav-links a {
            color: var(--text-main);
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: color 0.3s ease;
            text-transform: uppercase;
            font-family: 'Baloo 2', cursive;
        }

        .nav-links a:hover {
            color: var(--secondary);
        }

        @media (max-width: 768px) {
            .navbar { padding: 10px 20px; flex-direction: column; gap: 10px; }
            .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
            .nav-links a { font-size: 0.9rem; }

            h2.section-title { 
                font-size: 1rem;      /* Giảm kích thước chữ nhỏ lại cho vừa màn hình dọc */
                line-height: 1;       /* Ép khoảng cách giữa các dòng sát lại nhau */
                margin-top: 60px !important; /* Giảm bớt khoảng trống phía trên (hiện tại bạn đang để 150px ở HTML) */
                margin-bottom: 10px !important; 
            }

            .section-subtitle { 
                font-size: 0.8rem; 
                margin-bottom: 30px; 
                line-height: 1;       /* Giúp đoạn mô tả ngắn gọn, súc tích hơn */
            }

            .btn-steam {
                padding: 15px 15px !important;    /* Giảm khoảng cách đệm bên trong nút */
                font-size: 1.1rem !important;      /* Thu nhỏ cỡ chữ (gốc là 1.6rem) */
                line-height: 1.1; 
                gap: 8px;               /* Thu hẹp khoảng cách giữa icon Steam và chữ */
            }

            .btn-steam i {
                font-size: 1.8rem;      /* Thu nhỏ icon Steam (gốc là 2.5rem) */
            }

            /* Grid 2 cột cho điện thoại */
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }

            .social-item {
                width: 60px !important; 
                height: 60px !important;
                display: flex; 
                align-items: center; 
                justify-content: center;
                background: var(--bg-base);
                border: 1px solid var(--border-subtle);
                border-radius: 14px;
                color: var(--text-muted);
    
                /* Sửa dòng này: Tăng từ 1.3rem lên khoảng 2rem hoặc 2.2rem */
                font-size: 2rem !important; 
    
                text-decoration: none;
                transition: all 0.3s ease;
            }

            .card {
                padding: 20px 15px;
                gap: 8px;
                border-radius: 16px;
                align-items: center;
                text-align: center;
            }

            .icon-wrapper {
                width: 45px; height: 45px;
                font-size: 1.2rem;
            }

            .card h3 { font-size: 1rem; line-height: 1.2; }
            .card p { 
                font-size: 0.8rem; 
                line-height: 1.4;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }

            .gallery-grid { grid-template-columns: 1fr; }
        }

        /* --- Hero Section --- */
        header {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 20px;
        }

        .hero-bg {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: url('SplashArt.png');
            background-size: cover;
            background-position: center;
            z-index: 0;

            box-shadow: inset 0 -100px 100px -100px var(--bg-base);
        }

        .hero-bg::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(
                    to bottom,
                    transparent 0%,
                    rgba(254, 241, 225, 0.02) 40%,  
                    rgba(254, 241, 225, 0.2) 60%,   
                    rgba(254, 241, 225, 0.5) 75%,   
                    rgba(254, 241, 225, 0.8) 90%,   
                    var(--bg-base) 100%             
                );
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            padding-top: 60px;
        }

        .hero-content h1 {
            font-size: clamp(3.5rem, 8vw, 6.5rem);
            color: var(--text-main);
            line-height: 1;
            margin-bottom: 20px;
            text-shadow: 0 4px 20px rgba(0,0,0,0.8);
            animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            transform: translateY(30px);
        }

        .hero-content p {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            color: #CBD5E1;
            margin: 0 auto 50px;
            font-weight: 500;
            max-width: 700px;
            animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
            opacity: 0;
            transform: translateY(30px);
        }

        .btn-steam {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 18px 40px;
            background: #219EBC; 
            color: #FFFFFF;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 800;
            font-size: 1.6rem;
            letter-spacing: 0.5px;
            position: relative;
            z-index: 10;
    
            /* Thiết lập transition cho cả transform và các thuộc tính khác */
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                        background-color 0.3s ease, 
                        box-shadow 0.3s ease;
    
            box-shadow: 0 8px 25px var(--primary-glow);
    
            /* Animation hiện lên khi tải trang */
            animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
            opacity: 0;
            /* Giữ nguyên scale(1) ở trạng thái gốc để transition mượt hơn */
            transform: translateY(30px) scale(1);
        }

        .btn-steam i {
            font-size: 2.5rem;
            line-height: 1;
        }

        .btn-steam:hover {    
            /* Phóng to 1.15 lần và nhô lên cao 10px */
            /* Sử dụng !important để ghi đè giá trị transform của animation fadeUp */
            transform: translateY(0px) scale(1.15) !important; 
    
            background-color: #0077B6; 
            color: #FFFFFF !important; 
    
            /* Bóng đổ đậm hơn để tạo độ nổi khối khi nút to lên */
            box-shadow: 0 12px 30px rgba(0, 119, 182, 0.4) !important;
    
            border-color: transparent;
            z-index: 100;
        }

        /* Đảm bảo keyframe animation kết thúc ở vị trí chuẩn */
        @keyframes fadeUp {
            from { 
                opacity: 0; 
                transform: translateY(30px) scale(1); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0) scale(1); 
            }
        }

        /* --- Layout Container --- */
        .container { 
            max-width: 1280px; 
            margin: 0 auto; 
            padding: 40px 24px 40px; 
            position: relative;
            z-index: 1;
        }

        h2.section-title {
            text-align: center;
            font-size: 2.8rem;
            margin-bottom: -10px;
            color: var(--text-main);
            text-transform: uppercase;
        }

        .section-subtitle {
            text-align: center;
            color: var(--text-muted);
            font-size: 1.1rem;
            margin-bottom: 30px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* --- Features Grid --- */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .card {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            padding: 40px 30px;
            border-radius: 24px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .card::after {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .card:hover {
            background: var(--bg-surface-hover);
            border-color: var(--border-highlight);
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        }

        .card:hover::after { opacity: 1; }

        .icon-wrapper {
            width: 60px; height: 60px;
            background: rgba(56, 189, 248, 0.1);
            border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            color: var(--secondary);
            font-size: 1.5rem;
            margin-bottom: 8px;
            transition: all 0.3s ease;
        }

        .card:hover .icon-wrapper {
            background: var(--secondary);
            color: var(--bg-base);
            transform: scale(1.1) rotate(-5deg);
        }

        .card h3 {
            font-size: 1.4rem;
            color: var(--text-main);
            line-height: 1.3;
        }

        .card p { 
            color: var(--text-muted); 
            font-size: 1rem; 
        }

        /* --- Gif Section --- */
        .gif-section {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            margin-bottom: -50px;
        }

        .centered-gif {
            max-width: 100%;
            height: auto;
        }

        /* --- Video Trailer --- */
        .video-container {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            width: 100%;
            border-radius: 24px;
            border: 4px solid rgba(255, 255, 255, 1);
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
            background: #000;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        /* --- Gallery Grid --- */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        @media (max-width: 1024px) {
            .gallery-grid { grid-template-columns: repeat(2, 1fr); }
        }

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

        .img-wrapper {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid var(--border-subtle);
            aspect-ratio: 16/9;
            cursor: pointer;
        }

        .img-wrapper::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .img-wrapper img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .img-wrapper:hover::before { opacity: 1; }
        .img-wrapper:hover img { transform: scale(1.08); }

        .img-caption {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%) translateY(15px);
            color: #fff;
            font-family: 'Baloo 2', cursive;
            font-size: 1.3rem;
            text-align: center;
            z-index: 2;
            opacity: 0;
            transition: all 0.3s ease;
            pointer-events: none;
            width: 90%;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }

        .img-wrapper:hover .img-caption {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* --- Modal (Lightbox) --- */
        .modal {
            display: none; 
            position: fixed;
            z-index: 2000;
            padding-top: 50px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.show {
            display: block;
            opacity: 1;
        }

        .modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 80vh;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.8);
            animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            object-fit: contain;
        }

        #modalCaption {
            margin: auto;
            display: block;
            width: 80%;
            text-align: center;
            color: var(--secondary);
            padding: 20px 0;
            font-family: 'Baloo 2', cursive;
            font-size: 1.8rem;
            font-weight: 700;
            animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 40px;
            color: #f1f1f1;
            font-size: 50px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
            z-index: 2001;
        }

        .close-modal:hover,
        .close-modal:focus {
            color: #FACC15;
            text-decoration: none;
            cursor: pointer;
            transform: scale(1.1);
        }

        @keyframes zoomIn {
            from { transform: scale(0.8); opacity: 0; } 
            to { transform: scale(1); opacity: 1; }
        }

        @media only screen and (max-width: 768px){
            .modal-content { width: 100%; }
            .close-modal { top: 10px; right: 20px; font-size: 40px; }
        }

        /* --- FAQ Section --- */
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .faq-item {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: var(--border-highlight);
            background: var(--bg-surface-hover);
        }

        .faq-item summary {
            padding: 16px 16px 12px;
            font-family: 'Baloo 2', cursive;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-main);
        }

        .faq-item summary::after {
            content: '\f067';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 0.9rem;
            color: var(--text-main);
            transition: transform 0.3s ease;
        }

        .faq-item[open] summary::after {
            transform: rotate(45deg);
        }

        .faq-answer {
            padding: 12px 12px 12px;
            color: var(--text-muted);
            font-size: 1.05rem;
            border-top: 1px solid transparent;
        }

        .faq-item[open] .faq-answer {
            border-top-color: var(--border-subtle);
        }

        /* --- Footer --- */
        footer {
            background: var(--primary-glow);
            padding: 20px 24px 40px;
            text-align: center;
            border-top: 1px solid var(--border-subtle);
            position: relative;
            z-index: 1;
        }

        .social-group {
            display: flex;
            justify-content: center;
            gap: 16px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .social-item {
            width: 75px; 
            height: 75px;
            display: flex; 
            align-items: center; 
            justify-content: center;
            background: var(--bg-base);
            border: 1px solid var(--border-subtle);
            border-radius: 14px;
            color: var(--text-muted);
    
            /* Sửa dòng này: Tăng từ 1.3rem lên khoảng 2rem hoặc 2.2rem */
            font-size: 2.2rem; 
    
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-item:hover {
            color: var(--text-main);
            border-color: var(--border-highlight);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }

        .social-item.steam:hover { background: #171a21; border-color: #66c0f4; color: #66c0f4; }
        .social-item.discord:hover { background: #5865F2; border-color: #5865F2; color: #fff; }
        .social-item.twitter:hover { background: #1da1f2; border-color: #1da1f2; color: #fff; }
        .social-item.facebook:hover { background: #1877f2; border-color: #1877f2; color: #fff; }

        .footer-brand {
            font-family: 'Baloo 2', cursive;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-main);
            letter-spacing: 1px;
        }

        .footer-copyright {
            margin-top: 8px; 
            font-size: 0.95rem; 
            color: var(--text-muted);
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .logo-img {
            height: 40px; /* Điều chỉnh chiều cao logo cho vừa vặn với thanh navbar */
            width: auto;  /* Tự động tính chiều rộng theo tỉ lệ */
            vertical-align: middle;
            margin-right: 10px; /* Khoảng cách giữa logo và chữ (nếu có) */
            transition: transform 0.3s ease;
        }

        /* Thêm vào cuối file style.css hoặc thay thế style cho .hero-content h1 */

        .hero-logo-container {
            margin-bottom: 50px !important; /* Tăng con số này lên (ví dụ từ 20px lên 50px hoặc hơn) để giãn cách */
            animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            transform: translateY(30px);
            display: flex;
            justify-content: center;
        }

        .hero-logo {
            max-width: 700px; 
            width: 100%;
            height: auto;
            filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
        }

        /* Điều chỉnh cho mobile */
        @media (max-width: 768px) {
            .hero-logo {
                max-width: 420px;
            }
        }

/* Hiệu ứng khi di chuột qua logo */
.nav-brand:hover .logo-img {
    transform: scale(1.1);
}

        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-base); }
        ::-webkit-scrollbar-thumb { background: #334155; border-radius: 8px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--secondary); }
    
