:root {
  --bg: #050202;
  --panel: #0c0405;
  --panel-2: #140506;
  --red: #c90016;
  --red-2: #ff1b32;
  --gold: #ffc400;
  --gold-2: #ffe46b;
  --text: #fff;
  --muted: #b9b9b9;
  --line: rgba(255, 35, 55, .55);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(170,0,20,.18), transparent 38%),
    linear-gradient(#080303, #030202);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-shell { width: 100%; overflow: hidden; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 2, 2, .97);
  border-bottom: 1px solid var(--red);
  box-shadow: 0 5px 25px rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(1500px, calc(100% - 28px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand { width: clamp(145px, 18vw, 220px); flex: 0 0 auto; }
.brand img { width: 100%; }

.nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  flex: 1;
}
.nav a {
  min-width: 70px;
  padding: 8px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 9px;
  color: #ddd;
  font-size: 10px;
  font-weight: 800;
  transition: .2s ease;
}
.nav a b { font-size: 22px; line-height: 1; }
.nav a:hover, .nav a.active {
  color: #fff;
  background: linear-gradient(#df152b, #690009);
  box-shadow: 0 0 18px rgba(255,0,30,.22);
}

.actions { display: flex; gap: 8px; }
.btn {
  min-width: 92px;
  padding: 11px 14px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}
.btn-dark { border: 1px solid var(--red-2); background: #0b0909; }
.btn-gold { color: #120900; background: linear-gradient(#ffe46b, #ffae00); border: 1px solid var(--gold); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 8px;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: #100304;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px auto; background: #fff; }

main {
  width: min(1500px, calc(100% - 28px));
  margin: 14px auto 0;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #160506, #080303);
  box-shadow: 0 0 24px rgba(255, 0, 20, .09);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 12px;
  align-items: stretch;
}
.hero {
  min-width: 0;
  overflow: hidden;
}
.hero img { width: 100%; height: 100%; object-fit: cover; }

.phone {
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #030303;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.promo {
  margin-top: 12px;
  padding: 13px;
}
.section-heading {
  min-height: 36px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.section-heading span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}
.section-heading h2 {
  margin: 1px 0 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1;
}
.section-heading small { color: #aaa; font-size: 10px; font-weight: 800; }

/* Satu gambar promo, tidak lagi berupa kumpulan tombol */
.promo-image {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #080303;
}
.promo-image img {
  width: 100%;
  height: auto;
  transition: transform .25s ease, filter .25s ease;
}
.promo-image:hover img { transform: scale(1.012); filter: brightness(1.06); }

.slot-banner {
  display: block;
  margin-top: 12px;
  overflow: hidden;
}
.slot-banner img { width: 100%; height: auto; }

.info {
  margin-top: 12px;
  padding: clamp(18px, 3vw, 30px);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.info-logo img { width: 100%; }
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: 1.4px; }
.info h1 { margin: 5px 0 10px; font-size: clamp(21px, 2.7vw, 36px); line-height: 1.08; }
.info p { margin: 0 0 10px; color: #c5c5c5; font-size: 13px; line-height: 1.65; }
.info .keywords { margin-bottom: 0; color: #999; font-size: 11px; }
.info .keywords b { color: var(--gold); }

footer { margin-top: 14px; border-top: 1px solid #3c1015; background: #030202; }
.footer-inner {
  width: min(1500px, calc(100% - 28px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-inner img { width: 145px; }
.footer-inner p { margin: 0; color: #777; font-size: 11px; }

@media (max-width: 1050px) {
  .nav a { min-width: 58px; padding-inline: 5px; font-size: 9px; }
  .nav a b { font-size: 19px; }
  .btn { min-width: 78px; padding-inline: 10px; font-size: 11px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 210px; }
  .info { grid-template-columns: 145px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .header-inner, main, .footer-inner { width: calc(100% - 14px); }
  .header-inner { min-height: 66px; }
  .brand { width: 145px; }
  .actions { display: none; }
  .menu-toggle { display: block; }

  .nav {
    position: absolute;
    top: 66px;
    left: 7px;
    right: 7px;
    display: none;
    flex-direction: column;
    padding: 7px;
    border: 1px solid var(--red);
    border-radius: 0 0 10px 10px;
    background: #090303;
    box-shadow: 0 14px 28px rgba(0,0,0,.7);
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 11px;
    font-size: 11px;
  }
  .nav a b { width: 24px; text-align: center; }

  main { margin-top: 8px; }

  /* Mobile: hero dan preview phone menyatu menjadi satu alur */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero { border-radius: 10px; }
  .hero img { width: 100%; height: auto; }
  .phone {
    height: 205px;
    border-radius: 10px;
    align-items: flex-start;
  }
  .phone img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  /* Promo langsung berupa gambar full-width */
  .promo { margin-top: 8px; padding: 8px; border-radius: 10px; }
  .section-heading { margin-bottom: 7px; }
  .section-heading h2 { font-size: 17px; }
  .section-heading small { font-size: 9px; }
  .promo-image { border-radius: 7px; }
  .promo-image img { width: 100%; height: auto; }

  .slot-banner { margin-top: 8px; border-radius: 10px; }

  .info {
    margin-top: 8px;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
    border-radius: 10px;
  }
  .info-logo { width: 145px; }
  .info h1 { font-size: 21px; }
  .info p { font-size: 12px; }

  .footer-inner {
    min-height: 70px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 14px 0;
  }
}

@media (max-width: 420px) {
  .brand { width: 130px; }
  .hero-layout { gap: 6px; }
  .phone { height: 185px; }
  .promo { padding: 6px; }
  .section-heading { padding-inline: 2px; }
  .section-heading h2 { font-size: 15px; }
  .info { padding: 13px; }
  .info h1 { font-size: 19px; }
}
