@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Rajdhani:wght@600;700&display=swap');

        html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
        body {
            margin: 0;
            font-family: 'Be Vietnam Pro', sans-serif;
            font-size: clamp(15px, 3.9vw, 16px);
            line-height: 1.65;
            padding-inline: 14px;
            padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
            overflow-x: hidden;
            background-color: #050B14;
            color: #E6F1FF;
        }
        img, video, iframe { max-width: 100%; height: auto; display: block; }
        a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
        a:hover { color: #00F2FF; }
        .btn, .cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            min-inline-size: 44px;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s ease, background 0.2s ease;
            border: none;
            text-align: center;
        }
        .btn-primary { background: linear-gradient(180deg, #00F2FF 0%, #00C2D1 100%); color: #050B14; }
        .btn-primary:hover { background: #80FFFF; transform: translateY(-2px); }
        .btn-secondary { background: #152235; color: #E6F1FF; border: 1px solid #00F2FF; }
        .btn-secondary:hover { background: #1B2D42; }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            max-width: 1200px;
            margin: 0 auto;
        }
        .header-brand { display: flex; align-items: center; gap: 8px; }
        .header-brand strong { font-size: 16px; font-weight: 400; }
        .header-actions { display: flex; gap: 12px; }

        main { width: 100%; }
        .hero-section {
            text-align: center;
            padding: 40px 0;
            background: radial-gradient(circle at center, #16416B 0%, #050B14 100%);
            border-radius: 16px;
            margin-bottom: 24px;
        }
        h1 { 
            font-family: 'Rajdhani', sans-serif;
            font-size: clamp(1.6rem, 6.5vw, 2.4rem); 
            line-height: 1.2; 
            margin-bottom: 20px;
            color: #00F2FF;
            text-transform: uppercase;
        }
        .hero-text { max-width: 700px; margin: 0 auto 24px; color: #B0C4DE; }
        .hero-cta { display: block; width: 100%; max-width: 400px; margin: 0 auto 24px; font-size: 1.2rem; }
        .hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
        .tag-pill {
            background: #0C1624;
            border: 1px solid #00F2FF;
            color: #00F2FF;
            padding: 4px 12px;
            border-radius: 9999px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .banner-link { display: block; width: 100%; margin-bottom: 24px; overflow: hidden; border-radius: 16px; }
        .banner-link img { aspect-ratio: 2/1; object-fit: cover; width: 100%; }

        .cat-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 32px;
        }
        .cat-tile {
            background: #0C1624;
            border: 1px solid #1B2D42;
            padding: 16px;
            border-radius: 12px;
            text-align: center;
            transition: border-color 0.3s ease;
        }
        .cat-tile:hover { border-color: #00F2FF; }
        .cat-tile i { font-size: 2rem; color: #00F2FF; margin-bottom: 12px; }
        .cat-tile strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
        .cat-tile span { font-size: 0.85rem; color: #647B91; display: block; }

        .section-title {
            font-family: 'Rajdhani', sans-serif;
            font-size: clamp(1.3rem, 5.2vw, 1.8rem);
            line-height: 1.25;
            margin: 40px 0 20px;
            color: #E6F1FF;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }
        .game-card {
            background: #0C1624;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #1B2D42;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            text-decoration: none;
        }
        .game-card:hover { transform: translateY(-4px); box-shadow: 0 0 15px rgba(0, 242, 255, 0.3); }
        .game-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
        .game-card h3 { 
            font-size: 1rem; 
            margin: 12px; 
            text-align: center; 
            color: #E6F1FF;
            font-weight: 500;
        }

        .facts-table-wrapper { background: #0C1624; border-radius: 16px; padding: 20px; border: 1px solid #1B2D42; }
        .freshness-notice { font-style: italic; color: #647B91; font-size: 0.9rem; margin-bottom: 16px; display: block; }
        .facts-table { width: 100%; border-collapse: collapse; }
        .facts-table tr { border-bottom: 1px solid #1B2D42; }
        .facts-table td { padding: 12px 8px; font-size: 0.95rem; }
        .facts-label { color: #B0C4DE; font-weight: 500; width: 40%; }
        .facts-value { color: #E6F1FF; text-align: right; }
        .terms-link-wrapper { margin-top: 12px; text-align: center; }
        .terms-link-wrapper a { font-size: 0.85rem; color: #647B91; }

        .toc-nav {
            display: flex;
            overflow-x: auto;
            gap: 12px;
            padding: 16px 0;
            margin-bottom: 24px;
            scrollbar-width: none;
        }
        .toc-nav::-webkit-scrollbar { display: none; }
        .toc-link {
            background: #152235;
            white-space: nowrap;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.9rem;
            border: 1px solid #1B2D42;
            color: #B0C4DE;
        }
        .toc-link:hover { background: #0C1624; color: #00F2FF; }

        .promo-card {
            background: #0C1624;
            border: 1px solid #1B2D42;
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 16px;
            position: relative;
            overflow: hidden;
        }
        .promo-card::after {
            content: "";
            position: absolute;
            top: 0; right: 0; width: 4px; height: 100%;
            background: #00F2FF;
        }
        .promo-card h3 { margin: 0 0 12px; color: #00F2FF; }
        .promo-card p { color: #B0C4DE; margin-bottom: 20px; }

        .usp-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
        .usp-tile {
            background: #0C1624;
            padding: 20px;
            border-radius: 12px;
            display: flex;
            gap: 16px;
            align-items: flex-start;
            border: 1px solid #1B2D42;
        }
        .usp-tile i { font-size: 1.5rem; color: #00F2FF; margin-top: 4px; }
        .usp-content strong { display: block; margin-bottom: 4px; color: #E6F1FF; }
        .usp-content span { font-size: 0.9rem; color: #B0C4DE; }

        .payment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .payment-card {
            background: #0C1624;
            padding: 16px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid #1B2D42;
        }
        .payment-card i { font-size: 1.8rem; color: #00F2FF; margin-bottom: 8px; }
        .payment-card strong { display: block; margin-bottom: 6px; font-size: 0.95rem; }
        .payment-card p { font-size: 0.8rem; color: #647B91; margin: 0; }

        .guide-steps { display: grid; grid-template-columns: 1fr; gap: 20px; }
        .guide-step {
            display: flex;
            gap: 16px;
            background: #0C1624;
            padding: 20px;
            border-radius: 16px;
            border: 1px solid #1B2D42;
        }
        .step-num {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            background: #00F2FF;
            color: #050B14;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
        }
        .step-content h3 { margin: 0 0 8px; font-size: 1.1rem; }
        .step-content h3 a { color: inherit; }
        .step-content p { margin: 0; font-size: 0.9rem; color: #B0C4DE; }

        .download-section {
            background: #0C1624;
            padding: 32px 20px;
            border-radius: 16px;
            text-align: center;
            border: 1px solid #00F2FF;
        }
        .download-text { color: #B0C4DE; margin-bottom: 24px; }

        .player-guide-item {
            background: #0C1624;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 16px;
            border: 1px solid #1B2D42;
        }
        .guide-meta { font-size: 0.8rem; color: #647B91; margin-bottom: 12px; display: block; }

        .announcement-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
        .announcement-card {
            background: #0C1624;
            padding: 16px;
            border-radius: 12px;
            border-left: 4px solid #00F2FF;
            display: flex;
            gap: 12px;
        }
        .announcement-card i { color: #00F2FF; margin-top: 4px; }
        .announcement-body h3 { margin: 0 0 4px; font-size: 1rem; }
        .announcement-body p { margin: 0 0 8px; font-size: 0.85rem; color: #B0C4DE; }
        .announcement-date { font-size: 0.75rem; color: #647B91; }

        .faq-item { background: #0C1624; margin-bottom: 12px; border-radius: 12px; border: 1px solid #1B2D42; }
        .faq-item summary { padding: 16px; cursor: pointer; list-style: none; }
        .faq-item summary h3 { margin: 0; font-size: 1.05rem; color: #E6F1FF; }
        .faq-answer { padding: 0 16px 16px; color: #B0C4DE; font-size: 0.95rem; }

        .about-section { background: #0C1624; padding: 32px 20px; border-radius: 16px; margin-bottom: 32px; }
        .team-card {
            background: #152235;
            padding: 24px;
            border-radius: 12px;
            margin-top: 24px;
            border: 1px solid #2A456B;
        }

        .security-section { padding: 32px 0; }
        .security-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
        .security-link {
            background: #152235;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.9rem;
            border: 1px solid #1B2D42;
        }

        footer {
            background: #0C1624;
            padding: 40px 0 24px;
            margin-top: 48px;
            border-top: 1px solid #1B2D42;
            text-align: center;
        }
        .footer-sitemap {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            max-width: 800px;
            margin: 0 auto 32px;
            text-align: center;
        }
        .footer-sitemap a { font-size: 0.85rem; color: #B0C4DE; }
        .footer-contact { margin-bottom: 24px; color: #B0C4DE; font-size: 0.9rem; }
        .footer-legal { font-size: 0.8rem; color: #647B91; line-height: 1.4; }

        .navigator {
            position: fixed;
            inset-inline: 0;
            bottom: 0;
            height: 72px;
            background: #0C1624;
            border-top: 1px solid #00F2FF;
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding-bottom: env(safe-area-inset-bottom);
            z-index: 1000;
        }
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 0.7rem;
            color: #B0C4DE;
            gap: 4px;
        }
        .nav-item i { font-size: 1.2rem; color: #00F2FF; }

        .util-link { color: #00F2FF; text-decoration: underline; font-weight: 500; }

        @media (min-width: 768px) {
            body { padding-inline: 24px; padding-bottom: 24px; }
            .cat-grid { grid-template-columns: repeat(3, 1fr); }
            .game-grid { grid-template-columns: repeat(2, 1fr); }
            .promo-card { display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: center; }
            .usp-grid { grid-template-columns: repeat(2, 1fr); }
            .payment-grid { grid-template-columns: repeat(4, 1fr); }
            .guide-steps { grid-template-columns: repeat(2, 1fr); }
            .announcement-list { grid-template-columns: repeat(2, 1fr); }
            .navigator { display: none; }
        }

        @media (min-width: 1200px) {
            body { padding-inline: 32px; max-width: 1200px; margin-inline: auto; }
            .cat-grid { grid-template-columns: repeat(4, 1fr); }
            .game-grid { grid-template-columns: repeat(4, 1fr); }
            .payment-grid { grid-template-columns: repeat(4, 1fr); }
            .guide-steps { grid-template-columns: repeat(4, 1fr); }
        }

        section { content-visibility: auto; contain-intrinsic-size: 1px 500px; }