@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit-v15-latin_latin-ext-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit-v15-latin_latin-ext-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07070d;
  --surface: rgba(255,255,255,0.045);
  --surface-2: rgba(255,255,255,0.07);
  --surface-hover: rgba(255,255,255,0.09);
  --text: #f2f0f8;
  --text-muted: #8888a8;
  --text-soft: #b8b8d0;
  --pink: #ff5fa0;
  --purple: #b06ef3;
  --blue: #4dc8f7;
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(255,95,160,0.35);
  --glow-pink: rgba(255,95,160,0.18);
  --glow-purple: rgba(176,110,243,0.12);
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── Background atmosphere ─────────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orbs::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,95,160,0.09) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: orbFloat 18s ease-in-out infinite;
}

.bg-orbs::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176,110,243,0.07) 0%, transparent 70%);
  bottom: -100px;
  left: -150px;
  animation: orbFloat 22s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}

/* ─── Layout ─────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(0.5rem, 2vw, 1.5rem) 1.25rem clamp(1rem, 3vw, 2rem);
  animation: pageIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* ─── Hero ───────────────────────────────── */
.hero {
  text-align: center;
  padding: clamp(1rem, 3vh, 2rem) 0 clamp(1rem, 3vh, 1.75rem);
}

.avatar-ring {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--pink), var(--purple), var(--blue), var(--pink));
  animation: ringRotate 4s linear infinite;
  z-index: 0;
}

.avatar-ring::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--pink), var(--purple), var(--blue), var(--pink));
  animation: ringRotate 4s linear infinite;
  filter: blur(12px);
  opacity: 0.5;
  z-index: -1;
}

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

.avatar-img {
  display: block;
  position: relative;
  z-index: 1;
  width: clamp(100px, 24vw, 128px);
  height: clamp(100px, 24vw, 128px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  background: var(--surface-2);
}

.avatar-fallback {
  display: none;
  position: relative;
  z-index: 1;
  width: clamp(100px, 24vw, 128px);
  height: clamp(100px, 24vw, 128px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border: 3px solid var(--bg);
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
}
.avatar-fallback.show { display: flex; }

.hero-name {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--purple) 55%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-handle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.hero-bio {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 auto 1.75rem;
}

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  background: rgba(255, 95, 160, 0.1);
  border: 1px solid rgba(255, 95, 160, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--pink);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s ease-in-out infinite;
}

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

/* ─── Stats Grid ─────────────────────────── */
.stats-section {
  margin: 2rem 0;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card.tiktok::before { background: radial-gradient(circle at 50% 0%, rgba(255,95,160,0.12) 0%, transparent 70%); }
.stat-card.instagram::before { background: radial-gradient(circle at 50% 0%, rgba(176,110,243,0.12) 0%, transparent 70%); }
.stat-card.youtube::before { background: radial-gradient(circle at 50% 0%, rgba(255,50,50,0.12) 0%, transparent 70%); }

.stat-card:hover {
  border-color: var(--border-accent);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.stat-card:hover::before { opacity: 1; }

.stat-platform-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-platform-icon svg {
  width: 100%;
  height: 100%;
}

.stat-number {
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-card.tiktok .stat-number { color: var(--pink); }
.stat-card.instagram .stat-number { color: var(--purple); }
.stat-card.youtube .stat-number { color: #ff4444; }

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.stat-trend {
  color: #3ddc84;
  font-weight: 600;
}

/* Counter animation */
.count-up {
  display: inline-block;
}

/* ─── Platform Cards ─────────────────────── */
.platforms-section {
  margin: 2rem 0;
}

.platform-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.platform-list a::after {
  content: '';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--text-muted);
  border-top: 1.5px solid var(--text-muted);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.2s, transform 0.2s;
}

.platform-list a:hover {
  border-color: var(--border-accent);
  background: var(--surface-hover);
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.platform-list a:hover::after {
  border-color: var(--pink);
  transform: translateY(-50%) rotate(45deg) translate(2px, -2px);
}

.platform-list a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.plat-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plat-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.plat-icon.tiktok { background: linear-gradient(135deg, #010101, #1a1a1a); }
.plat-icon.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.plat-icon.youtube { background: linear-gradient(135deg, #c4302b, #ff0000); }

.plat-info {
  flex: 1;
  min-width: 0;
}

.plat-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.plat-handle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.plat-followers {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-right: 1.4rem;
  flex-shrink: 0;
}

/* ─── About strip ────────────────────────── */
.about-strip {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about-text {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── Footer ──────────────────────────────── */
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--pink); }

.footer-privacy-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--purple);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-privacy-btn:hover {
  color: var(--pink);
}

/* ─── Cookie Banner ──────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 1rem 1rem;
  pointer-events: none;
}

.cookie-inner {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(18, 14, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  pointer-events: all;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,95,160,0.08);
  animation: bannerSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.cookie-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.cookie-body {
  flex: 1;
  min-width: 0;
}

.cookie-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.cookie-text {
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cookie-text a,
.cookie-privacy-link {
  color: var(--purple);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-size: inherit;
  cursor: pointer;
}

.cookie-text a:hover,
.cookie-privacy-link:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 1.1rem;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border: none;
  border-radius: 100px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-cookie-accept:hover {
  opacity: 0.88;
  transform: scale(1.03);
}

.btn-cookie-decline {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-cookie-decline:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

#cookie-banner.hidden {
  display: none;
}

/* ─── Privacy Modal ──────────────────────── */
#privacy-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 1rem;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}

#privacy-modal.open {
  display: flex;
}

.privacy-box {
  background: rgba(18, 14, 32, 0.97);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 2rem 1.75rem;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: modalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.privacy-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.privacy-close {
  width: 32px;
  height: 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  font-family: var(--font);
}

.privacy-close:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.privacy-content h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin: 1.25rem 0 0.5rem;
}

.privacy-content h3:first-child {
  margin-top: 0;
}

.privacy-content p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.privacy-content a {
  color: var(--purple);
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}

/* ─── Responsive ─────────────────────────── */
@media (max-width: 540px) {
  .cookie-inner {
    flex-direction: column;
    gap: 0.75rem;
  }
  .cookie-icon { display: none; }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .stat-card {
    padding: 1rem 0.6rem;
  }

  .stat-sub {
    display: none;
  }

  .about-strip {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 360px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
