/* HotFans.lol — rose / indigo / teal theme */

:root {
  --bg: #060608;
  --bg-card: #0f0f14;
  --bg-elevated: #16161e;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(99, 102, 241, 0.45);

  --rose: #e11d48;
  --rose-light: #fb7185;
  --indigo: #6366f1;
  --indigo-light: #818cf8;
  --teal: #14b8a6;
  --teal-light: #2dd4bf;

  --text: #ececf1;
  --text-muted: #8b8b97;
  --text-dim: #55555f;

  --gradient-brand: linear-gradient(120deg, var(--rose) 0%, var(--indigo) 55%, var(--teal) 100%);
  --gradient-featured: linear-gradient(120deg, var(--indigo) 0%, var(--rose) 100%);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

.bg-glow--rose {
  width: 480px;
  height: 480px;
  background: var(--rose);
  top: -120px;
  right: 10%;
}

.bg-glow--indigo {
  width: 520px;
  height: 520px;
  background: var(--indigo);
  bottom: 10%;
  left: -80px;
}

/* Telegram top bar */
.tg-topbar {
  position: relative;
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 24px;
  background: linear-gradient(90deg, rgba(0, 136, 204, 0.18) 0%, rgba(0, 136, 204, 0.10) 100%);
  border-bottom: 1px solid rgba(0, 136, 204, 0.25);
}

.tg-topbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0088cc;
  color: #fff;
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.35);
}

.tg-topbar__btn:hover {
  background: #0099dd;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 136, 204, 0.5);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(6, 6, 8, 0.88);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo__hot { color: var(--rose-light); }
.logo__fans { color: var(--text); }
.logo__tld { color: var(--teal-light); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover { color: var(--text); }

.nav__cta {
  background: var(--rose);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

.nav__cta:hover {
  background: var(--rose-light);
}

/* Hero — split layout */
.hero {
  position: relative;
  z-index: 1;
  padding: 72px 0 88px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  text-align: left;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 28px;
}

.hero__eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 1px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero__title-accent {
  color: var(--indigo-light);
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.35);
}

.btn--primary:hover {
  background: var(--rose-light);
  box-shadow: 0 6px 28px rgba(225, 29, 72, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--indigo);
  color: var(--indigo-light);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.hero__trust {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__trust li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  padding-left: 14px;
  position: relative;
}

.hero__trust li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* Hero visual stack */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.hero__frame-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(6, 6, 8, 0.75);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.hero__card {
  position: absolute;
  width: 72%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--rotate));
  transition: transform 0.4s ease;
}

.hero__frame:hover .hero__card {
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) - 4px)) rotate(var(--rotate));
}

.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) brightness(0.65);
  transform: scale(1.12);
}

.hero__card-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 8, 0.35);
  color: rgba(255, 255, 255, 0.7);
}

.hero__card-lock svg {
  width: 28px;
  height: 28px;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}

.section__header {
  margin-bottom: 36px;
}

.section__header--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.section__header--row p {
  max-width: 320px;
  text-align: right;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 8px;
}

.section__header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Preview grid */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.preview-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.preview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.35);
}

.preview-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(0.6);
  transform: scale(1.1);
}

.preview-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 8, 0.4);
  gap: 8px;
}

.preview-card__lock {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-card__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-lock {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.preview-lock .icon-lock {
  color: var(--indigo-light);
  flex-shrink: 0;
}

.preview-lock p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.icon-lock {
  color: var(--indigo-light);
}

/* Pricing */
.plans-section {
  padding-bottom: 96px;
  border-top: 1px solid var(--border);
}

.plans-header {
  margin-bottom: 36px;
}

.plans-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.plans-header p {
  color: var(--text-muted);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}

.plan-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.plan-card--featured {
  border-color: var(--indigo);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.07) 0%, var(--bg-card) 45%);
  box-shadow: 0 0 36px rgba(99, 102, 241, 0.12);
}

.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-featured);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-card__head {
  margin-bottom: 18px;
}

.plan-card__head h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-card__duration {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.plan-card__price {
  margin-bottom: 6px;
}

.plan-card__amount {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-card__period {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.plan-card__monthly {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--indigo-light);
  margin-bottom: 18px;
}

.plan-card__features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.plan-card__features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.plan-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2314b8a6'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.plan-card__btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  transition: background var(--transition), transform var(--transition);
}

.plan-card__btn:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.plan-card__btn--featured {
  background: var(--indigo);
  border: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.plan-card__btn--featured:hover {
  background: var(--indigo-light);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.5);
}

.plans-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.plans-trust svg {
  color: var(--text-dim);
  flex-shrink: 0;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logo--footer {
  font-size: 1.1rem;
}

.footer__disclaimer {
  font-size: 0.76rem;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.5;
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.age-gate[hidden] {
  display: none;
}

.age-gate__panel {
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow);
}

.age-gate__logo {
  display: inline-block;
  margin-bottom: 28px;
  pointer-events: none;
}

.age-gate__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.age-gate__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.age-gate__text--muted {
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.age-gate__actions .btn {
  width: 100%;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  max-width: 380px;
  width: calc(100% - 48px);
  text-align: center;
  transform: translateY(12px);
  transition: transform var(--transition);
}

.modal.is-open .modal__content {
  transform: translateY(0);
}

.modal__icon {
  margin-bottom: 12px;
}

.modal__content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.modal__content p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.modal__close {
  width: 100%;
  margin-bottom: 10px;
}

.modal__dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.84rem;
  cursor: pointer;
  padding: 8px;
  transition: color var(--transition);
}

.modal__dismiss:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__content {
    text-align: center;
  }

  .hero__eyebrow {
    justify-content: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__frame {
    max-width: 280px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .plan-card--featured {
    order: -1;
  }

  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section__header--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section__header--row p {
    text-align: left;
  }

  .nav a:not(.nav__cta) {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 64px;
  }

  .preview-grid {
    gap: 10px;
  }

  .preview-lock {
    flex-direction: column;
    text-align: center;
  }
}
