:root {
  --bg-gradient: radial-gradient(circle at 50% 20%, #ffffff 0%, #edf7f5 60%, #d8f1ec 100%);
  --primary-green: #37c29e;
  --primary-green-hover: #2db390;
  --text-dark: #0f172a;
  --text-gray: #64748b;
  --card-bg: #ffffff;
  --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  --pill-bg: #f1f5f9;
  --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background: var(--bg-gradient);
  color: var(--text-dark);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 51px;
}

/* Ambient Background Glows */
.bg-glow-1 {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 243, 208, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.bg-glow-2 {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-dark);
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-center {
  display: flex;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 30px;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.nav-center a {
  text-decoration: none;
  color: var(--text-gray);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.nav-center a:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
}

.btn-start {
  background: var(--primary-green);
  color: white;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(55, 194, 158, 0.3);
}

.btn-start:hover {
  background: var(--primary-green-hover);
  transform: translateY(-1px);
}

.hero-play-btn {
  display: none;
}

@keyframes hero-play-pulse {
  0% {
    box-shadow: 0 4px 14px rgba(55, 194, 158, 0.3), 0 0 0 0 rgba(55, 194, 158, 0.5);
  }
  70% {
    box-shadow: 0 4px 14px rgba(55, 194, 158, 0.3), 0 0 0 14px rgba(55, 194, 158, 0);
  }
  100% {
    box-shadow: 0 4px 14px rgba(55, 194, 158, 0.3), 0 0 0 0 rgba(55, 194, 158, 0);
  }
}

/* Hero Section */
.hero {
  max-width: 900px;
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
  z-index: 10;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -2px;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero h1 span.italic-title {
  font-family: 'Plus Jakarta Sans', serif;
  font-style: italic;
  font-weight: 400;
}

.hero p {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 36px auto;
}

.cta-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-green);
  color: white;
  padding: 16px 36px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(55, 194, 158, 0.35);
  transition: all 0.3s ease;
}

.cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(55, 194, 158, 0.45);
}

.cta-main .sparkle-icon {
  font-size: 14px;
}

/* Showcase Layout */
.showcase-container {
  width: 100%;
  max-width: 1100px;
  margin-top: 50px;
  margin-bottom: 80px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

/* Common Card Styles */
.card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  transition: transform 0.3s ease;
}

/* Left Column Stack */
.left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 320px;
}

/* Card 1: Quick Deposit */
.card-quick-send {
  transform: rotate(-6deg) translateY(-10px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.icon-action {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}

.send-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  font-size: 18px;
}

.icon-circle.primary {
  background: var(--primary-green);
  color: white;
}

/* Card 2: Quick Cashout */
.card-quick-swap {
  transform: rotate(-3deg);
}

.swap-content {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.swap-tokens {
  display: flex;
  align-items: center;
}

.swap-tokens .icon-circle {
  width: 38px;
  height: 38px;
}

.swap-tokens .icon-circle:nth-child(2) {
  margin-left: -12px;
}

.swap-text {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.2;
  font-weight: 500;
}

/* Center Column: Mega888 Wallet */
.center-col {
  width: 330px;
  z-index: 2;
}

.card-wallet {
  transform: rotate(0deg);
  padding: 28px;
}

.wallet-sub-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 16px;
  margin-bottom: 24px;
}

.wallet-address {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-green);
  font-weight: 500;
}

.wallet-balance {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.wallet-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-secondary {
  font-size: 20px;
  color: var(--primary-green);
  font-weight: 600;
}

.stat-badge {
  color: var(--primary-green);
  font-size: 22px;
  font-weight: 700;
}

/* Right Column: Total Winnings */
.right-col {
  width: 310px;
  position: relative;
}

/* Transparent back card backdrop */
.card-spend-backdrop {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transform: rotate(4deg);
  z-index: 0;
}

.card-spend {
  transform: rotate(5deg) translateY(-5px);
  position: relative;
  z-index: 1;
}

.chart-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 150px;
  margin-top: 30px;
  padding: 0 10px;
}

.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.chart-bar {
  width: 42px;
  background: #f1f5f9;
  border-radius: 20px;
  position: relative;
  transition: height 0.3s ease;
}

.chart-col.active .chart-bar {
  background: var(--primary-green);
}

.chart-col.active .chart-bar::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.chart-label {
  font-size: 12px;
  color: var(--text-gray);
}

.chart-tooltip {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  white-space: nowrap;
  font-size: 10px;
  color: var(--text-gray);
}

.chart-tooltip strong {
  display: block;
  color: var(--text-dark);
  font-size: 11px;
}

/* SVG Icons styling */
svg {
  display: block;
}

/* ==========================================================================
   Mega888 Trik — download & game-guide landing page
   ========================================================================== */

/* Hero additions */
.device-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(55, 194, 158, 0.2);
}

.hero h1 {
  font-size: 56px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 8px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cta-secondary:hover {
  border-color: var(--primary-green);
  color: var(--primary-green-hover);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Generic sections */
.section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 72px 20px;
  position: relative;
  z-index: 10;
}

.section.alt {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.section-inner {
  width: 100%;
  max-width: 1080px;
}

.section-inner h2 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-lead {
  color: var(--text-gray);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 16px;
  margin-top: 4px;
}

.section-note {
  color: var(--text-gray);
  font-size: 13px;
  font-style: italic;
  margin-top: 20px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 24px 0 8px 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-dark);
  font-size: 14.5px;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-green);
  color: white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Device Selector */
.device-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.device-tab {
  text-align: left;
  background: var(--card-bg);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.device-tab:hover {
  transform: translateY(-2px);
}

.device-tab:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

.device-tab.active {
  border-color: var(--primary-green);
  box-shadow: 0 20px 40px rgba(55, 194, 158, 0.18), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.device-tab-icon {
  font-size: 26px;
}

.device-tab-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--text-dark);
}

.device-tab-desc {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.5;
}

.device-panels {
  margin-top: 24px;
}

.device-panel {
  display: none;
}

.device-panel.active {
  display: block;
}

.btn-panel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-green);
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(55, 194, 158, 0.3);
  transition: all 0.2s ease;
}

.btn-panel:hover {
  background: var(--primary-green-hover);
  transform: translateY(-1px);
}

/* APK / iOS card */
.apk-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-top: 32px;
}

.apk-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.apk-card-icon {
  font-size: 24px;
}

.apk-card-title {
  font-weight: 700;
  font-size: 18px;
}

.apk-card-meta {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 14px;
}

.apk-card-meta li {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-gray);
}

.apk-card-meta strong {
  color: var(--text-dark);
  font-weight: 600;
}

.status-live {
  color: var(--primary-green) !important;
}

.btn-apk {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--primary-green);
  color: white;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(55, 194, 158, 0.3);
  transition: all 0.2s ease;
}

.btn-apk:hover {
  background: var(--primary-green-hover);
  transform: translateY(-1px);
}

.btn-apk:focus-visible {
  outline: 2px solid var(--text-dark);
  outline-offset: 2px;
}

.btn-apk-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
  box-shadow: none;
}

.btn-apk-outline:hover {
  background: rgba(55, 194, 158, 0.08);
}

.apk-card-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 12px;
}

/* Installation stepper */
.stepper {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 14px 11px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.step:not(:last-child)::after {
  content: '→';
  color: var(--primary-green);
  font-size: 18px;
  margin: 0 14px;
}

.step-num {
  font-weight: 800;
  font-size: 13px;
  color: var(--primary-green);
  background: rgba(55, 194, 158, 0.12);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-label {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-dark);
  white-space: nowrap;
}

.step-details {
  display: grid;
  gap: 10px;
  max-width: 620px;
  color: var(--text-dark);
  font-size: 14.5px;
  padding-left: 20px;
}

.step-details li {
  padding-left: 4px;
}

/* Device checker */
.checker-box {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-top: 32px;
}

.checker-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}

.checker-step {
  animation: checker-fade 0.3s ease;
}

@keyframes checker-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.checker-question {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.checker-options {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.checker-btn {
  font-family: inherit;
  background: var(--pill-bg);
  border: 2px solid transparent;
  color: var(--text-dark);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checker-btn:hover {
  border-color: var(--primary-green);
}

.checker-btn:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

.checker-btn.selected {
  background: var(--primary-green);
  color: white;
}

.checker-result {
  animation: checker-fade 0.3s ease;
}

.checker-result-text {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14.5px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #f8fafc;
  border-left: 3px solid var(--primary-green);
  border-radius: 8px;
}

.checker-result-btn {
  max-width: 260px;
}

/* Transition banner */
.transition-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(120deg, #0f172a, #1e293b);
  padding: 48px 20px;
  position: relative;
  z-index: 10;
}

.transition-inner {
  width: 100%;
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.transition-inner h3 {
  color: white;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 6px;
}

.transition-inner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
}

.btn-transition {
  background: var(--primary-green);
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 10px 22px rgba(55, 194, 158, 0.3);
}

.btn-transition:hover {
  transform: translateY(-2px);
}

/* Game grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.game-card {
  background: var(--card-bg);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.game-card-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(160deg, #f0fdfa, #d8f1ec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}

.game-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-card p {
  color: var(--text-gray);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.game-tags span {
  background: var(--pill-bg);
  color: var(--text-gray);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.btn-game {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(55, 194, 158, 0.1);
  color: var(--primary-green-hover);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 18px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.btn-game:hover {
  background: var(--primary-green);
  color: white;
}

/* Game guide finder */
.finder-box {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-top: 32px;
}

.finder-question {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
}

.finder-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.finder-btn {
  font-family: inherit;
  background: var(--pill-bg);
  border: 2px solid transparent;
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.finder-btn:hover {
  border-color: var(--primary-green);
}

.finder-btn:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

.finder-btn.active {
  background: var(--primary-green);
  color: white;
}

.finder-result {
  display: none;
  animation: checker-fade 0.3s ease;
}

.finder-result.active {
  display: block;
}

.finder-rec {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.finder-rec strong {
  font-size: 14.5px;
  color: var(--text-dark);
}

.finder-rec span {
  font-size: 12.5px;
  color: var(--text-gray);
}

/* Comparison table */
.compare-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  min-width: 480px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 16px 20px;
  font-size: 13.5px;
}

.compare-table thead th {
  background: #f8fafc;
  color: var(--text-gray);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.compare-table tbody tr {
  border-top: 1px solid #f1f5f9;
}

.compare-table tbody td {
  color: var(--text-dark);
  font-weight: 500;
}

/* Responsible play card */
.responsible-card {
  margin-top: 28px;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.responsible-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.responsible-card strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.responsible-card p {
  font-size: 13px;
  color: var(--text-gray);
}

.btn-responsible {
  margin-left: auto;
  background: var(--pill-bg);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  padding: 10px 18px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-responsible:hover {
  background: var(--primary-green);
  color: white;
}

/* FAQ accordion */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--primary-green);
  font-size: 20px;
  font-weight: 400;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-gray);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Final CTA */
.final-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 90px 20px;
  position: relative;
  z-index: 10;
}

.final-cta-inner {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.final-cta-inner h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.final-cta-inner p {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 32px;
}

.final-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-inner {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--primary-green);
}

.footer-copyright {
  color: var(--text-gray);
  font-size: 12.5px;
}

/* Floating Contact Buttons */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.float-btn:active {
  transform: scale(0.94);
}

.float-btn-whatsapp {
  background: #25d366;
}

.float-btn-telegram {
  background: #229ed9;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-right .btn-start {
    display: none;
  }

  .float-contact {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }

  .hero-play-btn {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 248px;
    margin: 4px auto 20px auto;
    padding: 14px 36px;
    animation: hero-play-pulse 2s ease-out infinite;
  }

  .hero-play-btn:active {
    transform: scale(0.96);
  }

  .nav-center {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--card-shadow);
    backdrop-filter: none;
  }

  .nav-center.open {
    display: flex;
  }

  .nav-center a {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
  }

  .nav-center a:hover {
    background: var(--pill-bg);
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 14.5px;
  }

  .section-inner h2 {
    font-size: 26px;
  }

  .device-tabs {
    grid-template-columns: 1fr;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .stepper {
    flex-direction: column;
    align-items: stretch;
  }

  .step {
    width: 100%;
  }

  .step:not(:last-child)::after {
    content: '↓';
    display: block;
    text-align: center;
    margin: 6px 0;
  }

  .transition-inner {
    flex-direction: column;
    text-align: center;
  }

  .responsible-card {
    flex-direction: column;
    text-align: center;
  }

  .btn-responsible {
    margin-left: 0;
  }
}

@media (min-width: 861px) and (max-width: 1150px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Game guide pages (Ocean King and other per-game trik pages)
   ========================================================================== */

.hero-sub {
  font-size: 14px;
}

.subhead {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 14px 0;
}

.quote-callout {
  border-left: 3px solid var(--primary-green);
  background: #f8fafc;
  padding: 14px 20px;
  border-radius: 8px;
  font-style: italic;
  color: var(--text-dark);
  font-size: 14.5px;
  margin: 0 0 16px 0;
  max-width: 620px;
}

/* Plain category list (no checkmark bullet) */
.check-list.plain-list {
  max-width: 640px;
}

.check-list.plain-list li {
  padding-left: 20px;
}

.check-list.plain-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  top: 7px;
  background: var(--primary-green);
  border-radius: 50%;
}

/* In-content game screenshot (control callouts, boss/creature charts, etc.) */
.inline-shot {
  margin: 8px 0 28px 0;
}

.inline-shot-img {
  max-width: 100%;
  width: 480px;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: block;
}

/* Hero game visual (real in-game screenshot) */
.game-visual-img {
  max-width: 100%;
  width: 420px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Quick facts card */
.facts-card {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.facts-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.facts-grid li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
}

.facts-grid li span {
  color: var(--text-gray);
}

.facts-grid li strong {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 13.5px;
}

/* Slot vs Ocean King style comparisons */
.vs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}

.vs-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.vs-card strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 6px;
}

.vs-card p {
  font-size: 13px;
  color: var(--text-gray);
}

/* Vertical flow list (arrows between steps) */
.flow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  margin: 24px 0;
}

.flow-list li {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 10px 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-dark);
}

.flow-list li:not(:last-child)::after {
  content: '↓';
  display: block;
  text-align: center;
  color: var(--primary-green);
  font-size: 16px;
  margin: 4px 0;
}

/* Basics grid (Cannon / Aim / Fire) */
.basics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0 32px 0;
}

.basic-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  text-align: center;
}

.basic-icon {
  display: block;
  font-size: 26px;
  margin-bottom: 10px;
}

.basic-card strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 6px;
}

.basic-card p {
  font-size: 12.5px;
  color: var(--text-gray);
}

.step-details.numbered {
  list-style: decimal;
  padding-left: 22px;
}

/* Example / metric cards (Cannon rendah-tinggi, Player A/B) */
.example-cards {
  align-items: start;
}

.example-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.example-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 12px;
}

.example-meta {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 12px;
}

.example-meta li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-gray);
}

.example-meta strong {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 0;
  display: inline;
}

.example-result {
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-green-hover);
  margin-bottom: 10px;
}

.example-card p:not(.example-result) {
  font-size: 12.5px;
  color: var(--text-gray);
}

.limit-list {
  max-width: 400px;
  margin: 20px 0;
}

/* Cannon & ammo cost calculator */
.cannon-calc-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-field label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.calc-input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid var(--pill-bg);
  background: #f8fafc;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}

.calc-input:focus-visible {
  outline: none;
  border-color: var(--primary-green);
}

/* Mistake list */
.mistake-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.mistake-item {
  display: flex;
  gap: 14px;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.mistake-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(55, 194, 158, 0.12);
  color: var(--primary-green-hover);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mistake-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.mistake-item p {
  font-size: 12.5px;
  color: var(--text-gray);
  line-height: 1.6;
}

.mistake-item p + p {
  margin-top: 8px;
}


.risk-card .vs-card {
  cursor: default;
}

/* Responsive — game guide pages */
@media (max-width: 860px) {
  .vs-cards {
    grid-template-columns: 1fr;
  }

  .basics-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .mistake-grid {
    grid-template-columns: 1fr;
  }

  .game-visual-img {
    width: 280px;
  }
}

/* ==========================================================================
   Dolphin Reef page
   ========================================================================== */

.flow-chain {
  display: inline-block;
  background: var(--card-bg);
  border-radius: 14px;
  padding: 12px 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary-green-hover);
  margin: 8px 0 20px 0;
}

/* 20 Payline Viewer */
.payline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 360px;
  margin-bottom: 8px;
}

.payline-grid .finder-btn {
  text-align: center;
  padding: 10px 0;
}

/* Symbol paytable grid */
.paytable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}

/* Reel strip visual (Dolphin substitute positions) */
.reel-strip {
  display: flex;
  gap: 10px;
  margin: 20px 0 8px 0;
  flex-wrap: wrap;
}

.reel-box {
  flex: 1;
  min-width: 80px;
  background: var(--card-bg);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reel-box.active {
  border-color: var(--primary-green);
  background: rgba(55, 194, 158, 0.08);
}

.reel-label {
  font-size: 11px;
  color: var(--text-gray);
  font-weight: 600;
}

.reel-state {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.reel-box.active .reel-state {
  color: var(--primary-green-hover);
}

/* Pill badge (status / tags on cards) */
.pill-badge {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  background: rgba(55, 194, 158, 0.12);
  color: var(--primary-green-hover);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
}

.pill-badge-pending {
  background: var(--pill-bg);
  color: var(--text-gray);
  margin-left: 0;
  margin-top: 12px;
}


.inline-link {
  color: var(--primary-green-hover);
  font-weight: 600;
  text-decoration: underline;
}

/* Myth grid (quick mismatch summary cards) */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.myth-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.myth-card strong {
  font-size: 13px;
  color: var(--text-dark);
}

.myth-card span {
  font-size: 12.5px;
  color: var(--text-gray);
}

/* Game knowledge quiz */
.quiz-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.quiz-item {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.quiz-question {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.quiz-verdict {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.quiz-verdict.correct {
  color: var(--primary-green-hover);
}

.quiz-verdict.incorrect {
  color: #e0794a;
}

@media (max-width: 860px) {
  .paytable-grid {
    grid-template-columns: 1fr;
  }

  .myth-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .payline-grid {
    max-width: 100%;
  }
}

@media (min-width: 861px) and (max-width: 1150px) {
  .paytable-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Great Blue page
   ========================================================================== */

/* Flexible term-definition grid (e.g. Lines / Line Bet / Total Bet / Balance / Spin) */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

/* Two-column variant of the myth grid (used when there are only 2 cards) */
.myth-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
  .myth-grid.two-col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Bonus Bear page
   ========================================================================== */

/* Flow-list steps with a title + short description (30-second stepper) */
.flow-list li strong {
  display: block;
  margin-bottom: 4px;
}

.flow-list li span {
  display: block;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--text-gray);
}

/* Tap-to-reveal myth cards */
.myth-reveal-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.myth-reveal-card .quiz-question {
  margin-bottom: 14px;
}

.myth-reveal-card .checker-result {
  margin-top: 16px;
}

/* Beginner Start Check — unresolved-item list */
.start-check-item {
  margin-bottom: 16px;
}

.start-check-item:last-child {
  margin-bottom: 0;
}

.start-check-item .checker-result-text {
  margin-bottom: 10px;
}

/* ==========================================================================
   Responsible Gambling page
   ========================================================================== */

.helpline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.helpline-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.helpline-card strong {
  font-size: 14.5px;
  color: var(--text-dark);
}

.helpline-number {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-green-hover);
  text-decoration: none;
}

a.helpline-number:hover {
  text-decoration: underline;
}

.helpline-card p {
  font-size: 12.5px;
  color: var(--text-gray);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .helpline-grid {
    grid-template-columns: 1fr;
  }
}