/* =========================================================
   FOKAGAME.ID — Dark Luxury Theme (aksen merah gelap)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg:        #0b0607;
  --bg-2:      #120a0b;
  --surface:   #190e10;
  --surface-2: #211316;
  --maroon:    #5c0f12;
  --red:       #8b1419;
  --red-soft:  #a51c22;
  --red-glow:  rgba(165, 28, 34, 0.55);
  --gold:      #caa455;
  --gold-soft: #e6cf94;
  --cream:     #f4ece0;
  --text:      #ece4e5;
  --muted:     #9c8c8e;
  --line:      rgba(165, 28, 34, 0.18);
  --radius:    16px;
  --shadow:    0 18px 50px -20px rgba(0,0,0,0.8);
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(139,20,25,0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(92,15,18,0.20), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1180px, 92%); margin: 0 auto; }

.section { padding: 90px 0; position: relative; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.3px;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title .accent { color: var(--red-soft); }
.section-sub { color: var(--muted); max-width: 560px; margin-bottom: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem;
  cursor: pointer; border: none; transition: 0.3s ease;
  position: relative;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--maroon) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -8px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--red-glow); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--red-soft); color: var(--gold-soft); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #9c7c34 100%);
  color: #1a0e06;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 6, 7, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.brand-name span { color: var(--red-soft); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: 0.25s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; bottom: -8px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--red-soft), var(--gold));
}
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 18px; }
.hero h1 .accent { color: var(--red-soft); }
.hero p { color: var(--muted); font-size: 1.06rem; max-width: 460px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold-soft); }
.hero-stats .lbl { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* anime char (Killua) — pemanis, bukan background */
.hero-anime { position: relative; display: flex; justify-content: center; }
.hero-anime::before {
  content: ''; position: absolute; inset: 8% 12%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  filter: blur(40px); z-index: 0;
}
.hero-anime img {
  position: relative; z-index: 1; width: 86%;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.7));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- Kategori utama (4 kartu ala referensi, luxury) ---------- */
.cat-strip { margin-top: -30px; position: relative; z-index: 5; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; padding: 26px 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); overflow: hidden;
  transition: 0.35s ease; cursor: pointer;
}
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, var(--red-glow));
  opacity: 0; transition: 0.35s;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--red-soft); box-shadow: var(--shadow); }
.cat-card:hover::after { opacity: 0.25; }
.cat-card .ic { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.cat-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.cat-card p { font-size: 0.82rem; color: var(--muted); }
.cat-card .arrow { position: absolute; right: 20px; bottom: 20px; color: var(--red-soft); opacity: 0; transform: translateX(-6px); transition: 0.3s; }
.cat-card:hover .arrow { opacity: 1; transform: translateX(0); }

/* ---------- Product grid ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.prod-card {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: 0.35s ease; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); border-color: var(--red-soft); box-shadow: var(--shadow); }
.prod-thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--maroon), #2a0d0f); }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.prod-card:hover .prod-thumb img { transform: scale(1.06); }
.prod-thumb .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 2.4rem; color: rgba(244,236,224,0.25); }
.prod-badge { position: absolute; top: 12px; left: 12px; background: rgba(11,6,7,0.7); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; border: 1px solid var(--line); }
.prod-badge.sold { background: rgba(120,10,10,0.85); color: #fff; }
.prod-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.prod-cat { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.prod-title { font-size: 1rem; font-weight: 600; margin-bottom: 10px; line-height: 1.35; }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; }
.prod-price { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--gold-soft); }

/* ---------- Filter chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip {
  padding: 9px 20px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: 0.25s;
}
.chip:hover, .chip.active { background: linear-gradient(135deg, var(--red), var(--maroon)); color: #fff; border-color: transparent; }

/* ---------- Section anime accent ---------- */
.with-anime { position: relative; }
.anime-accent { position: absolute; pointer-events: none; z-index: 0; opacity: 0.9; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)); }
.anime-accent.gojo { right: -20px; bottom: 0; width: 320px; }
.anime-accent.sasuke { right: 0; top: 40px; width: 280px; }
.with-anime .container { position: relative; z-index: 1; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: linear-gradient(165deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: 0.35s; }
.blog-card:hover { transform: translateY(-6px); border-color: var(--red-soft); box-shadow: var(--shadow); }
.blog-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--maroon), #220a0c); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 22px; }
.blog-date { font-size: 0.75rem; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.blog-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 8px 0 10px; line-height: 1.25; }
.blog-card p { color: var(--muted); font-size: 0.9rem; }
.blog-card .read { display: inline-block; margin-top: 14px; color: var(--red-soft); font-weight: 600; font-size: 0.85rem; }

/* ---------- Forms ---------- */
.form-card { background: linear-gradient(165deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; color: var(--cream); letter-spacing: 0.3px; }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem; transition: 0.25s;
}
.form-control:focus { outline: none; border-color: var(--red-soft); box-shadow: 0 0 0 3px rgba(165,28,34,0.18); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ---------- Detail produk ---------- */
.detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; }
.gallery-main {
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--maroon), #220a0c);
}
.gallery-main img { width: 100%; height: auto; display: block; }
.gallery-main .placeholder { width:100%; aspect-ratio: 4/5; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:3rem; color:rgba(244,236,224,0.25); }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; max-width: 480px; margin-left: auto; margin-right: auto; }
.gallery-thumbs img { width: 78px; height: 98px; object-fit: contain; object-position: center; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; transition: 0.2s; background: var(--bg-2); }
.gallery-thumbs img:hover, .gallery-thumbs img.active { border-color: var(--red-soft); }

/* ---------- QRIS box ---------- */
.qris-box { text-align: center; border: 1px dashed var(--red-soft); border-radius: var(--radius); padding: 24px; background: var(--bg-2); }
.qris-box img { width: 240px; margin: 0 auto 14px; border-radius: 12px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4b);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,0.6); transition: 0.3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }


/* ---------- Halaman Kontak ---------- */
.kontak-wrap {
  display: flex;
  flex-direction: column;   /* form di atas, kontak langsung di bawah */
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

/* form-card jadi full width, input otomatis lega */
.kontak-wrap .form-card { width: 100%; }

/* Kontak Langsung: info kiri, tombol WA kanan (desktop) */
.kontak-direct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}
.kontak-direct-info { flex: 1 1 280px; }

/* tombol WA jangan ketarik/kepotong */
.kontak-wa-btn {
  flex: 0 0 auto;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Tampilan HP: semua numpuk vertikal & full lebar ---- */
@media (max-width: 720px) {
  .kontak-direct {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .kontak-wa-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;   /* nomor WA boleh turun baris, gak kepotong */
  }
}
/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer h4 { font-size: 0.95rem; margin-bottom: 18px; color: var(--cream); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: var(--muted); font-size: 0.9rem; transition: 0.2s; }
.footer a:hover { color: var(--gold-soft); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 0.82rem; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: rgba(30,120,60,0.15); border: 1px solid rgba(60,180,90,0.4); color: #9be6b0; }
.alert-error { background: rgba(165,28,34,0.15); border: 1px solid var(--red-soft); color: #f1a9ad; }
.alert-info { background: rgba(202,164,85,0.12); border: 1px solid var(--gold); color: var(--gold-soft); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Article content ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article h3 { font-family: var(--font-display); font-size: 1.7rem; margin: 30px 0 12px; color: var(--cream); }
.article p { margin-bottom: 16px; color: #d6cdce; }
.article-cover { aspect-ratio: 21/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--maroon), #220a0c); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero-anime { order: -1; max-width: 360px; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid--solo { grid-template-columns: 1fr; }
.hero-grid--solo p,
.hero-grid--solo .hero-cta { max-width: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .anime-accent.gojo, .anime-accent.sasuke { opacity: 0.22; width: 240px; }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; background: var(--bg-2); padding: 24px; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .section { padding: 60px 0; }
  .gallery-main { max-width: 100%; }
  .gallery-thumbs { max-width: 100%; }
}