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

:root {
  --vit-bg: #0f090f;
  --vit-bg2: #1a0a24;
  --vit-card: rgba(32, 13, 107, 0.35);
  --vit-border: rgba(255, 255, 255, 0.12);
  --vit-border-bright: rgba(255, 255, 255, 0.45);
  --vit-purple: #7c3aed;
  --vit-purple-deep: #200d6b;
  --vit-magenta: #d946ef;
  --vit-glow: rgba(217, 70, 239, 0.45);
  --vit-text: #e9e0f5;
  --vit-muted: #9d8fb8;
  --vit-white: #ffffff;
  --radius: 4px;
  --container: 1180px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: radial-gradient(ellipse at 50% 0%, #2a1035 0%, var(--vit-bg) 55%);
  color: var(--vit-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
body.overlay-active { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--vit-magenta); text-decoration: none; }
em { font-style: normal; color: var(--vit-magenta); }

.vit-wrap { position: relative; z-index: 1; }
.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }

.btn-vit {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; border: 1px solid var(--vit-border-bright);
  background: transparent; color: var(--vit-white);
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
}
.btn-vit:hover { box-shadow: 0 0 20px var(--vit-glow); color: var(--vit-white); }
.btn-vit-primary {
  padding: 0.95rem 2.5rem; border: 2px solid var(--vit-magenta);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.5), rgba(32, 13, 107, 0.8));
  border-radius: 999px; font-size: 1rem; letter-spacing: 0.2em;
  box-shadow: 0 0 30px var(--vit-glow), inset 0 0 20px rgba(217, 70, 239, 0.15);
}
.btn-vit-primary:hover { box-shadow: 0 0 40px var(--vit-glow); transform: scale(1.02); color: var(--vit-white); }
.btn-vit-sm { padding: 0.5rem 1rem; font-size: 0.65rem; }

#welcome-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5, 3, 8, 0.96); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
#welcome-overlay.fade-out { opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.welcome-modal {
  width: min(460px, 100%); padding: 2rem; text-align: center;
  background: var(--vit-bg2); border: 1px solid var(--vit-border);
  position: relative;
}
.welcome-modal::before, .welcome-modal::after {
  content: ''; position: absolute; width: 20px; height: 20px;
  border: 2px solid var(--vit-border-bright);
}
.welcome-modal::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.welcome-modal::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.welcome-modal .logo-main { width: 190px; margin: 0 auto 1rem; }
.welcome-modal h2 { font-family: var(--font-display); font-size: 1.35rem; color: var(--vit-white); margin-bottom: 0.65rem; letter-spacing: 0.05em; }
.welcome-modal h2 span { color: var(--vit-magenta); }
.welcome-modal p { color: var(--vit-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; margin-bottom: 0.85rem; }
.welcome-close { background: none; border: none; color: var(--vit-muted); font-size: 0.82rem; cursor: pointer; text-decoration: underline; }

.vit-header { padding: 1rem 0; border-bottom: 1px solid var(--vit-border); }
.vit-header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.vit-nav-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.vit-nav-left a {
  color: var(--vit-muted); font-family: var(--font-display); font-size: 0.65rem;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
}
.vit-nav-left a:hover { color: var(--vit-white); }
.vit-logo { justify-self: center; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: 0.25em; color: var(--vit-white); }
.vit-logo img { height: 36px; width: auto; margin: 0 auto; }
.vit-nav-right { display: flex; justify-content: flex-end; gap: 0.65rem; }

.vit-shell { display: grid; grid-template-columns: 1fr 340px; gap: 1.25rem; padding: 1.5rem 0 2.5rem; align-items: start; }
.vit-main-col { min-width: 0; }

.vit-frame {
  position: relative; border: 1px solid var(--vit-border);
  background: linear-gradient(135deg, rgba(32, 13, 107, 0.45), rgba(15, 9, 15, 0.95));
  margin-bottom: 1.25rem; overflow: hidden;
}
.vit-frame::before, .vit-frame::after {
  content: ''; position: absolute; width: 24px; height: 24px; z-index: 2; pointer-events: none;
  border: 2px solid var(--vit-border-bright);
}
.vit-frame::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.vit-frame::after { bottom: 8px; right: 8px; border-left: none; border-top: none; }

.vit-tabs {
  display: flex; align-items: stretch; border-bottom: 1px solid var(--vit-border);
  overflow-x: auto; scrollbar-width: none;
}
.vit-tabs::-webkit-scrollbar { display: none; }
.vit-tab {
  flex: 0 0 auto; padding: 0.65rem 1.1rem; font-family: var(--font-display);
  font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--vit-muted); border-right: 1px solid var(--vit-border);
  text-transform: uppercase; cursor: default; white-space: nowrap;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  background: rgba(0,0,0,0.2);
}
.vit-tab.active {
  color: var(--vit-white); border: 2px solid var(--vit-border-bright);
  border-bottom: none; background: rgba(124, 58, 237, 0.25); margin-bottom: -1px; z-index: 1;
}

.vit-hero-inner {
  display: grid; grid-template-columns: 1fr 280px; gap: 1rem;
  padding: 1.5rem 1.75rem 1.75rem; align-items: center; min-height: 320px;
}
.vit-hero-copy { position: relative; z-index: 1; }
.vit-hero-stat {
  font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; color: var(--vit-white); letter-spacing: 0.02em; line-height: 1.1;
  text-shadow: 0 0 30px var(--vit-glow);
}
.vit-hero-label {
  font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.25em;
  color: var(--vit-muted); margin-top: 0.35rem; margin-bottom: 1.25rem;
}
.vit-hero-sub { font-size: 0.88rem; color: var(--vit-muted); margin-bottom: 1rem; max-width: 420px; }
.vit-hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.vit-hero-visual img { border-radius: var(--radius); max-height: 280px; object-fit: cover; }
.vit-hero-note { font-size: 0.72rem; color: var(--vit-muted); margin-top: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.vit-social-row { display: flex; gap: 0.5rem; padding: 0 1.25rem 1rem; }
.vit-social-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--vit-border); border-radius: 6px; font-size: 0.65rem;
  color: var(--vit-muted); font-family: var(--font-display);
}

.vit-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.vit-panel {
  border: 1px solid var(--vit-border); background: rgba(15, 9, 15, 0.85); padding: 1.25rem;
  position: relative;
}
.vit-panel::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--vit-magenta), transparent);
}
.vit-panel-tag {
  font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.12em;
  color: var(--vit-magenta); margin-bottom: 0.65rem; text-transform: uppercase;
}
.vit-panel h3 { font-family: var(--font-display); font-size: 0.85rem; color: var(--vit-white); margin-bottom: 0.65rem; letter-spacing: 0.08em; }
.vit-panel p { font-size: 0.88rem; color: var(--vit-muted); margin-bottom: 0.55rem; }
.vit-panel a { color: var(--vit-magenta); font-weight: 600; }

.vit-section { padding: 0 0 2rem; }
.vit-section-head { margin-bottom: 1.15rem; }
.vit-section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--vit-white); letter-spacing: 0.08em; text-transform: uppercase;
}
.vit-section-head p { color: var(--vit-muted); font-size: 0.88rem; margin-top: 0.35rem; }

.games-scroll-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.games-scroll { display: flex; gap: 0.85rem; padding-bottom: 0.5rem; }
.game-card {
  flex: 0 0 250px; border: 1px solid var(--vit-border);
  background: rgba(15, 9, 15, 0.9); overflow: hidden; color: inherit;
}
.game-card-body { padding: 0.75rem 0.85rem; }
.game-badges { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.4rem; }
.badge-hot, .badge-rtp, .badge-provider {
  font-size: 0.58rem; padding: 0.15rem 0.45rem; font-family: var(--font-display);
  letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--vit-border);
}
.badge-hot { color: var(--vit-magenta); border-color: rgba(217, 70, 239, 0.4); }
.badge-rtp { color: var(--vit-purple); border-color: rgba(124, 58, 237, 0.4); }
.badge-provider { color: var(--vit-muted); }
.game-card h3 { font-family: var(--font-display); font-size: 0.78rem; color: var(--vit-white); letter-spacing: 0.05em; }
.game-card p { font-size: 0.74rem; color: var(--vit-muted); }

.provider-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 0.85rem; }
.provider-showcase img { border: 1px solid var(--vit-border); border-radius: var(--radius); }
.provider-marquee-wrap { overflow: hidden; }
.provider-marquee { display: flex; gap: 0.65rem; animation: vitMarquee 26s linear infinite; width: max-content; }
@keyframes vitMarquee { to { transform: translateX(-50%); } }
.provider-badge {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.75rem;
  border: 1px solid var(--vit-border); background: rgba(15, 9, 15, 0.8); white-space: nowrap;
}
.provider-badge strong { display: block; color: var(--vit-white); font-size: 0.75rem; font-family: var(--font-display); }
.provider-badge div { font-size: 0.65rem; color: var(--vit-muted); }

.jackpot-panel { border: 1px solid var(--vit-border); padding: 1.25rem; background: rgba(32, 13, 107, 0.2); }
.jackpot-live-dot { font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.15em; color: var(--vit-magenta); margin-bottom: 0.35rem; }
.jackpot-total { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--vit-white); text-shadow: 0 0 20px var(--vit-glow); margin-bottom: 0.85rem; }
.jackpot-list { display: flex; flex-direction: column; gap: 0.4rem; }
.jackpot-item {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.65rem;
  border: 1px solid var(--vit-border); background: rgba(0,0,0,0.25);
}
.jackpot-info { flex: 1; min-width: 0; }
.jackpot-info strong { display: block; font-size: 0.78rem; color: var(--vit-white); }
.jackpot-info span { font-size: 0.68rem; color: var(--vit-muted); }
.jackpot-amount { font-family: var(--font-display); font-size: 0.78rem; color: var(--vit-magenta); font-weight: 700; white-space: nowrap; }

.matrix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.matrix-panel { border: 1px solid var(--vit-border); padding: 1.15rem; background: rgba(15, 9, 15, 0.85); }
.matrix-panel h3 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--vit-white); margin-bottom: 0.75rem; }
.rtp-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.rtp-game-thumb { border-radius: var(--radius); flex-shrink: 0; }
.rtp-row-content { flex: 1; min-width: 0; }
.rtp-label { display: block; font-size: 0.78rem; color: var(--vit-white); font-weight: 600; }
.rtp-label small { display: block; font-size: 0.65rem; color: var(--vit-muted); font-weight: 400; }
.rtp-bar-wrapper { height: 4px; background: rgba(255,255,255,0.08); margin: 0.25rem 0; overflow: hidden; }
.rtp-bar { height: 100%; background: linear-gradient(90deg, var(--vit-purple), var(--vit-magenta)); }
.rtp-value { font-family: var(--font-display); font-size: 0.72rem; color: var(--vit-magenta); }
.ticker-container { max-height: 260px; overflow: hidden; }
.ticker-list { display: flex; flex-direction: column; gap: 0.35rem; }
.ticker-item {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.6rem;
  border: 1px solid var(--vit-border); font-size: 0.74rem; background: rgba(0,0,0,0.2);
}
.ticker-item strong { color: var(--vit-white); }
.win-amount { color: var(--vit-magenta); font-weight: 600; }

.faq-list { display: flex; flex-direction: column; gap: 0.45rem; }
.faq-list details { border: 1px solid var(--vit-border); background: rgba(15, 9, 15, 0.85); }
.faq-list summary {
  padding: 0.85rem 1rem; cursor: pointer; font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--vit-white);
  list-style: none; text-transform: uppercase;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '▼'; float: right; font-size: 0.55rem; color: var(--vit-magenta); }
.faq-list details[open] summary::after { content: '▲'; }
.faq-answer { padding: 0 1rem 0.85rem; color: var(--vit-muted); font-size: 0.85rem; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.testimonial-card { border: 1px solid var(--vit-border); padding: 1rem; background: rgba(15, 9, 15, 0.85); }
.testimonial-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.testimonial-author { font-weight: 600; color: var(--vit-white); font-size: 0.85rem; }
.testimonial-meta { font-size: 0.68rem; color: var(--vit-muted); }
.testimonial-game-thumb { margin-left: auto; border-radius: var(--radius); }
.stars { color: var(--vit-magenta); font-size: 0.78rem; margin-bottom: 0.35rem; }
.testimonial-card blockquote { font-size: 0.82rem; color: var(--vit-muted); font-style: italic; }

.vit-footer {
  border-top: 1px solid var(--vit-border); padding: 2rem 0 1.5rem;
  background: rgba(5, 3, 8, 0.8);
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 1.25rem; }
.footer-col h3 { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--vit-white); margin-bottom: 0.65rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.3rem; }
.footer-col a { color: var(--vit-muted); font-size: 0.82rem; }
.footer-col a:hover { color: var(--vit-magenta); }
.footer-col p { font-size: 0.82rem; color: var(--vit-muted); }
.footer-payments { margin-bottom: 1rem; }
.footer-payment-desc { font-size: 0.78rem; color: var(--vit-muted); margin-bottom: 0.55rem; }
.payment-logo-grid { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.payment-logo-item {
  padding: 0.35rem 0.5rem; border: 1px solid var(--vit-border);
  font-size: 0.58rem; color: var(--vit-muted); text-align: center;
}
.footer-bottom { text-align: center; padding-top: 1rem; border-top: 1px solid var(--vit-border); }
.footer-bottom p { font-size: 0.72rem; color: var(--vit-muted); margin-bottom: 0.25rem; }
.disclaimer { font-size: 0.65rem; opacity: 0.75; max-width: 560px; margin: 0.3rem auto 0; }

.vit-banner-bottom {
  text-align: center; padding: 2rem 1rem; margin-top: 1rem;
  border: 1px solid var(--vit-border); background: rgba(32, 13, 107, 0.25);
}
.vit-banner-bottom h2 {
  font-family: var(--font-display); font-size: clamp(1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.15em; color: var(--vit-white); text-transform: uppercase;
}

@media (max-width: 960px) {
  .vit-header-inner { grid-template-columns: 1fr auto; }
  .vit-nav-left { display: none; }
  .vit-logo { justify-self: start; }
  .vit-shell { grid-template-columns: 1fr; }
  .vit-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .vit-hero-sub { margin-inline: auto; }
  .vit-hero-visual { order: -1; }
  .matrix-grid, .testimonial-grid, .footer-grid, .provider-showcase { grid-template-columns: 1fr; }
  .provider-showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .provider-showcase { grid-template-columns: 1fr; }
}

/* STARXO88 landscape promo banners (16:9) — tampil penuh tanpa crop */
.sx88-banner-section { margin-bottom: 1.5rem; }
.sx88-banner-head { margin-bottom: 1rem; }
.sx88-banner-section h2 { font-family: var(--font-display); font-size: clamp(0.95rem, 2.2vw, 1.2rem); letter-spacing: 0.12em; color: var(--vit-white); text-transform: uppercase; margin-bottom: 0.35rem; }
.sx88-banner-section h2 em { font-style: normal; color: var(--vit-magenta); }
.sx88-banner-desc { color: var(--vit-muted); font-size: 0.82rem; margin-bottom: 0.75rem; }
.sx88-banner-scroll { display: flex; gap: 0.85rem; overflow-x: auto; padding-bottom: 0.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.sx88-banner-scroll::-webkit-scrollbar { height: 5px; }
.sx88-banner-scroll::-webkit-scrollbar-thumb { background: var(--vit-magenta); border-radius: 99px; }
.sx88-banner-card { flex: 0 0 min(78%, 520px); scroll-snap-align: start; border-radius: 8px; overflow: hidden; display: block; line-height: 0; border: 1px solid var(--vit-border); transition: transform 0.25s, box-shadow 0.25s; }
.sx88-banner-card:hover { transform: translateY(-3px); box-shadow: 0 0 20px var(--vit-glow); }
.sx88-banner-card img { width: 100%; height: auto; display: block; object-fit: contain; }
.sx88-hero-slide { position: relative; line-height: 0; }
.sx88-hero-slide img { width: 100%; height: auto; display: block; object-fit: contain; }
.sx88-slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 40%); display: flex; align-items: flex-end; padding: 12px 16px; }
.sx88-slide-cta { display: inline-block; padding: 10px 18px; border-radius: 999px; background: linear-gradient(180deg, rgba(124,58,237,0.8), rgba(32,13,107,0.95)); color: var(--vit-white); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; border: 2px solid var(--vit-magenta); }
