/* DramaGo — MiniMax-inspired design system, adapted for Malaysia */
:root {
  --ink: #0a0a0a;
  --ink-strong: #000000;
  --charcoal: #222222;
  --slate: #45515e;
  --steel: #5f5f5f;
  --stone: #8e8e93;
  --muted: #a8aab2;
  --canvas: #ffffff;
  --surface: #f7f8fa;
  --surface-soft: #f2f3f5;
  --hairline: #e5e7eb;
  --hairline-soft: #eaecf0;
  --coral: #ff5530;
  --coral-soft: #fff0eb;
  --magenta: #ea5ec1;
  --blue: #1456f0;
  --blue-soft: #eaf1ff;
  --purple: #a855f7;
  --success: #128c7e;
  --success-bright: #25d366;
  --success-soft: #e8ffea;
  --success-text: #137c57;
  --danger: #d45656;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-hero: 32px;
  --radius-pill: 9999px;
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 12px 32px rgba(18, 25, 38, 0.08);

  /* Backward-compatible aliases used by the existing page */
  --primary-blue: var(--ink);
  --primary-blue-dark: var(--charcoal);
  --accent-orange: var(--coral);
  --accent-gold: #ffd7cc;
  --bg-navy: var(--ink);
  --bg-navy-light: var(--charcoal);
  --bg-light: var(--surface);
  --card-bg: var(--canvas);
  --text-dark: var(--ink);
  --text-muted: var(--slate);
  --text-light: var(--muted);
  --border-color: var(--hairline);
  --shadow-sm: var(--shadow-subtle);
  --shadow-lg: var(--shadow-card);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--charcoal);
  font-family: "DM Sans", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

body.age-gate-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
}

.container {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.center {
  text-align: center;
}

.text-white {
  color: var(--canvas) !important;
}

.bg-light {
  background: var(--surface);
}

.bg-navy {
  background: var(--ink);
}

.flex-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-header {
  margin-bottom: 32px;
}

.section-header.center {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.section-badge,
.badge-gold,
.availability-badge,
.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.section-badge {
  margin-bottom: 12px;
  padding: 5px 11px;
  background: var(--coral-soft);
  color: #d33d1b;
}

.section-title {
  max-width: 820px;
  font-size: clamp(30px, 4.3vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.2px;
}

.section-header.center .section-title {
  margin-inline: auto;
}

.section-title.light {
  color: var(--canvas);
}

.section-subtitle {
  max-width: 660px;
  margin-top: 12px;
  color: var(--slate);
  font-size: 17px;
  line-height: 1.6;
}

.section-header.center .section-subtitle {
  margin-inline: auto;
}

/* Buttons */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease,
    border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible,
.faq-trigger:focus-visible,
.nav-arrow:focus-visible,
.tag-chip:focus-visible,
.pill-btn:focus-visible,
.btn-text:focus-visible,
.modal-close-btn:focus-visible,
.age-gate-close:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(20, 86, 240, 0.28);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--ink);
  color: var(--canvas);
}

.btn-primary:hover {
  background: var(--charcoal);
  box-shadow: 0 8px 18px rgba(10, 10, 10, 0.14);
}

.cta-btn.btn-primary,
.btn-gold {
  background: var(--success);
  color: var(--canvas);
}

.cta-btn.btn-primary:hover,
.btn-gold:hover {
  background: #0f786d;
  box-shadow: 0 8px 20px rgba(18, 140, 126, 0.22);
}

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--ink);
  color: var(--canvas);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
}

.btn-large {
  min-height: 54px;
  padding: 15px 30px;
  font-size: 16px;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.btn-text:hover {
  color: var(--coral);
}

.whatsapp-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

/* Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  backdrop-filter: blur(16px);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.top-nav .brand-logo {
  color: var(--ink);
}

.brand-icon {
  color: var(--coral);
  font-size: 28px;
  background: linear-gradient(135deg, var(--coral) 10%, var(--magenta) 52%, var(--blue) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  padding: 7px 12px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 12px;
}

.nav-whatsapp-btn {
  min-height: 40px;
  padding: 9px 18px;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 93% 8%, rgba(234, 94, 193, 0.12), transparent 24%),
    radial-gradient(circle at 80% 45%, rgba(20, 86, 240, 0.10), transparent 30%),
    var(--canvas);
}

.hero-section::after {
  content: "";
  position: absolute;
  left: -150px;
  bottom: -200px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 85, 48, 0.07);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
}

.hero-content {
  align-self: center;
}

.availability-badge {
  margin-bottom: 20px;
  padding: 6px 12px;
  background: var(--success-soft);
  color: var(--success-text);
}

.hero-title {
  max-width: 760px;
  font-size: clamp(42px, 6.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -2.2px;
}

.hero-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 8px;
  margin-top: 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--coral), var(--magenta));
}

.hero-subtitle {
  max-width: 650px;
  margin-top: 22px;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.62;
}

.hero-earnings-box {
  max-width: 650px;
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
}

.earnings-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  padding: 6px 12px;
  background: var(--coral);
  color: var(--canvas);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}

.earnings-subtext {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.earnings-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 6px;
  color: var(--slate);
  font-size: 13px;
}

.earnings-note i {
  margin-top: 3px;
  color: var(--success-text);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--canvas);
  color: var(--steel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}

.tag-item i {
  color: var(--coral);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-cta-subtext {
  margin-top: 10px;
  color: var(--stone);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  align-self: center;
  min-width: 0;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 420px;
  background: var(--ink);
  border-radius: var(--radius-hero);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(10, 10, 10, 0.72) 100%);
  pointer-events: none;
}

.hero-image-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-label {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 92px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  font-size: 14px;
}

.visual-label-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: var(--canvas);
  border-radius: 50%;
}

.hero-countdown-card {
  position: relative;
  z-index: 3;
  width: calc(100% - 40px);
  margin: -68px auto 0;
  padding: 16px 18px;
  background: rgba(10, 10, 10, 0.94);
  color: var(--canvas);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 34px rgba(10, 10, 10, 0.18);
  backdrop-filter: blur(16px);
}

.countdown-header {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

.countdown-header i {
  color: var(--coral);
  font-size: 18px;
}

.countdown-header h3 {
  color: var(--canvas);
  font-size: 13px;
  font-weight: 500;
}

.timer-display {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}

.timer-unit {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.timer-num {
  color: var(--canvas);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timer-label {
  color: var(--muted);
  font-size: 10px;
}

.timer-colon {
  color: var(--coral);
  font-weight: 700;
}

.countdown-footer {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

/* Recommender */
.recommender-section {
  background: var(--surface);
}

.recommender-card {
  padding: clamp(22px, 4vw, 40px);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-subtle);
}

.filter-group + .filter-group {
  margin-top: 24px;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.filter-label i {
  color: var(--coral);
}

.tags-container,
.preset-pills,
.selected-chips,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip,
.pill-btn {
  min-height: 38px;
  padding: 8px 14px;
  background: var(--canvas);
  color: var(--steel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.tag-chip:hover,
.pill-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.tag-chip.active,
.pill-btn.active {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}

.selected-tags-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  min-height: 28px;
}

.selected-count-text {
  flex: 0 0 auto;
  padding-top: 4px;
  color: var(--stone);
  font-size: 12px;
}

.chip-remove {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: var(--coral-soft);
  color: #b93316;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
}

.chip-remove i {
  cursor: pointer;
}

.filter-grid-2 {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline-soft);
}

.filter-grid-2 .filter-group {
  margin-top: 0;
}

.preset-pills {
  margin-top: 12px;
}

.input-wrapper {
  margin-top: 10px;
}

.input-wrapper input {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
}

.input-wrapper input::placeholder {
  color: var(--muted);
}

.input-wrapper input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 86, 240, 0.10);
}

.recommender-msg {
  margin-top: 20px;
  padding: 12px 14px;
  background: #fff4f4;
  color: #a93d3d;
  border: 1px solid #f0c7c7;
  border-radius: var(--radius-md);
  font-size: 13px;
}

.recommender-action {
  max-width: 360px;
  margin: 28px auto 0;
}

.recommendation-results {
  scroll-margin-top: 100px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}

.results-header {
  margin-bottom: 22px;
  text-align: center;
}

.results-title {
  font-size: 28px;
  line-height: 1.2;
}

.results-summary {
  margin-top: 8px;
  color: var(--slate);
  font-size: 14px;
}

.results-actions {
  margin-top: 24px;
  text-align: center;
}

/* Drama cards and carousels */
.dramas-section {
  overflow: hidden;
}

.carousel-wrapper {
  overflow: visible;
}

.drama-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(265px, 79vw);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
}

.drama-carousel::-webkit-scrollbar {
  height: 6px;
}

.drama-carousel::-webkit-scrollbar-thumb {
  background: var(--hairline);
  border-radius: var(--radius-pill);
}

.drama-grid {
  display: grid;
  gap: 16px;
}

.drama-carousel.expanded {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: 1fr;
  overflow: visible;
}

.drama-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-3xl);
  scroll-snap-align: start;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.drama-card:hover {
  transform: translateY(-3px);
  border-color: #d6d9df;
  box-shadow: var(--shadow-card);
}

.card-poster-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin: 8px 8px 0;
  background: var(--ink);
  border-radius: calc(var(--radius-3xl) - 6px);
  cursor: pointer;
}

.poster-bg-blur {
  position: absolute;
  inset: -16px;
  background-position: center;
  background-size: cover;
  filter: blur(20px);
  opacity: 0.52;
  transform: scale(1.06);
}

.poster-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-poster-container::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.76));
  pointer-events: none;
}

.card-poster-meta {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 500;
}

.card-reason-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 9px;
  background: var(--coral);
  color: var(--canvas);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.card-title {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  cursor: pointer;
}

.card-title:hover {
  color: var(--coral);
}

.card-synopsis {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 12px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-tags {
  margin-bottom: 14px;
  gap: 5px;
}

.mini-tag {
  padding: 3px 7px;
  background: var(--surface);
  color: var(--steel);
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 500;
}

.card-meta-info {
  color: var(--slate);
  font-size: 12px;
}

.card-earnings-box {
  margin-top: auto;
  margin-bottom: 14px;
  padding: 10px 11px;
  background: var(--success-soft);
  border: 1px solid #d6f5dd;
  border-radius: var(--radius-lg);
}

.card-earnings-primary,
.card-earnings-secondary {
  display: block;
}

.card-earnings-primary {
  color: var(--success-text);
  font-size: 13px;
  font-weight: 700;
}

.card-earnings-secondary {
  margin-top: 2px;
  color: var(--slate);
  font-size: 11px;
}

.expand-action-bar {
  margin-top: 22px;
  text-align: center;
}

.desktop-only {
  display: none;
}

.carousel-nav-buttons {
  align-items: center;
  gap: 8px;
}

.nav-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 50%;
  font-size: 17px;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-arrow:hover {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}

/* Process */
.process-section {
  background: var(--canvas);
}

.process-steps-grid {
  display: grid;
  gap: 16px;
}

.step-card {
  position: relative;
  min-height: 218px;
  padding: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius-3xl);
}

.step-card:nth-child(2) {
  background: #fff3fb;
}

.step-card:nth-child(3) {
  background: var(--blue-soft);
}

.step-card:nth-child(4) {
  background: var(--success-soft);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(10, 10, 10, 0.12);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--ink);
  color: var(--canvas);
  border-radius: 50%;
  font-size: 21px;
}

.step-card:nth-child(2) .step-icon {
  background: var(--magenta);
}

.step-card:nth-child(3) .step-icon {
  background: var(--blue);
}

.step-card:nth-child(4) .step-icon {
  background: var(--success);
}

.step-title {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.step-desc {
  color: var(--slate);
  font-size: 14px;
}

/* Reward highlight */
.highlight-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 85, 48, 0.32), transparent 26%),
    radial-gradient(circle at 90% 90%, rgba(20, 86, 240, 0.32), transparent 25%),
    var(--ink);
}

.highlight-content {
  max-width: 940px;
  margin: 0 auto;
}

.badge-gold {
  margin-bottom: 16px;
  padding: 6px 11px;
  background: var(--coral);
  color: var(--canvas);
}

.highlight-content .section-title {
  margin-inline: auto;
}

.highlight-desc {
  max-width: 730px;
  margin: 16px auto 32px;
  color: #c7c9cf;
  font-size: 18px;
  line-height: 1.6;
}

.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.flow-step {
  width: min(100%, 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--canvas);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
}

.flow-step.highlight-box {
  background: var(--coral);
  border-color: var(--coral);
}

.flow-arrow {
  color: var(--coral);
  font-size: 19px;
  transform: rotate(90deg);
}

.example-calculation-box {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--canvas);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.example-calculation-box i {
  color: var(--coral);
}

/* Proof */
.testimonials-grid {
  display: grid;
  gap: 16px;
}

.testimonial-card {
  padding: 24px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-3xl);
}

.testi-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.user-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.user-location {
  margin-top: 2px;
  color: var(--stone);
  font-size: 12px;
}

.ewallet-receipt-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: var(--success-soft);
  color: var(--success-text);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 600;
}

.receipt-status {
  color: var(--success-text);
}

.testi-drama {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.testi-comment {
  min-height: 52px;
  margin-bottom: 16px;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.55;
}

/* Missing-drama CTA */
.missing-drama-section {
  background: var(--canvas);
}

.missing-drama-card {
  padding: clamp(26px, 5vw, 56px);
  background:
    radial-gradient(circle at 94% 10%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(135deg, var(--coral), #f24483);
  color: var(--canvas);
  border-radius: var(--radius-hero);
}

.missing-content {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.missing-icon-box {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--canvas);
  color: var(--coral);
  border-radius: 50%;
  font-size: 23px;
}

.missing-text h2 {
  color: var(--canvas);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.missing-text p {
  max-width: 720px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.reward-notice-pill {
  max-width: 720px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 14px;
  background: rgba(10, 10, 10, 0.84);
  color: var(--canvas);
  border-radius: var(--radius-xl);
  font-size: 13px;
}

.disclaimer-text-sm {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 11px !important;
}

.missing-action {
  margin-top: 24px;
}

.missing-action .cta-btn {
  background: var(--ink);
}

.missing-action .cta-btn:hover {
  background: var(--charcoal);
}

/* FAQ */
.faq-section {
  background: var(--surface);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
}

.faq-trigger {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 15px;
  font-weight: 600;
}

.faq-icon {
  flex: 0 0 auto;
  color: var(--stone);
  transition: transform 200ms ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 20px 20px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.65;
}

.faq-item.active .faq-content {
  display: block;
}

/* Final CTA and footer */
.final-cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 85%, rgba(168, 85, 247, 0.34), transparent 27%),
    radial-gradient(circle at 87% 12%, rgba(255, 85, 48, 0.36), transparent 26%),
    var(--ink);
}

.final-cta-card {
  max-width: 790px;
  margin: 0 auto;
}

.final-cta-card .section-title {
  margin-inline: auto;
}

.final-cta-desc {
  max-width: 680px;
  margin: 16px auto 28px;
  color: #c7c9cf;
  font-size: 18px;
  line-height: 1.6;
}

.final-cta-action {
  margin-bottom: 10px;
}

.final-cta-subtext {
  color: var(--muted);
  font-size: 12px;
}

.final-count-pill {
  display: inline-flex;
  margin-top: 20px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--canvas);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.site-footer {
  padding: 48px 0 104px;
  background: var(--ink);
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 12px;
}

.site-footer .brand-logo {
  color: var(--canvas);
}

.footer-top {
  margin-bottom: 24px;
}

.footer-date {
  color: var(--muted);
}

.footer-disclaimers {
  display: grid;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  line-height: 1.6;
}

.footer-copyright {
  margin-top: 24px;
  color: #696b72;
  text-align: center;
}

/* Sticky WhatsApp CTA */
.sticky-cta-bar {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 24px rgba(10, 10, 10, 0.18);
  backdrop-filter: blur(16px);
}

.sticky-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-title {
  overflow: hidden;
  color: var(--canvas);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-sub {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Activity toast */
.activity-toast {
  position: fixed;
  z-index: 80;
  left: 16px;
  bottom: 82px;
  width: min(390px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  animation: slideInToast 260ms ease both;
}

@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: var(--canvas);
  border-radius: 50%;
}

.toast-content {
  min-width: 0;
}

.toast-text {
  color: var(--charcoal);
  font-size: 11px;
  line-height: 1.35;
}

.toast-tag {
  margin-top: 2px;
  color: var(--stone);
  font-size: 9px;
}

/* Drama detail modal */
.modal-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(10, 10, 10, 0.68);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(7px);
  transition: opacity 220ms ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--canvas);
  border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
  transform: translateY(100%);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-sheet {
  transform: translateY(0);
}

/* Age confirmation modal */
.age-gate-overlay {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.72);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 200ms ease;
}

.age-gate-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.age-gate-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 40px 32px 32px;
  background: var(--canvas);
  border-radius: var(--radius-3xl);
  box-shadow: 0 24px 70px rgba(10, 10, 10, 0.28);
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.age-gate-overlay.active .age-gate-dialog {
  transform: translateY(0) scale(1);
}

.age-gate-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--charcoal);
  border-radius: 50%;
}

.age-gate-close:hover {
  background: var(--hairline);
}

.age-gate-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: var(--success-soft);
  color: var(--success);
  border-radius: 50%;
  font-size: 28px;
}

.age-gate-dialog h2 {
  padding-inline: 12px;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.2;
}

.age-gate-dialog > p:not(.age-gate-feedback) {
  margin-top: 12px;
  color: var(--slate);
}

.age-gate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.age-gate-feedback {
  margin-top: 16px;
  padding: 11px 14px;
  background: #fff1f1;
  color: var(--danger);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
}

.modal-close-btn {
  position: absolute;
  z-index: 10;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.72);
  color: var(--canvas);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}

.modal-scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.modal-header-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.modal-poster-wrap {
  width: 118px;
  flex: 0 0 auto;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ink);
  border-radius: var(--radius-xl);
}

.modal-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-head-info {
  min-width: 0;
}

.platform-tag {
  margin-bottom: 8px;
  padding: 4px 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.modal-head-info h2 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.25;
}

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--slate);
  font-size: 12px;
}

.modal-earnings-box {
  padding: 10px 12px;
  background: var(--success-soft);
  border-radius: var(--radius-lg);
}

.per-ep-highlight {
  color: var(--success-text);
  font-size: 14px;
  font-weight: 700;
}

.total-est-sub {
  margin-top: 2px;
  color: var(--slate);
  font-size: 11px;
}

.key-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 22px;
  padding: 12px 14px;
  background: var(--coral-soft);
  color: #9d341b;
  border: 1px solid #ffd4c8;
  border-radius: var(--radius-lg);
  font-size: 13px;
}

.modal-subheading {
  margin-bottom: 7px;
  font-size: 15px;
}

.modal-synopsis-text {
  margin-bottom: 20px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.65;
}

.modal-data-confidence {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--stone);
  font-size: 12px;
}

.modal-footer-cta {
  padding: 16px 24px max(16px, env(safe-area-inset-bottom));
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
}

.modal-cta-subtext {
  margin-top: 7px;
  color: var(--stone);
  font-size: 11px;
  text-align: center;
}

/* Loading/error overlay */
.status-overlay {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(8px);
}

.status-card {
  width: min(100%, 410px);
  padding: 34px 26px;
  background: var(--canvas);
  border-radius: var(--radius-3xl);
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 4px solid var(--hairline);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-icon {
  margin-bottom: 12px;
  color: var(--danger);
  font-size: 44px;
}

.status-state h3 {
  margin-bottom: 8px;
}

.status-state p {
  margin-bottom: 18px;
  color: var(--slate);
  font-size: 14px;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 56px, 1280px);
  }

  .filter-grid-2,
  .drama-grid,
  .process-steps-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drama-carousel.expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-diagram {
    flex-direction: row;
    justify-content: center;
  }

  .flow-step {
    flex: 1;
  }

  .flow-arrow {
    transform: none;
  }

  .modal-overlay {
    align-items: center;
    padding: 24px;
  }

  .modal-sheet {
    border-radius: var(--radius-3xl);
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 88px 0;
  }

  .hero-section {
    min-height: calc(100vh - 72px);
    padding: 64px 0 80px;
  }

  .hero-container {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    align-items: center;
    gap: clamp(48px, 7vw, 96px);
  }

  .hero-image-frame {
    min-height: 520px;
  }

  .desktop-only {
    display: flex;
  }

  .drama-carousel {
    grid-auto-columns: calc((100% - 48px) / 4);
  }

  .drama-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .drama-carousel.expanded {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .missing-drama-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
  }

  .missing-action {
    margin-top: 0;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 639px) {
  .container {
    width: min(100% - 32px, 1280px);
  }

  .section {
    padding: 60px 0;
  }

  .top-nav {
    height: 64px;
  }

  .nav-whatsapp-btn {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 12px;
  }

  .nav-whatsapp-btn .whatsapp-icon {
    width: 17px;
    height: 17px;
  }

  .hero-section {
    padding: 48px 0 68px;
  }

  .hero-container {
    gap: 38px;
  }

  .hero-title {
    font-size: clamp(40px, 12.4vw, 54px);
    letter-spacing: -1.7px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-cta-subtext {
    text-align: center;
  }

  .hero-image-frame {
    min-height: 390px;
  }

  .hero-visual-label {
    left: 16px;
    bottom: 86px;
  }

  .hero-countdown-card {
    width: calc(100% - 24px);
  }

  .timer-unit {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .filter-header {
    align-items: flex-start;
  }

  .section-header.flex-between {
    display: block;
  }

  .section-title {
    font-size: 34px;
    letter-spacing: -0.8px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .missing-content {
    display: block;
  }

  .missing-icon-box {
    margin-bottom: 18px;
  }

  .footer-top {
    align-items: flex-start;
  }

  .footer-date {
    max-width: 150px;
    text-align: right;
  }

  .sticky-bar-content {
    gap: 8px;
  }

  .sticky-cta-bar .btn {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .sticky-sub {
    display: none;
  }

  .modal-header-hero {
    align-items: flex-start;
  }

  .modal-poster-wrap {
    width: 96px;
  }

  .modal-head-info h2 {
    padding-right: 30px;
    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .hero-title {
    font-size: 38px;
  }

  .earnings-pill {
    font-size: 12px;
  }

  .btn {
    padding-inline: 16px;
  }

  .sticky-title {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
