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

body {
  background: #0b0b14;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* ── TOP BAR ── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
}
.back-btn:hover { color: #fff; }
.back-btn svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

.of-pill {
  background: #00AFF0;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── COVER ── */
.cover {
  margin: 14px 16px 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #2d1b3d, #1a1a2e, #0d1a2d);
}

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

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0b0b14 0%, transparent 55%);
}

.avatar-wrap {
  position: absolute;
  bottom: -26px;
  left: 20px;
  width: 84px;
  height: 84px;
}

.avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 3px solid #0b0b14;
  background: #1e1e2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #e91e8c;
}

.of-dot {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 22px; height: 22px;
  background: #00AFF0;
  border-radius: 50%;
  border: 2px solid #0b0b14;
  font-size: 7px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── PROFILE INFO ── */
.profile-info {
  padding: 34px 16px 0;
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
}

.profile-handle {
  font-size: 13px;
  color: #666;
  margin-top: 3px;
}
.profile-handle .verified {
  color: #22c55e;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e91e8c22;
  color: #e91e8c;
}

.bio {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
  line-height: 1.6;
}

/* ── STATS ── */
.stats {
  display: flex;
  margin: 16px 16px 0;
  background: #13131f;
  border-radius: 12px;
  overflow: hidden;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  border-right: 1px solid #1e1e2e;
}
.stat:last-child { border-right: none; }

.stat-val { font-size: 16px; font-weight: 700; }
.stat-lbl { font-size: 11px; color: #555; margin-top: 3px; }

/* ── SUBSCRIBE BUTTON ── */
.subscribe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 16px 0;
  background: linear-gradient(110deg, #e91e8c 0%, #e91e8c 30%, #ff6ec7 50%, #e91e8c 70%, #e91e8c 100%);
  background-size: 200% 100%;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  animation: cta-glow 2s ease-in-out infinite, cta-shimmer 2.5s linear infinite;
  transition: transform .1s;
}
.subscribe-btn:hover { filter: brightness(1.1); }
.subscribe-btn:active { transform: scale(.98); }
.subscribe-btn svg {
  width: 18px; height: 18px;
  stroke: #fff; fill: none; stroke-width: 2;
}

.of-badge-btn {
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── CONTENT TYPES ── */
.content-types {
  display: flex;
  gap: 8px;
  margin: 12px 16px 0;
}

.ctype {
  flex: 1;
  background: #13131f;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color .15s, color .15s, background .15s;
}
.ctype:hover {
  border-color: #e91e8c44;
  color: #fff;
  background: #1a1a2e;
}
.ctype svg {
  width: 22px; height: 22px;
  stroke: #e91e8c; fill: none; stroke-width: 1.8;
}

/* ── PREVIEW GRID ── */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 12px 16px 0;
  border-radius: 12px;
  overflow: hidden;
}

.preview-item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #13131f;
  transition: opacity .15s;
}
.preview-item:hover { opacity: .85; }

.preview-blur {
  position: absolute;
  inset: 0;
  background: #1e1e2e;
}
.preview-blur-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(0.6);
  transform: scale(1.15);
}
/* Чергуємо кольори для різноманітності */
.preview-item:nth-child(1) .preview-blur { background: #2a1520; }
.preview-item:nth-child(2) .preview-blur { background: #1a2520; }
.preview-item:nth-child(3) .preview-blur { background: #201525; }
.preview-item:nth-child(4) .preview-blur { background: #151e2a; }
.preview-item:nth-child(5) .preview-blur { background: #251520; }
.preview-item:nth-child(6) .preview-blur { background: #1a2515; }

.lock-icon {
  position: relative;
  z-index: 2;
  width: 24px; height: 24px;
  stroke: rgba(255,255,255,0.4);
  fill: none;
  stroke-width: 1.8;
}

/* ── MESSAGE BUTTON ── */
.msg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 16px 0;
  background: transparent;
  border: 1px solid #2a2a3e;
  color: #aaa;
  text-decoration: none;
  border-radius: 12px;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .15s, color .15s;
}
.msg-btn:hover { border-color: #e91e8c44; color: #fff; }
.msg-btn svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

/* ── FOOTER ── */
.page-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: #333;
}

/* ── AVATAR PHOTO ── */
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* =====================
   SUBSCRIBE BUTTON ANIMATION
   ===================== */
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(233,30,140,0.4), 0 0 20px rgba(233,30,140,0.2); transform: scale(1); }
  50% { box-shadow: 0 0 16px rgba(233,30,140,0.7), 0 0 40px rgba(233,30,140,0.35); transform: scale(1.02); }
}
@keyframes cta-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── FOMO ── */
.fomo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 16px 0;
  padding: 8px 0;
  font-size: 12px;
  color: #aaa;
}
.fomo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: fomo-pulse 2s ease-in-out infinite;
}
@keyframes fomo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.fomo-text { letter-spacing: 0.3px; }