/* 6633 - theme.css | prefix w3298- | palette: #141414 / #9966CC / #E6E6FA | mobile-first max 430px */
:root {
  --w3298-bg: #141414;
  --w3298-bg-2: #1d1b22;
  --w3298-primary: #9966CC;
  --w3298-primary-2: #b388e0;
  --w3298-text: #E6E6FA;
  --w3298-text-2: #c8c4d8;
  --w3298-muted: #9a93ad;
  --w3298-accent: #f4c75e;
  --w3298-border: #2e2a3a;
  --w3298-surface: rgba(153, 102, 204, 0.12);
  --w3298-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Be Vietnam", "Inter", system-ui, -apple-system, sans-serif;
  background: var(--w3298-bg);
  color: var(--w3298-text);
  line-height: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--w3298-primary-2); text-decoration: none; }
a:hover { color: var(--w3298-accent); }
.w3298-wrapper { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.4rem; position: relative; }
main#w3298-main { padding-bottom: 96px; }

/* Header */
.w3298-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(180deg, #1b1822 0%, #14121a 100%); border-bottom: 1px solid var(--w3298-border); box-shadow: var(--w3298-shadow); }
.w3298-header-inner { max-width: 430px; margin: 0 auto; padding: 0.55rem 0.9rem; display: flex; align-items: center; gap: 0.7rem; }
.w3298-logo-link { display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0; }
.w3298-logo { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--w3298-primary), #6a47a3); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.35rem; color: #fff; box-shadow: 0 3px 10px rgba(153, 102, 204, 0.45); }
.w3298-site-name { font-size: 1.45rem; font-weight: 800; color: var(--w3298-text); }
.w3298-header-mini { font-size: 1.04rem; color: var(--w3298-muted); margin-left: 0.4rem; }
.w3298-header-actions { display: flex; align-items: center; gap: 0.45rem; }
.w3298-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; border-radius: 10px; padding: 0.6rem 1rem; font-size: 1.22rem; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: transform .14s ease, background .14s ease, color .14s ease; min-height: 36px; touch-action: manipulation; }
.w3298-btn:active { transform: scale(0.95); }
.w3298-btn-login { background: transparent; color: var(--w3298-text); border: 1px solid var(--w3298-primary); }
.w3298-btn-login:hover { background: var(--w3298-surface); color: var(--w3298-primary-2); }
.w3298-btn-register { background: linear-gradient(135deg, var(--w3298-primary) 0%, #6a47a3 100%); color: #fff; box-shadow: 0 4px 14px rgba(153, 102, 204, 0.45); }
.w3298-btn-register:hover { filter: brightness(1.08); }
.w3298-menu-btn { background: transparent; border: 1px solid var(--w3298-border); color: var(--w3298-text); border-radius: 10px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.5rem; }

/* Mobile menu */
.w3298-mobile-menu { position: fixed; top: 56px; left: 0; right: 0; z-index: 9999; background: #1a1822; border-bottom: 1px solid var(--w3298-border); max-height: 0; overflow: hidden; transition: max-height .28s ease; box-shadow: var(--w3298-shadow); }
.w3298-menu-open { max-height: 420px; }
.w3298-mobile-menu ul { list-style: none; padding: 0.4rem 0.9rem 0.9rem; max-width: 430px; margin: 0 auto; }
.w3298-mobile-menu li a, .w3298-mobile-menu li button { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 0.6rem; width: 100%; background: transparent; border: none; color: var(--w3298-text); font-size: 1.24rem; border-bottom: 1px solid rgba(153, 102, 204, 0.12); text-align: left; cursor: pointer; }
.w3298-mobile-menu li a:hover, .w3298-mobile-menu li button:hover { color: var(--w3298-primary-2); }

/* Carousel */
.w3298-carousel { margin-top: 64px; padding-top: 0.4rem; position: relative; }
.w3298-carousel-viewport { overflow: hidden; border-radius: 14px; }
.w3298-carousel-track { display: flex; transition: transform .45s ease; }
.w3298-carousel-slide { min-width: 100%; position: relative; }
.w3298-carousel-slide img { width: 100%; border-radius: 14px; }
.w3298-carousel-overlay { position: absolute; bottom: 10px; left: 12px; right: 12px; background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,0.78) 100%); border-radius: 10px; padding: 0.7rem 0.9rem; color: var(--w3298-text); }
.w3298-carousel-overlay h2 { font-size: 1.5rem; font-weight: 800; }
.w3298-carousel-overlay p { font-size: 1.14rem; color: var(--w3298-text-2); margin-top: 0.2rem; }
.w3298-carousel-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 0.7rem; }
.w3298-carousel-dot { width: 7px; height: 7px; background: rgba(230, 230, 250, 0.4); border-radius: 50%; border: none; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.w3298-dot-active { background: var(--w3298-primary); transform: scale(1.35); }

/* Sections */
.w3298-section { padding: 1.4rem 0 0.4rem; }
.w3298-section-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; font-weight: 800; color: var(--w3298-text); margin-bottom: 0.85rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--w3298-border); }
.w3298-section-title i { color: var(--w3298-primary); font-size: 1.7rem; }
.w3298-section-title span { font-size: 1.08rem; color: var(--w3298-muted); font-weight: 600; margin-left: auto; }
.w3298-cat-label { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 1.16rem; font-weight: 700; color: var(--w3298-primary-2); padding: 0.3rem 0.75rem; background: var(--w3298-surface); border-radius: 999px; margin-bottom: 0.7rem; }

/* Game grid */
.w3298-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.w3298-game-card { background: var(--w3298-bg-2); border: 1px solid var(--w3298-border); border-radius: 14px; overflow: hidden; cursor: pointer; position: relative; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; opacity: 0; transform: translateY(8px); display:block; }
.w3298-game-card:hover { border-color: var(--w3298-primary); box-shadow: 0 6px 16px rgba(153, 102, 204, 0.3); transform: translateY(-2px); }
.w3298-fade-in { opacity: 1; transform: translateY(0); transition: opacity .5s ease, transform .5s ease; }
.w3298-game-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-bottom: 1px solid var(--w3298-border); }
.w3298-game-name { padding: 0.4rem 0.35rem 0.55rem; font-size: 1.08rem; color: var(--w3298-text-2); text-align: center; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w3298-game-hot { position: absolute; top: 6px; left: 6px; background: linear-gradient(135deg, #ff5d73, #ff9d54); color: #fff; font-size: 0.92rem; padding: 0.1rem 0.4rem; border-radius: 6px; font-weight: 700; }

/* Feature grid */
.w3298-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.w3298-feature-card { background: var(--w3298-bg-2); border: 1px solid var(--w3298-border); border-radius: 14px; padding: 0.9rem; }
.w3298-feature-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--w3298-surface); display: flex; align-items: center; justify-content: center; color: var(--w3298-primary-2); font-size: 2.1rem; margin-bottom: 0.5rem; }
.w3298-feature-card h3 { font-size: 1.22rem; color: var(--w3298-text); margin-bottom: 0.3rem; }
.w3298-feature-card p { font-size: 1.1rem; color: var(--w3298-text-2); }

/* Prose */
.w3298-prose p { font-size: 1.14rem; color: var(--w3298-text-2); margin-bottom: 0.7rem; }
.w3298-prose h3 { font-size: 1.32rem; color: var(--w3298-text); margin: 1rem 0 0.5rem; }
.w3298-prose ul { padding-left: 1.4rem; margin-bottom: 0.7rem; }
.w3298-prose li { font-size: 1.12rem; color: var(--w3298-text-2); margin-bottom: 0.35rem; }
.w3298-prose strong { color: var(--w3298-primary-2); }

/* CTA */
.w3298-cta { background: linear-gradient(135deg, #2a2143 0%, #1a1424 100%); border: 1px solid var(--w3298-primary); border-radius: 16px; padding: 1.1rem; text-align: center; box-shadow: var(--w3298-shadow); }
.w3298-cta h3 { font-size: 1.42rem; color: var(--w3298-text); margin-bottom: 0.4rem; }
.w3298-cta p { font-size: 1.12rem; color: var(--w3298-text-2); margin-bottom: 0.85rem; }

/* Testimonials */
.w3298-testi-grid { display: grid; grid-template-columns: 1fr; gap: 0.7rem; }
.w3298-testi { background: var(--w3298-bg-2); border-left: 3px solid var(--w3298-primary); border-radius: 10px; padding: 0.8rem 0.9rem; }
.w3298-testi-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.w3298-testi-ava { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--w3298-primary), #5a3e93); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.2rem; }
.w3298-testi-name { font-size: 1.15rem; color: var(--w3298-text); font-weight: 700; }
.w3298-testi-role { font-size: 1.02rem; color: var(--w3298-muted); }
.w3298-testi p { font-size: 1.1rem; color: var(--w3298-text-2); }

/* Winners */
.w3298-winners { background: var(--w3298-bg-2); border: 1px solid var(--w3298-border); border-radius: 12px; overflow: hidden; }
.w3298-winner-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--w3298-border); font-size: 1.1rem; }
.w3298-winner-row:last-child { border-bottom: none; }
.w3298-winner-name { color: var(--w3298-text); font-weight: 700; flex: 1; min-width: 0; }
.w3298-winner-game { color: var(--w3298-muted); font-size: 1.04rem; }
.w3298-winner-amount { color: var(--w3298-accent); font-weight: 800; }

/* Payment */
.w3298-pay-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.w3298-pay-chip { background: var(--w3298-bg-2); border: 1px solid var(--w3298-border); border-radius: 10px; padding: 0.55rem 0.85rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 1.12rem; color: var(--w3298-text-2); }
.w3298-pay-chip i { color: var(--w3298-primary-2); font-size: 1.4rem; }

/* RTP */
.w3298-rtp-table { width: 100%; border-collapse: collapse; background: var(--w3298-bg-2); border-radius: 12px; overflow: hidden; border: 1px solid var(--w3298-border); }
.w3298-rtp-table th, .w3298-rtp-table td { padding: 0.55rem 0.6rem; font-size: 1.08rem; text-align: left; border-bottom: 1px solid var(--w3298-border); }
.w3298-rtp-table th { color: var(--w3298-primary-2); background: rgba(153, 102, 204, 0.12); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.4px; }
.w3298-rtp-table tr:last-child td { border-bottom: none; }
.w3298-rtp-bar { height: 6px; border-radius: 4px; background: rgba(230, 230, 250, 0.12); overflow: hidden; width: 70px; display: inline-block; vertical-align: middle; }
.w3298-rtp-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--w3298-primary), var(--w3298-accent)); }

/* Tricks / Achievements */
.w3298-trick-card { background: var(--w3298-bg-2); border: 1px solid var(--w3298-border); border-radius: 12px; padding: 0.85rem; margin-bottom: 0.7rem; }
.w3298-trick-card h4 { display: flex; align-items: center; gap: 0.4rem; color: var(--w3298-text); font-size: 1.18rem; margin-bottom: 0.3rem; }
.w3298-trick-card p { font-size: 1.1rem; color: var(--w3298-text-2); }
.w3298-ach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.w3298-ach { background: var(--w3298-bg-2); border: 1px solid var(--w3298-border); border-radius: 12px; padding: 0.7rem; text-align: center; }
.w3298-ach-num { font-size: 1.7rem; font-weight: 800; color: var(--w3298-accent); display:block; }
.w3298-ach-label { font-size: 1.05rem; color: var(--w3298-text-2); margin-top: 0.2rem; }

/* FAQ */
.w3298-faq-item { background: var(--w3298-bg-2); border: 1px solid var(--w3298-border); border-radius: 10px; padding: 0.75rem 0.85rem; margin-bottom: 0.55rem; }
.w3298-faq-item h4 { font-size: 1.18rem; color: var(--w3298-primary-2); margin-bottom: 0.3rem; }
.w3298-faq-item p { font-size: 1.1rem; color: var(--w3298-text-2); }

/* Category highlights */
.w3298-cat-high { display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.4rem; }
.w3298-cat-high-item { flex: 0 0 62%; background: var(--w3298-bg-2); border: 1px solid var(--w3298-border); border-radius: 12px; padding: 0.8rem; cursor: pointer; text-align: left; color: inherit; }
.w3298-cat-high-item h4 { font-size: 1.2rem; color: var(--w3298-text); margin-bottom: 0.25rem; }
.w3298-cat-high-item p { font-size: 1.06rem; color: var(--w3298-text-2); }

/* Footer */
.w3298-footer { background: #100e16; border-top: 1px solid var(--w3298-border); padding: 1.4rem 0 1rem; margin-top: 1.4rem; }
.w3298-footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--w3298-primary-2); margin-bottom: 0.3rem; }
.w3298-footer p { font-size: 1.1rem; color: var(--w3298-muted); margin-bottom: 0.6rem; }
.w3298-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.w3298-footer-links a { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.4rem 0.7rem; background: var(--w3298-bg-2); border: 1px solid var(--w3298-border); border-radius: 8px; color: var(--w3298-text-2); font-size: 1.08rem; }
.w3298-footer-links a:hover { color: var(--w3298-primary-2); border-color: var(--w3298-primary); }
.w3298-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.6rem 0 0.8rem; }
.w3298-footer-promos button, .w3298-footer-promos a { background: linear-gradient(135deg, var(--w3298-primary), #5a3e93); color: #fff; border-radius: 8px; padding: 0.5rem 0.85rem; font-size: 1.1rem; font-weight: 700; border: none; cursor: pointer; text-decoration: none; }
.w3298-footer-copy { text-align: center; font-size: 1.04rem; color: var(--w3298-muted); padding-top: 0.6rem; border-top: 1px solid var(--w3298-border); }

/* Bottom nav */
.w3298-bottomnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; height: 60px; background: linear-gradient(180deg, #1c1828 0%, #100e16 100%); border-top: 1px solid var(--w3298-border); display: flex; justify-content: space-around; align-items: center; max-width: 430px; margin: 0 auto; box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.5); }
.w3298-bottomnav-btn { flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none; color: var(--w3298-muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.18rem; cursor: pointer; font-size: 1.0rem; padding: 0.2rem 0; position: relative; transition: color .16s ease, transform .16s ease; }
.w3298-bottomnav-btn i { font-size: 2.2rem; }
.w3298-bottomnav-btn:hover { color: var(--w3298-primary-2); }
.w3298-bottomnav-btn:active { transform: scale(0.9); }
.w3298-bottomnav-btn.w3298-nav-active { color: var(--w3298-accent); }
.w3298-bottomnav-btn.w3298-nav-active::before { content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; border-radius: 0 0 6px 6px; background: var(--w3298-accent); }
.w3298-nav-badge { position: absolute; top: 6px; right: 18px; background: #ff5d73; color: #fff; font-size: 0.85rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 4px; }

/* Desktop / responsive */
@media (min-width: 769px) { .w3298-bottomnav { display: none; } main#w3298-main { padding-bottom: 32px; } }
@media (max-width: 768px) { main#w3298-main { padding-bottom: 80px; } }

/* Utility */
.w3298-text-accent { color: var(--w3298-accent); }
.w3298-flex { display: flex; align-items: center; gap: 0.5rem; }
.w3298-center { text-align: center; }
.w3298-mt { margin-top: 0.9rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }