/* ARGH Store — dark elegant theme
   Colors: bg #12121F, accent purple #7C3AED, cyan #06B6D4
   Fonts: Playfair Display (headings), Lato (body) */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #12121f;
  --bg-soft: #1a1a2e;
  --card: #1e1e33;
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #f2f2f8;
  --muted: #b9b9cc;
  --purple: #7c3aed;
  --cyan: #06b6d4;
  --gradient: linear-gradient(90deg, var(--purple), var(--cyan));
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(18, 18, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--text); }

.lang-toggle { display: flex; border: 1px solid var(--card-border); border-radius: 999px; overflow: hidden; }
.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 7px 13px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-toggle button.active { background: var(--gradient); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 88px 24px 72px;
}
.hero-glow {
  position: absolute;
  inset: -40% -10% auto;
  height: 480px;
  background:
    radial-gradient(ellipse 45% 60% at 30% 40%, rgba(124, 58, 237, 0.35), transparent 70%),
    radial-gradient(ellipse 45% 60% at 70% 40%, rgba(6, 182, 212, 0.28), transparent 70%);
  pointer-events: none;
}
.hero > :not(.hero-glow) { position: relative; }

.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(124, 58, 237, 0.55);
  border-radius: 999px;
  color: #d6c8ff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(124, 58, 237, 0.12);
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 22px 0 14px;
  letter-spacing: 0.02em;
}
.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 30px;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 46px;
}
.stat strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--muted); font-size: 0.9rem; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(6, 182, 212, 0.45); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--cyan); color: #fff; }
.btn-small { padding: 9px 18px; font-size: 0.88rem; background: var(--gradient); color: #fff; }

/* ---------- Sections ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 56px 24px 8px; }
.section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-sub { color: var(--muted); max-width: 680px; margin-bottom: 32px; }

/* ---------- Product grid & cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.6);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5f3fc;
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.price { font-weight: 900; font-size: 1.2rem; }
.price s { color: var(--muted); font-weight: 400; font-size: 0.9rem; margin-left: 6px; }

/* Clicky gradient tiles (no cover images) */
.tile {
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.28em;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
}
.tile-ebook { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.tile-cv { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.tile-planner { background: linear-gradient(135deg, #f59e0b, #b45309); }
.tile-panduan { background: linear-gradient(135deg, #10b981, #065f46); }
.tile-konten { background: linear-gradient(135deg, #ec4899, #9d174d); }

/* ---------- ARGH CLUB highlight ---------- */
.club {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--card);
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--card), var(--card)),
    var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.club:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(124, 58, 237, 0.35); }
.club img { width: 100%; height: 100%; object-fit: cover; }
.club-body { padding: 30px 32px; }
.tag-club { color: #fde68a; background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.4); }
.club-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  margin-bottom: 6px;
}
.club-body p { color: var(--muted); margin-bottom: 16px; }
.club-tiers { list-style: none; margin-bottom: 22px; }
.club-tiers li { padding: 5px 0; color: var(--text); }
.club-tiers li::before { content: "✓ "; color: var(--cyan); font-weight: 900; }

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  padding-bottom: 64px;
}
.trust-card {
  background: var(--bg-soft);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}
.trust-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.trust-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--card-border);
  text-align: center;
  padding: 40px 24px 48px;
}
.footer-note { color: var(--muted); margin-bottom: 18px; }
.footer-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--cyan); }
.copyright { color: var(--muted); font-size: 0.88rem; }

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-badge, .hero h1, .hero-tagline, .hero-cta, .hero-stats, .hero-glow { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Running text (marquee) ---------- */
.marquee {
  overflow: hidden;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}
.marquee-track span { padding-right: 48px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Hero entrance animation ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: heroFadeUp 0.7s ease both; }
.hero h1 { animation: heroFadeUp 0.7s 0.1s ease both; }
.hero-tagline { animation: heroFadeUp 0.7s 0.2s ease both; }
.hero-cta { animation: heroFadeUp 0.7s 0.3s ease both; }
.hero-stats { animation: heroFadeUp 0.7s 0.45s ease both; }

@keyframes glowPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.hero-glow { animation: glowPulse 6s ease-in-out infinite; }

/* ---------- Games & tools tiles ---------- */
.tile span { text-align: center; padding: 0 12px; line-height: 1.3; }
.tile-tower { background: linear-gradient(135deg, #7c3aed, #06b6d4); }
.tile-runner { background: linear-gradient(135deg, #f59e0b, #ec4899); font-size: 1rem; }
.tile-wallet { background: linear-gradient(135deg, #10b981, #06b6d4); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .topbar { padding: 12px 16px; gap: 10px; flex-wrap: wrap; row-gap: 8px; }
  .nav { order: 3; flex-basis: 100%; justify-content: center; gap: 18px; margin-left: 0; }
  .nav a { font-size: 0.88rem; }
  .lang-toggle { margin-left: auto; }
  .hero { padding: 64px 18px 56px; }
  .hero-stats { gap: 24px; }
  .section { padding: 40px 16px 8px; }
  .club { grid-template-columns: 1fr; }
  .club img { aspect-ratio: 16 / 9; }
  .club-body { padding: 22px; }
  .card-foot { flex-wrap: wrap; }
}
