:root {
  --bg: #080b12;
  --bg-gradient: radial-gradient(circle at 50% 0%, #1a162b 0%, #0d111d 50%, #080b12 100%);
  --surface: #101624;
  --surface-card: rgba(16, 22, 36, 0.85);
  --surface-border: rgba(255, 255, 255, 0.08);
  --surface-hover: #182135;
  --text: #ffffff;
  --text-secondary: #94a3b8;
  --muted: #64748b;
  --red: #e50914;
  --red-glow: rgba(229, 9, 20, 0.35);
  --red-gradient: linear-gradient(135deg, #ff1e27 0%, #c40610 100%);
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --tg-blue: #0088cc;
  --tg-gradient: linear-gradient(135deg, #0099e6 0%, #006da6 100%);
  --success: #10b981;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-main: 0 16px 36px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(229, 9, 20, 0.25);
}

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

[x-cloak] {
  display: none !important;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Base Page Layout */
.mobile-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell {
  width: min(520px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-border);
}

.site-header__inner {
  width: min(520px, calc(100% - 24px));
  margin: 0 auto;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dracin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--red-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--red-glow);
}

.brand-icon-box svg {
  fill: #ffffff;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-logo-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 40%, #fca5a5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-logo-text span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtext {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-vip-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  animation: pulseGold 2.5s infinite;
}

@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0);
  }
}

/* Main Content */
.page-main {
  flex: 1 0 auto;
  padding: 16px 0 32px;
}

/* Video Teaser Mockup */
.player-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-main), 0 0 30px rgba(0, 0, 0, 0.8);
}

.player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d111a;
  cursor: pointer;
}

.player-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}

.player-frame:hover .player-hero-img {
  transform: scale(1.03);
}

.player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
}

.player-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: liveBlink 1.4s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.quality-badge {
  background: rgba(229, 9, 20, 0.85);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.player-center-play {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.play-circle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red-gradient);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px var(--red-glow), 0 0 0 6px rgba(229, 9, 20, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.player-frame:hover .play-circle-btn {
  transform: scale(1.1);
  box-shadow: 0 10px 30px var(--red-glow), 0 0 0 8px rgba(229, 9, 20, 0.35);
}

.play-circle-btn svg {
  fill: #ffffff;
  margin-left: 3px;
}

.play-label {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 10px;
  border-radius: 999px;
}

.player-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.video-progress-fill {
  height: 100%;
  width: 42%;
  background: var(--red-gradient);
  border-radius: 999px;
}

.player-controls-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #e2e8f0;
}

.meta-badges {
  display: flex;
  gap: 6px;
}

.badge-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

/* Drama Meta & Episode Selector */
.drama-meta-card {
  padding: 16px;
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
}

.drama-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.drama-main-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.drama-score {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}

.drama-synopsis {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.episodes-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.episodes-block-header strong {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e2e8f0;
}

.episodes-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.episodes-scroll::-webkit-scrollbar {
  height: 4px;
}

.episodes-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.ep-pill {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  background: var(--surface-hover);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ep-pill:hover,
.ep-pill.active {
  background: rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.5);
  color: #ffffff;
}

.ep-pill.active {
  background: var(--red-gradient);
  border-color: transparent;
  box-shadow: 0 4px 14px var(--red-glow);
}

.ep-pill .pill-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ep-pill.free .pill-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.ep-pill.vip .pill-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

/* VIP Activation / Form Shell */
.form-shell {
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-main);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  position: relative;
}

.form-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff1e27, #f59e0b, #6366f1);
}

.form-shell__body {
  padding: 0;
}

.form-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 24px 20px;
}

.form-copy {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--surface-border);
}

.form-copy__eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-copy h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.form-copy__lead,
.hint,
.form-card > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hint strong,
.form-card > p strong {
  color: #ffffff;
}

.hint--error {
  color: #f87171 !important;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 10px 14px;
  border-radius: 10px;
}

/* VIP Perks in Form Card */
.vip-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.vip-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  padding: 10px 12px;
  border-radius: 10px;
}

.vip-perk-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.vip-perk-item span {
  font-size: 11.5px;
  font-weight: 700;
  color: #e2e8f0;
}

/* Buttons */
.btn-dracin-primary,
button[type="submit"],
.button-link {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--red-gradient);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px var(--red-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  width: 100%;
}

.btn-dracin-primary:hover,
button[type="submit"]:hover,
.button-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 14px 28px rgba(229, 9, 20, 0.45);
}

.btn-dracin-primary:active,
button[type="submit"]:active,
.button-link:active {
  transform: translateY(0);
}

.btn-dracin-telegram {
  background: var(--tg-gradient) !important;
  box-shadow: 0 10px 24px rgba(0, 136, 204, 0.35) !important;
}

.btn-dracin-telegram:hover {
  box-shadow: 0 14px 28px rgba(0, 136, 204, 0.5) !important;
}

.button-link--secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid var(--surface-border) !important;
  box-shadow: none !important;
  color: #cbd5e1 !important;
}

.button-link--secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

/* Inputs */
.field-stack {
  display: grid;
  gap: 8px;
}

label {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input::placeholder {
  color: #64748b;
}

input:focus {
  outline: none;
  border-color: rgba(229, 9, 20, 0.7);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.input-decor {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
}

.input-decor:focus-within {
  border-color: rgba(229, 9, 20, 0.7);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.input-decor__flag {
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
  color: #e2e8f0;
}

.input-decor input {
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.input-invalid,
.input-invalid:focus,
.input-decor.input-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25) !important;
}

.error-message {
  margin: -2px 0 0;
  font-size: 12px;
  color: #f87171;
  font-weight: 700;
}

/* OTP 5 Digits Fieldset */
.otp-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}

.otp-fieldset legend {
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.otp-box {
  min-height: 68px;
  padding: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  border-radius: 14px;
  border: 2px solid var(--surface-border);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  transition: all 0.15s ease;
}

.otp-box:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 5px var(--red-glow);
  background: #0f172a;
}

/* Splash Loader Overlay */
.form-splash {
  position: absolute;
  inset: 0;
  padding: 24px 20px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 20;
}

.form-splash strong {
  font-size: 17px;
  color: #ffffff;
}

.form-splash p {
  margin: 0;
  max-width: 26ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.form-splash__spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(229, 9, 20, 0.2);
  border-top-color: var(--red);
  animation: spin 0.75s linear infinite;
}

/* Drama Catalog Showcase Section */
.section-title-lockup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 12px;
}

.section-title-lockup h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title-lockup .view-all-link {
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.genre-filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  margin-bottom: 14px;
}

.genre-filter-tabs::-webkit-scrollbar {
  display: none;
}

.genre-tab {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-border);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.genre-tab:hover,
.genre-tab.active {
  background: var(--red-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px var(--red-glow);
}

.drama-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.drama-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.drama-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: var(--shadow-main), 0 8px 20px rgba(0, 0, 0, 0.6);
}

.drama-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1e293b;
}

.drama-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.drama-card:hover .drama-card__img {
  transform: scale(1.05);
}

.card-badge-vip {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold-gradient);
  color: #000000;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.card-badge-ep {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.drama-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.drama-card__body h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drama-card__tags {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.drama-card__tags .dot {
  font-size: 8px;
}

.drama-card__rating {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

/* Success Card */
.success-card {
  text-align: center;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--success);
  display: grid;
  place-items: center;
  color: var(--success);
  font-size: 28px;
  margin-bottom: 12px;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.3);
}

.success-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}

/* Confirm Card */
.confirm-card {
  padding: 24px 20px;
}

.summary-block {
  display: grid;
  gap: 6px;
}

.summary-value {
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

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

/* Error Card */
.error-card {
  border-color: rgba(239, 68, 68, 0.3);
}

/* Real-Time Live Toast Notification */
.toast-layer {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 20px;
  z-index: 99;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.toast-card {
  width: min(420px, 100%);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-md);
  background: rgba(16, 22, 36, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
  pointer-events: none;
}

.toast-card.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-hover);
  border: 1px solid var(--surface-border);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
}

.toast-card__body strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.toast-card__body p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-secondary);
}

.toast-card__body small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}

.toast-card__close {
  padding: 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  min-height: auto;
  width: auto;
}

.toast-card__close:hover {
  color: #ffffff;
  transform: none;
}

/* Footer */
.site-footer {
  margin-top: 24px;
  padding: 24px 0 32px;
  background: #05070c;
  border-top: 1px solid var(--surface-border);
  color: var(--text-secondary);
}

.site-footer__inner {
  width: min(520px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

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

/* Media Queries */
@media (max-width: 420px) {
  .page-shell,
  .site-header__inner,
  .site-footer__inner {
    width: calc(100% - 20px);
  }

  .drama-grid {
    gap: 10px;
  }

  .otp-box {
    min-height: 60px;
    font-size: 24px;
  }
}
