/* === streamer.css v6 (Solid Kart Tasarımı) === */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;600;700;800&family=JetBrains+Mono:wght@600;700&display=swap');

:root {
  --blue:      #3b82f6;
  --blue-glow: rgba(59,130,246,0.40);
  --blue-dim:  rgba(59,130,246,0.14);
  --kick:      #4ade80;
  --kick-dark: #16a34a;

  /* Solid kart renkleri */
  --card-bg:     #111928;
  --card-border: rgba(255, 255, 255, 0.12);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.40);

  --text:   #eef2ff;
  --muted:  #94a3b8;
  --radius: 18px;
  --ease:   0.22s cubic-bezier(0.4,0,0.2,1);
  --f:      'Barlow', sans-serif;
  --fm:     'JetBrains Mono', monospace;
}

/* ── SECTION ── */
.streamers-section {
  padding: 56px 0 72px;
  font-family: var(--f);
}
.custom-container { padding: 0 40px; }

/* ── HEADER ── */
.page-header { margin-bottom: 44px; }

.main-title {
  font-family: var(--f);
  font-size: clamp(26px,4.5vw,40px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.15;
  text-shadow: 0 0 28px rgba(59,130,246,0.28);
}

.main-desc {
  font-family: var(--f);
  color: var(--muted);
  max-width: 540px;
  margin: 10px auto 0;
  font-size: 14px;
  line-height: 1.7;
}

/* ── BUTTONS (üstteki 2 buton) ── */
.interaction-area {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 22px;
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.04);
  color: #cbd5e1;
  font-family: var(--f);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  transition: background var(--ease), border-color var(--ease),
              color var(--ease), box-shadow var(--ease);
}

.btn-action svg.btn-ico {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transform: translateY(0);
}

.btn-action:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-shuffle:hover {
  background: rgba(59,130,246,0.14);
  border-color: var(--blue);
  color: #93c5fd;
  box-shadow: 0 4px 16px rgba(59,130,246,0.16);
}
.btn-random:hover {
  background: rgba(168,85,247,0.14);
  border-color: #a855f7;
  color: #d8b4fe;
  box-shadow: 0 4px 16px rgba(168,85,247,0.16);
}
.btn-action:active { transform: scale(0.97); }

/* ── GRID ── */
.streamers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 18px;
}

/* ── CARD ── */
.streamer-card {
  position: relative;
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: 0 300px;
  transition: transform var(--ease);
  border-radius: var(--radius);
}

.streamer-card:hover { transform: translateY(-5px); }

.streamer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--ease);
  box-shadow:
    inset 0 0 0 1px rgba(59,130,246,0.55),
    0 0 24px rgba(59,130,246,0.20);
  z-index: 2;
}

.streamer-card:hover::after { opacity: 1; }
.picking-highlight::after { opacity: 1 !important; }

/* Solid kart */
.card-glass {
  position: relative;
  z-index: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  padding: 26px 16px 20px;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.streamer-card:hover .card-glass {
  border-color: rgba(59,130,246,0.40);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.50);
}

/* ── BADGE ── */
.streamer-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  font-family: var(--f);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  color: #93c5fd;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.30);
}

/* ── IMAGE ── */
.image-area {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.streamer-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue);
  box-shadow: 0 0 20px var(--blue-glow);
}

/* ── INFO ── */
.info-area {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  flex: 1;
}

.streamer-name {
  font-family: var(--f);
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}

.streamer-about {
  font-family: var(--f);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── DISCOUNT BOX ── */
.discount-box {
  background: #090e17;
  border: 1px dashed rgba(59,130,246,0.40);
  border-radius: 10px;
  padding: 10px 10px;
  margin-bottom: 10px;
  width: 100%;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: border-color var(--ease), background var(--ease);
}

.discount-box small {
  flex-shrink: 0;
  font-family: var(--f);
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.discount-box strong,
.discount-box .the-code {
  flex: 1;
  min-width: 0;
  text-align: center;
  color: #60a5fa;
  font-family: var(--fm);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discount-box .copy-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.16);
  color: rgba(255,255,255,0.60);
  transition: background var(--ease), color var(--ease);
}
.discount-box .copy-icon svg { display: block; width: 12px; height: 12px; }

.discount-box:hover {
  border-color: rgba(59,130,246,0.70);
  background: #0d1421;
}
.discount-box:hover .copy-icon { background: rgba(59,130,246,0.30); color: #fff; }
.discount-box:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.copy-feedback {
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f);
  font-size: 10px;
  color: #6ee7b7;
  white-space: nowrap;
  pointer-events: none;
}

/* ── PLATFORM BUTTON (KICK / TIKTOK) ── */
.btn-stream {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  text-decoration: none !important;
  padding: 11px 8px;
  border-radius: 10px;
  font-family: var(--f);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  transition: filter var(--ease), transform var(--ease), box-shadow var(--ease);
  border: 1px solid rgba(255,255,255,0.10);
}

.btn-stream svg {
  display: block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn-stream:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-stream:active { transform: translateY(0); }

/* Kick: TikTok stili (yeşil -> koyu -> yeşil) + glow */
.btn-stream.platform-kick{
  background: linear-gradient(135deg,
    rgba(74,222,128,0.95) 0%,
    rgba(15,23,42,0.98) 48%,
    rgba(34,197,94,0.95) 100%
  );
  color: #ffffff;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 16px rgba(34,197,94,0.22),
    0 0 16px rgba(74,222,128,0.18);
}
.btn-stream.platform-kick:hover{
  box-shadow:
    0 14px 34px rgba(0,0,0,0.45),
    0 0 22px rgba(34,197,94,0.28),
    0 0 22px rgba(74,222,128,0.22);
}
.btn-stream.platform-kick svg{
  filter: drop-shadow(0 0 6px rgba(34,197,94,0.22)) drop-shadow(0 0 6px rgba(74,222,128,0.18));
}

/* TikTok: sağ mavi taşma azaltıldı (cyan glow dengelendi) */
.btn-stream.platform-tiktok{
  background: linear-gradient(135deg,
    rgba(37,244,238,0.92) 0%,
    rgba(15,23,42,0.98) 50%,
    rgba(254,44,85,0.92) 100%
  );
  color: #ffffff;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 12px rgba(37,244,238,0.16),
    0 0 16px rgba(254,44,85,0.18);
}
.btn-stream.platform-tiktok:hover{
  box-shadow:
    0 14px 34px rgba(0,0,0,0.45),
    0 0 16px rgba(37,244,238,0.18),
    0 0 22px rgba(254,44,85,0.22);
}
.btn-stream.platform-tiktok svg{
  filter: drop-shadow(0 0 6px rgba(37,244,238,0.18)) drop-shadow(0 0 6px rgba(254,44,85,0.20));
}

/* ── SLOT HIGHLIGHT ── */
.picking-highlight { transform: scale(1.04) !important; z-index: 10; }
.picking-highlight .card-glass {
  border-color: rgba(59,130,246,0.50) !important;
}

/* ── MODAL ── */
.winner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,6,15,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  padding: 16px;
}
.winner-overlay.active { opacity: 1; pointer-events: auto; }

.winner-card {
  background: #111928;
  border: 1px solid rgba(59,130,246,0.35);
  border-radius: 24px;
  padding: 32px 28px;
  max-width: 400px;
  width: 100%;
  position: relative;
  transform: scale(0.80) translateY(14px);
  transition: transform 0.38s cubic-bezier(0.175,0.885,0.32,1.275);
  text-align: center;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}
.winner-overlay.active .winner-card { transform: scale(1) translateY(0); }

.winner-badge-top {
  font-family: var(--f);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 12px;
}

#winnerImgContainer { display: flex; justify-content: center; margin-bottom: 12px; }

.winner-img-final {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  box-shadow: 0 0 28px rgba(59,130,246,0.40);
  object-fit: cover;
}

#winnerName {
  font-family: var(--f);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

#winnerAbout {
  font-family: var(--f);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.close-modal {
  position: absolute;
  top: 12px; right: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  line-height: 1;
}
.close-modal:hover { background: rgba(255,255,255,0.15); color: #fff; }

.winner-code-box {
  background: #090e17;
  border: 1px dashed rgba(59,130,246,0.45);
  padding: 14px 12px;
  border-radius: 14px;
  margin: 16px 0 12px;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}
.winner-code-box:hover { background: rgba(59,130,246,0.15); border-color: var(--blue); }

.winner-code-box strong {
  font-family: var(--fm);
  font-size: 26px;
  color: #fff;
  display: block;
  letter-spacing: 4px;
  margin-bottom: 6px;
}

#copyText {
  font-family: var(--f);
  font-size: 11px;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 1280px) {
  .streamers-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1024px) {
  .custom-container { padding: 0 24px; }
  .streamers-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
}
@media (max-width: 768px) {
  .streamers-section { padding: 36px 0 52px; }
  .custom-container { padding: 0 12px; }
  .page-header { margin-bottom: 28px; }
  .streamers-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .card-glass { padding: 20px 12px 16px; }
  .streamer-img { width: 78px; height: 78px; }
  .streamer-name { font-size: 14px; }
  .picking-highlight { transform: scale(1.02) !important; }
}
@media (max-width: 480px) {
  .streamers-grid { grid-template-columns: 1fr; gap: 9px; }
  .winner-card { padding: 24px 16px; }
}
@media (max-width: 400px) {
  .interaction-area { flex-direction: column; align-items: stretch; padding: 0 18px; }
  .btn-action { width: 100%; }
}

/* Düşük güçlü cihaz */
@media (prefers-reduced-motion: reduce), (update: slow) {
  * { transition: none !important; animation: none !important; }
  .streamer-card::after { display: none; }
}

/* Animasyon */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}