/* =========================================================
   Cheribot — Affiliate Landing Page
   Dark, premium, glassmorphic. Lightweight (3–4 screens).
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg-base: #0a0a0f;
  --bg-purple: #1a0a1e;
  --accent-cherry: #e11d48;
  --accent-pink: #ec4899;
  --accent-rose-gold: #f4a8b8;
  --gradient-primary: linear-gradient(135deg, #e11d48 0%, #ec4899 100%);
  --gradient-primary-soft: linear-gradient(135deg, rgba(225, 29, 72, 0.18) 0%, rgba(236, 72, 153, 0.18) 100%);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(236, 72, 153, 0.4);

  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-glow: 0 0 40px rgba(236, 72, 153, 0.25);
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);

  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient gradient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1000px 500px at 85% -5%, rgba(236, 72, 153, 0.14), transparent 60%),
    radial-gradient(800px 400px at 10% 15%, rgba(168, 85, 247, 0.08), transparent 60%),
    linear-gradient(180deg, #0a0a0f 0%, #120a16 50%, #1a0a1e 100%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

:focus-visible {
  outline: 2px solid var(--accent-pink);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.glass {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--md { padding: 13px 28px; font-size: 15px; }
.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--xl { padding: 18px 44px; font-size: 17px; }

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(236, 72, 153, 0.55);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px -8px rgba(236, 72, 153, 0.7);
  filter: brightness(1.08);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.btn--pulse { animation: pulse 3s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(236, 72, 153, 0.55); }
  50% { box-shadow: 0 14px 44px -6px rgba(236, 72, 153, 0.85); }
}

/* ---------- Age Modal ---------- */
.age-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.age-modal.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.age-modal__card {
  position: relative;
  max-width: 440px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(30, 20, 35, 0.92), rgba(15, 10, 20, 0.92));
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border: 1px solid rgba(236, 72, 153, 0.25);
  animation: modalIn 0.5s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.age-modal__icon {
  display: inline-flex;
  margin-bottom: 14px;
  filter: drop-shadow(0 6px 20px rgba(236, 72, 153, 0.5));
}

.age-modal__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-rose-gold);
  background: rgba(244, 168, 184, 0.1);
  border: 1px solid rgba(244, 168, 184, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.age-modal__title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.age-modal__text {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.age-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Navbar (minimal) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.5);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.navbar__brand svg {
  filter: drop-shadow(0 4px 12px rgba(236, 72, 153, 0.4));
}

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

/* Language selector */
.lang-select { position: relative; }

.lang-select__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.lang-select__trigger:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
}

.lang-select__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 150px;
  padding: 6px;
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s var(--ease);
  box-shadow: var(--shadow-card);
  z-index: 110;
}

.lang-select.is-open .lang-select__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-select__menu li {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.lang-select__menu li:hover {
  background: rgba(236, 72, 153, 0.12);
  color: var(--text-primary);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.hero__glow--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.25), transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__glow--2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 70%);
  bottom: -100px;
  right: -80px;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero .btn--primary {
  margin-bottom: 14px;
}

.hero__note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Floating avatars (decorative) */
.hero__avatars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(236, 72, 153, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.18);
  opacity: 0.55;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  animation: floatAvatar 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transition: opacity 0.3s var(--ease);
}

.hero-avatar:hover {
  opacity: 0.85;
}

.hero-avatar--lg { width: 110px; height: 110px; }
.hero-avatar--md { width: 72px; height: 72px; }
.hero-avatar--sm { width: 50px; height: 50px; }

@keyframes floatAvatar {
  0%, 100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); }
  50% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) - 14px)) scale(1.05); }
}

/* ---------- Character Gallery (core) ---------- */
.gallery {
  padding-top: 40px;
}

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

.character-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: var(--radius-lg);
  padding: 10px 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.character-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-card), 0 0 36px -10px rgba(236, 72, 153, 0.45);
}

/* Portrait-style cover frame — preserves aspect ratio of the source image.
   3:4 (75%) matches the majority of source portraits; non-matching sources
   (landscape/square) are cropped rather than stretched. */
.character-card__avatar {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  flex-shrink: 0;
}

.character-card__avatar::before {
  /* soft gradient halo behind frame on hover */
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  background: var(--gradient-primary);
  opacity: 0;
  filter: blur(22px);
  z-index: -1;
  transition: opacity 0.35s var(--ease);
}

.character-card:hover .character-card__avatar {
  box-shadow: 0 14px 40px -12px rgba(236, 72, 153, 0.6);
}

.character-card:hover .character-card__avatar::before {
  opacity: 0.45;
}

.character-card__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  /* All portraits are generated at 3:4 (2560x3413), matching the frame's
     aspect-ratio exactly. cover is safe here (no distortion) and fills
     the frame edge-to-edge. */
  object-fit: cover;
  object-position: center top;
  background: #0d0d14;
  /* fade in after load */
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.character-card__avatar img.is-loaded {
  opacity: 1;
}

.character-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex: 1;
}

.character-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 3px 9px;
  border-radius: 999px;
}

.character-card__btn {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-primary);
  opacity: 0.9;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.character-card:hover .character-card__btn {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(236, 72, 153, 0.7);
}

/* ---------- Features strip ---------- */
.features-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}

.features-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary-soft);
  border: 1px solid rgba(236, 72, 153, 0.2);
  color: var(--accent-pink);
}

.feature-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

.final-cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  max-width: 120vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22), rgba(168, 85, 247, 0.08) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 2;
}

.final-cta__title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.final-cta__legal {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(8, 8, 14, 0.6);
  padding-top: 48px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.footer__brand .navbar__brand {
  margin-bottom: 10px;
}

.footer__tagline {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover { color: var(--accent-pink); }

.footer__social {
  display: flex;
  gap: 10px;
  align-self: start;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s var(--ease);
}

.footer__social a:hover {
  color: #fff;
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer__bottom p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer__made { color: var(--accent-rose-gold) !important; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 640px) {
  .character-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

@media (min-width: 768px) {
  .section { padding: 90px 0; }
  .hero { padding: 100px 0 120px; }

  .character-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .character-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  /* On large screens, 5 cols gives an affiliate "wall of characters" feel */
  @media (min-width: 1100px) {
    .character-grid {
      grid-template-columns: repeat(5, 1fr);
    }
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-avatar,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   SUBSCRIBE BAND (free email capture)
   ========================================================================== */

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

.subscribe {
  position: relative;
  padding: 44px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.012);
}

.subscribe__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.subscribe__text {
  min-width: 0;
}

.subscribe__title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 6px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.subscribe__sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.subscribe__form {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.subscribe__input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease),
              background 0.2s var(--ease);
}

.subscribe__input::placeholder {
  color: var(--text-muted);
}

.subscribe__input:hover {
  border-color: rgba(236, 72, 153, 0.35);
}

.subscribe__input:focus {
  border-color: rgba(236, 72, 153, 0.6);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
}

.subscribe__input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.subscribe__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.subscribe__btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.subscribe__spinner {
  display: none;
  animation: subscribe-spin 0.8s linear infinite;
}

.subscribe__form.is-loading .subscribe__spinner {
  display: inline-block;
}

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

.subscribe__status {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-secondary);
  min-height: 18px;
}

.subscribe__status.is-success {
  color: #34d399;
}

.subscribe__status.is-error {
  color: #f87171;
}

@media (max-width: 720px) {
  .subscribe {
    padding: 32px 0;
  }
  .subscribe__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .subscribe__form {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .subscribe__form {
    flex-direction: column;
  }
  .subscribe__btn {
    width: 100%;
  }
}
