:root {
  --bg-main: #06080f;
  --bg-card: rgba(16, 20, 34, 0.86);
  --bg-card-hover: rgba(25, 31, 52, 0.96);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --tiktok-cyan: #00f2fe;
  --tiktok-pink: #fe2c55;
  --gold-1: #ffd700;
  --gold-2: #f59e0b;
  --silver-1: #e0f2fe;
  --silver-2: #38bdf8;
  --bronze-1: #ffedd5;
  --bronze-2: #fb923c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 242, 254, 0.13), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(254, 44, 85, 0.15), transparent 44%),
    radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.08), transparent 48%);
}

.container {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 28px;
}

/* Profil Kartı */
.profile-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 26px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  margin-bottom: 22px;
}

.avatar-ring {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--tiktok-cyan), var(--tiktok-pink));
  box-shadow: 0 0 28px rgba(254, 44, 85, 0.35);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #111827;
  display: block;
}

.live-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff0050, #ff4d4d);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 2px solid var(--bg-main);
  box-shadow: 0 4px 12px rgba(255, 0, 80, 0.5);
  white-space: nowrap;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  color: var(--tiktok-cyan);
  font-size: 1.05rem;
}

.profile-handle {
  color: var(--tiktok-cyan);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 2px;
}

.profile-bio {
  color: var(--text-secondary);
  font-size: 0.93rem;
  max-width: 520px;
  margin: 10px auto 0;
  white-space: pre-line;
}

/* Sosyal Medya Butonları */
.links-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 34px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
}

.social-btn:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 242, 254, 0.45);
}

.social-left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.social-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.06);
}

.social-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Bölüm Başlığı */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 4px;
}

.section-title {
  font-size: 1.16rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.14);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.35);
}

/* YAN YANA İLK 3 PODYUM DÜZENİ (2. Solda - 1. Ortada Yüksek - 3. Sağda) */
.podium-row {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 12px;
  align-items: end;
  margin-top: 10px;
}

.podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 10px 16px;
  border-radius: 22px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.podium-card:hover {
  transform: translateY(-5px);
}

/* Sıra Yerleşimi: 2. Sol (order:1), 1. Orta (order:2), 3. Sağ (order:3) */
.podium-card.rank-2 {
  order: 1;
  min-height: 255px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.22) 0%, rgba(16, 20, 34, 0.95) 75%);
  border: 1.5px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.16);
}

.podium-card.rank-1 {
  order: 2;
  min-height: 295px;
  padding-top: 22px;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.28) 0%, rgba(245, 158, 11, 0.1) 45%, rgba(16, 20, 34, 0.98) 85%);
  border: 2px solid rgba(255, 215, 0, 0.8);
  box-shadow: 0 16px 42px rgba(255, 215, 0, 0.26);
}

.podium-card.rank-3 {
  order: 3;
  min-height: 242px;
  background: linear-gradient(180deg, rgba(251, 146, 60, 0.22) 0%, rgba(16, 20, 34, 0.95) 75%);
  border: 1.5px solid rgba(251, 146, 60, 0.6);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.16);
}

.crown-float {
  font-size: 1.45rem;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 10px rgba(255, 215, 0, 0.6));
}

.rank-sticker {
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  white-space: nowrap;
}

.sticker-1 {
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  color: #1a1200;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.45);
}

.sticker-2 {
  background: linear-gradient(135deg, #e0f2fe, #38bdf8);
  color: #082f49;
}

.sticker-3 {
  background: linear-gradient(135deg, #ffedd5, #fb923c);
  color: #431407;
}

.podium-avatar-wrap {
  position: relative;
  margin-bottom: 10px;
}

.podium-avatar {
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #1e293b;
}

.rank-1 .podium-avatar {
  width: 78px;
  height: 78px;
  border: 3px solid var(--gold-1);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.55);
}

.rank-2 .podium-avatar {
  width: 64px;
  height: 64px;
  border: 2.5px solid var(--silver-2);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}

.rank-3 .podium-avatar {
  width: 60px;
  height: 60px;
  border: 2.5px solid var(--bronze-2);
  box-shadow: 0 0 15px rgba(251, 146, 60, 0.45);
}

.tiktok-level-pill {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1.5px solid #090d16;
  white-space: nowrap;
}

.podium-name {
  font-weight: 800;
  font-size: 0.94rem;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.podium-user {
  font-size: 0.76rem;
  color: var(--text-secondary);
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coin-badge {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(255, 215, 0, 0.14);
  color: #fde047;
  border: 1px solid rgba(255, 215, 0, 0.28);
}

.video-mini-count {
  margin-top: 6px;
  font-size: 0.7rem;
  color: #38bdf8;
  font-weight: 700;
}

@media (max-width: 480px) {
  .podium-row {
    gap: 7px;
  }
  .podium-card {
    padding: 14px 6px 12px;
    border-radius: 16px;
  }
  .rank-1 .podium-avatar { width: 62px; height: 62px; }
  .rank-2 .podium-avatar, .rank-3 .podium-avatar { width: 50px; height: 50px; }
  .podium-name { font-size: 0.82rem; }
  .coin-badge { font-size: 0.66rem; padding: 3px 6px; }
  .rank-sticker { font-size: 0.62rem; padding: 3px 7px; }
}

/* Destekçi Özel Sayfası Modalı */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(14px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow-y: auto;
}

.modal-backdrop.active {
  display: flex;
}

.supporter-page-box {
  width: 100%;
  max-width: 660px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 26px;
  padding: 22px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0d111c;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}

.supporter-page-box.theme-1 {
  background: linear-gradient(165deg, #2b1e04 0%, #14110b 45%, #0b0e17 100%);
  border: 2px solid rgba(255, 215, 0, 0.7);
}

.supporter-page-box.theme-2 {
  background: linear-gradient(165deg, #072438 0%, #0d1522 48%, #0b0e17 100%);
  border: 2px solid rgba(56, 189, 248, 0.6);
}

.supporter-page-box.theme-3 {
  background: linear-gradient(165deg, #2d1406 0%, #16110e 48%, #0b0e17 100%);
  border: 2px solid rgba(251, 146, 60, 0.6);
}

.page-top-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.pill-btn.tiktok-cta {
  background: linear-gradient(90deg, var(--tiktok-cyan), var(--tiktok-pink));
  color: #05070c;
  font-weight: 800;
  border: none;
}

.supporter-stats-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.stat-chip {
  padding: 6px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 700;
}

/* Video Izgara (Grid) */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 520px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-tile {
  position: relative;
  aspect-ratio: 9 / 15;
  border-radius: 14px;
  overflow: hidden;
  background: #161b29;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 52%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}

.play-badge {
  align-self: flex-end;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
}

.tile-meta {
  font-size: 0.78rem;
  font-weight: 600;
}

/* Tam Ekran Video Oynatıcı */
.player-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.player-modal.active {
  display: flex;
}

.player-card {
  width: 100%;
  max-width: 420px;
  background: #111624;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.player-card video {
  width: 100%;
  max-height: 66vh;
  background: #000;
  display: block;
}

.player-footer {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(254, 44, 85, 0.45);
  background: rgba(254, 44, 85, 0.14);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.like-btn.liked {
  background: var(--tiktok-pink);
  border-color: var(--tiktok-pink);
  box-shadow: 0 0 20px rgba(254, 44, 85, 0.5);
}

.site-footer {
  text-align: center;
  padding: 26px 12px 14px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 38px;
}