/* ==========================================================================
   HikaZmira drama landing page — RTL/LTR, mobile-first, static-only UI
   Cinematic dark / wine palette.
   ========================================================================== */

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/tajawal-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/tajawal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/tajawal-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/tajawal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/tajawal-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/tajawal-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/tajawal-800-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/tajawal-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0507;
  --bg-2: #12060a;
  --wine: #5a0d1f;
  --wine-2: #7d0f27;
  --card: #160a0f;
  --card-2: #12070c;
  --red: #e50935;
  --red-2: #ff3155;
  --red-deep: #a00525;
  --gold: #ffd478;
  --gold-2: #f0b94f;
  --white: #ffffff;
  --muted: #b3aeb6;
  --muted-2: #837c88;
  --line: rgba(255, 255, 255, 0.08);
  --line-gold: rgba(255, 212, 120, 0.26);
  --radius: 16px;
  --shell: 520px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: "Tajawal", "Cairo", "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  min-height: 100%;
  margin: 0;
  padding-bottom: calc(88px + var(--safe-bottom));
  color: var(--white);
  background:
    radial-gradient(130% 60% at 88% -8%, rgba(160, 8, 45, 0.34) 0%, rgba(160, 8, 45, 0.08) 38%, transparent 68%),
    radial-gradient(100% 60% at 4% 24%, rgba(90, 13, 31, 0.30) 0%, transparent 60%),
    linear-gradient(180deg, #150709 0%, var(--bg) 42%, #070304 100%);
  color-scheme: dark;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 44% at 50% 100%, rgba(125, 15, 39, 0.16), transparent 72%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, 96px 100%;
  opacity: 0.7;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  fill: none;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

::selection {
  color: #fff;
  background: rgba(229, 9, 53, 0.72);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Shell / header
   -------------------------------------------------------------------------- */

.site {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 16px;
}

.dev-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: max(10px, env(safe-area-inset-top, 0px));
  padding: 9px 11px;
  color: #f4c87e;
  background: #24130a;
  border: 1px dashed rgba(255, 212, 120, 0.46);
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.55;
}

.dev-banner .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

.dev-banner strong {
  font-weight: 800;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: calc(16px + env(safe-area-inset-top, 0px)) 10px;
}

.header-start {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #14080d;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.brand-name {
  max-width: 150px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-sub {
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

/* Language switcher */
.lang-switch {
  position: relative;
  flex: 0 0 auto;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  color: #efe4f2;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease;
}

.lang-current:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 212, 120, 0.34);
}

.lang-current .lang-globe {
  width: 13px;
  height: 13px;
  opacity: 0.72;
}

.lang-current .lang-caret {
  width: 12px;
  height: 12px;
  opacity: 0.55;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 80;
  min-width: 134px;
  padding: 5px;
  background: rgba(24, 10, 16, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #d9d1dc;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
}

.lang-menu button:hover {
  background: rgba(229, 9, 53, 0.14);
  color: #fff;
}

.lang-menu button.is-active {
  color: #fff;
  background: rgba(229, 9, 53, 0.2);
}

.lang-menu .lang-check {
  width: 14px;
  height: 14px;
  opacity: 0;
}

.lang-menu button.is-active .lang-check {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  font-family: var(--font);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.btn-primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 34%),
    linear-gradient(135deg, #ff3d63 0%, var(--red) 46%, #a00525 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 14px 34px rgba(160, 5, 37, 0.34),
    0 3px 8px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.btn-compact {
  flex: 0 0 auto;
  gap: 5px;
  height: 36px;
  padding-inline: 12px;
  color: #ffe4e9;
  background: rgba(229, 9, 53, 0.14);
  border: 1px solid rgba(255, 49, 85, 0.42);
  font-size: 12.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-compact .icon {
  width: 15px;
  height: 15px;
}

.btn-hero {
  width: 100%;
  min-height: 58px;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 17px;
  font-weight: 800;
}

.btn-hero .btn-label {
  flex: 1;
  padding-inline-start: 6px;
}

.btn-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.btn-icon .icon {
  width: 19px;
  height: 19px;
}

.btn-activity {
  width: 100%;
  min-height: 54px;
  gap: 9px;
  margin-top: 20px;
  padding: 8px 12px;
  font-size: 15.5px;
}

.btn-activity .btn-icon {
  width: 32px;
  height: 32px;
}

.btn:active {
  transform: translateY(1px) scale(0.995);
  filter: brightness(0.95);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  filter: saturate(0.35) brightness(0.72);
  opacity: 0.72;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
  }
}

/* --------------------------------------------------------------------------
   Hero — cinematic poster atmosphere
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 18px;
  text-align: right;
}

.hero-bg {
  position: absolute;
  inset: -22px -30px 0 -30px;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  filter: blur(22px) saturate(1.2);
  opacity: 0.4;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 85% at 50% -8%, rgba(160, 8, 45, 0.55) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 5, 7, 0.5) 0%, rgba(10, 5, 7, 0.78) 55%, rgba(10, 5, 7, 0.99) 100%);
}

.hero > :not(.hero-bg) {
  position: relative;
  z-index: 1;
}

/* Flowing hero particles (subtle, no lottery behavior) */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  bottom: -12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 120, 0.95), rgba(255, 212, 120, 0));
  opacity: 0;
  animation: particleFloat 10s linear infinite;
}

.hero-particles span:nth-child(1) { left: 8%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 28%; animation-delay: 1.8s; animation-duration: 12s; }
.hero-particles span:nth-child(3) { left: 50%; animation-delay: 3.4s; }
.hero-particles span:nth-child(4) { left: 72%; animation-delay: 5s; animation-duration: 11s; }
.hero-particles span:nth-child(5) { left: 90%; animation-delay: 6.8s; }

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 0.85; }
  78% { opacity: 0.35; }
  100% { transform: translateY(-340px) translateX(20px); opacity: 0; }
}

/* Slow cinematic drift for the poster mosaic */
.hero-bg {
  animation: heroDrift 22s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.02); }
  to { transform: scale(1.13); }
}

/* Soft pulsing glow behind the wheel (wheel itself stays static) */
.campaign-card::after {
  animation: glowPulse 4.5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

/* Light sweep on primary download buttons */
.btn {
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -60%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnShine {
  0% { left: -60%; }
  60% { left: 135%; }
  100% { left: 135%; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 5px 10px;
  color: #f6cf8c;
  background: linear-gradient(180deg, rgba(255, 212, 120, 0.12), rgba(255, 212, 120, 0.05));
  border: 1px solid rgba(255, 212, 120, 0.24);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.kicker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 212, 120, 0.1);
}

.kicker-sep {
  width: 1px;
  height: 11px;
  margin-inline: 1px;
  background: rgba(255, 212, 120, 0.3);
}

.kicker-country {
  color: #cfb680;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(2.6rem, 13vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.4);
}

.gold-text {
  color: var(--gold);
  background: linear-gradient(96deg, #fbe9bb 2%, #ffd478 38%, #ecb043 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 360px;
  margin: 10px 0 0;
  color: #d5cfd8;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-cta-wrap {
  margin-top: 16px;
}

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

.platform-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding-inline: 9px;
  color: #c7c1ca;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  font-size: 9.5px;
  font-weight: 700;
}

.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  margin: 14px auto 0;
  color: #8b848f;
  font-size: 10px;
  font-weight: 500;
  pointer-events: none;
}

.scroll-cue .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  margin-top: 36px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: #c29a63;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-kicker-gold {
  color: #e2bd7d;
}

.kicker-line {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 120, 0.78));
}

.section-title {
  margin: 0;
  color: #faf8fb;
  font-size: clamp(1.35rem, 5.8vw, 1.7rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.count-chip {
  flex: 0 0 auto;
  padding: 4px 9px;
  color: #b5afb9;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 500;
}

.preview-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 12px;
  padding: 7px 9px;
  color: #c49d66;
  background: rgba(255, 212, 120, 0.06);
  border: 1px solid rgba(255, 212, 120, 0.14);
  border-radius: 8px;
  font-size: 9.5px;
  line-height: 1.6;
}

.preview-note .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
}

/* Drama grid: static <figure>, no links, no click events. 2 columns on phone,
   3 columns on wider screens (auto-adjust). */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drama-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #1a0b11, #12060a);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
  pointer-events: none;
  user-select: none;
}

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(100% 80% at 50% 20%, rgba(160, 8, 45, 0.18), transparent 60%),
    linear-gradient(160deg, #2a0b16, #0c0306);
}

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

.poster-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255, 212, 120, 0.62);
  font-size: 9px;
  font-weight: 500;
}

.poster-fallback .icon {
  width: 24px;
  height: 24px;
  opacity: 0.62;
}

.poster-frame.is-missing img {
  display: none;
}

.poster-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 2, 3, 0.03) 42%, rgba(5, 2, 3, 0.55));
}

.episode-pill {
  position: absolute;
  z-index: 3;
  top: 7px;
  inset-inline-end: 7px;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding-inline: 6px;
  color: #f6f6f8;
  background: rgba(6, 3, 4, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.asset-tag {
  position: absolute;
  z-index: 3;
  top: 7px;
  inset-inline-start: 7px;
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding-inline: 5px;
  color: #e3bf84;
  background: rgba(20, 11, 8, 0.84);
  border: 1px solid rgba(255, 212, 120, 0.24);
  border-radius: 5px;
  font-size: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.version-chip {
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  margin-bottom: 5px;
  padding-inline: 6px;
  color: #ecc98e;
  background: rgba(255, 212, 120, 0.09);
  border: 1px solid rgba(255, 212, 120, 0.18);
  border-radius: 5px;
  font-size: 8px;
  font-weight: 700;
}

.drama-caption {
  padding: 8px 9px 10px;
}

.drama-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.6em;
  margin: 0;
  color: #f3eff4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* --------------------------------------------------------------------------
   Campaign / static wheel
   -------------------------------------------------------------------------- */

.campaign-section {
  margin-top: 14px;
}

.campaign-card {
  position: relative;
  overflow: hidden;
  padding: 18px 14px 16px;
  background:
    radial-gradient(90% 50% at 50% 3%, rgba(229, 9, 53, 0.2), transparent 66%),
    radial-gradient(75% 34% at 50% 37%, rgba(255, 212, 120, 0.08), transparent 73%),
    linear-gradient(180deg, #1c0b14 0%, #140810 62%, #11060c 100%);
  border: 1px solid rgba(255, 212, 120, 0.22);
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.campaign-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 16%;
  width: 68%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 120, 0.72), transparent);
}

.campaign-card::after {
  content: "";
  position: absolute;
  top: -46px;
  left: 50%;
  width: 90%;
  height: 115px;
  background: radial-gradient(ellipse at center, rgba(255, 212, 120, 0.1), transparent 70%);
  filter: blur(18px);
  transform: translateX(-50%);
  pointer-events: none;
}

.campaign-head {
  position: relative;
  z-index: 1;
  text-align: center;
}

.campaign-head .section-kicker {
  justify-content: center;
  margin-bottom: 4px;
}

.campaign-title {
  margin: 0;
  color: var(--gold);
  background: linear-gradient(100deg, #f9e9bc, #ffd478 45%, #e9ae3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2rem, 9vw, 2.55rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.campaign-lead {
  max-width: 330px;
  margin: 6px auto 0;
  color: #f0edf1;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
}

.campaign-sub {
  margin: 4px auto 0;
  color: #bdb7c0;
  font-size: 11px;
  line-height: 1.5;
}

.wheel-wrap {
  position: relative;
  width: min(100%, 356px);
  margin: 14px auto 0;
  padding-top: 11px;
}

.wheel-pointer {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  width: 30px;
  height: 42px;
  background: linear-gradient(180deg, #fff0c8 0%, #ffd478 38%, #dca23a 100%);
  clip-path: polygon(50% 100%, 0 20%, 50% 0, 100% 20%);
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.55));
  transform: translateX(-50%);
}

.pointer-gem {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: linear-gradient(145deg, var(--red-2), #9d0626);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
}

.wheel-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  pointer-events: none;
  user-select: none;
}

.wheel-shell svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}

.wheel-svg text {
  font-family: var(--font);
  direction: rtl;
  unicode-bidi: isolate;
}

.wheel-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 14px auto 0;
  color: #cdaa6d;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.wheel-disclaimer .icon {
  width: 12px;
  height: 12px;
}

.checkin {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 22px 9px 0;
}

.checkin-line {
  position: absolute;
  top: 19px;
  right: 15%;
  left: 15%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 212, 120, 0.3) 0 4px, transparent 4px 9px);
}

.checkin-day {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 31%;
  gap: 7px;
}

.day-num {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: #e2bc7d;
  background: #1a0c12;
  border: 1px solid rgba(255, 212, 120, 0.26);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.day-label {
  color: #b3adb6;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.campaign-terms {
  margin: 13px auto 0;
  color: #928b95;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.campaign-period {
  margin: 3px auto 0;
  color: #b3adb6;
  font-size: 9.5px;
  line-height: 1.7;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Legal / footer
   -------------------------------------------------------------------------- */

.legal-section {
  margin-top: 32px;
}

.legal-card {
  padding: 18px 15px 14px;
  background: rgba(20, 9, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
}

.legal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.legal-head h2 {
  margin: 0;
  color: #ece8ee;
  font-size: 13.5px;
  font-weight: 800;
}

.legal-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #e2b56c;
  background: rgba(255, 212, 120, 0.08);
  border: 1px solid rgba(255, 212, 120, 0.18);
  border-radius: 7px;
}

.legal-mark .icon {
  width: 12px;
  height: 12px;
}

.legal-card p {
  margin: 0;
  color: #9a929e;
  font-size: 10.8px;
  font-weight: 500;
  line-height: 1.9;
}

.legal-campaign {
  margin-top: 8px !important;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-footnote {
  margin-top: 8px !important;
  color: #7d7781 !important;
}

.copyright {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  padding-top: 10px;
  color: #6f6973;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 9px;
  font-weight: 500;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 20px 0 7px;
  color: #615b65;
  font-size: 9px;
  font-weight: 500;
}

.footer-sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #615b65;
}

/* Developer-only config report */
.dev-config {
  margin-top: 18px;
  padding: 13px;
  color: #e2bd7d;
  background: #1a0e08;
  border: 1px dashed rgba(255, 212, 120, 0.36);
  border-radius: 12px;
}

.dev-config-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dev-config-head .icon {
  width: 14px;
  height: 14px;
}

.dev-config h2 {
  margin: 0;
  font-size: 11.5px;
  font-weight: 800;
}

.dev-config ul {
  display: grid;
  gap: 3px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.dev-config li {
  display: flex;
  gap: 5px;
  color: #c3a679;
  font-size: 9.5px;
  line-height: 1.6;
}

.dev-config li::before {
  content: "•";
  color: #cf9240;
}

.dev-config p {
  margin: 8px 0 0;
  color: #94815f;
  font-size: 8.5px;
}

.noscript {
  margin-top: 16px;
  padding: 12px;
  color: #e2bd7d;
  background: rgba(255, 212, 120, 0.07);
  border: 1px solid rgba(255, 212, 120, 0.22);
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Sticky download bar
   -------------------------------------------------------------------------- */

.sticky-bar {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 9px 14px calc(8px + var(--safe-bottom));
  background: rgba(11, 4, 6, 0.97);
  border-top: 1px solid rgba(255, 212, 120, 0.18);
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.45);
}

@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .sticky-bar {
    background: rgba(11, 4, 6, 0.85);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
  }
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
}

.sticky-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.sticky-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #14080d;
}

.sticky-name {
  overflow: hidden;
  max-width: 132px;
  color: #f6f6f9;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-sticky {
  flex: 0 0 auto;
  min-width: 137px;
  height: 46px;
  gap: 7px;
  padding-inline: 13px;
  font-size: 13.5px;
  font-weight: 800;
  border-radius: 11px;
}

.btn-sticky .icon {
  width: 16px;
  height: 16px;
}

.sticky-safe {
  display: none;
}

/* --------------------------------------------------------------------------
   LTR overrides (EN / FR)
   -------------------------------------------------------------------------- */

[dir="ltr"] .hero {
  text-align: left;
}

/* --------------------------------------------------------------------------
   Small phones / RTL edge cases
   -------------------------------------------------------------------------- */

@media (max-width: 359px) {
  .site {
    padding-inline: 13px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    max-width: 110px;
    font-size: 13px;
  }

  .brand-sub {
    display: none;
  }

  .header-start {
    gap: 7px;
  }

  .lang-current {
    height: 32px;
    padding: 0 8px;
    font-size: 10.5px;
  }

  .lang-current .lang-globe {
    display: none;
  }

  .btn-compact {
    height: 34px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 13.5vw, 2.9rem);
  }

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

  .drama-grid {
    gap: 9px;
  }

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

  .campaign-card {
    padding-inline: 11px;
  }

  .day-num {
    width: 35px;
    height: 35px;
  }

  .checkin-line {
    top: 17px;
  }

  .btn-sticky {
    min-width: 124px;
    font-size: 12.5px;
  }

  .sticky-name {
    max-width: 92px;
    font-size: 11px;
  }

  .sticky-logo {
    width: 34px;
    height: 34px;
  }
}

/* Common Android browser viewport: keep the first screen compact when the
   visible height is shortened by the address bar. */
@media (max-width: 520px) and (max-height: 760px) {
  .site-header {
    padding-block: calc(11px + env(safe-area-inset-top, 0px)) 6px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .hero {
    padding-top: 13px;
  }

  .hero-kicker {
    min-height: 26px;
    padding: 4px 9px;
    font-size: 10.5px;
  }

  .hero-title {
    margin-top: 12px;
    font-size: clamp(2.3rem, 12.4vw, 3rem);
  }

  .hero-subtitle {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.65;
  }

  .hero-cta-wrap {
    margin-top: 15px;
  }

  .btn-hero {
    min-height: 54px;
    font-size: 16px;
  }

  .scroll-cue {
    margin-top: 8px;
  }
}

@media (min-width: 430px) {
  .site {
    padding-inline: 20px;
  }

  .hero-title {
    font-size: clamp(3.1rem, 12vw, 3.6rem);
  }

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

  .drama-grid {
    gap: 13px;
  }

  .drama-title {
    font-size: 12.5px;
  }

  .episode-pill {
    font-size: 9px;
  }

  .campaign-card {
    padding-inline: 18px;
  }
}

@media (min-width: 640px) {
  .drama-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  body {
    background:
      radial-gradient(48% 52% at 75% 4%, rgba(160, 8, 45, 0.28) 0%, transparent 72%),
      radial-gradient(38% 42% at 18% 38%, rgba(90, 13, 31, 0.22) 0%, transparent 75%),
      linear-gradient(180deg, #120609 0%, #080304 100%);
  }

  body::before {
    background: radial-gradient(42% 55% at 50% 25%, rgba(255, 255, 255, 0.03), transparent 70%);
  }

  .site {
    padding-inline: 18px;
  }

  .site-header {
    padding-top: calc(22px + env(safe-area-inset-top, 0px));
  }

  .hero {
    padding-top: 24px;
  }

  .sticky-bar {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

