:root {
  --ink: #fff7f8;
  --muted: #b9aeb6;
  --paper: #100c11;
  --surface: #1b141b;
  --rose: #ff2f65;
  --coral: #ff637d;
  --gold: #ffd33d;
  --mint: #19c8a2;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 47, 101, 0.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 211, 61, 0.12), transparent 24%),
    linear-gradient(160deg, #08060a 0%, #151017 52%, #08060a 100%);
  color: var(--ink);
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.page {
  width: min(100%, 460px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #0f0b10;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: 520px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(8, 6, 10, 0.4) 0%, rgba(8, 6, 10, 0.26) 42%, #0f0b10 100%),
    url("assets/banner.avif") center top / cover;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  margin-bottom: 96px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 12, 17, 0.72);
  backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 10px; }
.mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { min-width: 0; }
.brand-text strong { display: block; color: white; font-size: 18px; font-weight: 900; line-height: 1.1; }
.brand-text small { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.68); font-size: 12px; font-weight: 700; white-space: nowrap; }
.bonus { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(255, 211, 61, 0.34); border-radius: 999px; background: rgba(255, 211, 61, 0.14); color: var(--gold); font-size: 12px; font-weight: 900; white-space: nowrap; }

.showcase { position: relative; z-index: 2; }
.poster-stage { position: relative; display: flex; min-height: 300px; align-items: flex-end; }
.poster-stage::before { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 0%, rgba(8, 6, 10, 0.72) 72%, #0f0b10 100%); }
.drama-copy { position: relative; z-index: 1; width: 100%; color: white; text-align: center; }
.tag { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase; }
.drama-copy h1 { max-width: 360px; margin: 14px auto 10px; font-size: clamp(34px, 8.2vw, 36px); line-height: 1.05; text-shadow: 0 3px 20px rgba(0, 0, 0, 0.55); }
.drama-copy p { max-width: 340px; margin: 0 auto; color: rgba(255, 255, 255, 0.88); font-size: 13px; font-weight: 700; line-height: 1.45; }

.hero-cta, .cta, .modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: white;
  font-weight: 950;
  text-decoration: none;
}
.hero-cta { width: min(100%, 360px); min-height: 58px; margin: 24px auto 0; border-radius: 18px; background: linear-gradient(135deg, #e81752, #ff6a88); box-shadow: 0 18px 34px rgba(232, 23, 82, 0.38); font-size: 17px; }
.security-badge { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: var(--mint); font-size: 12px; font-weight: 700; }

.section { padding: 22px 18px; border-top: 1px solid var(--line); background: #0f0b10; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.section h2 { margin: 0; font-size: 21px; line-height: 1.1; }
.section-head > span { flex: 0 0 auto; color: var(--gold); font-size: 12px; font-weight: 950; }
.dramas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.drama { min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.cover { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 17px; background-position: center; background-size: cover; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34); }
.cover::after { position: absolute; inset: 36% 0 0; content: ""; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58)); }
.cover-one { background-image: url("assets/real-my-groom.webp"), linear-gradient(150deg, #3a1c71, #ff7a45); }
.cover-two { background-image: url("assets/real-jhaadoowala.webp"), linear-gradient(150deg, #0f766e, #ffc83d); }
.cover-three { background-image: url("assets/real-suryaputra.webp"), linear-gradient(150deg, #1d4ed8, #fb3763); }
.reward { position: absolute; top: 7px; right: 7px; z-index: 1; padding: 5px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: #130c11; font-size: 10px; font-weight: 950; }
.drama b { display: block; margin-top: 8px; font-size: 12px; line-height: 1.2; }

.install-guide { background: #110d14; }
.verified { color: var(--mint) !important; }
.guide-steps { display: grid; gap: 14px; }
.guide-step { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border: 1px solid rgba(25, 200, 162, 0.15); border-radius: 18px; background: rgba(25, 200, 162, 0.03); }
.guide-icon { display: flex; width: 44px; height: 44px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); font-size: 24px; }
.guide-content { min-width: 0; }
.guide-content h3 { margin: 0 0 4px; color: white; font-size: 15px; line-height: 1.25; }
.guide-content p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.guide-tip { margin-top: 8px; padding: 8px 12px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: rgba(255, 211, 61, 0.1); color: var(--ink); font-size: 11px; line-height: 1.35; }
.guide-tip strong { color: var(--gold); }

.final { padding: 24px 18px 30px; background: linear-gradient(135deg, #171017, #2a1524 58%, #561b33); color: white; text-align: center; }
.final h2 { margin: 0 0 10px; font-size: 28px; line-height: 1.05; }
.final p { max-width: 330px; margin: 0 auto 18px; color: rgba(255, 255, 255, 0.78); font-size: 14px; font-weight: 700; line-height: 1.5; }
.cta { min-height: 56px; border-radius: 16px; background: white; color: var(--rose); font-size: 16px; box-shadow: none; }
footer { padding: 16px 18px 24px; background: #08060a; color: rgba(255, 255, 255, 0.68); font-size: 11px; line-height: 1.55; text-align: center; }
footer p { margin: 0; }

.modal-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 6, 10, 0.85); backdrop-filter: blur(8px); }
.modal-overlay[hidden] { display: none; }
.modal-box { width: 100%; max-width: 380px; padding: 28px 20px; border: 1px solid rgba(255, 47, 101, 0.3); border-radius: 24px; background: #1b141b; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); text-align: center; }
.modal-icon { display: grid; width: 64px; height: 64px; margin: 0 auto 16px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #e81752, #ff6a88); color: white; font-size: 26px; }
.modal-title { margin: 0 0 10px; color: white; font-size: 20px; font-weight: 900; }
.modal-desc { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.modal-cta { min-height: 52px; border-radius: 14px; background: linear-gradient(135deg, #e81752, #ff6a88); font-size: 16px; }
.modal-close { margin-top: 14px; padding: 8px 14px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.toast { position: fixed; right: 18px; bottom: 24px; left: 18px; z-index: 1100; max-width: 424px; margin: auto; padding: 13px 16px; border: 1px solid rgba(255, 211, 61, 0.3); border-radius: 14px; background: #241d16; color: white; box-shadow: var(--shadow); font-size: 13px; text-align: center; }

.drama:focus-visible, .hero-cta:focus-visible, .cta:focus-visible, .modal-cta:focus-visible, .modal-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hero-cta, .cta { animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

@media (max-width: 360px) {
  .hero { padding-inline: 14px; }
  .drama-copy h1 { font-size: 28px; }
  .bonus { padding-inline: 8px; font-size: 11px; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { font-size: 11px; }
  .section { padding-inline: 14px; }
}

@media (min-width: 760px) {
  body { padding: 24px; }
  .page { border-radius: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cta, .cta { animation: none; }
}

/* Retained reward explanation, sized to the original single-column page. */
.reward-section { padding-top: 30px; padding-bottom: 30px; background: linear-gradient(145deg, #1b1120, #130d18); }
.reward-layout { display: grid; gap: 28px; }
.reward-heading .eyebrow { margin: 0 0 12px; color: var(--rose); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.reward-heading h2 { margin: 0; font-size: 32px; font-weight: 850; line-height: 1.13; letter-spacing: -1px; }
.reward-heading h2 span { color: var(--gold); }
.reward-heading > p:not(.eyebrow) { margin: 16px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 22px; color: #efbbce; font-size: 12px; font-weight: 750; text-decoration: none; }
.text-link > span { font-size: 22px; }
.reward-steps { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.reward-steps li { display: flex; align-items: flex-start; gap: 14px; }
.reward-steps li > span { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid rgba(232, 156, 184, .3); border-radius: 50%; color: var(--gold); font-size: 10px; }
.reward-steps h3 { margin: 2px 0 6px; color: white; font-size: 14px; line-height: 1.3; }
.reward-steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.reward-conditions { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.75; }
.text-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Detailed drama cards; footer actions and source note intentionally omitted. */
.trending .section-head { display: block; margin-bottom: 22px; }
.trending .section-head h2 { font-size: 25px; line-height: 1.2; letter-spacing: -.7px; }
.trending .dramas-intro { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.trending .drama-cards { gap: 10px; align-items: stretch; }
.trending .drama-card { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; overflow: hidden; background: #18101f; }
.trending .drama-poster { position: relative; display: block; width: 100%; aspect-ratio: 1000/1440; flex: 0 0 auto; background: #160e1e; }
.trending .drama-poster > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.trending .drama-number { position: absolute; top: 10px; left: 9px; padding: 4px 6px; border-radius: 4px; background: rgba(21,10,32,.65); color: #fff8e1; font-size: 9px; letter-spacing: 1.2px; }
.trending .drama-arrow { position: absolute; bottom: 11px; right: 10px; display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(27,12,27,.55); color: white; font-size: 18px; }
.trending .drama-info { display: flex; flex-direction: column; flex: 1; padding: 13px 11px 17px; }
.trending .drama-title { display: block; min-height: 48px; color: white; font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: -.2px; overflow-wrap: normal; }
.trending .drama-meta { display: block; min-height: 25px; margin-top: 12px; color: var(--gold); font-size: 8px; font-weight: 700; line-height: 1.65; }
.trending .drama-description { display: block; margin-top: 14px; color: var(--muted); font-size: 10px; line-height: 1.75; }
.trending .drama-card:hover { border-color: rgba(255,47,101,.4); }
@media (max-width: 420px) {
  .trending .drama-info { padding: 12px 9px 15px; }
  .trending .drama-title { font-size: 12px; min-height: 48px; }
  .trending .drama-meta { font-size: 7px; }
  .trending .drama-description { font-size: 9px; }
}
@media (max-width: 350px) {
  .trending .section-head h2 { font-size: 22px; }
  .trending .drama-cards { gap: 7px; }
  .trending .drama-info { padding-inline: 7px; }
  .trending .drama-title { font-size: 11px; min-height: 45px; }
  .trending .drama-meta { font-size: 6.5px; }
}
