:root {
  --wg-bg: #050c1a;
  --wg-surface: rgba(10, 22, 46, 0.72);
  --wg-surface-strong: rgba(8, 18, 38, 0.90);
  --wg-border: rgba(56, 189, 248, 0.22);
  --wg-border-bright: rgba(56, 189, 248, 0.55);
  --wg-blue: #0077ff;
  --wg-cyan: #38bdf8;
  --wg-emerald: #10b981;
  --wg-emerald-glow: #34d399;
  --wg-amber: #f59e0b;
  --wg-crimson: #ef4444;
  --wg-text: #f1f5f9;
  --wg-muted: #94a3b8;
  --wg-radius: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Roboto", system-ui, -apple-system, sans-serif;
  color: var(--wg-text);
  background-color: var(--wg-bg);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(0, 119, 255, 0.22), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(34, 211, 238, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(5, 12, 26, 0.80) 0%, rgba(5, 12, 26, 0.92) 55%, rgba(5, 12, 26, 0.97) 100%),
    url("../background.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--wg-cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: #7dd3fc;
}

/* ===== Page Loader ===== */
.wg-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #0c1f3f 0%, #050b18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.wg-loader.wg-loader-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.wg-loader-img {
  width: min(210px, 55vw);
  height: auto;
  animation: wgPulse 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(0, 119, 255, 0.55));
}
@keyframes wgPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== Frosted Glass Top Navbar ===== */
.wg-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 990;
  height: 72px;
  background: rgba(6, 15, 32, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.wg-navbar-inner {
  max-width: 1220px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wg-brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.wg-navbar-logo {
  height: 32px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 136, 255, 0.35));
}
.wg-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 33, 66, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.wg-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wg-emerald-glow);
  box-shadow: 0 0 10px var(--wg-emerald-glow);
  animation: wgBlink 1.8s ease-in-out infinite;
}
@keyframes wgBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.wg-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wg-nav-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
}
.wg-nav-links a:hover,
.wg-nav-links a.active {
  color: var(--wg-cyan);
}
.wg-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.wg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.wg-btn:hover {
  transform: translateY(-1px);
}
.wg-btn-login {
  background: rgba(0, 119, 255, 0.18);
  border-color: rgba(56, 189, 248, 0.6);
  color: #fff;
}
.wg-btn-login:hover {
  background: rgba(0, 119, 255, 0.35);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  color: #fff;
}
.wg-btn-daftar {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border-color: rgba(251, 113, 133, 0.5);
  color: #fff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}
.wg-btn-daftar:hover {
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.55);
  color: #fff;
}

/* ===== Main Container ===== */
.wg-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 92px 20px 60px;
}

/* ===== Framed Hero Banner ===== */
.wg-hero-section {
  margin-bottom: 24px;
}
.wg-hero-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.38);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(0, 119, 255, 0.18);
  background: rgba(8, 18, 38, 0.7);
}
.wg-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.wg-hero-meta {
  text-align: center;
  margin-top: 20px;
}
.wg-hero-title {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 119, 255, 0.35);
}
.wg-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 8px;
}
.wg-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(12, 28, 58, 0.78);
  border: 1px solid var(--wg-border);
  color: var(--wg-cyan);
}
.wg-meta-chip.wg-chip-gold {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.38);
}
.wg-hero-desc {
  max-width: 760px;
  margin: 8px auto 0;
  color: var(--wg-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ===== Search & Filter Glass Toolbar ===== */
.wg-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin: 22px 0 18px;
  border-radius: 16px;
  background: var(--wg-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--wg-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}
.wg-search-box {
  position: relative;
  flex: 1 1 240px;
  max-width: 340px;
}
.wg-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wg-muted);
  font-size: 14px;
  pointer-events: none;
}
.wg-search-input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(5, 12, 26, 0.75);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wg-search-input::placeholder {
  color: #64748b;
}
.wg-search-input:focus {
  border-color: var(--wg-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}
.wg-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.wg-filter-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 29, 58, 0.65);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.wg-filter-btn:hover {
  border-color: var(--wg-cyan);
  color: #fff;
}
.wg-filter-btn.active {
  background: linear-gradient(135deg, #0284c7, #0077ff);
  border-color: var(--wg-cyan);
  color: #fff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}
.wg-sort-select {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(5, 12, 26, 0.85);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.wg-sort-select:focus {
  border-color: var(--wg-cyan);
}

/* ===== Provider Pill Rail ===== */
.wg-provider-rail-wrap {
  position: relative;
  margin-bottom: 26px;
}
.wg-provider-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.45) rgba(10, 22, 46, 0.4);
}
.wg-provider-rail::-webkit-scrollbar {
  height: 6px;
}
.wg-provider-rail::-webkit-scrollbar-track {
  background: rgba(10, 22, 46, 0.4);
  border-radius: 999px;
}
.wg-provider-rail::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.45);
  border-radius: 999px;
}
.wg-provider-pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(10, 22, 46, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.wg-provider-pill:hover {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(14, 34, 70, 0.9);
  color: #fff;
  transform: translateY(-1px);
}
.wg-provider-pill.act {
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.34), rgba(56, 189, 248, 0.22));
  border-color: var(--wg-cyan);
  color: #fff;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35), inset 0 0 12px rgba(56, 189, 248, 0.14);
}
.wg-provider-pill img {
  height: 22px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
  display: block;
}
.wg-tcg-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.55);
  color: #7dd3fc;
}

/* ===== Section Header ===== */
.wg-grid-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}
.wg-grid-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.wg-grid-sub {
  margin: 0;
  font-size: 13px;
  color: var(--wg-muted);
}

/* ===== Game Grid & Dark-Glass Cards ===== */
.wg-game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.wg-game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--wg-radius);
  background: var(--wg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--wg-border);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  padding: 10px;
  text-align: left;
}
.wg-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--wg-border-bright);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.18);
}
.wg-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(5, 12, 26, 0.8);
}
.wg-card-thumb img.wg-game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.wg-game-card:hover .wg-card-thumb img.wg-game-img {
  transform: scale(1.05);
}
.wg-hot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(5, 12, 26, 0.82);
  border: 1px solid rgba(52, 211, 153, 0.7);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}
.wg-prov-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  background: rgba(5, 12, 26, 0.72);
  backdrop-filter: blur(6px);
  padding: 3px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wg-prov-badge img {
  height: 18px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  display: block;
}
.wg-card-body {
  padding: 10px 2px 2px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.wg-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wg-card-time {
  font-size: 11.5px;
  color: var(--wg-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.wg-rtp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.wg-rtp-track {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  overflow: hidden;
}
.wg-rtp-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s ease;
}
.wg-rtp-fill.tier-high {
  background: linear-gradient(90deg, #059669, #34d399);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}
.wg-rtp-fill.tier-mid {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.55);
}
.wg-rtp-fill.tier-warn {
  background: linear-gradient(90deg, #d97706, #fbbf24);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.45);
}
.wg-rtp-fill.tier-low {
  background: linear-gradient(90deg, #dc2626, #f87171);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.45);
}
.wg-rtp-pct {
  font-size: 12.5px;
  font-weight: 800;
  min-width: 34px;
  text-align: right;
}
.wg-rtp-pct.tier-high { color: #6ee7b7; }
.wg-rtp-pct.tier-mid { color: #7dd3fc; }
.wg-rtp-pct.tier-warn { color: #fcd34d; }
.wg-rtp-pct.tier-low { color: #fca5a5; }

.wg-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--wg-radius);
  background: var(--wg-surface);
  border: 1px dashed var(--wg-border);
  color: var(--wg-muted);
}

/* ===== Dark Frosted-Glass Detail Modal ===== */
.wg-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(3, 8, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}
.wg-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.wg-modal-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(13, 28, 56, 0.95), rgba(6, 14, 30, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(0, 119, 255, 0.2);
  padding: 28px;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.wg-modal-backdrop.open .wg-modal-card {
  transform: translateY(0) scale(1);
}
.wg-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 29, 58, 0.85);
  color: #e2e8f0;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
.wg-modal-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #f87171;
  color: #fff;
}
.wg-modal-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
}
.wg-modal-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.wg-modal-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.wg-gauge-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wg-gauge-svg {
  width: 112px;
  height: 112px;
  transform: rotate(-90deg);
}
.wg-gauge-bg {
  fill: none;
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 9;
}
.wg-gauge-arc {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.55s ease, stroke 0.3s ease;
}
.wg-gauge-center {
  position: absolute;
  text-align: center;
  line-height: 1.1;
}
.wg-gauge-pct {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.wg-gauge-lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--wg-muted);
  margin-top: 2px;
}
.wg-modal-title {
  margin: 0 36px 12px 0;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.wg-modal-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #fde68a;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.wg-modal-section-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--wg-cyan);
  margin: 0 0 10px;
}
.wg-steps-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.wg-step-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8, 18, 38, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 500;
}
.wg-step-num {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(0, 119, 255, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wg-slot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(8, 18, 38, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.22);
}
.wg-slot-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wg-slot-toggles {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wg-tog {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}
.wg-tog-on {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.65);
  color: #6ee7b7;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
}
.wg-tog-off {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.5);
  color: #fca5a5;
}
.wg-spin-badge {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(0, 119, 255, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #bae6fd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.wg-modal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.wg-modal-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(15, 33, 66, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
}
.wg-modal-meta-pill.wg-pill-dc {
  border-color: rgba(52, 211, 153, 0.45);
  color: #a7f3d0;
}
.wg-modal-meta-pill.wg-pill-bet {
  border-color: rgba(245, 158, 11, 0.45);
  color: #fde68a;
}

/* ===== SEO Info Card & Footer ===== */
.wg-info-card {
  margin-top: 42px;
  padding: 28px 30px;
  border-radius: 20px;
  background: var(--wg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--wg-border);
}
.wg-info-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.wg-info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--wg-muted);
}

.wg-footer {
  margin-top: 40px;
  padding: 24px 20px 32px;
  border-top: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(5, 11, 24, 0.85);
  text-align: center;
}
.wg-footer-copy {
  font-size: 12.5px;
  color: var(--wg-muted);
}
.wg-footer-copy strong {
  color: #e2e8f0;
}

/* ===== Floating Mobile Glass Dock ===== */
.wg-mobile-dock {
  display: none;
}

/* ===== Floating WA / Telegram Quick Buttons ===== */
.wg-float-cs {
  position: fixed;
  left: 12px;
  bottom: 96px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.wg-float-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: rgba(6, 15, 32, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wg-float-cs img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

/* ===== Back to Top ===== */
.wg-top-btn {
  position: fixed;
  right: 16px;
  bottom: 96px;
  z-index: 950;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 119, 255, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(0, 119, 255, 0.4);
}
.wg-top-btn.show {
  opacity: 1;
  visibility: visible;
}
.wg-top-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .wg-game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .wg-live-pill {
    display: none;
  }
}

@media (max-width: 820px) {
  .wg-nav-links {
    display: none;
  }
  .wg-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .wg-main {
    padding: 84px 14px 104px;
  }
  .wg-footer {
    padding-bottom: 104px;
  }
  .wg-mobile-dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 980;
    height: 64px;
    padding: 0 8px;
    border-radius: 20px;
    background: rgba(8, 19, 40, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6);
  }
  .wg-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #cbd5e1;
    font-size: 10.5px;
    font-weight: 600;
    text-decoration: none;
  }
  .wg-dock-item i {
    font-size: 18px;
    color: #e2e8f0;
  }
  .wg-dock-center {
    transform: translateY(-10px);
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle, #0b2a5b 0%, #061530 100%);
    border: 2px solid var(--wg-cyan);
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .wg-dock-center img {
    width: 52px;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 600px) {
  .wg-navbar {
    height: 64px;
  }
  .wg-navbar-inner {
    padding: 0 12px;
  }
  .wg-navbar-logo {
    max-width: 138px;
    height: auto;
    max-height: 26px;
  }
  .wg-btn {
    padding: 6px 12px;
    font-size: 11.5px;
  }
  .wg-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .wg-modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wg-modal-left {
    flex-direction: row;
    justify-content: center;
  }
  .wg-modal-thumb {
    width: 110px;
    height: 110px;
  }
  .wg-float-cs {
    bottom: 92px;
    left: 8px;
  }
  .wg-float-cs img {
    width: 40px;
    height: 40px;
  }
}
