/* Thi?t l?p co b?n */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    height: 100%;
    overflow: hidden; /* ?n thanh cu?n m?c d?nh c?a trình duy?t */
    background-color: #000;
}

/* === C?U HÌNH CU?N T?NG PH?N (SNAP SCROLL) === */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory; /* B?t bu?c nh?y d?n section */
    scroll-behavior: smooth;
}

.section {
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start; /* Ði?m d?ng là d?u m?i section */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Ð?y n?i dung xu?ng du?i */
    padding-bottom: 50px;
}

/* Video N?n */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ð?m b?o video l?p d?y màn hình */
    z-index: 1;
}

/* === GIAO DI?N C? Ð?NH T?NG TRÊN (FIXED UI) === */
.fixed-ui {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Xuyên thao tác chu?t xu?ng l?p du?i */
    z-index: 10;
}

/* Kích ho?t l?i pointer-events cho các nút b?m */
.fixed-ui a, .fixed-ui .social-icons, .fixed-ui .logo {
    pointer-events: auto; 
}

/* Logo (Góc trái trên) */
.logo {
    position: absolute;
    top: 30px;
    left: 50px;
    width: 200px;
    height: auto;
    color: white; /* N?u b?n dùng text t?m thay vì ?nh */
    font-size: 24px;
    font-weight: bold;
}
.logo img { width: 100%; }

/* M?ng xã h?i (Góc ph?i trên) */
.social-icons {
    position: absolute;
    top: 30px;
    right: 50px;
    display: flex;
    gap: 20px;
}
.social-icons a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s;
}
.social-icons a:hover { color: #f0a500; }

/* Menu d?c (Bên trái) */
.side-menu {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}
.side-menu ul {
    list-style: none;
}
.side-menu li {
    margin: 30px 0;
    padding-left: 15px;
    position: relative;
}
.side-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: bold;
    transition: 0.3s;
}
.side-menu li.active a, .side-menu a:hover {
    color: white;
}
/* Hi?u ?ng g?ch tr?ng bên c?nh menu dang active */
.side-menu li.active::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: white;
}

/* Thêm margin-bottom d? d?y c?m nút lên cao, tránh dè vào ch? Lu?t xem thêm */
.action-buttons {
    display: flex;
    gap: 20px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    margin-bottom: 40px; /* B? SUNG DÒNG NÀY */
}

/* S?a l?i 3 nút màu bên ph?i: Tang d? r?ng và Gi?m padding hai bên */
.btn-pc { 
    background: linear-gradient(180deg, #4b79a1, #283e51); 
    border: none; 
    height: 100%; 
    width: 130px; /* Tang t? 100px lên 130px */
    padding: 10px 5px; /* Gi?m kho?ng cách vi?n 2 bên xu?ng còn 5px */
    justify-content: center; 
    text-align: center; 
}

.btn-topup { 
    background: linear-gradient(180deg, #f1e1a6, #c5973b); 
    color: #333; 
    border: none; 
    height: 100%; 
    width: 130px; /* Tang chi?u r?ng */
    padding: 10px 5px; /* Gi?m kho?ng cách vi?n */
    justify-content: center; 
    text-align: center;
}

.btn-giftcode { 
    background: linear-gradient(180deg, #e7796a, #c0392b); 
    border: none; 
    height: 100%; 
    width: 130px; /* Tang chi?u r?ng */
    padding: 10px 5px; /* Gi?m kho?ng cách vi?n */
    justify-content: center; 
    text-align: center;
}

/* Tùy ch?nh riêng cho nhóm nút t?i bên trái */
.download-group .btn-store {
    width: 180px; /* C? d?nh chi?u r?ng d? các nút th?ng hàng */
    justify-content: flex-start; /* Ð? icon và ch? n?m sát l? trái cho chuyên nghi?p */
    padding-left: 20px;
    font-size: 14px;
    text-transform: uppercase; /* Làm ch? in hoa n?u mu?n gi?ng game hon */
}

/* Hi?u ?ng hover cho chuyên nghi?p */
.btn-store:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #f1e1a6; /* Ð?i màu vi?n khi ch? vào */
    color: #f1e1a6;
}

.highlight-group {
    display: flex;
    gap: 15px;
}

.btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
	text-decoration: none;
}
.btn:hover { background: rgba(255, 255, 255, 0.2); }

/* Ch?nh màu cho các nút d?c bi?t gi?ng NTH */
.btn-pc { background: linear-gradient(180deg, #4b79a1, #283e51); border: none; height: 100%; width: 100px; justify-content: center; text-align: center; }
.btn-topup { background: linear-gradient(180deg, #f1e1a6, #c5973b); color: #333; border: none; height: 100%; width: 100px; justify-content: center;}
.btn-giftcode { background: linear-gradient(180deg, #e7796a, #c0392b); border: none; height: 100%; width: 100px; justify-content: center;}

/* Ch? báo cu?n chu?t */
.scroll-down-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    animation: bounce 2s infinite;
    cursor: pointer; /* Thêm dòng này d? hi?n bàn tay khi ch? chu?t vào */
    z-index: 20; /* Ð?m b?o nút n?m trên cùng d? click du?c */
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}