/* ============================================================
   GADUN GAMING — Landing Page Stylesheet
   Aesthetic: Dark luxury gold / casino prestige
   Fonts: Cinzel Decorative (display) + Lato (body)
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --gold-bright:   #FFD700;
  --gold-mid:      #E6B800;
  --gold-dark:     #A07700;
  --gold-dim:      #4D3800;
  --bg-void:       #0A0800;
  --bg-card:       #0F0C02;
  --bg-card-inner: #130F03;
  --border-gold:   rgba(255, 215, 0, 0.35);
  --border-glow:   rgba(255, 215, 0, 0.7);
  --text-primary:  #FFF8DC;
  --text-muted:    rgba(255, 248, 220, 0.6);
  --text-dim:      rgba(255, 248, 220, 0.35);
  --btn-daftar-bg: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #E6B800 100%);
  --btn-login-bg:  linear-gradient(135deg, #1a1400 0%, #2a2000 100%);
  --card-w:        420px;
  --radius-card:   20px;
  --radius-btn:    50px;
  --shadow-gold:   0 0 40px rgba(255, 215, 0, 0.18), 0 0 80px rgba(255, 165, 0, 0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Body / Background ── */
body {
  min-height: 100vh;
  background-color: var(--bg-void);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,200,0,0.12) 0%, transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255,215,0,0.02) 40px,
      rgba(255,215,0,0.02) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,215,0,0.02) 40px,
      rgba(255,215,0,0.02) 41px
    );
  font-family: 'Lato', sans-serif;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 48px;
  overflow-x: hidden;
}

/* ── Floating Particles ── */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particles span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  animation: float-up 8s infinite ease-in;
}
.particles span:nth-child(1)  { left: 10%; animation-delay: 0s;    animation-duration: 9s;  width: 3px; height: 3px; }
.particles span:nth-child(2)  { left: 25%; animation-delay: 1.5s;  animation-duration: 7s;  width: 5px; height: 5px; background: #FFA500; }
.particles span:nth-child(3)  { left: 40%; animation-delay: 3s;    animation-duration: 11s; width: 2px; height: 2px; }
.particles span:nth-child(4)  { left: 55%; animation-delay: 0.8s;  animation-duration: 8s;  background: #FFD700; }
.particles span:nth-child(5)  { left: 68%; animation-delay: 2.2s;  animation-duration: 10s; width: 3px; height: 3px; }
.particles span:nth-child(6)  { left: 80%; animation-delay: 4s;    animation-duration: 6s;  background: #E6B800; }
.particles span:nth-child(7)  { left: 88%; animation-delay: 1s;    animation-duration: 12s; width: 2px; height: 2px; }
.particles span:nth-child(8)  { left: 5%;  animation-delay: 5s;    animation-duration: 9s;  background: #FFC400; width: 4px; height: 4px; }

@keyframes float-up {
  0%   { bottom: -10px; opacity: 0; transform: translateX(0) scale(1); }
  15%  { opacity: 0.9; }
  80%  { opacity: 0.4; }
  100% { bottom: 105vh; opacity: 0; transform: translateX(30px) scale(0.5); }
}

/* ── Page Wrapper ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ── Card ── */
.card {
  width: 100%;
  max-width: var(--card-w);
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-gold);
  box-shadow:
    var(--shadow-gold),
    inset 0 1px 0 rgba(255,215,0,0.12);
  overflow: hidden;
  animation: card-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Card Header ── */
.card__header {
  background: linear-gradient(180deg, #1a1400 0%, #0f0c02 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 22px 24px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.card__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255,215,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}
.logo-img {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(255,215,0,0.5));
  animation: logo-pulse 3s ease-in-out infinite;
}
@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255,215,0,0.5)); }
  50%       { filter: drop-shadow(0 0 22px rgba(255,215,0,0.85)); }
}

.header-tagline {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-mid);
  opacity: 0.85;
}

/* ── Banner ── */
.card__banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 420px;
}

.banner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(255,180,0,0.22) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 6s ease;
}
.card:hover .banner-img {
  transform: scale(1.03);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(10, 8, 0, 0.85) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.banner-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: rgba(10, 8, 0, 0.75);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  padding: 6px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 16px rgba(255,215,0,0.3), inset 0 1px 0 rgba(255,215,0,0.15);
  animation: badge-glow 2s ease-in-out infinite alternate;
}
@keyframes badge-glow {
  from { box-shadow: 0 0 10px rgba(255,215,0,0.25), inset 0 1px 0 rgba(255,215,0,0.1); }
  to   { box-shadow: 0 0 24px rgba(255,215,0,0.55), inset 0 1px 0 rgba(255,215,0,0.25); }
}
.badge-icon { font-size: 14px; }
.badge-text {
  font-family: 'Cinzel', serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

/* ── Hero Copy ── */
.card__copy {
  padding: 24px 24px 0;
  text-align: center;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(20px, 6vw, 26px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--gold-bright);
  text-shadow:
    0 0 20px rgba(255,215,0,0.6),
    0 0 50px rgba(255,165,0,0.3);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-sub {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-mid);
  opacity: 0.8;
}

.hero-desc {
  font-family: 'Cinzel', serif;
  font-size: clamp(12px, 3.5vw, 14px);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 14px;
  opacity: 0.9;
}

.hero-body {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-body strong {
  color: var(--gold-bright);
  font-weight: 700;
}

/* Trust badges */
.trust-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s;
}
.trust-item:hover {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.35);
}
.trust-icon { font-size: 16px; flex-shrink: 0; }

/* ── CTA Buttons ── */
.card__cta {
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 32px;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
  cursor: pointer;
  border: none;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.96); }

/* Daftar (primary CTA) */
.btn--daftar {
  background: var(--btn-daftar-bg);
  color: #1a0e00;
  box-shadow:
    0 0 0 1px rgba(255,215,0,0.5),
    0 4px 30px rgba(255,165,0,0.45),
    0 0 60px rgba(255,215,0,0.2);
  animation: btn-pulse 2.5s ease-in-out infinite;
}
.btn--daftar:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255,215,0,0.8),
    0 8px 40px rgba(255,165,0,0.65),
    0 0 80px rgba(255,215,0,0.35);
  animation: none;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,215,0,0.5), 0 4px 30px rgba(255,165,0,0.4), 0 0 60px rgba(255,215,0,0.18); }
  50%       { box-shadow: 0 0 0 2px rgba(255,215,0,0.8), 0 6px 40px rgba(255,165,0,0.65), 0 0 90px rgba(255,215,0,0.35); }
}

.btn--daftar .btn__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer 2.5s 1s infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.btn__icon {
  font-size: 12px;
  color: rgba(26,14,0,0.7);
}
.btn__text { position: relative; z-index: 1; }

/* Login (secondary CTA) */
.btn--login {
  background: var(--btn-login-bg);
  color: var(--gold-bright);
  border: 1.5px solid var(--border-glow);
  box-shadow:
    0 0 20px rgba(255,215,0,0.1),
    inset 0 1px 0 rgba(255,215,0,0.08);
}
.btn--login:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #221900 0%, #332800 100%);
  box-shadow:
    0 0 30px rgba(255,215,0,0.25),
    0 0 60px rgba(255,215,0,0.1),
    inset 0 1px 0 rgba(255,215,0,0.15);
  border-color: var(--gold-bright);
}
.btn--login .btn__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,215,0,0.08) 50%, transparent 100%);
  transform: translateX(-100%);
}
.btn--login:hover .btn__glow {
  animation: shimmer-login 0.6s ease forwards;
}
@keyframes shimmer-login {
  to { transform: translateX(100%); }
}
.btn__arrow {
  font-size: 18px;
  transition: transform 0.2s;
}
.btn--login:hover .btn__arrow { transform: translateX(4px); }

/* ── Game Categories ── */
.card__games {
  padding: 0 24px 18px;
}
.section-label {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 12px;
}
.game-cats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.game-cat {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: 50px;
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  transition: all 0.2s;
  cursor: default;
}
.game-cat:hover {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.4);
  color: var(--gold-bright);
}

/* ── Footer ── */
.card__footer {
  background: linear-gradient(180deg, #0f0c02 0%, #0a0800 100%);
  border-top: 1px solid var(--border-gold);
  padding: 20px 24px;
  text-align: center;
}
.footer-brand {
  font-family: 'Cinzel Decorative', serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(255,215,0,0.5);
}
.footer-copy {
  font-size: 11px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  color: var(--gold-mid);
  text-decoration: none;
  transition: all 0.2s;
}
.social-link:hover {
  background: rgba(255,215,0,0.15);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 0 16px rgba(255,215,0,0.3);
  transform: translateY(-2px);
}
.footer-legal {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-link {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--gold-bright); }

/* ── Responsive ── */
@media (max-width: 460px) {
  body { padding: 16px 10px 32px; }

  .card__header { padding: 18px 16px 14px; }
  .logo-img { max-width: 160px; }

  .card__copy { padding: 20px 16px 0; }
  .card__cta  { padding: 18px 16px 14px; }
  .card__games { padding: 0 16px 14px; }
  .card__footer { padding: 18px 16px; }

  .trust-list { grid-template-columns: 1fr 1fr; gap: 6px; }
  .trust-item { font-size: 10.5px; padding: 7px 8px; }

  .btn { font-size: 13px; padding: 14px 20px; letter-spacing: 0.12em; }
  .card__banner { max-height: 360px; }
}

@media (min-width: 520px) {
  .card {
    border-radius: 24px;
    box-shadow:
      var(--shadow-gold),
      0 24px 80px rgba(0,0,0,0.8),
      inset 0 1px 0 rgba(255,215,0,0.12);
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .particles, .banner-img, .logo-img,
  .btn--daftar, .btn--daftar .btn__glow,
  .banner-badge, .card { animation: none !important; transition: none !important; }
}
