/* ============================================================
   RANKED — Sponsor Leaderboard Platform
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

:root {
  /* palette */
  --void:   #07080d;
  --ink:    #eaecf8;
  --muted:  rgba(200,205,240,.48);
  --line:   rgba(200,210,255,.08);

  /* tier accents */
  --gold:   #e8b84b;
  --gold-g: rgba(232,184,75,.18);
  --vip:    #a855f7;
  --vip-g:  rgba(168,85,247,.16);
  --pop:    #22d3ee;
  --pop-g:  rgba(34,211,238,.14);

  --r: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--void);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── subtle noise ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 800px 600px at 0% 0%,   rgba(232,184,75,.07)  0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 100% 40%, rgba(168,85,247,.07) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 50% 100%, rgba(34,211,238,.05) 0%, transparent 60%);
}

.wrap { width: min(1100px, 92%); margin-inline: auto; }

/* ══════════════════════════════════════
   HEADER — single compact bar
══════════════════════════════════════ */
.header {
  background: rgba(7,8,13,.97);
  border-bottom: 1px solid var(--line);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__title {
  font-family: "Unbounded", system-ui;
  font-size: clamp(8px, 1.2vw, 13px);
  font-weight: 800;
  letter-spacing: .3px;
  color: rgba(220,225,255,.85);
  white-space: nowrap;
}

/* pulsing live dot */
.live-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34,197,94,.2);
  animation: live 2.2s ease-in-out infinite;
}
@keyframes live {
  0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,.2), 0 0 8px rgba(34,197,94,.4); }
  50%      { box-shadow: 0 0 0 4px rgba(34,197,94,.08), 0 0 18px rgba(34,197,94,.7); }
}

/* social chips — centre */
.header__mid {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(200,210,255,.6);
  transition: all .18s;
  white-space: nowrap;
}
.chip svg, .chip img { width: 12px; height: 12px; flex-shrink: 0; object-fit: contain; }
.chip em {
  font-style: normal;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .7px;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 1px;
}

/* platform tints */
.chip--kick  { border-color: rgba(83,252,24,.16);  color: #94ffaa; }
.chip--kick svg, .chip--kick img { filter: none; }
.chip--kick em { background: rgba(83,252,24,.14); color: #53fc18; border: 1px solid rgba(83,252,24,.3); animation: kick-blink 1.8s ease-in-out infinite; }
.chip--kick:hover  { background: rgba(83,252,24,.06); border-color: rgba(83,252,24,.35); }

.chip--twitch { border-color: rgba(145,70,255,.16); color: #c9a8ff; }
.chip--twitch svg { fill: #9146ff; }
.chip--twitch:hover { background: rgba(145,70,255,.07); border-color: rgba(145,70,255,.38); }

.chip--tiktok { border-color: rgba(254,44,85,.16); color: #ffa0b4; }
.chip--tiktok svg { fill: #fe2c55; }
.chip--tiktok:hover { background: rgba(254,44,85,.07); border-color: rgba(254,44,85,.38); }

.chip--ig { border-color: rgba(225,48,108,.16); color: #ffb3cc; }
.chip--ig svg { fill: #e1306c; }
.chip--ig:hover { background: rgba(225,48,108,.07); border-color: rgba(225,48,108,.35); }

.chip--x { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.chip--x svg { fill: rgba(255,255,255,.7); }
.chip--x:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }

@keyframes kick-blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .45; }
}

/* telegram nav — right */
.header__nav { display: flex; gap: 6px; flex-shrink: 0; }

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(200,210,255,.65);
  transition: all .18s;
  white-space: nowrap;
}
.nav-pill--hi {
  background: rgba(168,85,247,.12);
  border-color: rgba(168,85,247,.22);
  color: #d4aaff;
}
.nav-pill:hover { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.16); }
.nav-pill--hi:hover { background: rgba(168,85,247,.22); border-color: rgba(168,85,247,.45); color: #fff; }

@media (max-width: 700px) {
  .header__bar { gap: 10px; padding: 8px 0; }
  .header__mid { gap: 4px; }
  .chip span { display: none; }
  .chip { padding: 5px 7px; gap: 0; }
  .chip em { display: none; }
  .chip--kick em { display: inline; margin-left: 4px; }
  .chip svg, .chip img { width: 13px; height: 13px; }
}

/* ── VIP list variant (purple) ── */
.sponsor-list--vip {
  border: 1px solid rgba(168,85,247,.18);
  border-radius: 20px;
  overflow: hidden;
}
.spon--vip { border-bottom-color: rgba(168,85,247,.1); background: rgba(168,85,247,.025); }
.spon--vip .spon__idx { background: rgba(168,85,247,.05); border-right-color: rgba(168,85,247,.08); color: rgba(168,85,247,.5); }
.spon--vip .spon__logo { border-right-color: rgba(168,85,247,.08); background: rgba(168,85,247,.03); }
.spon--vip .spon__copy span { color: rgba(200,170,255,.55); }
.spon--vip .spon__cta { color: rgba(168,85,247,.7); }
.spon--vip::before { background: var(--vip); box-shadow: 2px 0 16px var(--vip-g); }
.spon--vip:hover { background: rgba(168,85,247,.06); }
.spon--vip:hover .spon__cta { color: #c084fc; }

/* ── Popüler list variant (cyan) ── */
.sponsor-list--pop {
  border: 1px solid rgba(34,211,238,.16);
  border-radius: 20px;
  overflow: hidden;
}
.spon--pop { border-bottom-color: rgba(34,211,238,.1); background: rgba(34,211,238,.02); }
.spon--pop .spon__idx { background: rgba(34,211,238,.04); border-right-color: rgba(34,211,238,.08); color: rgba(34,211,238,.45); }
.spon--pop .spon__logo { border-right-color: rgba(34,211,238,.08); background: rgba(34,211,238,.03); }
.spon--pop .spon__copy span { color: rgba(150,220,240,.5); }
.spon--pop .spon__cta { color: rgba(34,211,238,.65); }
.spon--pop::before { background: var(--pop); box-shadow: 2px 0 16px var(--pop-g); }
.spon--pop:hover { background: rgba(34,211,238,.055); }
.spon--pop:hover .spon__cta { color: var(--pop); }

/* ── per-platform colors ── */
/* Kick */
.plat[data-p="kick"] { border-color: rgba(83,252,24,.18); }
.plat[data-p="kick"] .plat__icon { background: rgba(83,252,24,.12); color: #53fc18; }
.plat[data-p="kick"] .plat__name { color: #94ffaa; }
.plat[data-p="kick"] .plat__action {
  background: rgba(83,252,24,.15);
  color: #53fc18;
  border: 1px solid rgba(83,252,24,.3);
  animation: kick-blink 1.8s ease-in-out infinite;
}
.plat[data-p="kick"]:hover { background: rgba(83,252,24,.07); border-color: rgba(83,252,24,.38); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(83,252,24,.12); }

@keyframes kick-blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .5; }
}

/* Twitch */
.plat[data-p="twitch"] { border-color: rgba(145,70,255,.18); }
.plat[data-p="twitch"] .plat__icon { background: rgba(145,70,255,.14); color: #9146ff; }
.plat[data-p="twitch"] .plat__name { color: #c9a8ff; }
.plat[data-p="twitch"] .plat__action { background: rgba(145,70,255,.14); color: #a970ff; border: 1px solid rgba(145,70,255,.3); }
.plat[data-p="twitch"]:hover { background: rgba(145,70,255,.07); border-color: rgba(145,70,255,.4); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(145,70,255,.12); }

/* TikTok */
.plat[data-p="tiktok"] { border-color: rgba(254,44,85,.18); }
.plat[data-p="tiktok"] .plat__icon { background: rgba(254,44,85,.12); color: #fe2c55; }
.plat[data-p="tiktok"] .plat__name { color: #ffa0b4; }
.plat[data-p="tiktok"] .plat__action { background: rgba(254,44,85,.14); color: #fe2c55; border: 1px solid rgba(254,44,85,.3); }
.plat[data-p="tiktok"]:hover { background: rgba(254,44,85,.07); border-color: rgba(254,44,85,.4); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(254,44,85,.12); }

/* Instagram */
.plat[data-p="instagram"] { border-color: rgba(225,48,108,.18); }
.plat[data-p="instagram"] .plat__icon { background: linear-gradient(135deg, rgba(240,148,51,.15), rgba(225,48,108,.15)); color: #e1306c; }
.plat[data-p="instagram"] .plat__name { color: #ffb3cc; }
.plat[data-p="instagram"] .plat__action { background: rgba(225,48,108,.12); color: #e1306c; border: 1px solid rgba(225,48,108,.28); }
.plat[data-p="instagram"]:hover { background: rgba(225,48,108,.07); border-color: rgba(225,48,108,.38); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(225,48,108,.12); }

/* X / Twitter */
.plat[data-p="x"] { border-color: rgba(255,255,255,.14); }
.plat[data-p="x"] .plat__icon { background: rgba(255,255,255,.08); color: #fff; }
.plat[data-p="x"] .plat__name { color: rgba(255,255,255,.75); }
.plat[data-p="x"] .plat__action { background: rgba(255,255,255,.07); color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.15); }
.plat[data-p="x"]:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,255,255,.06); }

@media (max-width: 640px) {
  .platforms { gap: 10px; }
  .platforms__label { display: none; }
  .plat { padding: 7px 11px 7px 9px; gap: 7px; }
  .plat__icon { width: 24px; height: 24px; border-radius: 6px; }
  .plat__icon svg, .plat__icon img { width: 13px; height: 13px; }
  .plat__name { font-size: 12px; }
  .plat__action { font-size: 8.5px; padding: 2px 6px; }
}

/* ══════════════════════════════════════
   PAGE HERO
══════════════════════════════════════ */
.page-hero { padding: 36px 0 0; }

.page-hero__sub {
  font-family: "Unbounded", system-ui;
  font-size: clamp(11px, 1.8vw, 20px);
  font-weight: 700;
  color: rgba(200,210,255,.6);
  letter-spacing: .2px;
}

/* ══════════════════════════════════════
   TIER SECTION
══════════════════════════════════════ */
.tier { margin-top: 52px; }

.tier__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
}

/* huge decorative number */
.tier__num {
  font-family: "Unbounded", system-ui;
  font-size: clamp(54px, 9vw, 96px);
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  -webkit-text-stroke: 1px currentColor;
  color: transparent;
  user-select: none;
}

[data-tier="gold"] .tier__num  { -webkit-text-stroke-color: rgba(232,184,75,.35); }
[data-tier="vip"]  .tier__num  { -webkit-text-stroke-color: rgba(168,85,247,.35); }
[data-tier="pop"]  .tier__num  { -webkit-text-stroke-color: rgba(34,211,238,.35); }

.tier__meta { min-width: 0; }

.tier__name {
  font-family: "Unbounded", system-ui;
  font-size: clamp(16px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: .3px;
  line-height: 1.1;
}

[data-tier="gold"] .tier__name { color: var(--gold); }
[data-tier="vip"]  .tier__name { color: #c084fc; }
[data-tier="pop"]  .tier__name { color: var(--pop); }

.tier__desc {
  font-size: clamp(11px, 1.3vw, 14px);
  color: var(--muted);
  margin-top: 5px;
}

.tier__badge {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .8px;
  background: rgba(232,184,75,.14);
  border: 1px solid rgba(232,184,75,.3);
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* divider line after tier head */
.tier__head::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 0;
  height: 1px;
}
[data-tier="gold"] .tier__head::after { background: linear-gradient(90deg, rgba(232,184,75,.4), transparent); }
[data-tier="vip"]  .tier__head::after { background: linear-gradient(90deg, rgba(168,85,247,.4), transparent); }
[data-tier="pop"]  .tier__head::after { background: linear-gradient(90deg, rgba(34,211,238,.4), transparent); }

@media (max-width: 560px) {
  .tier__num { font-size: 44px; }
  .tier__badge { display: none; }
  .tier__head { gap: 14px; }
}

/* ══════════════════════════════════════
   FEATURED SPONSOR LIST (Ödeme Garantili)
══════════════════════════════════════ */
.sponsor-list { display: flex; flex-direction: column; }

.sponsor-list--featured {
  border: 1px solid rgba(232,184,75,.15);
  border-radius: 20px;
  overflow: hidden;
}

.spon {
  display: grid;
  grid-template-columns: 48px 160px 1fr auto;
  align-items: center;
  gap: 0;
  padding: 0;
  border-bottom: 1px solid rgba(232,184,75,.1);
  background: rgba(255,255,255,.02);
  transition: background .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.spon:last-child { border-bottom: none; }

/* rank index */
.spon__idx {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 0 0 4px;
  font-family: "Unbounded", system-ui;
  font-size: 11px;
  font-weight: 800;
  color: rgba(232,184,75,.5);
  flex-shrink: 0;
  background: rgba(232,184,75,.04);
  border-right: 1px solid rgba(232,184,75,.08);
  min-height: 88px;
}

/* logo box */
.spon__logo {
  display: grid;
  place-items: center;
  padding: 18px 20px;
  height: 100%;
  border-right: 1px solid rgba(232,184,75,.08);
  background: rgba(232,184,75,.03);
}
.spon__logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
}

/* copy */
.spon__copy {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.spon__copy strong {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 800;
  color: #fff;
  display: block;
}
.spon__copy span {
  font-size: clamp(11px, 1.3vw, 14px);
  color: rgba(232,200,120,.6);
}

/* CTA */
.spon__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  color: rgba(232,184,75,.7);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s, gap .2s;
}
.spon__cta i { font-style: normal; transition: transform .2s; }

.spon--featured:hover {
  background: rgba(232,184,75,.06);
}
.spon--featured:hover .spon__cta { color: var(--gold); gap: 10px; }
.spon--featured:hover .spon__cta i { transform: translateX(4px); }

/* left accent flash on hover */
.spon--featured::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .22s cubic-bezier(.25,.8,.25,1);
}
.spon--featured:hover::before { transform: scaleY(1); }

@media (max-width: 700px) {
  .spon {
    grid-template-columns: 36px 110px 1fr;
    flex-wrap: wrap;
  }
  .spon__cta { display: none; }
  .spon__logo { padding: 14px 16px; }
  .spon__logo img { max-height: 42px; }
  .spon__copy { padding: 16px 18px; }
  .spon__copy strong { font-size: 14px; }
  .spon__copy span { font-size: 12px; }
}

/* ══════════════════════════════════════
   SPONSOR GRID (VIP + Popüler)
══════════════════════════════════════ */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.spon-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .28s cubic-bezier(.25,.8,.25,1), box-shadow .28s, border-color .2s;
  position: relative;
}

/* top shimmer line */
.spon-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  opacity: 0;
  transition: opacity .25s;
}

[data-tier="vip"]  .spon-card::after { background: linear-gradient(90deg, transparent, var(--vip), transparent); }
[data-tier="pop"]  .spon-card::after { background: linear-gradient(90deg, transparent, var(--pop), transparent); }

.spon-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,255,255,.14);
}
.spon-card:hover::after { opacity: 1; }

[data-tier="vip"] .spon-card:hover {
  box-shadow: 0 28px 70px rgba(0,0,0,.5), 0 0 50px var(--vip-g);
  border-color: rgba(168,85,247,.3);
}
[data-tier="pop"] .spon-card:hover {
  box-shadow: 0 28px 70px rgba(0,0,0,.5), 0 0 50px var(--pop-g);
  border-color: rgba(34,211,238,.3);
}

/* logo area */
.spon-card__img {
  display: grid;
  place-items: center;
  height: 150px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  transition: background .25s;
  flex-shrink: 0;
}
[data-tier="vip"] .spon-card__img  { background: rgba(168,85,247,.04); border-bottom-color: rgba(168,85,247,.1); }
[data-tier="pop"] .spon-card__img  { background: rgba(34,211,238,.04); border-bottom-color: rgba(34,211,238,.1); }
.spon-card:hover .spon-card__img   { background: rgba(255,255,255,.055); }
[data-tier="vip"] .spon-card:hover .spon-card__img { background: rgba(168,85,247,.08); }
[data-tier="pop"] .spon-card:hover .spon-card__img { background: rgba(34,211,238,.08); }

.spon-card__img img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.6));
  transition: transform .28s;
}
.spon-card:hover .spon-card__img img { transform: scale(1.07); }

/* body */
.spon-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 16px 0;
  flex: 1;
}
.spon-card__body strong {
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.spon-card__body span {
  font-size: clamp(10.5px, 1.3vw, 12.5px);
  color: var(--muted);
  line-height: 1.4;
}

/* CTA button */
.spon-card__btn {
  display: block;
  margin: 14px 16px 16px;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: .6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  transition: all .2s;
  flex-shrink: 0;
}
[data-tier="vip"] .spon-card__btn { border-color: rgba(168,85,247,.2); background: rgba(168,85,247,.06); color: #d4aaff; }
[data-tier="pop"] .spon-card__btn { border-color: rgba(34,211,238,.2); background: rgba(34,211,238,.06); color: #a5f3fc; }

.spon-card:hover .spon-card__btn { color: #fff; }
[data-tier="vip"] .spon-card:hover .spon-card__btn { background: rgba(168,85,247,.18); border-color: rgba(168,85,247,.5); box-shadow: 0 4px 20px var(--vip-g); }
[data-tier="pop"] .spon-card:hover .spon-card__btn { background: rgba(34,211,238,.18); border-color: rgba(34,211,238,.5); box-shadow: 0 4px 20px var(--pop-g); }

@media (max-width: 560px) {
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spon-card { border-radius: 12px; }
  .spon-card__img { height: 110px; padding: 14px; }
  .spon-card__img img { max-height: 75px; }
  .spon-card__body { padding: 12px 12px 0; }
  .spon-card__body strong { font-size: 11.5px; }
  .spon-card__body span { font-size: 10.5px; }
  .spon-card__btn { margin: 10px 12px 12px; padding: 9px; font-size: 10.5px; border-radius: 8px; }
}
@media (max-width: 340px) {
  .sponsor-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   DISCLAIMER & FOOT
══════════════════════════════════════ */
.disclaimer {
  margin: 48px 0 16px;
  padding: 16px 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(180,190,240,.35);
}

.foot {
  padding: 22px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(180,190,240,.28);
  border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
