:root {
  --bg: #071314;
  --bg-2: #0b1a1c;
  --sidebar: #081516;
  --card: #102224;
  --line: rgba(255,255,255,.08);
  --text: #f3f7f8;
  --muted: #93a8ad;
  --green: #7ac142;
  --green-2: #9be05a;
  --orange: #f4a43a;
  --orange-2: #ffc46a;
  --header-h: 72px;
  --ticker-h: 36px;
  --sidebar-w: 268px;
  --radius: 18px;
  --aff: https://funtapnow.com/DkvhWXkZ;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html, body, .sidebar, .content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.sidebar::-webkit-scrollbar,
.content::-webkit-scrollbar { display: none; width: 0; height: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, Segoe UI, sans-serif;
  background-color: #04100f;
  background-image:
    linear-gradient(180deg, rgba(4,16,15,.55), rgba(4,16,15,.78)),
    url("/image/hawaii-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 18px;
  background: rgba(7,19,20,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo img { height: 46px; width: auto; }
.top-nav { display: flex; gap: 6px; margin-left: 12px; }
.pill {
  padding: 10px 18px; border-radius: 999px; color: #c9d6d8; font-weight: 600;
}
.pill.active, .pill:hover { background: #1a2c2e; color: #fff; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  display: flex; gap: 4px; background: #122224; border-radius: 999px; padding: 4px;
}
.lang a {
  padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #9bb;
}
.lang a.active { background: #24393c; color: #fff; }
.balance {
  display: flex; align-items: center; gap: 8px;
  background: #122224; border-radius: 999px; padding: 8px 12px; font-weight: 700;
}
.dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: #1d3336;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; font-weight: 800;
  border-radius: 999px; padding: 12px 22px;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-green {
  color: #10210a;
  background: linear-gradient(180deg, #b6ef6a, #6db52e);
  box-shadow: 0 8px 22px rgba(122,193,66,.28);
}
.btn-orange {
  color: #2a1604;
  background: linear-gradient(180deg, #ffd08a, #ef9a2a);
  box-shadow: 0 8px 22px rgba(244,164,58,.25);
}
.btn-ghost {
  background: #173033; color: #fff; width: 100%;
}
#nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn {
  display: none; width: 42px; height: 42px; border: 0; border-radius: 12px;
  background: #173033; color: #fff; cursor: pointer; place-items: center;
}

.ticker {
  position: sticky;
  top: var(--header-h);
  z-index: 39;
  height: var(--ticker-h);
  overflow: hidden;
  background: #6db52e;
  border-bottom: 1px solid rgba(0,0,0,.15);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 18s linear infinite;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #10210a;
  height: 100%;
}
.ticker-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  min-width: 100vw;
  flex-shrink: 0;
  height: 100%;
  padding: 0 18px;
  box-sizing: border-box;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.mascot {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 55;
  width: min(240px, 32vw);
  line-height: 0;
}
.mascot img {
  width: 100%;
  height: auto;
  background: transparent;
  animation: mascot-bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.45));
}
@keyframes mascot-bob {
  0%, 100% { transform: translateY(6px) rotate(-1.5deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: calc(100vh - var(--header-h) - var(--ticker-h)); }
.sidebar {
  background: rgba(8,21,22,.88);
  border-right: 1px solid var(--line);
  padding: 16px 14px 40px;
  position: sticky; top: calc(var(--header-h) + var(--ticker-h)); height: calc(100vh - var(--header-h) - var(--ticker-h));
  overflow: auto;
}
.profile {
  background: linear-gradient(180deg, #123032, #0d2224);
  border: 1px solid var(--line);
  border-radius: 20px; padding: 14px;
}
.profile-top { display: flex; gap: 10px; align-items: center; }
.avatar {
  width: 42px; height: 42px; border-radius: 14px; overflow: hidden;
  background: #1a3336; display: grid; place-items: center; font-weight: 800;
}
.muted { color: var(--muted); }
.small { font-size: 12px; }
.vip-bar { margin: 12px 0 6px; }
.bar {
  height: 6px; background: #1c3336; border-radius: 99px; overflow: hidden; margin: 6px 0;
}
.bar > i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, #7ac142, #d7ef7a); }
.icons { display: flex; gap: 8px; margin-top: 12px; }
.icon {
  width: 38px; height: 38px; border-radius: 12px; background: #14292c;
  display: grid; place-items: center;
}
.nav-list { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px; border-radius: 12px; color: #d7e4e6; font-weight: 600;
}
.nav-item:hover, .nav-item.active { background: #143033; }
.badge {
  background: #1d3336; color: #fff; font-size: 11px; border-radius: 99px; padding: 2px 7px;
}

.content { padding: 22px 28px 80px; max-width: 1180px; }
.hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 420px;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,16,18,.78) 0%, rgba(6,16,18,.35) 48%, rgba(6,16,18,.12) 100%);
}
.hero-copy {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: min(560px, 56%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 36px;
}
.kicker { color: #d7ef7a; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.hero h1 {
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.15;
  margin: 8px 0 10px;
}
h1 { font-size: 36px; line-height: 1.15; margin: 8px 0 12px; }
.hero p {
  color: #e7f0f2;
  font-size: clamp(13px, 1.15vw, 16px);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.prose h2 { font-size: 32px; margin: 42px 0 14px; }
.prose h3 { font-size: 22px; margin: 28px 0 10px; }
.prose p, .prose li { color: #c5d5d8; line-height: 1.7; font-size: 16.5px; }
.prose ul { padding-left: 18px; }
.grid-2, .grid-4 { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.num {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(180deg, #b6ef6a, #6db52e); color: #10210a;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 10px;
}
table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: #143033; color: #fff; }
td { background: #102224; color: #cfe0e3; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 8px 0;
}
.faq summary { cursor: pointer; font-weight: 700; }
.footer {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 18px;
}
.footer h4 { margin: 0 0 10px; }
.footer a { display: block; color: #9bb; margin: 6px 0; }
.legal { color: #7e9498; font-size: 13px; margin-top: 18px; }
.overlay { display: none; pointer-events: none; }

@media (max-width: 980px) {
  .top-nav, .balance { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; left: 0; top: calc(var(--header-h) + var(--ticker-h)); z-index: 30; width: min(86vw, 320px);
    transform: translateX(-110%); transition: transform .2s ease;
  }
  #nav-toggle:checked ~ .layout .sidebar { transform: none; }
  #nav-toggle:checked ~ .overlay {
    display: block; pointer-events: auto; position: fixed;
    inset: calc(var(--header-h) + var(--ticker-h)) 0 0 0; background: rgba(0,0,0,.5); z-index: 20;
  }
  .mascot { width: 150px; }
  .content { padding: 16px; }
  .hero {
    aspect-ratio: 16 / 10;
    max-height: 320px;
  }
  .hero-copy {
    width: 100%;
    padding: 18px 16px;
    justify-content: flex-end;
  }
  .hero h1 { font-size: 22px; }
  h1 { font-size: 26px; }
  .hero p { -webkit-line-clamp: 2; }
  .grid-2, .grid-4, .footer { grid-template-columns: 1fr; }
}
