/* ==================== CÀI ĐẶT CHUNG ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    background-color: #6b0000;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ==================== HEADER MÁY TÍNH ==================== */
.desktop-header {
    background: linear-gradient(180deg, #b80000 0%, #7d0000 100%);
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo img {
    height: 54px;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 2px;
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 72px; /* Giúp các ô menu đều nhau */
    padding: 0 8px;
    transition: all 0.25s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Định dạng cho ảnh icon thay thế */
.nav-img {
    height: 46px;       /* Chiều cao phù hợp cho ảnh có sẵn cả icon + chữ */
    width: auto;
    max-width: 68px;
    object-fit: contain;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    background: linear-gradient(180deg, #ffe082 0%, #c89b3c 100%);
}

.nav-item:hover .nav-img {
    transform: scale(1.05);
}

.badge-hot {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ff2a2a;
    color: #fff;
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.desktop-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-auth-circle {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 2px solid #fff5cc;
    background: radial-gradient(circle, #fff176 0%, #d4a017 100%);
    color: #6b0000;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
    line-height: 1.3;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
    transition: transform 0.2s;
}

.btn-auth-circle:hover {
    transform: scale(1.06);
}

.btn-google {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: #db4437;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Ẩn các thành phần riêng của mobile trên máy tính */
.mobile-header,
.mobile-quick-cats,
.mobile-bottom-nav,
.online-counter-mb {
    display: none;
}

/* ==================== BANNER TRƯỢT NGANG TỰ ĐỘNG ==================== */
.banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #4a0000;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    user-select: none;
}

.slide img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

/* Nút chuyển slide trái/phải */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.slider-btn:hover {
    background: rgba(212, 175, 55, 0.9);
    color: #5c0000;
}

.prev-btn { left: 16px; }
.next-btn { right: 16px; }

/* Chấm tròn chỉ mục */
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 24px;
    border-radius: 10px;
    background: #ffd700;
}

/* Nút Tải App nổi bên trái banner (Máy tính) */
.floating-download-pc {
    position: absolute;
    left: 25px;
    bottom: 65px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, #d90429 0%, #6b0000 100%);
    border: 2px solid #ffd700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 10;
}

.floating-download-pc i {
    font-size: 20px;
    margin-bottom: 3px;
}

/* ==================== THANH THÔNG BÁO CHẠY CHỮ ==================== */
.announcement-bar {
    background: #520000;
    padding: 12px 15px;
}

.announcement-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: #8a0000;
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 25px;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.speaker-icon {
    color: #ffd700;
    font-size: 16px;
    flex-shrink: 0;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    font-size: 13px;
    animation: marqueeScroll 22s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==================== KHỐI QR & VIDEO MÁY TÍNH ==================== */
.desktop-promo-section {
    padding: 25px 15px;
    background: linear-gradient(180deg, #520000 0%, #6b0000 100%);
}

.promo-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
}

.qr-card {
    background: linear-gradient(180deg, #c00000 0%, #7d0000 100%);
    border: 1px solid #d4af37;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
}

.qr-card h3 {
    color: #ffd700;
    margin-bottom: 12px;
    font-size: 18px;
}

.qr-box {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 10px;
}

.qr-box img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.qr-card p {
    font-size: 12px;
    color: #ffe0b2;
}

.video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #d4af37;
    background-color: #000;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đổi thành contain nếu muốn thấy trọn khung hình không bị cắt viền */
    display: block;
}
/* ==================== DANH SÁCH TRÒ CHƠI MÁY TÍNH ==================== */
/* Ẩn lưới game cũ trên máy tính */
.games-container {
    display: none;
}

.desktop-games-showcase {
    max-width: 1100px;
    margin: 20px auto 60px;
    padding: 0 15px;
}

/* Thanh tiện ích 5 mục dùng ảnh nền home-hot-nav.png */
.pc-quick-bar {
    position: relative;
    max-width: 980px;
    margin: 15px auto 35px;
}

.pc-quick-bg {
    width: 100%;
    height: auto;
    display: block;
}

/* Căn chỉnh 5 nút nằm đúng vào vùng 5 ô đỏ trên ảnh */
.pc-quick-links {
    position: absolute;
    top: 23%;
    bottom: 26%;
    left: 20%;   /* Chừa khoảng trống cho nhân vật bên trái */
    right: 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pc-q-item {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.pc-q-img {
    max-height: 75%;
    max-width: 82%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Tự động chuyển ảnh màu đỏ sang trắng */
    transition: transform 0.2s ease, filter 0.2s ease;
}

.pc-q-item:hover .pc-q-img {
    transform: translateY(-3px) scale(1.05);
}

.q-badge-hot {
    position: absolute;
    top: 4px;
    right: 16%;
    background: #ff9800;
    color: #fff;
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 800;
    z-index: 2;
}

.pc-q-item:last-child {
    border-right: none;
}

.pc-q-item:hover {
    transform: translateY(-3px);
    color: #ffd700;
}

.pc-q-item i {
    font-size: 28px;
    margin-bottom: 6px;
}

.pc-q-item span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.q-badge-hot {
    position: absolute;
    top: -6px;
    right: 18%;
    background: #ff9800;
    color: #fff;
    font-size: 9px !important;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 800;
}

/* Tiêu đề DANH SÁCH TRÒ CHƠI */
.pc-showcase-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 30px;
}

.pc-showcase-title h2 {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.title-line {
    width: 120px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

/* Bố cục 2 cột: Ảnh bên trái + 6 nút bên phải */
.pc-showcase-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.pc-showcase-visual {
    flex: 1;
    max-width: 640px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pc-showcase-visual img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

/* Cột 6 nút lục giác bên phải */
.pc-showcase-tabs {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hex-btn {
    position: relative;
    width: 100%;
    height: 48px;
    border: none;
    background: #d4af37; /* Màu viền vàng */
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    padding: 2px; /* Độ dày viền */
    cursor: pointer;
    transition: transform 0.2s ease;
}

.hex-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #5c0000 0%, #3d0000 100%);
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.hex-btn:hover {
    transform: translateX(-5px);
}

/* Trạng thái nút đang được chọn (Màu vàng kim) */
.hex-btn.active span,
.hex-btn:hover span {
    background: linear-gradient(180deg, #fff176 0%, #f5b700 55%, #c88a00 100%);
    color: #4a0000;
}

/* ==================== LƯỚI GAME CHUNG ==================== */
.games-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 15px 50px;
}

.game-section {
    margin-bottom: 28px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 20px;
    color: #ffd700;
}

.more-link {
    font-size: 13px;
    color: #ffd54f;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-4px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-info {
    padding: 10px 12px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), #ffffff);
}

.card-info h3 {
    font-size: 16px;
    color: #d90429;
    font-weight: 800;
}

.card-info p {
    font-size: 12px;
    color: #555;
    margin-top: 2px;
}

/* Nhãn HOT chéo góc */
.ribbon-hot {
    position: absolute;
    top: 10px;
    right: -24px;
    background: #e60000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 28px;
    transform: rotate(45deg);
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.badge-cert {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(160, 120, 40, 0.9);
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
}

/* ==================== NÚT CSKH NỔI ==================== */
.floating-support {
    position: fixed;
    right: 20px;
    bottom: 25px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff2a2a, #b30000);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.floating-support i {
    font-size: 22px;
}

.support-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ff5252;
    border: 2px solid #fff;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 10px;
}

.support-label {
    display: none;
}

/* ==========================================================================
   GIAO DIỆN ĐIỆN THOẠI (RESPONSIVE <= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    body {
        background-color: #f5f6f8;
        color: #333;
        padding-bottom: 68px; /* Chừa chỗ cho thanh menu đáy */
    }

    /* Ẩn các khối chỉ dành cho máy tính */
    .desktop-header,
    .desktop-promo-section,
    .floating-download-pc,
    .slider-btn {
        display: none;
    }

    /* Header Mobile */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        background: linear-gradient(90deg, #d90429 0%, #ef233c 100%);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .mobile-logo img {
        height: 36px;
        object-fit: contain;
    }

    .mobile-auth-btns {
        display: flex;
        gap: 8px;
    }

    .btn-login-mb,
    .btn-register-mb {
        border: none;
        padding: 7px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
    }

    .btn-login-mb {
        background: #ffe8cc;
        color: #c92a2a;
    }

    .btn-register-mb {
        background: #ffffff;
        color: #c92a2a;
    }

    /* Banner Mobile */
    .slide img {
        height: 190px;
    }

    .online-counter-mb {
        display: flex;
        align-items: center;
        gap: 5px;
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.55);
        color: #fff;
        font-size: 11px;
        padding: 3px 9px;
        border-radius: 15px;
        z-index: 10;
    }

    /* Thanh thông báo Mobile */
    .announcement-bar {
        background: #ffffff;
        padding: 6px 10px;
        border-bottom: 1px solid #eee;
    }

    .announcement-inner {
        background: transparent;
        border: none;
        padding: 0;
    }

    .speaker-icon {
        color: #e63946;
        font-size: 14px;
    }

    .marquee-text {
        color: #444;
        font-size: 12px;
    }

    /* Thanh danh mục nhanh vuốt ngang trên Mobile */
.mobile-quick-cats {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #ffffff;
    margin-bottom: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Ẩn thanh cuộn trên Firefox */
}

.mobile-quick-cats::-webkit-scrollbar {
    display: none; /* Ẩn thanh cuộn trên Chrome/Safari */
}

.cat-box {
    position: relative;
    flex: 0 0 64px; /* Giữ kích thước cố định 64x64px, không bị co bóp */
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.cat-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-box span {
    position: absolute;
    bottom: 4px;
    left: 2px;
    right: 2px;
    text-align: center;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

    /* Lưới game Mobile */
    .games-container {
        padding: 8px 10px;
    }

    .game-section {
        margin-bottom: 18px;
    }

    .section-header h2 {
        color: #e65c5c;
        font-size: 16px;
    }

    .more-link {
        color: #888;
        font-size: 12px;
    }

    .game-grid {
        gap: 10px;
    }

    .game-card img {
        height: 125px;
    }

    .card-info {
        padding: 7px 6px;
    }

    .card-info h3 {
        font-size: 13px;
    }

    .card-info p {
        font-size: 11px;
    }

    /* Nút CSKH nổi góc trái dưới trên Mobile */
    .floating-support {
        right: auto;
        left: 12px;
        bottom: 85px;
        width: 52px;
        height: 52px;
        background: linear-gradient(135deg, #4361ee, #3a0ca3);
    }

    .support-badge {
        display: none;
    }

    .support-label {
        display: block;
        font-size: 9px;
        font-weight: bold;
        margin-top: 2px;
    }

    /* Thanh điều hướng cố định dưới đáy Mobile */
.mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 62px;
    padding: 4px 0;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    text-decoration: none;
    color: #9e9e9e; /* Màu chữ xám nhạt */
    font-size: 11px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.bottom-nav-item i {
    font-size: 22px;
    color: #bdbdbd; /* Màu icon xám sáng hơn chữ một chút */
    margin-bottom: 5px;
    transition: color 0.2s ease;
}

/* Trạng thái đang chọn (Đỏ san hô giống bản gốc) */
.bottom-nav-item.active {
    color: #ff2a3c;
    font-weight: 500;
}

.bottom-nav-item.active i {
    color: #ff5548;
}
    @media (max-width: 768px) {
    /* Ẩn khối danh sách trò chơi của máy tính */
    .desktop-games-showcase {
        display: none;
    }

    /* Hiện lại lưới game cũ trên điện thoại */
    .games-container {
        display: block;
    }
}
}
/* ==================== MODAL ĐĂNG NHẬP / ĐĂNG KÝ ==================== */
.auth-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.auth-overlay.show {
    display: flex;
}

.form-error-msg {
    color: #ffeb3b;
    font-size: 12px;
    font-weight: 600;
    min-height: 18px;
    margin: 6px 0;
    text-align: center;
}

/* ---------- MODAL MÁY TÍNH ---------- */
.pc-modal {
    display: none;
    position: relative;
    width: 100%;
    max-width: 720px;
    background: linear-gradient(180deg, #9e0000 0%, #630000 100%);
    border: 2.5px solid #ffd700;
    border-radius: 22px;
    padding: 24px 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65);
    overflow: hidden;
}

.pc-modal.active {
    display: block;
}

.pc-close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #ffd700;
    background: rgba(0, 0, 0, 0.4);
    color: #ffd700;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
}

.pc-modal-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(180deg, #fff59d 0%, #f5b700 60%, #b87300 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
    margin-bottom: 18px;
}

/* PC Login */
.pc-login-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pc-login-girl {
    width: 240px;
    flex-shrink: 0;
}

.pc-login-girl img {
    width: 100%;
    border-radius: 12px;
}

.pc-login-form {
    flex: 1;
}

.pc-login-sub {
    text-align: center;
    color: #ffd700;
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 14px;
}

.pc-input-group {
    display: flex;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
}

.pc-input-icon {
    width: 46px;
    background: #ffeb00;
    color: #b30000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.pc-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    background: #f2e4e4;
    color: #333;
}

.pc-hex-submit,
.pc-hex-switch {
    display: block;
    width: 100%;
    height: 46px;
    margin-bottom: 10px;
    border: none;
    background: #ffd700;
    clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
    padding: 2px;
    cursor: pointer;
}

.pc-hex-submit span,
.pc-hex-switch span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #a60000 0%, #5c0000 100%);
    clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.pc-hex-submit:hover span,
.pc-hex-switch:hover span {
    background: linear-gradient(180deg, #fff176 0%, #d4a017 100%);
    color: #5c0000;
}

.pc-login-links {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
}

/* PC Register */
.pc-reg-box {
    max-width: 820px;
    background: linear-gradient(135deg, #c90016 0%, #8f000d 100%);
}

.pc-reg-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pc-reg-form {
    flex: 1;
}

.pc-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pc-reg-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.pc-reg-field input {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: #6b0000;
    color: #fff;
    padding: 0 12px;
    font-size: 13px;
    outline: none;
}

.pc-reg-field input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.pc-reg-note {
    text-align: center;
    font-size: 12px;
    color: #ffe082;
    margin: 12px 0 6px;
}

.pc-reg-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #fff;
    margin-bottom: 12px;
    cursor: pointer;
}

.pc-reg-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.pc-hex-gold {
    width: 170px;
    height: 44px;
    border: none;
    background: #fff176;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    padding: 2px;
    cursor: pointer;
}

.pc-hex-gold span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ffe082 0%, #d4a017 100%);
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    color: #5c0000;
    font-size: 15px;
    font-weight: 800;
}

.pc-reg-girl {
    width: 190px;
    flex-shrink: 0;
}

/* Ẩn modal Mobile trên máy tính */
.mb-modal-wrapper {
    display: none;
}

/* ---------- MODAL ĐIỆN THOẠI (<= 768px) ---------- */
@media (max-width: 768px) {
    .pc-modal,
    .pc-modal.active {
        display: none !important;
    }

    .mb-modal-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 390px;
    }

    .mb-modal-card {
        width: 100%;
        background: #ffffff;
        border-radius: 16px;
        padding: 14px 16px 20px;
        color: #333;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    }

    .mb-tabs {
        display: flex;
        border-bottom: 1px solid #eeeeee;
        margin-bottom: 14px;
    }

    .mb-tab {
        flex: 1;
        background: none;
        border: none;
        padding: 10px 0;
        font-size: 15px;
        font-weight: 600;
        color: #666;
        cursor: pointer;
        border-bottom: 2.5px solid transparent;
    }

    .mb-tab.active {
        color: #e65555;
        border-bottom-color: #e65555;
    }

    .mb-form {
        display: none;
    }

    .mb-form.active {
        display: block;
    }

    .mb-modal-banner {
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 14px;
    }

    .mb-modal-banner img {
        width: 100%;
        height: 95px;
        object-fit: cover;
    }

    .mb-input-box {
        display: flex;
        align-items: center;
        height: 44px;
        border: 1px solid #dcdcdc;
        border-radius: 8px;
        padding: 0 12px;
        margin-bottom: 10px;
        background: #fafafa;
    }

    .mb-input-box i {
        color: #999;
        font-size: 16px;
        width: 24px;
    }

    .mb-input-box input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-size: 14px;
        color: #333;
    }

    .toggle-pw {
        cursor: pointer;
        text-align: right;
    }

    .mb-forgot {
        text-align: right;
        margin-bottom: 8px;
    }

    .mb-forgot a {
        color: #d9534f;
        font-size: 13px;
    }

    .mb-error {
        color: #d90429;
    }

    .mb-submit-btn {
        width: 100%;
        height: 44px;
        border: none;
        border-radius: 25px;
        background: linear-gradient(90deg, #f59b9b 0%, #ef6c6c 100%);
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 4px;
    }

    .mb-quick-icons {
        display: flex;
        justify-content: center;
        gap: 36px;
        margin-top: 16px;
    }

    .mb-q-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        color: #666;
        font-size: 12px;
    }

    .q-circle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .q-circle.play { color: #ff9800; }
    .q-circle.google { color: #db4437; }

    .mb-close-circle {
        margin-top: 16px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1.5px solid #fff;
        background: rgba(0, 0, 0, 0.4);
        color: #fff;
        font-size: 16px;
        cursor: pointer;
    }
}