/* =========================================================
   APA CARI DEK — STYLE.CSS
   PANDUAN: ubah variabel di :root untuk mengganti warna utama.
   ========================================================= */

:root {
  --bg: #080516;              /* Warna dasar halaman */
  --panel: rgba(13, 10, 35, .88);
  --purple: #a900ff;           /* Neon ungu */
  --pink: #ff28d7;             /* Neon magenta */
  --blue: #00c8ff;             /* Neon biru */
  --gold: #ffb21a;             /* Warna tombol daftar */
  --text: #f7f3ff;
  --muted: #a9a2c5;
  --border: rgba(157, 92, 255, .45);
  --radius: 18px;
  --page-width: 1440px;        /* Lebar maksimum konten */
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(ellipse at 48% 35%, rgba(92, 0, 180, .22), transparent 44%),
    radial-gradient(ellipse at 90% 75%, rgba(0, 112, 255, .12), transparent 35%),
    var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }

/* BACKGROUND DECORATION: grid + cahaya neon. */
.grid-overlay {
  position: fixed; inset: 0; pointer-events: none; opacity: .17;
  background-image: linear-gradient(rgba(90, 80, 180, .22) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(90, 80, 180, .22) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.ambient { position: fixed; width: 420px; height: 420px; border-radius: 50%; filter: blur(110px); opacity: .18; pointer-events: none; }
.ambient--one { background: var(--purple); top: 4%; left: -180px; }
.ambient--two { background: var(--blue); right: -180px; bottom: 0; }

.page-shell {
  width: min(calc(100% - 48px), var(--page-width));
  min-height: 100vh;
  margin: auto;
  padding: 26px 0 18px;
  position: relative;
  z-index: 1;
}

/* HEADER / LOGO */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
.brand { display: flex; flex-direction: column; align-items: center; width: fit-content; text-align: center; }
.brand-kicker, .brand-subtitle { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .32em; }
.brand-title {
  margin: 5px 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  font-weight: 1000;
  font-style: italic;
  letter-spacing: .035em;
  color: #fff;
  text-shadow: 0 0 8px var(--pink), 0 0 22px var(--purple), 3px 4px 0 #4c168e;
}
.brand-subtitle { color: #bda5ff; font-size: 8px; letter-spacing: .42em; }
.status-pill { border: 1px solid rgba(0, 220, 255, .45); border-radius: 30px; padding: 9px 14px; color: #9beeff; font-size: 10px; letter-spacing: .15em; background: rgba(0, 180, 255, .07); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #35ffb0; box-shadow: 0 0 10px #35ffb0; }

/* MAIN LAYOUT: kolom karakter, tombol, dan sosial media. */
.main-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.08fr) minmax(300px, 1.15fr) minmax(205px, .72fr);
  gap: 18px;
  align-items: stretch;
  min-height: 610px;
}
.character-panel, .action-panel, .social-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(24, 13, 57, .9), rgba(5, 8, 28, .94));
  box-shadow: 0 0 25px rgba(129, 0, 255, .12), inset 0 0 25px rgba(76, 0, 180, .09);
}
.character-panel::before, .action-panel::before, .social-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

/* AREA 1 — gambar karakter. Ganti file gambar melalui src di index.html. */
.character-panel { min-height: 610px; background: #09051b; }
.character-image {
  position: absolute; inset: 0; width: 155%; height: 100%;
  object-fit: cover; object-position: 100% center;
  filter: saturate(1.08) contrast(1.04);
}
.character-panel::after {
  content: ""; position: absolute; inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(5, 3, 19, .92));
}
.character-tag { position: absolute; z-index: 2; top: px; left: 10px; padding: 8px 11px; border-left: 5px solid var(--pink); background: rgba(255, 0, 255, 0.221); font-size: 15px; letter-spacing: .16em; font-weight: 800; }
.character-tag span { color: var(--blue); margin-left: 8px; }
.character-caption { position: absolute; z-index: 2; left: 22px; right: 18px; bottom: 25px; display: flex; align-items: center; gap: 12px; }
.caption-line { width: 14px; height: 38px; background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.character-caption strong, .character-caption small { display: block; }
.character-caption strong { font-size: 17px; letter-spacing: .12em; }
.character-caption small { margin-top: 5px; color: #ffffff; font-size: 9px; letter-spacing: .2em; }
.corner-mark { position: absolute; z-index: 2; right: 15px; bottom: 16px; color: rgba(255,255,255,.45); font-size: 9px; letter-spacing: .15em; }

/* AREA TENGAH — LOGIN / DAFTAR */
.action-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 48px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .28em; }
.eyebrow span { width: 22px; height: 1px; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.action-panel h1 { margin: 22px 0 8px; font-size: clamp(27px, 3vw, 42px); line-height: 1.05; letter-spacing: -.04em; }
.action-panel h1 em { color: #d6a0ff; font-style: normal; text-shadow: 0 0 18px rgba(190, 60, 255, .5); }
.intro { max-width: 330px; margin: 0 0 32px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.action-button {
  display: flex; align-items: center; gap: 17px;
  min-height: 96px; margin: 0 0 18px; padding: 17px 20px;
  border: 1px solid rgba(195, 125, 255, .85); border-radius: 13px;
  background: linear-gradient(105deg, rgba(115, 0, 220, .48), rgba(28, 10, 70, .92));
  box-shadow: 0 0 15px rgba(169, 0, 255, .3), inset 0 0 20px rgba(183, 64, 255, .12);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.action-button:hover { transform: translateY(-3px); filter: brightness(1.16); box-shadow: 0 0 28px rgba(169,0,255,.55); }
.button-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; background: rgba(255,255,255,.1); font-size: 29px; font-weight: 700; }
.button-copy { display: flex; flex-direction: column; gap: 5px; }
.button-copy strong { font-size: clamp(21px, 2.4vw, 30px); font-style: italic; letter-spacing: .06em; }
.button-copy small { color: #c8b5e9; font-size: 12px; letter-spacing: .19em; }
.button-arrow { margin-left: auto; font-size: 34px; color: #e6c8ff; }
.action-button--register {
  border-color: #ffc14a;
  background: linear-gradient(105deg, rgba(255, 154, 0, .34), rgba(83, 38, 0, .72));
  box-shadow: 0 0 16px rgba(255, 166, 0, .24), inset 0 0 20px rgba(255, 181, 0, .1);
}
.action-button--register:hover { box-shadow: 0 0 28px rgba(255, 166, 0, .48); }
.action-button--register .button-icon, .action-button--register .button-arrow { color: #ffd36a; }
.secure-note { margin-top: 14px; color: #8f86ad; font-size: 10px; letter-spacing: .13em; text-align: center; }
.secure-note i { display: inline-block; width: 3px; height: 3px; margin: 0 8px 2px; border-radius: 50%; background: var(--pink); }

/* PANEL SOSIAL MEDIA — gaya ikon berupa karakter teks agar tidak perlu library ikon. */
.social-panel { padding: 20px 15px 14px; }
.social-heading { display: flex; align-items: center; gap: 11px; margin: 1px 0 20px; }
.social-heading-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--blue); border-radius: 10px; color: var(--blue); font-size: 22px; box-shadow: 0 0 12px rgba(0,200,255,.2); }
.social-heading strong, .social-heading small { display: block; }
.social-heading strong { font-size: 14px; letter-spacing: .17em; }
.social-heading small { margin-top: 4px; color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.social-list { display: flex; flex-direction: column; gap: 10px; }
.social-link {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 7px 10px;
  border: 1px solid rgba(0, 193, 255, .45); border-radius: 9px;
  background: linear-gradient(100deg, rgba(0, 133, 255, .1), rgba(139, 0, 255, .12));
  font-size: 12px; font-weight: 700; transition: .2s ease;
}
.social-link:hover { transform: translateX(4px); border-color: var(--pink); box-shadow: 0 0 13px rgba(255,40,215,.25); }
.social-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: rgba(255,255,255,.1); font-size: 19px; font-weight: 900; }
.social-link b { margin-left: auto; color: #9b8ab9; font-size: 14px; }
.facebook .social-icon { color: #72aaff; } .instagram .social-icon { color: #ff8bd2; }
.tiktok .social-icon { color: #fff; } .threads .social-icon { color: #ddd; }
.whatsapp .social-icon { color: #52ff9a; } .telegram .social-icon { color: #55caff; }
.x-social .social-icon { color: #fff; } .more .social-icon { color: var(--blue); }
.social-footer { margin-top: 18px; text-align: center; color: #80769d; font-size: 8px; letter-spacing: .2em; }
.social-footer span { color: #3cffb0; margin-left: 5px; text-shadow: 0 0 8px #3cffb0; }

/* FOOTER */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; padding: 14px 5px 0; border-top: 1px solid rgba(140, 75, 255, .3); }
.footer-side { color: #897da9; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.footer-side i { color: var(--pink); font-style: normal; }
.footer-center { font-size: 13px; font-weight: 900; font-style: italic; letter-spacing: .2em; text-shadow: 0 0 12px var(--purple); }
.footer-center b { color: var(--pink); }

/* RESPONSIVE: aturan untuk tablet dan ponsel. */
@media (max-width: 980px) {
  .main-grid { grid-template-columns: minmax(230px, .9fr) minmax(280px, 1.1fr); }
  .social-panel { grid-column: 1 / -1; }
  .social-list { display: grid; grid-template-columns: repeat(4, 1fr); }
  .character-panel { min-height: 540px; }
}
@media (max-width: 640px) {
  .page-shell { width: min(calc(100% - 24px), var(--page-width)); padding-top: 18px; }
  .topbar { align-items: flex-start; }
  .status-pill { padding: 7px 9px; font-size: 8px; }
  .main-grid { grid-template-columns: 1fr; gap: 13px; }
  .character-panel { min-height: 430px; }
  .action-panel { padding: 27px 21px; }
  .action-panel h1 { margin-top: 16px; }
  .intro { margin-bottom: 22px; }
  .action-button { min-height: 82px; }
  .social-panel { grid-column: auto; }
  .social-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .social-link { min-height: 46px; font-size: 11px; }
  .footer { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-side { width: 100%; }
  .footer-center { order: -1; }
}

/* =====================================
   ANIMATED GAMING SHOWCASE
   ===================================== */

.showcase-section {
  position:relative;
  width: 100%;
  min-height: 280px;
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid rgba(169, 0, 255, .5);
  border-radius: 18px;

  background:
    linear-gradient(
      90deg,
      rgba(8, 5, 22, 0.526),
      rgba(8, 5, 22, 0.459),
      rgba(8, 5, 22, 0.342)
    ),
    url("assets/showcase.gif") center / cover no-repeat;

  box-shadow:
    0 0 20px rgb(170, 0, 255),
    inset 0 0 30px rgba(0, 0, 0, 0.393);
}

.showcase-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(219, 8, 131, 0.245)
    );
}

.showcase-content {
  position: relative;
  z-index: 2;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 15px;
}

.showcase-label {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .3em;
}

.showcase-content h2 {
  margin: 15px 0 8px;
  font-size: clamp(27px, 5vw, 48px);
  font-weight: 1000;
  font-style: italic;
  text-shadow: 0 0 15px var(--purple);
}

.showcase-content h2 span {
  color: var(--pink);
}

.showcase-content p {
  color: #d0c5e8;
  font-size: 12px;
  letter-spacing: .08em;
}

.showcase-line {
  width: 120px;
  height: 2px;
  margin: 15px auto;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue),
    var(--pink),
    transparent
  );
  box-shadow: 0 0 12px var(--purple);
}

.showcase-bottom {
  color: #c4b3e8;
  font-size: 9px;
  letter-spacing: .2em;
}

/* MOBILE */
@media (max-width: 640px) {
  .showcase-section {
    min-height: 220px;
  }

  .showcase-content {
    min-height: 220px;
  }
}
