﻿:root {
  color-scheme: dark;
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  --bg: #f7d8e4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --text: #1c1330;
  --text-muted: #5f4f72;
  --accent: #7cb6ff;
  --accent-soft: rgba(124, 182, 255, 0.24);
  --shadow: 0 24px 70px rgba(45, 28, 73, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 18%),
    radial-gradient(circle at bottom right, rgba(144, 206, 255, 0.26), transparent 20%),
    linear-gradient(180deg, #fdeef4 0%, #f6cfe0 45%, #dceeff 100%);
  color: var(--text);
  padding: 22px;
  line-height: 1.5;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 12%),
    radial-gradient(circle at 85% 12%, rgba(124, 182, 255, 0.24), transparent 18%);
  pointer-events: none;
}

.page-shell {
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding-bottom: 100px;
}

.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.84), rgba(255,255,255,0.72));
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 20px;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 80px rgba(45, 28, 73, 0.2);
}

.story-wrapper {
  width: 100%;
  padding: 0;
}

.story-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.85));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.story-top {
  position: absolute;
  inset: 18px auto auto 18px;
  width: calc(100% - 36px);
  z-index: 2;
  display: grid;
  gap: 12px;
}

.story-progress {
  display: flex;
  gap: 8px;
}

.story-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(28, 51, 97, 0.15);
  overflow: hidden;
}

.story-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7cb6ff, #568ad5);
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.story-avatar {
  width: 44px;
  height: 44px;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7cb6ff, #568ad5);
}

.story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.story-meta strong {
  display: block;
  font-size: 0.95rem;
}

.story-meta span {
  display: block;
  font-size: 0.78rem;
  color: #5f4f72;
}

.story-slides {
  position: absolute;
  inset: 0;
  display: grid;
}

.story-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.story-slide.active {
  opacity: 1;
  z-index: 1;
}

.story-slide img,
.story-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 24px;
  background: rgba(24, 32, 78, 0.88);
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.5;
}

.story-nav {
  position: absolute;
  inset: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.story-nav-left { left: 0; width: 50%; }
.story-nav-right { right: 0; width: 50%; }

.primary-button,
.profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  color: #1d1742;
  background: linear-gradient(135deg, #a8dbff 0%, #7db7ff 45%, #f4c4de 100%);
  font-weight: 800;
  letter-spacing: 0.01em;
  width: 100%;
  text-align: center;
  max-width: 100%;
  box-shadow: 0 12px 28px rgba(92,132,217,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: buttonPulse 2.4s ease-in-out infinite;
}

.subscribe-cta {
  position: sticky;
  bottom: 14px;
  z-index: 40;
  margin-top: 4px;
}

.subscribe-cta {
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}

.subscribe-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.55);
  pointer-events: none;
}

@keyframes buttonPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.profile-link {
  position: relative;
  overflow: hidden;
}

.profile-link::after {
  content: '↗';
  margin-left: 6px;
  font-size: 1rem;
}

.primary-button:hover,
.profile-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(124, 182, 255, 0.24);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.social-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
}

.social-proof__item {
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  padding: 12px 10px;
  text-align: center;
  display: grid;
  gap: 4px;
  box-shadow: 0 8px 20px rgba(45,28,73,0.06);
}

.social-proof__value {
  font-size: 1.22rem;
  font-weight: 800;
  color: #241935;
}

.social-proof__item small {
  color: #6a5882;
  font-size: 0.75rem;
}

.social-proof__item--live {
  align-items: center;
  justify-content: center;
  color: #2f7a51;
}

.social-proof__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,0.2);
  animation: pulse 1.2s infinite;
}

.profile-card,
.offer-card {
  position: relative;
  overflow: hidden;
}

.profile-card::before,
.offer-card::before {
  content: '';
  position: absolute;
  inset: auto -20px -20px auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(124,182,255,0.18), transparent 70%);
  pointer-events: none;
}

.offer-card {
  box-shadow: 0 16px 40px rgba(92,132,217,0.14);
}

.offer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.45), 0 0 32px rgba(124,182,255,0.16);
  pointer-events: none;
}

.profile-card {
  display: grid;
  gap: 18px;
}

.hero-info { display: flex; flex-direction: column; gap: 20px; }
.profile-head { display: flex; gap: 16px; align-items: center; }
.avatar-ring { background: linear-gradient(180deg, rgba(124,182,255,0.9), rgba(86,138,213,0.3)); padding: 4px; border-radius: 50%; }
.avatar { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; display: block; border: 3px solid rgba(255,255,255,0.35); }
.hero-info h1, .profile-card h1 { margin: 0; font-size: 1.8rem; letter-spacing: -0.04em; }
.tag { margin: 6px 0 0; color: #5f4f72; font-size: 0.95rem; }
.stats-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stat { background: rgba(255,255,255,0.9); border-radius: 18px; padding: 14px 18px; min-width: 95px; box-shadow: 0 8px 20px rgba(45,28,73,0.08); }
.stat span { display: block; font-size: 1.2rem; font-weight: 700; }
.stat small { color: #5f4f72; font-size: 0.82rem; }
.live-pill, .modal-live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.82); color: #3c5ab0; font-size: 0.84rem; font-weight: 700; width: fit-content; box-shadow: 0 6px 14px rgba(92,132,217,0.12); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 0 4px rgba(110,231,183,0.2); animation: pulse 1.2s infinite; }
.live-updating { animation: valuePop 0.4s ease; }
@keyframes valuePop { 0% { transform: scale(1); } 50% { transform: scale(1.06); color: #3c5ab0; } 100% { transform: scale(1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.offer-card { padding: 28px; display: grid; gap: 18px; }
.offer-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: #5f4f72; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 0 4px rgba(110,231,183,0.2); animation: pulse 1.2s infinite; }
.offer-tag { display: inline-flex; justify-content: center; align-items: center; padding: 10px 16px; border-radius: 999px; background: rgba(92,132,217,0.15); color: #3c5ab0; font-weight: 700; width: fit-content; }
.offer-value { font-size: clamp(3rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.08em; text-shadow: 0 4px 16px rgba(92,132,217,0.12); }
.offer-value span { font-size: 1.4rem; vertical-align: super; }
.offer-subtitle, .offer-note { margin: 0; color: #5f4f72; }
.progress-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.remaining { font-weight: 700; color: #d05344; }
.progress-bar { width: 100%; height: 12px; border-radius: 999px; background: rgba(20,34,82,0.12); overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #7cb6ff, #568ad5); animation: fillGlow 2.8s ease-in-out infinite alternate; }
@keyframes fillGlow { from { filter: brightness(1); } to { filter: brightness(1.2); } }
.modal-overlay { position: fixed; inset: 0; background: rgba(1, 12, 32, 0.65); display: grid; place-items: center; padding: 18px; z-index: 120; opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
.modal-overlay.hidden { display: none; }
.modal-card { width: min(100%, 420px); padding: 28px; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9)); border-radius: 28px; border: 1px solid rgba(124,182,255,0.3); box-shadow: 0 28px 80px rgba(45,28,73,0.12); text-align: center; animation: modalFadeIn 0.35s ease; }
.modal-card .modal-header p { margin: 4px 0 0; color: #6a5882; font-size: 0.8rem; }

@keyframes modalFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.modal-header strong { font-size: 1.1rem; }
.modal-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(92,132,217,0.3); background: rgba(255,255,255,0.9); color: var(--text); font-size: 1.35rem; cursor: pointer; }
.modal-text { margin: 0 0 18px; font-size: 1.02rem; color: #4f4673; }
.modal-price { display: flex; justify-content: center; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.price-new { font-size: 2.4rem; font-weight: 800; color: #4d72a7; }
.price-old { font-size: 1rem; color: rgba(28,33,65,0.65); text-decoration: line-through; }
.price-badge { padding: 8px 12px; border-radius: 999px; background: rgba(124,182,255,0.16); color: #3c5ab0; font-weight: 700; font-size: 0.9rem; }
.modal-note { margin: 0 0 22px; color: rgba(28,33,65,0.75); font-size: 0.95rem; }
.reveal-on-scroll { opacity: 0; transform: translateY(10px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.hero-panel {
  display: grid;
  gap: 18px;
}

.profile-card,
.offer-card {
  position: relative;
  overflow: hidden;
}

.profile-card::before,
.offer-card::before {
  content: '';
  position: absolute;
  inset: auto -20px -20px auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(124,182,255,0.18), transparent 70%);
  pointer-events: none;
}

.offer-card {
  box-shadow: 0 16px 40px rgba(92,132,217,0.14);
  padding: 28px;
  display: grid;
  gap: 18px;
}

.offer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.45), 0 0 32px rgba(124,182,255,0.16);
  pointer-events: none;
}

.profile-card {
  display: grid;
  gap: 18px;
}

.profile-head {
  display: flex;
  gap: 16px;
  align-items: center;
}

.avatar-ring {
  background: linear-gradient(180deg, rgba(124,182,255,0.9), rgba(86,138,213,0.3));
  padding: 4px;
  border-radius: 50%;
}

.avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 3px solid rgba(255,255,255,0.35);
}

.profile-card h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.tag {
  margin: 6px 0 0;
  color: #5f4f72;
  font-size: 0.95rem;
}

.stats-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat {
  background: rgba(255,255,255,0.9);
  border-radius: 18px;
  padding: 14px 18px;
  min-width: 95px;
  box-shadow: 0 8px 20px rgba(45,28,73,0.08);
}

.stat span {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.stat small {
  color: #5f4f72;
  font-size: 0.82rem;
}

.live-pill,
.modal-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: #3c5ab0;
  font-size: 0.84rem;
  font-weight: 700;
  width: fit-content;
  box-shadow: 0 6px 14px rgba(92,132,217,0.12);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 4px rgba(110,231,183,0.2);
  animation: pulse 1.2s infinite;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f4f72;
}

/* ==================== */
/* CONSENT BANNER STYLES */
/* ==================== */

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(28, 19, 48, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 99;
  box-shadow: 0 -4px 20px rgba(45, 28, 73, 0.3);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consent-banner.hidden {
  display: none;
}

.consent-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.consent-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #e0e0e0;
}

.consent-banner a {
  color: #7cb6ff;
  text-decoration: none;
  font-weight: 600;
}

.consent-banner a:hover {
  text-decoration: underline;
}

.consent-buttons {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

.consent-btn {
  padding: 8px 16px;
  border: 1px solid #7cb6ff;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.consent-btn-reject {
  background: transparent;
  color: #7cb6ff;
}

.consent-btn-reject:hover {
  background: rgba(124, 182, 255, 0.1);
}

.consent-btn-accept {
  background: #7cb6ff;
  color: #1c1330;
}

.consent-btn-accept:hover {
  background: #a8dbff;
  box-shadow: 0 4px 12px rgba(124, 182, 255, 0.3);
}

@media (max-width: 768px) {
  .consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .consent-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .consent-buttons {
    width: 100%;
  }

  .consent-btn {
    flex: 1;
  }
}

/* ==================== */
/* FOOTER STYLES */
/* ==================== */

footer.footer {
  text-align: center;
  padding: 20px;
  color: #5f4f72;
  font-size: 0.85rem;
  border-top: 1px solid rgba(124, 182, 255, 0.1);
  margin-top: 40px;
}

footer a {
  color: #3c5ab0;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
  color: #7cb6ff;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 4px rgba(110,231,183,0.2);
  animation: pulse 1.2s infinite;
}

.offer-tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(92,132,217,0.15);
  color: #3c5ab0;
  font-weight: 700;
  width: fit-content;
}

.offer-value {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  text-shadow: 0 4px 16px rgba(92,132,217,0.12);
}

.offer-value span {
  font-size: 1.4rem;
  vertical-align: super;
}

.offer-subtitle,
.offer-note {
  margin: 0;
  color: #5f4f72;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
}

.remaining {
  font-weight: 700;
  color: #d05344;
}

.progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(20,34,82,0.12);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7cb6ff, #568ad5);
  animation: fillGlow 2.8s ease-in-out infinite alternate;
}

@keyframes fillGlow {
  from { filter: brightness(1); }
  to { filter: brightness(1.2); }
}

@media (max-width: 920px) { .hero-panel { grid-template-columns: 1fr; } }
@media (max-width: 680px) { body { padding: 14px; } .page-shell { gap: 18px; max-width: 420px; } .story-card { aspect-ratio: auto; height: min(82vh, 640px); } .story-top { inset: 14px auto auto 14px; width: calc(100% - 28px); } .story-caption { left: 14px; right: 14px; bottom: 14px; } .subscribe-cta { bottom: 10px; } }
