/* ==========================================================
   LordTopup — Stylesheet v2
   Tema: Dark Gaming · Gold · Crimson
========================================================== */

:root {
  --bg:      #080808;
  --bg-2:    #0f0f0f;
  --bg-3:    #141414;
  --surface: rgba(255,255,255,.055);
  --surface-2: rgba(255,255,255,.09);
  --line:    rgba(255,255,255,.09);
  --line-2:  rgba(255,255,255,.14);
  --red:     #e0121a;
  --red-2:   #ff2a32;
  --red-glow:rgba(224,18,26,.45);
  --gold:    #ffce1f;
  --gold-2:  #f5a300;
  --gold-glow:rgba(255,206,31,.55);
  --text:    #f0ece3;
  --muted:   #9a9490;
  --radius:  18px;
  --shadow:  0 28px 70px -24px rgba(0,0,0,.9);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Ambient glow layer */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 55% at 8% -10%,  rgba(224,18,26,.28), transparent 65%),
    radial-gradient(60% 45% at 95% -5%,  rgba(255,206,31,.15), transparent 65%),
    radial-gradient(80% 60% at 50% 115%, rgba(224,18,26,.12), transparent 65%);
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
h1, h2, h3, h4, .brand { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.025em; line-height: 1.18; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- Buttons ---- */
.btn {
  font-family: 'Space Grotesk'; font-weight: 600; cursor: pointer; border: none;
  border-radius: 12px; padding: 12px 22px; font-size: .92rem;
  transition: .2s transform, .2s box-shadow, .2s filter;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:hover  { filter: brightness(1.08); }
.btn:active { transform: scale(.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1205;
  box-shadow: 0 8px 28px -8px var(--gold-glow);
  position: relative; overflow: hidden;
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: shine 3.5s infinite;
}
.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  box-shadow: 0 8px 28px -8px var(--red-glow);
}
@keyframes shine { 0%,55%{left:-130%} 100%{left:170%} }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(8,8,8,.80);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 13px; }
.logo img { height: 42px; width: auto; filter: drop-shadow(0 4px 14px rgba(224,18,26,.6)); }
.logo .brand { font-size: 1.28rem; font-weight: 700; }
.logo .brand span { color: var(--gold); }
.logo small { display: block; font-size: .6rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; font-family: 'Inter'; }

/* ===== HERO / SLIDER ===== */
.hero { padding: 28px 0 14px; }
.slider {
  position: relative; border-radius: 26px; overflow: hidden;
  aspect-ratio: 1200/450; min-height: 130px;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.slides { display: flex; height: 100%; transition: transform .65s cubic-bezier(.65,.05,.3,1); }
.slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide .ph {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; padding: 28px;
  background:
    radial-gradient(120% 120% at 0% 0%,   rgba(224,18,26,.45), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(255,206,31,.32), transparent 55%),
    linear-gradient(135deg, #1a0606, #100b00);
}
.slide .ph b  { font-family: 'Space Grotesk'; font-size: clamp(1.1rem,3.5vw,2.1rem); font-weight: 700; }
.slide .ph span { color: #e5e0d6; font-size: .85rem; max-width: 480px; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(8,8,8,.55); backdrop-filter: blur(8px);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  font-size: 1.2rem; transition: .22s;
}
.slider-btn:hover { background: rgba(224,18,26,.82); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer; background: rgba(255,255,255,.38); transition: .25s; }
.dots button.active { width: 28px; border-radius: 6px; background: var(--gold); }

/* Marquee */
.marquee {
  margin-top: 16px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(90deg, var(--red), #c00010, var(--red));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 12px 34px -14px rgba(224,18,26,.65);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 20px; white-space: nowrap; padding: 13px 0; width: max-content;
  animation: marquee 24s linear infinite;
  font-family: 'Space Grotesk'; font-weight: 600; font-size: .9rem; color: #fff;
}
.marquee-track .dot { color: var(--gold); font-weight: 900; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTION BASE ===== */
.sec { padding: 60px 0; }
.eyebrow {
  font-family: 'Space Grotesk'; font-size: .7rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--red-2); font-weight: 700; margin-bottom: 10px;
}
.sec-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 8px; }
.sec-title em { font-style: normal; color: var(--gold); }
.lead { color: var(--muted); max-width: 640px; }

/* ===== GAME GRID ===== */
.games { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.game {
  position: relative; display: block; text-align: center; border-radius: 22px;
  padding: 20px 14px 22px; overflow: hidden; isolation: isolate;
  border: 1.5px solid transparent;
  background:
    linear-gradient(175deg, #181210, #0c0a09) padding-box,
    linear-gradient(150deg, rgba(255,206,31,.5), rgba(224,18,26,.5) 55%, rgba(255,206,31,.2)) border-box;
  transition: .3s transform, .3s box-shadow, .3s filter;
}
.game::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: .3s;
  background: radial-gradient(120% 90% at 50% -10%, var(--g, rgba(224,18,26,.45)), transparent 65%);
}
.game::after {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5;
}
.game:hover { transform: translateY(-8px); box-shadow: 0 28px 54px -22px rgba(224,18,26,.7), 0 0 0 1px rgba(255,206,31,.28); }
.game:hover::before { opacity: 1; }

.game .ic {
  width: 82px; height: 82px; margin: 0 auto 15px; border-radius: 20px;
  overflow: hidden; display: grid; place-items: center;
  box-shadow: 0 14px 32px -10px rgba(0,0,0,.85), 0 0 0 1.5px rgba(255,255,255,.09);
  transition: .3s transform;
}
.game:hover .ic { transform: scale(1.06); }
.game .ic img { width: 100%; height: 100%; object-fit: cover; }

.game .name { font-family: 'Space Grotesk'; font-weight: 700; font-size: .88rem; line-height: 1.3; }
.game .cur {
  display: inline-block; margin-top: 8px; font-size: .64rem; font-weight: 600;
  letter-spacing: .05em; color: var(--gold); font-family: 'Space Grotesk';
  padding: 3px 11px; border-radius: 20px;
  background: rgba(255,206,31,.1); border: 1px solid rgba(255,206,31,.28);
}
.game .go {
  display: block; margin-top: 14px; font-size: .72rem; font-weight: 700;
  color: #1a1205; font-family: 'Space Grotesk';
  padding: 8px 0; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  opacity: 0; transform: translateY(7px); transition: .3s;
  box-shadow: 0 8px 20px -8px var(--gold-glow);
}
.game:hover .go { opacity: 1; transform: translateY(0); }
@media (hover: none) { .game .go { opacity: 1; transform: none; } }

/* ===== KEUNGGULAN (2-col) ===== */
.desc-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.feature { display: flex; gap: 15px; margin-bottom: 20px; }
.feature .fic {
  flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2); font-size: 1.25rem;
  transition: .25s transform, .25s background;
}
.feature:hover .fic { background: var(--surface-2); transform: scale(1.08); }
.feature h3 { font-size: 1rem; margin-bottom: 3px; }
.feature p  { color: var(--muted); font-size: .9rem; }

.desc-card {
  border-radius: 26px; padding: 36px; border: 1px solid var(--line-2);
  background: linear-gradient(160deg, rgba(224,18,26,.22), rgba(255,206,31,.12)); position: relative; overflow: hidden;
}
.desc-card::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,206,31,.12), transparent 65%); pointer-events: none;
}
.desc-card .big { font-family: 'Space Grotesk'; font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.desc-card .row { display: flex; gap: 30px; margin-bottom: 24px; }
.desc-card .row small { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.desc-card blockquote { color: #ede9e0; font-size: .95rem; line-height: 1.7; font-style: italic; border-left: 3px solid var(--gold); padding-left: 14px; }

/* ===== CARA TOPUP (3-step) ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.step {
  border-radius: 20px; padding: 28px 24px; border: 1px solid var(--line);
  background: var(--surface); position: relative; overflow: hidden;
  transition: .28s transform, .28s box-shadow;
}
.step:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -20px rgba(0,0,0,.7); }
.step-num {
  font-family: 'Space Grotesk'; font-size: 3.2rem; font-weight: 800;
  color: var(--gold); opacity: .18; position: absolute; top: 10px; right: 18px; line-height: 1;
  pointer-events: none;
}
.step .icon { font-size: 2rem; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p  { color: var(--muted); font-size: .9rem; }

/* ===== PAYMENT BADGES ===== */
.pay-strip {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.pay-badge {
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 8px 16px;
  font-family: 'Space Grotesk'; font-size: .82rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px;
  transition: .22s background;
}
.pay-badge:hover { background: var(--surface-2); }
.pay-badge .pi { font-size: 1.1rem; }
.pay-label { color: var(--muted); font-size: .8rem; font-family: 'Space Grotesk'; }

/* ===== TESTIMONIALS ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.testi {
  border-radius: 20px; padding: 26px; border: 1px solid var(--line);
  background: var(--surface); position: relative;
  transition: .28s transform, .28s border-color;
}
.testi:hover { transform: translateY(-5px); border-color: rgba(255,206,31,.3); }
.testi-stars { color: var(--gold); font-size: .85rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-text { color: #ddd8cf; font-size: .9rem; line-height: 1.65; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 11px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold-2));
  display: grid; place-items: center; font-family: 'Space Grotesk'; font-weight: 700; font-size: .95rem;
  flex: none;
}
.testi-name { font-family: 'Space Grotesk'; font-weight: 700; font-size: .9rem; }
.testi-game { color: var(--muted); font-size: .78rem; }

/* ===== ARTICLE (SEO) ===== */
.article { max-width: 820px; margin: 0 auto; }
.article p  { color: #d8d4cb; margin-bottom: 18px; font-size: 1rem; line-height: 1.75; }
.article h3 { font-size: 1.22rem; margin: 32px 0 10px; color: var(--gold); }
.article h4 { font-size: 1rem; margin: 22px 0 8px; color: var(--text); }
.article strong { color: var(--text); }
.article ul { padding-left: 22px; margin-bottom: 16px; }
.article ul li { color: #d8d4cb; margin-bottom: 7px; font-size: .97rem; }
.article ul li strong { color: var(--text); }
.info-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: 14px; overflow: hidden; }
.info-table th {
  background: rgba(255,206,31,.14); color: var(--gold);
  font-family: 'Space Grotesk'; font-size: .82rem; text-align: left; padding: 12px 16px;
  border-bottom: 1px solid rgba(255,206,31,.2);
}
.info-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: .9rem; color: #d8d4cb; }
.info-table tr:hover td { background: var(--surface); }
.info-table tr:last-child td { border-bottom: none; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.qa { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.qa summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-family: 'Space Grotesk'; font-weight: 600; font-size: .97rem;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { flex: none; transition: .25s; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.qa[open] { border-color: rgba(255,206,31,.3); }
.qa[open] summary .plus { transform: rotate(45deg); }
.qa .ans { padding: 0 22px 18px; color: var(--muted); font-size: .93rem; line-height: 1.7; }

/* ===== FINAL CTA ===== */
.final {
  text-align: center; border-radius: 30px; padding: 60px 28px; margin: 20px 0 68px;
  border: 1px solid var(--line-2); position: relative; overflow: hidden;
  background:
    radial-gradient(100% 80% at 50% 120%, rgba(224,18,26,.22), transparent 55%),
    linear-gradient(135deg, rgba(224,18,26,.2), rgba(255,206,31,.12));
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='.8' fill='rgba(255,255,255,.04)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.final h2 { font-size: clamp(1.7rem, 4.5vw, 2.8rem); margin-bottom: 12px; position: relative; }
.final p  { color: #ede8de; max-width: 540px; margin: 0 auto 28px; position: relative; }

/* ===== GROUP STRIP ===== */
.group-strip {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 10px 0 42px; text-align: center;
}
.group-strip .group-label { font-family: 'Space Grotesk'; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.group-strip .group-logo { height: 52px; width: auto; opacity: .8; transition: .25s; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.group-strip a:hover .group-logo { opacity: 1; transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .86rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.foot a { color: var(--muted); transition: .2s color; }
.foot a:hover { color: var(--text); }

/* ===== STICKY CTA (mobile) ===== */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(8,8,8,.95); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.sticky .btn { width: 100%; justify-content: center; padding: 15px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .games { grid-template-columns: repeat(3, 1fr); }
  .desc-grid { grid-template-columns: 1fr; gap: 32px; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .games { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .sticky { display: block; }
  body { padding-bottom: 78px; }
  .sec { padding: 44px 0; }
  .logo small { display: none; }
  .pay-strip { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
