/* ================================================
   LANDING PAGE — Casino & Slot Web Developer
   Minimal Dark Theme with Gold Accents
   ================================================ */

:root {
  --bg: #07070c;
  --bg2: #0e0e16;
  --bg-card: #12121c;
  --border: rgba(255,255,255,0.06);
  --text: #eeeef2;
  --text2: #8888a0;
  --gold: #ffd700;
  --gold-dark: #c8a300;
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Gradient Text */
.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 700; border: none; cursor: pointer;
  border-radius: var(--radius); transition: all 0.3s; white-space: nowrap;
}
.btn i { font-size: 1.25em; }
.btn-primary {
  background: var(--gradient-gold); color: #0a0a0f;
  box-shadow: 0 4px 30px rgba(255,215,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(255,215,0,0.35);
}
.btn-xl { padding: 18px 42px; font-size: 1.1rem; border-radius: 16px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 0 40px;
}
.hero-bg {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}
.hero-banner-bg {
  position: absolute; inset: 0;
  background: url('img/banners/1.jpg') center/cover no-repeat;
  opacity: 0.12;
  animation: hero-bg-fade 18s infinite;
}
@keyframes hero-bg-fade {
  0%, 100% { background-image: url('img/banners/1.jpg'); }
  33% { background-image: url('img/banners/2.jpg'); }
  66% { background-image: url('img/banners/3.jpg'); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,12,0.7) 0%, var(--bg) 100%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.3;
}
.hero-glow.g1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,215,0,0.35), transparent 70%);
  top: -10%; left: -5%;
}
.hero-glow.g2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,100,0,0.25), transparent 70%);
  bottom: 0; right: -5%;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 40px;
  background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.15);
  font-size: 0.85rem; color: var(--gold); font-weight: 600;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text2); max-width: 560px; margin: 0 auto 36px;
  line-height: 1.8;
}
.hero .btn { margin-bottom: 48px; }

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.stat-lbl { font-size: 0.8rem; color: var(--text2); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.08); }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  animation: bounce-down 2s infinite;
  color: var(--text2); font-size: 1.4rem;
}
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
.section-dark { background: var(--bg2); }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; text-align: center;
  margin-bottom: 56px; letter-spacing: -0.01em;
}

/* ========== CARDS (Layanan) ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.35s;
}
.card:hover {
  border-color: rgba(255,215,0,0.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,215,0,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold);
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  font-size: 0.9rem; color: var(--text2); line-height: 1.7;
}

/* ========== REASONS (Keunggulan) ========== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 24px;
}
.reason {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s;
}
.reason:hover { border-color: rgba(255,215,0,0.15); }
.reason > i {
  font-size: 1.5rem; color: var(--gold); flex-shrink: 0;
  margin-top: 2px;
}
.reason h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.reason p { font-size: 0.88rem; color: var(--text2); line-height: 1.65; }

/* ========== CTA ========== */
.section-cta {
  position: relative; text-align: center;
  padding: 100px 0; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; margin-bottom: 14px;
}
.cta-content > p { color: var(--text2); margin-bottom: 32px; font-size: 1.05rem; }
.cta-content .btn { margin-bottom: 20px; }
.cta-note {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--text2);
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--text2);
}
.footer-inner a { color: var(--gold); display: flex; align-items: center; gap: 6px; }
.footer-inner a:hover { text-decoration: underline; }

/* ========== FLOATING TELEGRAM ========== */
.floating-tg {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #0088cc, #0099ee);
  color: #fff; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,136,204,0.4);
  z-index: 999; transition: all 0.3s;
}
.floating-tg:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0,136,204,0.55);
}

/* ========== GAME SHOWCASE MARQUEE ========== */
.game-showcase {
  padding: 48px 0 32px;
  background: var(--bg2);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.showcase-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.showcase-label i { font-size: 1.1rem; }
.marquee-track {
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-inner {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-right .marquee-inner {
  animation-direction: reverse;
}
.marquee-inner img {
  width: 140px;
  height: 185px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
  flex-shrink: 0;
}
.marquee-inner img:hover {
  border-color: rgba(255,215,0,0.3);
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(255,215,0,0.15);
  z-index: 2;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== PROVIDER STRIP ========== */
.provider-strip {
  padding: 48px 0;
  background: var(--bg);
}
.strip-label {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.provider-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.provider-logos img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.5) brightness(0.8);
  opacity: 0.7;
  transition: all 0.3s;
}
.provider-logos img:hover {
  filter: grayscale(0) brightness(1.1);
  opacity: 1;
  transform: scale(1.15);
}

/* ========== BANNER SLIDER ========== */
.banner-slider {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 16 / 6;
  background: var(--bg-card);
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.banner-slide.active {
  opacity: 1;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.banner-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.banner-dots span.active {
  background: var(--gold);
  transform: scale(1.2);
}
.banner-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text2);
  margin-top: 20px;
  font-style: italic;
}

/* ========== LIVE CASINO GRID ========== */
.live-casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.live-casino-grid img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 2px solid var(--border);
  transition: all 0.3s;
  display: block;
}
.live-casino-grid img:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}

/* ========== REVEAL ANIMATION ========== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s, transform 0.6s;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero { padding: 80px 0 40px; }
  .hero-stats { gap: 20px; }
  .stat-sep { height: 24px; }
  .reasons-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .btn-xl { padding: 16px 32px; font-size: 1rem; }
  .marquee-inner img { width: 110px; height: 146px; border-radius: 10px; }
  .provider-logos { gap: 16px; }
  .provider-logos img { height: 50px; }
  .live-casino-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .hero-badge { font-size: 0.78rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 0.92rem; }
  .marquee-inner img { width: 90px; height: 120px; gap: 8px; }
  .provider-logos img { height: 40px; }
  .live-casino-grid { grid-template-columns: repeat(2, 1fr); }
}
