/* ============================================================
   MOGO FM – Global Stylesheet (FINAL FIXED VERSION)
   ============================================================ */

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

:root {
  --brand-red: #e31837;
  --brand-red-dark: #b8122c;
  --brand-maroon: #14080c;
  --primary: #e31837;
  --primary-light: #ff4d6a;
  --primary-dark: #b8122c;
  --accent: #F59E0B;
  --bg-dark: #0a0608;
  --bg-card: rgba(255, 255, 255, 0.04);
  --glass: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.09);
  --text-primary: #f4f4f5;
  --text-secondary: rgba(244, 244, 245, 0.64);
  --text-muted: rgba(244, 244, 245, 0.38);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.22);
  --shadow-card: 0 12px 42px rgba(0, 0, 0, 0.48);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.home-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 0% 0%, rgba(227, 24, 55, 0.18), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(124, 58, 237, 0.08), transparent 45%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(91, 33, 182, 0.06), transparent 48%);
}

body.about-drawer-open {
  overflow: hidden;
}

/* ── Animated Background Orbs ── */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.30), transparent 70%);
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.orb2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.20), transparent 70%);
  bottom: 100px;
  right: -100px;
  animation-delay: -4s;
}

.orb3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatOrbCenter 12s ease-in-out infinite;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes floatOrbCenter {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, calc(-50% - 30px)) scale(1.05); }
}

/* ── Mogo header (standard bar + brand red) ── */
.mogo-header {
  position: sticky;
  top: 0;
  z-index: 300;
  width: 100%;
}

.mogo-header-bar {
  background: linear-gradient(180deg, rgba(20, 8, 12, 0.97) 0%, rgba(12, 6, 9, 0.92) 100%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mogo-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px clamp(16px, 4vw, 28px);
  display: flex;
  align-items: center;
  gap: 20px;
}

.mogo-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.mogo-header-logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(227, 24, 55, 0.35);
}

.mogo-header-wordmark {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
}

.mogo-header-wordmark em {
  font-style: normal;
  color: var(--primary-light);
}

.mogo-header-nav {
  display: none;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.mogo-header-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 15px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.mogo-header-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.mogo-header-nav a:focus-visible {
  outline: 2px solid rgba(0, 135, 255, 0.65);
  outline-offset: 2px;
}

.mogo-header-nav a.mogo-nav-login {
  color: #fff;
  background: linear-gradient(135deg, #0087ff 0%, #0066cc 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 135, 255, 0.32);
}

.mogo-header-nav a.mogo-nav-login:hover {
  color: #fff;
  background: linear-gradient(135deg, #1a95ff 0%, #0077e6 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 18px rgba(0, 135, 255, 0.42);
}

.mogo-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.mogo-header-login {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: linear-gradient(135deg, #0087ff 0%, #0066cc 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 135, 255, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.mogo-header-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 135, 255, 0.45);
}

.mogo-header-cta {
  display: none;
  align-items: center;
  padding: 10px 22px;
  background: var(--brand-red);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(227, 24, 55, 0.45);
  transition: transform var(--transition), background var(--transition);
  flex-shrink: 0;
}

.mogo-header-cta:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
}

.mogo-header-accent {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-red) 30%, var(--primary-light) 70%, transparent);
}

.mogo-header-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.mogo-header-menu-btn span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mogo-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px clamp(16px, 4vw, 28px) 16px;
  background: rgba(14, 8, 10, 0.98);
  border-bottom: 1px solid var(--border);
}

.mogo-mobile-nav.is-open {
  display: flex;
}

.mogo-mobile-nav[hidden] {
  display: none !important;
}

.mogo-mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.mogo-mobile-nav a:hover {
  background: rgba(227, 24, 55, 0.14);
  border-color: rgba(227, 24, 55, 0.35);
  transform: translateY(-1px);
}

.mogo-mobile-nav a.mogo-mobile-nav-login {
  background: linear-gradient(135deg, rgba(0, 135, 255, 0.22) 0%, rgba(0, 102, 204, 0.18) 100%);
  border: 1px solid rgba(0, 135, 255, 0.45);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.mogo-mobile-nav a.mogo-mobile-nav-login:hover {
  background: linear-gradient(135deg, rgba(0, 135, 255, 0.35) 0%, rgba(0, 102, 204, 0.28) 100%);
}

.mogo-nav-profile {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.mogo-nav-profile[hidden] {
  display: none !important;
}

[data-nav-signin][hidden] {
  display: none !important;
}

.mogo-nav-avatar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: linear-gradient(145deg, #0087ff 0%, #e31837 100%);
  box-shadow: 0 4px 16px rgba(0, 135, 255, 0.28);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.mogo-nav-avatar-btn:hover,
.mogo-nav-avatar-btn[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 22px rgba(227, 24, 55, 0.35);
}

.mogo-nav-avatar {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
  user-select: none;
}

.mogo-nav-profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  padding: 10px;
  background: rgba(14, 8, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  z-index: 600;
}

.mogo-nav-profile-menu[hidden] {
  display: none !important;
}

.mogo-nav-profile-id {
  margin: 0 0 8px;
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  word-break: break-word;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mogo-nav-signout-btn {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(227, 24, 55, 0.4);
  border-radius: 10px;
  background: rgba(227, 24, 55, 0.14);
  color: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.mogo-nav-signout-btn:hover {
  background: rgba(227, 24, 55, 0.26);
  border-color: rgba(227, 24, 55, 0.55);
}

@media (min-width: 900px) and (max-width: 1100px) {
  .mogo-header-nav {
    gap: 6px;
  }

  .mogo-header-nav a {
    padding: 7px 12px;
    font-size: 0.75rem;
  }
}

@media (min-width: 900px) {
  .mogo-header-nav { display: flex; }
  .mogo-header-menu-btn { display: none; }
  .mogo-header-login { display: none; }
  .mogo-header-cta {
    display: inline-flex;
    margin-left: 0;
  }
  .mogo-nav-profile:not([hidden]) {
    margin-left: 2px;
  }
  .mogo-mobile-nav,
  .mogo-mobile-nav.is-open {
    display: none !important;
  }
}

@media (max-width: 899px) {
  .mogo-header-inner {
    gap: 12px;
    flex-wrap: nowrap;
  }

  .mogo-header-wordmark {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
  }

  .mogo-header-logo {
    width: 40px;
    height: 40px;
  }

  .mogo-header-menu-btn {
    flex-shrink: 0;
    margin-left: 0;
  }
}

/* Vertical About tab (right edge) */
.about-tab-vertical {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 280;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 168px;
  padding: 16px 10px;
  background: linear-gradient(180deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  box-shadow: -6px 0 28px rgba(227, 24, 55, 0.4);
  transition: width var(--transition), box-shadow var(--transition);
}

.about-tab-vertical:hover {
  width: 48px;
  box-shadow: -8px 0 36px rgba(227, 24, 55, 0.55);
}

.about-tab-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-tab-vertical[aria-expanded="true"] {
  background: var(--brand-red-dark);
  box-shadow: none;
}

/* About drawer */
.about-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

body.about-drawer-open .about-drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

.about-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 410;
  width: min(420px, 92vw);
  height: 100%;
  max-height: 100dvh;
  background: linear-gradient(165deg, #1a0c10 0%, #0d0608 100%);
  border-left: 1px solid rgba(227, 24, 55, 0.25);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

body.about-drawer-open .about-drawer {
  transform: translateX(0);
}

.about-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(227, 24, 55, 0.08);
}

.about-drawer-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.about-drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.about-drawer-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
}

.about-drawer-lead {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.about-drawer-block {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.about-drawer-block h3 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.about-drawer-block p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-drawer-block a {
  color: var(--primary-light);
}

.about-drawer-block code {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-drawer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.about-drawer-legal a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 14px;
  background: rgba(227, 24, 55, 0.15);
  border: 1px solid rgba(227, 24, 55, 0.3);
  border-radius: var(--radius-sm);
}

.about-drawer-legal a:hover {
  background: rgba(227, 24, 55, 0.28);
}

.about-section-teaser {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-open-inline {
  display: block;
  margin: 0 auto;
}

button.policy-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Hero — premium side layout (Anywhere. Anytime. + app screenshot) */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
  padding-top: clamp(20px, 4vh, 40px);
}

.hero-split--premium {
  padding: clamp(28px, 4vw, 40px);
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 42%),
    linear-gradient(160deg, rgba(20, 8, 12, 0.92) 0%, rgba(8, 6, 10, 0.88) 100%);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-split-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  max-width: 34rem;
  margin-inline: auto;
}

.hero-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 4px;
  line-height: 0.95;
  width: 100%;
}

.hero-eyebrow-line {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.92);
}

.hero-eyebrow-line--accent {
  background: linear-gradient(105deg, #fff 0%, var(--primary-light) 45%, #fde68a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-left: 0.12em;
}

.hero-split-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-showcase {
  position: relative;
  width: min(100%, 380px);
  margin-inline: auto;
}

.hero-showcase-bloom {
  position: absolute;
  inset: 8% 0 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(227, 24, 55, 0.35), transparent 70%),
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(245, 158, 11, 0.15), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-device-frame {
  position: relative;
  z-index: 1;
  padding: 10px 10px 14px;
  border-radius: 28px;
  background: linear-gradient(165deg, #2a2a2e 0%, #0f0f12 48%, #1a1a1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 0 40px rgba(227, 24, 55, 0.12);
  transform: rotate(-3deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-split--premium:hover .hero-device-frame {
  transform: rotate(-1deg) translateY(-4px);
}

.hero-device-notch {
  width: 36%;
  height: 5px;
  margin: 0 auto 8px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.55);
}

.hero-promo-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
}

.hero-split--premium .brand-name {
  text-align: left;
  width: 100%;
  margin-top: 4px;
}

.hero-split--premium .brand-tagline,
.hero-split--premium .hero-lead {
  text-align: left;
  width: 100%;
  max-width: none;
}

.hero-split--premium .hero-cta-row {
  justify-content: flex-start;
  width: 100%;
}

@media (min-width: 900px) {
  body.home-page {
    padding-right: 48px;
  }

  .hero-split--premium {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    padding: clamp(36px, 4vw, 48px) clamp(32px, 4vw, 48px);
  }

  .hero-split-copy {
    text-align: left;
    align-items: flex-start;
    margin-inline: 0;
    max-width: none;
    padding-right: 12px;
  }

  .hero-eyebrow {
    align-items: flex-start;
  }

  .hero-split-visual {
    justify-content: flex-end;
    align-items: center;
  }

  .hero-showcase {
    width: min(100%, 400px);
    margin-inline: 0 0 0 auto;
  }
}

@media (max-width: 899px) {
  .hero-eyebrow {
    align-items: center;
  }

  .hero-eyebrow-line {
    text-align: center;
    width: 100%;
  }

  .hero-split--premium .brand-name,
  .hero-split--premium .brand-tagline,
  .hero-split--premium .hero-lead {
    text-align: center;
  }

  .hero-split--premium .hero-cta-row {
    justify-content: center;
  }

  .hero-device-frame {
    transform: rotate(0deg);
  }
}

@media (max-width: 899px) {
  .about-tab-vertical {
    top: auto;
    bottom: 88px;
    transform: none;
    min-height: 120px;
    border-radius: 12px 0 0 12px;
  }
}

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

/* ── Home Page ── */
body.home-page {
  display: flex;
  flex-direction: column;
}

.home-container {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px) 72px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(48px, 6vw, 72px);
}

/* Hero (legacy + split) */
.hero-header,
.hero-split-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 24px;
  animation: logoEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.logo-img:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 70px rgba(124, 58, 237, 0.75);
}

.logo-glow {
  position: absolute;
  inset: -12px;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 70%);
  animation: pulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes logoEntrance {
  from { opacity: 0; transform: translateY(-30px) scale(0.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.brand-name {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #fff 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.8s 0.2s both;
  line-height: 1.1;
}

.brand-tagline {
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.5;
  animation: fadeUp 0.8s 0.4s both;
}

.hero-lead {
  max-width: 40rem;
  margin: 8px auto 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  animation: fadeUp 0.8s 0.45s both;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
  animation: fadeUp 0.8s 0.5s both;
}

.hero-cta-secondary.policy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero-cta-secondary.policy-btn:hover {
  background: var(--glass);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-cta-login.policy-btn {
  background: linear-gradient(135deg, #0087ff 0%, #0066cc 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 24px rgba(0, 135, 255, 0.4);
  min-width: min(100%, 220px);
}

.hero-cta-login.policy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 135, 255, 0.5);
}

.hero-login-note {
  width: 100%;
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: left;
  animation: fadeUp 0.8s 0.52s both;
}

.hero-split--premium .hero-login-note {
  text-align: left;
}

.section-heading {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 28px;
  color: #fff;
}

.about-section,
.catalog-section,
.steps-section,
.featured-section {
  width: 100%;
}

.about-section {
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.about-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(10px);
}

.about-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-light);
}

.about-card-text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Earn 2× Coins — app_configs #14 */
.earn-coins-section {
  width: 100%;
}

.earn-coins-section-heading {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(
    105deg,
    #fff 0%,
    var(--primary-light) 38%,
    #fda4af 62%,
    #fde68a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.earn-coins-ad__no-img {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px;
}

.earn-coins-ad {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 80px rgba(227, 24, 55, 0.12);
}

.earn-coins-ad__glow {
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(ellipse 50% 45% at 20% 30%, rgba(245, 158, 11, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 40% at 85% 70%, rgba(227, 24, 55, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(124, 58, 237, 0.15), transparent 55%);
  pointer-events: none;
}

.earn-coins-ad__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(145deg, rgba(28, 12, 18, 0.98) 0%, rgba(12, 8, 14, 0.98) 55%, rgba(20, 10, 16, 0.98) 100%);
}

.earn-coins-ad__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 8px;
}

.earn-coins-showcase {
  position: relative;
  width: min(100%, 300px);
  margin-inline: auto;
}

.earn-coins-showcase-bloom {
  position: absolute;
  inset: 5% 0 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 50%, rgba(245, 158, 11, 0.35), transparent 68%),
    radial-gradient(ellipse 50% 45% at 20% 30%, rgba(227, 24, 55, 0.2), transparent 60%);
  filter: blur(22px);
  pointer-events: none;
}

.earn-coins-art-frame {
  position: relative;
  z-index: 1;
  padding: 20px 16px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

.earn-coins-ad--premium:hover .earn-coins-art-frame {
  transform: rotate(0deg) translateY(-3px);
}

.earn-coins-ad__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 16px 36px rgba(245, 158, 11, 0.4));
}

.earn-coins-ad__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 24px 28px;
  text-align: left;
}

.earn-coins-ad__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.earn-coins-badge {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.earn-coins-badge--free {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.earn-coins-badge--premium {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
}

.earn-coins-badge--standard {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.earn-coins-ad__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
  background: linear-gradient(120deg, #fff 20%, #fde68a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.earn-coins-ad__subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.earn-coins-ad__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.earn-coins-ad__perks li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}

.earn-coins-ad__perks li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.earn-coins-ad__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.earn-coins-ad__cta-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, var(--brand-red) 100%);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.35);
}

.earn-coins-ad__cta-secondary.policy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--text-primary);
}

.earn-coins-ad__cta-secondary.policy-btn:hover {
  background: var(--glass);
}

@media (min-width: 768px) {
  .earn-coins-ad__inner {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    align-items: center;
    padding: 36px 40px;
    gap: clamp(28px, 4vw, 48px);
  }

  .earn-coins-ad__visual {
    padding: 0;
    justify-content: flex-start;
    min-height: auto;
  }

  .earn-coins-showcase {
    width: 100%;
    margin-inline: 0;
  }

  .earn-coins-ad__body {
    padding: 0;
    max-width: 36rem;
  }

  .earn-coins-section-heading {
    text-align: center;
    padding-left: 0;
  }
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 28px;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.featured-poster-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  max-height: 420px;
}

.featured-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.featured-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.featured-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.featured-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.96rem;
}

.genre-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: var(--primary-light);
}

.genre-pill-sm {
  font-size: 0.68rem;
  padding: 3px 9px;
}

#catalog {
  scroll-margin-top: 76px;
}

.catalog-header {
  text-align: center;
  margin-bottom: 24px;
}

.catalog-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -16px;
}

.catalog-loading,
.catalog-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 32px;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.series-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.series-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.series-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.series-card-thumb-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.series-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.series-card-age {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
}

.series-card-body {
  padding: 14px 16px 16px;
}

.series-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.series-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.series-card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.series-card-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.series-card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.series-card-rating {
  color: var(--accent);
  font-weight: 700;
}

.steps-list {
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.steps-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.steps-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-weight: 800;
  font-size: 0.95rem;
}

.steps-item p {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.footer-legal a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-legal a:hover { color: #fff; }

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

.footer-business {
  font-size: 0.78rem;
  margin-top: 8px;
  opacity: 0.85;
}

.footer-business code {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

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

/* Policy Buttons */
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding: 20px 22px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.policy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
  min-width: 180px;
}

.policy-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.policy-btn:hover::before { opacity: 1; }
.policy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.policy-btn:active { transform: translateY(0) scale(0.99); }
.policy-btn:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}
.btn-icon { font-size: 1.1rem; }

/* Banner + mobile QR */
.banner-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.download-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 220px;
  padding: 22px 18px 20px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(227, 24, 55, 0.55);
  background: linear-gradient(165deg, rgba(20, 8, 12, 0.95) 0%, rgba(12, 6, 9, 0.88) 100%);
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 28px rgba(227, 24, 55, 0.12);
  backdrop-filter: blur(12px);
}

.mobile-qr-eyebrow {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.mobile-qr-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.mobile-qr-frame {
  padding: 10px;
  border-radius: 14px;
  background: #14080c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.mobile-qr-frame img {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 8px;
}

.mobile-qr-hint {
  margin: 14px 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  max-width: 16rem;
}

.mobile-qr-url {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary-light);
}

@media (min-width: 900px) {
  .download-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }

  .mobile-qr-card {
    display: flex;
    flex-shrink: 0;
    align-self: center;
  }

  .download-row .banner-card {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.02);
}

.banner-inner { position: relative; }

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 420px;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.banner-cta-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.store-badge:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

/* Footer */
.home-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.85;
  padding-top: 28px;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 36rem;
  border-top: 1px solid var(--border);
}

.home-footer p {
  margin: 0;
  width: 100%;
}

.home-footer a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}
.home-footer a:hover { color: #fff; }

/* ============================================================
   INNER PAGES
   ============================================================ */
body.inner-page { background: var(--bg-dark); }
.inner-page-wrap {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.inner-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  background: rgba(8, 8, 13, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.back-btn:hover { transform: translateX(-3px); box-shadow: 0 6px 24px rgba(124, 58, 237, 0.6); }
.back-arrow { font-size: 1.1rem; }
.inner-brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-title-block { text-align: center; margin-bottom: 48px; animation: fadeUp 0.7s 0.1s both; }
.page-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--primary-light);
  text-underline-offset: 6px;
}
.policy-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  animation: fadeUp 0.7s 0.2s both;
}
.policy-section { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.policy-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.section-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.section-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.01em; }
.section-body { color: var(--text-secondary); font-size: 0.96rem; line-height: 1.85; }
.section-body ul { list-style: none; padding: 0; margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.section-body ul li::before { content: '→ '; color: var(--primary-light); font-weight: 600; }
.section-body a { color: var(--primary-light); text-decoration: none; }
.section-body a:hover { text-decoration: underline; color: #fff; }
.policy-meta { text-align: center; margin-bottom: 36px; animation: fadeUp 0.7s 0.15s both; }
.policy-meta p { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.04em; }
.effective-date {
  display: inline-block;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: var(--primary-light);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
}
.inner-footer { text-align: center; margin-top: 56px; color: var(--text-muted); font-size: 0.82rem; line-height: 1.8; }
.inner-footer a { color: var(--primary-light); text-decoration: none; }
.inner-footer a:hover { color: #fff; }

/* Contact us */
.contact-page-wrap {
  max-width: 1080px;
}

.contact-page-header {
  text-align: center;
  margin-bottom: 28px;
}

.contact-page-title {
  margin-bottom: 10px;
}

.contact-page-lead {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 135, 255, 0.22);
  background: linear-gradient(145deg, rgba(0, 135, 255, 0.1), rgba(20, 8, 12, 0.2));
}

.contact-info-card h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.contact-email-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #7ec8ff;
  text-decoration: none;
  word-break: break-all;
}

.contact-email-link:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-info-note {
  margin: 12px 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.contact-help-list {
  margin: 0;
  padding: 18px 20px;
  list-style: none;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--glass);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-help-list li {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.contact-help-list strong {
  color: #fff;
}

.contact-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-quick-links a {
  padding: 8px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-quick-links a:hover {
  color: #fff;
  border-color: rgba(227, 24, 55, 0.4);
}

.contact-form-card {
  padding: 28px 24px;
}

.contact-form-title {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.auth-select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.5) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.auth-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Series landing (/series?id=…) */
.series-landing-card {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.series-id-label {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.series-landing-lead {
  max-width: 28rem;
  margin: 0 auto 28px;
}
.series-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.series-landing-secondary.policy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  box-shadow: none;
  color: var(--text-primary);
}
.series-landing-secondary.policy-btn::before {
  opacity: 0;
}
.series-landing-secondary.policy-btn:hover {
  background: var(--glass);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* ── Promo / Flash offer banner ── */
.promo-banner-section {
  width: 100%;
}

.promo-banner-slot {
  width: 100%;
  min-height: 120px;
}

.promo-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 32px;
}

.promo-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card), 0 0 40px rgba(227, 24, 55, 0.15);
}

.promo-banner--flash {
  background: var(--promo-bg, rgba(77, 0, 0, 0.94));
  padding: 24px 22px;
  position: relative;
}

.promo-banner--standard {
  display: block;
  padding: 0;
  overflow: hidden;
}

.promo-flash-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 12% 50%, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(227, 24, 55, 0.22), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.promo-flash-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 20px;
}

.promo-flash-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-flash-sticker {
  position: absolute;
  top: -6px;
  right: 4px;
  width: 64px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.promo-flash-poster-wrap {
  display: flex;
  justify-content: center;
}

.promo-flash-poster {
  width: min(100%, 200px);
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-flash-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-badge--flash {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(227, 24, 55, 0.2);
  border: 1px solid rgba(255, 120, 140, 0.35);
}

.promo-flash-cta {
  align-self: flex-start;
  margin-top: 2px;
}

.promo-banner--series {
  background: linear-gradient(135deg, rgba(20, 8, 12, 0.98), rgba(30, 10, 16, 0.95));
  padding: 24px 22px;
}

.promo-sticker {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 72px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  z-index: 2;
}

.promo-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 0;
}

.promo-banner--flash .promo-banner-content {
  padding-right: 64px;
}

.promo-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.promo-heading {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
}

.promo-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.promo-free-line {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.promo-free-line em {
  font-style: normal;
  color: #fff;
  font-weight: 700;
}

.promo-timer-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.42);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.promo-timer-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.promo-timer-pulse {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--promo-timer-color, #ff4d6d);
  box-shadow: 0 0 12px var(--promo-timer-color, #ff4d6d);
  animation: promo-timer-pulse 1.5s ease-in-out infinite;
}

@keyframes promo-timer-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.2);
  }
}

.promo-timer-clock {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.promo-timer-unit {
  min-width: 54px;
  padding: 10px 10px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.promo-timer-val {
  display: block;
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--promo-timer-color, #ff4d6d);
  text-shadow: 0 0 18px color-mix(in srgb, var(--promo-timer-color, #ff4d6d) 55%, transparent);
  transition: transform 0.2s ease, color 0.2s ease;
}

.promo-timer-unit-label {
  display: block;
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.promo-timer-colon {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.28);
  padding-bottom: 22px;
  user-select: none;
}

.promo-timer-clock--urgent .promo-timer-val {
  animation: promo-timer-urgent 1s ease-in-out infinite;
}

.promo-timer-clock--urgent .promo-timer-pulse {
  animation-duration: 0.85s;
}

@keyframes promo-timer-urgent {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.promo-timer-digits {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--promo-timer-color, #ff4d6d);
  text-shadow: 0 0 20px rgba(255, 77, 109, 0.45);
}

.promo-cta {
  align-self: flex-start;
  margin-top: 4px;
}

.promo-cover-wrap {
  display: flex;
  justify-content: center;
}

.promo-cover {
  width: min(100%, 220px);
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* Manual scroll carousel (no auto-advance) */
.promo-carousel {
  width: 100%;
}

.promo-carousel-hint {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
  min-height: 1.25rem;
  line-height: 1.25rem;
  flex-shrink: 0;
  animation: none;
  transform: none;
  will-change: auto;
}

.promo-carousel-controls {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.promo-carousel-nav {
  flex-shrink: 0;
  align-self: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.promo-carousel-nav:hover {
  background: rgba(227, 24, 55, 0.25);
  border-color: rgba(227, 24, 55, 0.5);
}

.promo-carousel-track {
  flex: 1;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
  padding: 4px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-red) rgba(255, 255, 255, 0.1);
}

.promo-carousel-track:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

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

.promo-carousel-track::-webkit-scrollbar-thumb {
  background: var(--brand-red);
  border-radius: 100px;
}

.promo-carousel-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
}

.promo-carousel-card {
  flex: 0 0 min(92%, 520px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.promo-carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.promo-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.promo-dot.is-active {
  background: var(--brand-red);
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .promo-banner {
    grid-template-columns: 1.1fr auto;
    padding: 28px 32px;
  }
  .promo-flash-inner {
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 28px 32px;
    padding: 28px 32px;
  }
  .promo-flash-poster {
    width: min(220px, 100%);
  }
  .promo-flash-sticker {
    width: 72px;
    right: -4px;
  }
  .promo-banner--flash .promo-banner-content {
    padding-right: 80px;
  }
  .promo-sticker {
    width: 88px;
  }
  .promo-cover {
    width: min(240px, 100%);
  }
  .promo-carousel-card {
    flex: 0 0 min(85%, 560px);
  }
}

@media (max-width: 520px) {
  .promo-carousel-nav {
    display: none;
  }
  .promo-carousel-card {
    flex: 0 0 88%;
  }
}

/* ── Responsive Fixes ── */
@media (max-width: 680px) {
  .policy-card { padding: 28px 20px; }
  .policy-nav { flex-direction: column; align-items: stretch; padding: 16px 14px; }
  .policy-btn { width: 100%; max-width: 300px; margin-inline: auto; }
  .featured-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .featured-genres { justify-content: center; }
  .featured-cta { margin-inline: auto; }
  .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .series-card-body {
    padding: 12px 12px 14px;
  }

  .series-card-title {
    font-size: 0.9rem;
  }

  .series-card-desc {
    font-size: 0.72rem;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 380px) {
  .series-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  .home-container {
    padding-top: 40px;
    gap: 60px;
  }
  .logo-img { width: 160px; height: 160px; }
  .brand-name { font-size: 3.5rem; }
  .banner-card { max-width: 90%; }
}

@media (min-width: 1200px) {
  .home-container {
    max-width: 1400px;
    gap: 72px;
    padding-bottom: 100px;
  }
  .hero-header { padding-top: 80px; gap: 20px; }
  .logo-img { width: 200px; height: 200px; border-radius: 32px; }
  .logo-glow { inset: -18px; border-radius: 44px; }
  .brand-name { font-size: 5rem; letter-spacing: 0.15em; }
  .banner-card { border-radius: 40px; max-width: 1000px; }
  .banner-img { max-height: 600px; border-radius: 40px; }
  .banner-overlay { padding: 56px; gap: 24px; border-radius: 0 0 40px 40px; }
  .store-badge { padding: 16px 36px; font-size: 1.2rem; }
  .orb1 { width: 800px; height: 800px; }
  .orb2 { width: 700px; height: 700px; }
  .home-footer { padding-top: 40px; font-size: 1rem; }
}

/* ── Auth page (login / sign up) ── */
.auth-page-wrap {
  max-width: 980px;
}

.auth-topbar {
  margin-bottom: 8px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 24px;
  align-items: stretch;
  animation: fadeUp 0.7s 0.15s both;
}

.auth-brand-panel {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(227, 24, 55, 0.22);
  background:
    linear-gradient(145deg, rgba(227, 24, 55, 0.14) 0%, rgba(20, 8, 12, 0.2) 45%, rgba(124, 58, 237, 0.08) 100%),
    var(--glass);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.auth-brand-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 24, 55, 0.28), transparent 70%);
  pointer-events: none;
}

.auth-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.auth-brand-logo {
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(227, 24, 55, 0.35);
}

.auth-brand-eyebrow {
  margin: 4px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.auth-brand-title {
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.auth-brand-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 28rem;
}

.auth-perks {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 8px;
  padding: 16px 0;
}

.auth-perks-head {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dffb2;
}

.auth-perk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-perk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-perk-item--featured {
  border-color: rgba(125, 255, 178, 0.38);
  background: linear-gradient(135deg, rgba(125, 255, 178, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
  box-shadow: 0 0 0 1px rgba(125, 255, 178, 0.08);
}

.auth-perk-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.auth-perk-coins {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.2;
}

.auth-perk-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(227, 24, 55, 0.28);
  color: #ffc8d2;
  border: 1px solid rgba(227, 24, 55, 0.35);
}

.auth-perk-save {
  flex-shrink: 0;
  font-weight: 800;
  color: #7dffb2;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.auth-perks-summary {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.auth-perks-summary strong {
  color: #fff;
  font-weight: 700;
}

.auth-steps {
  list-style: none;
  margin: auto 0 0;
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.auth-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-steps li span {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: rgba(227, 24, 55, 0.85);
  box-shadow: 0 4px 14px rgba(227, 24, 55, 0.35);
}

.auth-form-panel {
  display: flex;
  align-items: center;
}

.auth-card {
  width: 100%;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--glass);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.auth-card-head {
  margin-bottom: 22px;
}

.auth-card-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.auth-card-subtitle {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.auth-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.auth-segment-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.auth-segment-btn--active {
  color: #fff;
  background: linear-gradient(135deg, rgba(227, 24, 55, 0.95), rgba(180, 16, 45, 0.95));
  box-shadow: 0 6px 18px rgba(227, 24, 55, 0.35);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form[hidden] {
  display: none !important;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.auth-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}

.auth-input {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.auth-input:focus {
  outline: none;
  border-color: rgba(227, 24, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.18);
  background: rgba(0, 0, 0, 0.28);
}

.auth-field-hint {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.auth-field-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
}

.auth-text-link {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7ec8ff;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition);
}

.auth-text-link:hover {
  color: #fff;
  text-decoration: underline;
}

.auth-text-link--center {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

.auth-forgot-lead {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.auth-social {
  margin-bottom: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 20px;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.auth-google-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
  color: #1f1f1f;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.auth-google-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #fff;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.14),
    0 12px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.auth-google-btn:active:not(:disabled) {
  transform: translateY(0);
}

.auth-google-btn:disabled,
.auth-google-btn--loading {
  opacity: 0.82;
  cursor: wait;
}

.auth-google-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.auth-google-icon {
  display: block;
  flex-shrink: 0;
}

.auth-google-label {
  line-height: 1.2;
}

.auth-shell--single {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}

.auth-callback-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-callback-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 28px;
  max-width: 360px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--glass);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.auth-callback-logo {
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 10px 32px rgba(227, 24, 55, 0.35);
}

.auth-callback-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.auth-callback-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.auth-primary-btn {
  width: 100%;
  margin-top: 4px;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e31837 0%, #b0102d 100%);
  box-shadow: 0 8px 24px rgba(227, 24, 55, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.auth-primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(227, 24, 55, 0.42);
}

.auth-primary-btn:disabled,
.auth-primary-btn--loading {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

.auth-legal {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
}

.auth-legal a {
  color: var(--primary-light);
  text-decoration: none;
}

.auth-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 860px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    padding: 28px 22px;
  }

  .auth-perks {
    padding: 12px 0;
  }

  .auth-steps {
    margin-top: 8px;
  }
}

/* Legacy login aliases */
.login-page-wrap {
  max-width: 480px;
}

.login-card {
  padding: 32px 28px;
  text-align: center;
}

.login-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.login-logo {
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(227, 24, 55, 0.35);
}

.login-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.login-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 22rem;
}

.truecaller-note {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: rgba(227, 24, 55, 0.08);
  border: 1px solid rgba(227, 24, 55, 0.22);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 22px;
  text-align: left;
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.truecaller-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0087ff 0%, #0066cc 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 135, 255, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.truecaller-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 135, 255, 0.45);
}

.truecaller-btn:disabled,
.truecaller-btn.is-loading {
  opacity: 0.85;
  cursor: wait;
}

.truecaller-btn-icon {
  display: flex;
  align-items: center;
}

.login-status {
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-align: left;
}

.login-status--info {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.login-status--error {
  color: #fecaca;
  background: rgba(227, 24, 55, 0.12);
  border: 1px solid rgba(227, 24, 55, 0.35);
}

.mobile-only-banner {
  margin-bottom: 20px;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 135, 255, 0.14), rgba(227, 24, 55, 0.1));
  border: 1px solid rgba(0, 135, 255, 0.35);
  text-align: center;
}

.mobile-only-banner-inner {
  max-width: 28rem;
  margin-inline: auto;
}

.mobile-only-banner-icon {
  font-size: 2rem;
  margin: 0 0 8px;
  line-height: 1;
}

.mobile-only-banner-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
}

.mobile-only-banner-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.mobile-only-banner-text strong {
  color: #fff;
}

.mobile-only-banner-url {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  word-break: break-all;
}

.mobile-only-banner-url a {
  color: #7ec8ff;
}

.mobile-only-copy-btn {
  display: inline-flex;
  margin-inline: auto;
}

.mogo-non-android .truecaller-btn:disabled,
.mogo-non-android .store-buy-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mogo-non-android .mobile-only-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.auth-tab {
  flex: 1;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
}

.auth-tab--active {
  background: rgba(227, 24, 55, 0.15);
  border-color: rgba(227, 24, 55, 0.45);
  color: #fff;
}

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.auth-status {
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.auth-status--info {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.auth-status--error {
  color: #fecaca;
  background: rgba(227, 24, 55, 0.12);
  border: 1px solid rgba(227, 24, 55, 0.35);
}

.auth-status--ok {
  color: #7dffb2;
  background: rgba(125, 255, 178, 0.08);
  border: 1px solid rgba(125, 255, 178, 0.28);
}

.phone-link-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.phone-link-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.phone-link-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 24px 20px;
}

.phone-link-modal-title {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.phone-link-modal-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.phone-link-modal-error {
  color: #fecaca;
  font-size: 0.85rem;
  margin: 0 0 12px;
}

.phone-link-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
}

.store-phone-banner {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(0, 135, 255, 0.1);
  border: 1px solid rgba(0, 135, 255, 0.35);
  text-align: center;
}

.store-signout-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 0.78rem;
  cursor: pointer;
}

.login-result {
  margin-top: 8px;
  text-align: left;
}

.login-result-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #86efac;
}

.login-result-dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.login-result-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 8px;
  font-size: 0.9rem;
}

.login-result-row dt {
  color: var(--text-muted);
  font-weight: 600;
}

.login-result-row dd {
  color: var(--text-primary);
  word-break: break-word;
}

.login-result-hint {
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.login-result-home {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.login-result-store {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.login-result-store.policy-btn {
  background: linear-gradient(135deg, #0087ff 0%, #0066cc 100%);
  box-shadow: 0 6px 20px rgba(0, 135, 255, 0.35);
}

.login-footer-note {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.login-footer-note a {
  color: var(--primary-light);
}

/* ── Store page ── */
.store-page-wrap {
  max-width: 960px;
}

.store-header {
  text-align: center;
  margin-bottom: 24px;
}

.store-page-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 8px;
}

.store-page-lead {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 32rem;
  margin-inline: auto;
}

.store-savings-banner {
  text-align: center;
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(125, 255, 178, 0.12), rgba(227, 24, 55, 0.08));
  border: 1px solid rgba(125, 255, 178, 0.28);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.store-savings-banner strong {
  color: #fff;
}

.store-savings-highlight {
  color: #7dffb2;
  font-weight: 700;
}

.store-login-banner {
  text-align: center;
  padding: 16px 18px;
  margin-bottom: 20px;
  background: rgba(227, 24, 55, 0.1);
  border: 1px solid rgba(227, 24, 55, 0.3);
  border-radius: var(--radius-md);
}

.store-login-banner-btn {
  margin-top: 12px;
  display: inline-flex;
}

.store-user-bar {
  margin-bottom: 24px;
  padding: 14px 18px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.store-user-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  font-weight: 600;
}

.store-wallet {
  color: var(--text-secondary);
  font-weight: 500;
}

.store-wallet strong {
  color: var(--primary-light);
}

.store-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 24px;
}

.store-section {
  margin-bottom: 36px;
}

.store-section-heading {
  text-align: left;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.store-section-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(125, 255, 178, 0.25), rgba(227, 24, 55, 0.2));
  color: #7dffb2;
  border: 1px solid rgba(125, 255, 178, 0.35);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.store-grid--subs {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.store-grid--coins {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.store-card {
  position: relative;
  padding: 20px 18px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-card--coins {
  padding-top: 24px;
}

.store-card--deal {
  border-color: rgba(125, 255, 178, 0.28);
}

.store-card--featured {
  border-color: rgba(227, 24, 55, 0.45);
  box-shadow: 0 8px 28px rgba(227, 24, 55, 0.15);
}

.store-discount-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 2px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, #1a6b45, #2ecc71);
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 204, 113, 0.35);
}

.store-price-compare {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 8px 0 4px;
}

.store-price-app {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.store-price-web {
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 900;
  color: #7dffb2;
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(125, 255, 178, 0.25);
}

.store-price-note {
  flex: 1 1 100%;
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.store-card-badge--bonus {
  background: rgba(227, 24, 55, 0.2);
  color: var(--primary-light);
}

.store-card-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(227, 24, 55, 0.2);
  color: var(--primary-light);
}

.store-card-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.store-card-meta {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.store-card-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.store-card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
}

.store-card-foot {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.store-card-features {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.store-card-features li::before {
  content: "✓ ";
  color: var(--primary-light);
}

.store-buy-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 12px 16px;
  border: none;
  cursor: pointer;
}

.store-buy-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.store-buy-btn--busy {
  opacity: 0.7;
}

.store-no-app-banner {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(227, 24, 55, 0.12);
  border: 1px solid rgba(227, 24, 55, 0.35);
  font-size: 0.9rem;
  line-height: 1.45;
}

.store-payment-note {
  text-align: center;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
  background: rgba(0, 135, 255, 0.08);
  border: 1px solid rgba(0, 135, 255, 0.22);
}

.store-payment-note strong {
  color: #fff;
}

.store-pay-status {
  text-align: center;
  font-size: 0.9rem;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.store-pay-status--ok {
  color: #7dffb2;
  border: 1px solid rgba(125, 255, 178, 0.35);
}

.store-pay-status--error {
  color: #ffb4b4;
  border: 1px solid rgba(255, 100, 100, 0.35);
}

.store-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding-bottom: 24px;
}