:root {
  --of-blue: #00AFF0;
  --of-blue-dark: #0093c8;
  --bg: #f4f5f5;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --border: #e6e6e6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
}

.brand {
  display: block;
  height: 56px;
  width: auto;
}

.page-title {
  max-width: 1100px;
  margin: 32px auto 16px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-title h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.free-tag {
  background: var(--of-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.layout {
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

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

.profile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.cover {
  height: 120px;
  background: linear-gradient(135deg, var(--of-blue), var(--of-blue-dark));
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: url('kat.png') center/cover no-repeat, #ddd;
  margin: -60px auto 0;
}

.profile-body {
  padding: 16px 20px 24px;
  text-align: center;
}

.name {
  font-size: 1.5rem;
  margin: 12px 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.verified {
  width: 20px;
  height: 20px;
}

.handle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.bio {
  margin: 0 0 16px;
  color: #333;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  justify-content: space-around;
  font-size: 0.85rem;
  color: var(--muted);
}

.stats strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 0 18px;
}

.socials a {
  color: var(--muted);
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s, transform 0.15s;
}

.socials a:hover {
  color: var(--of-blue);
  background: rgba(0, 175, 240, 0.08);
  transform: translateY(-1px);
}

.socials svg {
  width: 20px;
  height: 20px;
}

.likes-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--text);
}

.likes-line .heart {
  width: 16px;
  height: 16px;
  color: var(--of-blue);
}

.likes-line span {
  font-weight: 700;
}

.subscribe {
  background: var(--of-blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
}

.subscribe:hover {
  background: var(--of-blue-dark);
}

.player {
  background: #000 url('video-screen.jpg') center/cover no-repeat;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
  pointer-events: none;
  transition: opacity 0.2s;
}

.player.revealed::before {
  opacity: 0;
}

.play-btn {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.5);
  border: 3px solid #fff;
  border-radius: 50%;
  width: 96px;
  height: 96px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.15s;
}

.play-btn svg {
  width: 40px;
  height: 40px;
  margin-left: 4px;
}

.play-btn:hover {
  background: rgba(0,0,0,0.7);
  transform: scale(1.05);
}

.rick-roll {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.player.revealed .play-btn {
  display: none;
}

.reveal[hidden] {
  display: none;
}

.reveal {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.8);
}

.reveal-title {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin: 0 0 8px;
}

.reveal-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.4rem);
  margin: 0;
}

.footer {
  background: #fff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer a {
  color: var(--of-blue);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}
