/* =====================================================================
 * ROOT COLORS & VARIABLES
 * ===================================================================== */
:root {
  --hover-border: rgba(0, 188, 212, 0.45);
  --hover-shadow: rgba(0, 188, 212, 0.12);

  --slide-w: 60vw;
  --visible-side: 0.15;
  --gap: 20px;
  --shift-amount: calc((var(--slide-w) * (1 - var(--visible-side))) + var(--gap));

  --bg-1: #0b1018;
  --bg-2: #171a21;
  --bg-3: #111821;
  --bg-4: #0a0f16;

  --shadow-strong: rgba(0, 0, 0, 0.85);
  --frame-glow: rgba(0, 188, 212, 0.16);

  /* --- YENİ PODYUM RENKLERİ --- */
  --c1-primary: #22d3ee;
  --c1-secondary: #06b6d4;
  --c1-dark: #2563eb;
  
  --c2-primary: #3b82f6;
  --c2-secondary: #2563eb;
  --c2-dark: #4338ca;
  
  --c3-primary: #6366f1;
  --c3-secondary: #4f46e5;
  --c3-dark: #7c3aed;
}

/* =====================================================================
 * MEVCUT SİTE STİLLERİ (KORUNDU)
 * ===================================================================== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text-light);
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at top, rgba(0, 188, 212, 0.05), transparent 55%),
    radial-gradient(circle at bottom, rgba(0, 123, 255, 0.04), transparent 55%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 40px 16px var(--frame-glow) inset;
  pointer-events: none;
}

#splash-screen {
  position: fixed;
  inset: 0;
  background: #02070d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: splashFade 2.2s ease forwards;
}

.logo-text {
  font-size: 3rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: scale(0.9);
  background-size: 180% auto;
  animation: splashText 1.2s ease forwards, shineText 7s linear infinite;
  animation-delay: 0.2s, 0.2s;
  position: relative;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  animation: splashLineAnim 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes splashText {
  to { opacity: 1; transform: scale(1); }
}

@keyframes splashFade {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes shineText {
  0% { background-position: 0% center; }
  100% { background-position: 180% center; }
}

@keyframes splashLineAnim {
  0% { width: 0; opacity: 1; }
  80% { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

#hero-section {
  position: relative;
  text-align: center;
  padding: 8rem 1rem 6rem;
  background: var(--bg-dark) center / cover no-repeat fixed;
}

#hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(0, 188, 212, 0.18), transparent 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

#hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--hero-text-shadow);
}

#hero-section p {
  font-size: 1.2rem;
  color: var(--hero-text-strong);
  max-width: 700px;
  margin: 0 auto;
  text-shadow: var(--hero-text-shadow);
}

#content-wrapper {
  border-radius: 14px;
  margin: var(--section-gap) auto;
  padding: var(--section-pad-y) var(--section-pad-x);
  max-width: 1100px;
  background-color: var(--bg-dark);
  box-shadow:
    0 10px 40px var(--shadow-strong),
    inset 0 0 8px rgba(0, 188, 212, 0.05);
  border: 1px solid rgba(0, 123, 255, 0.15);
}

.divider {
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin: 3rem auto;
  border-radius: 2px;
}

.section-title {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  text-align: center;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--secondary-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.current-league-card {
  background-color: var(--bg-light);
  border-radius: 12px;
  border: 1px solid rgba(0, 123, 255, 0.3);
  box-shadow: 0 8px 28px var(--shadow-strong);
  overflow: hidden;
  margin: 2rem auto;
  width: min(900px, 95%);
  padding: 2rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.current-league-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px var(--shadow-strong);
  border-color: var(--primary-color);
}

.current-league-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.current-league-card h2,
.current-league-card h3 {
  color: var(--primary-color);
}

.current-league-card p {
  color: var(--text-light);
}

.upcoming-leagues {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem auto;
}

.upcoming-league-card {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 1.5rem;
  width: 380px;
  text-align: left;
  box-shadow: 0 8px 24px var(--shadow-strong);
  border: 1px solid rgba(0, 123, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.upcoming-league-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--shadow-strong);
  border-color: var(--primary-color);
}

.upcoming-league-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.upcoming-league-card h3 {
  color: var(--primary-color);
}

.upcoming-league-card p {
  color: var(--text-light);
}

.past-league-card {
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  border-radius: 12px;
  margin: 1rem auto;
  max-width: 800px;
  border: 1px solid rgba(0, 123, 255, 0.22);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.past-league-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--shadow-strong);
  border-color: var(--primary-color);
}

.past-league-card img {
  width: 160px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.past-league-card h3 {
  color: var(--primary-color);
  margin: 0.5rem 1rem 0.2rem;
}

.past-league-card p {
  color: var(--text-light);
  margin: 0 1rem 0.6rem;
}

.faq {
  max-width: 800px;
  margin: 3rem auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  font-size: 1.05rem;
  padding: 1rem;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text-light);
  transition: color 0.2s ease, background 0.2s ease;
}

.faq-question:hover {
  color: var(--primary-color);
  background: rgba(0, 0, 0, 0.18);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1rem;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding: 0.5rem 1rem 1rem;
}

.faq-question::after {
  content: '+';
  float: right;
  color: var(--secondary-color);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.btn {
  display: inline-block;
  margin: 1.5rem 0;
  padding: 1.05rem 2.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-gold {
  background: var(--primary-color);
  color: #041018;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.9);
  background: #02cde6;
}

#particles-container {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: rgba(0, 188, 212, 0.65);
  border-radius: 50%;
  opacity: 0.22;
  box-shadow: 0 0 6px rgba(0, 188, 212, 0.8);
  animation: floatAndFade 22s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; }
.particle:nth-child(2) { right: 15%; top: 40%; animation-delay: 4s; }
.particle:nth-child(3) { left: 45%; bottom: 10%; animation-delay: 9s; }
.particle:nth-child(4) { left: 70%; top: 15%; animation-delay: 13s; }

@keyframes floatAndFade {
  0% { transform: translate(0, 0); opacity: 0.18; }
  25% { transform: translate(8vw, -3vh); opacity: 0.32; }
  50% { transform: translate(0, -6vh); opacity: 0.16; }
  75% { transform: translate(-6vw, 3vh); opacity: 0.26; }
  100% { transform: translate(0, 0); opacity: 0.18; }
}

.article-info {
  margin-top: 40px;
  padding: 24px;
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 123, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--shadow-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px var(--shadow-strong);
  border-color: var(--primary-color);
}

.article-info .section-title {
  color: var(--primary-color);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 1.55rem;
}

.article-info p {
  margin-bottom: 14px;
  line-height: 1.7;
  color: var(--text-light);
  font-size: 16px;
}

.article-info p strong,
.article-info strong {
  color: var(--primary-color);
  font-weight: 700;
}

.article-tabs {
  margin-top: 40px;
}

.tab-buttons {
  display: flex;
  gap: 6px;
  padding-left: 6px;
  border-bottom: 1px solid rgba(0, 123, 255, 0.25);
}

.tab-buttons button {
  width: 40px;
  height: 36px;
  border: 1px solid rgba(0, 123, 255, 0.25);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: #1a2332;
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-buttons button:hover {
  background: #111821;
  color: var(--primary-color);
}

.tab-buttons button.active {
  background: var(--bg-dark);
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-bottom: none;
  position: relative;
  z-index: 2;
}

.tab-content {
  border: 1px solid rgba(0, 123, 255, 0.25);
  border-radius: 0 8px 8px 8px;
  margin-top: -1px;
  background: transparent;
  padding: 22px 18px;
}

.tab-content .article-info {
  display: none;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.tab-content .article-info.active {
  display: block;
}

/* =====================================================================
 * LEAGUE LEADERBOARD WRAPPER
 * ===================================================================== */
.league-leaderboard {
  margin: 2rem auto 3rem;
  /* Üst ve alt padding azaltıldı: eskiden 1.7rem ve 2.1rem idi */
  padding: 1rem 1.3rem 2rem;
  max-width: 980px;
  background-color: var(--bg-light);
  border-radius: 16px;
  border: 1px solid rgba(0, 123, 255, 0.25);
  box-shadow: 0 12px 32px var(--shadow-strong);
  position: relative;
  overflow: visible; /* Efektlerin taşması için */
}

.league-leaderboard .section-title {
  margin-top: 0;
  /* Alt margin azaltıldı: eskiden 1.6rem idi */
  margin-bottom: 1rem;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--primary-color);
}

/* =====================================================================
 * NEW PODIUM STYLES (Animasyonlu Kartlar) - MEVCUT .lb-podium ÜZERİNE YAZILIR
 * ===================================================================== */

/* Podyum Kapsayıcı - Flexbox'a çeviriyoruz */
.lb-podium {
    display: flex;
    align-items: flex-end; /* Tabanları hizala */
    justify-content: center;
    gap: 15px;
    width: 100%;
    /* Yükseklik azaltıldı: eskiden 400px idi */
    height: 340px; 
    margin-bottom: 30px;
    /* Grid özelliklerini sıfırla */
    grid-template-columns: none;
}

/* Kart Genel Stili */
.p-card {
    position: relative;
    width: 100%;
    max-width: 320px;
    cursor: pointer;
    transition: transform 0.5s ease-out;
    user-select: none;
    background: transparent;
}

.p-card:hover {
    transform: translateY(-12px) scale(1.02);
}

/* Yükseklik Ayarları */
.p-card.p-rank-1 { height: 320px; z-index: 3; }
.p-card.p-rank-2 { height: 260px; z-index: 2; }
.p-card.p-rank-3 { height: 220px; z-index: 1; }

/* Glow (Dış Parlama) */
.p-card-glow {
    position: absolute;
    inset: -2px;
    opacity: 0.5;
    filter: blur(4px);
    transition: all 0.5s;
    z-index: -1;
    border-radius: 4px;
}

.p-card:hover .p-card-glow {
    opacity: 1;
    filter: blur(8px);
}

/* Kart İç Çerçeve */
.p-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--bg-1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    /* Hafif eğik kesim efekti */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); 
    transition: border-color 0.5s;
}

/* Resim Alanı */
.p-img-box {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    background-color: #0d1520;
}

.p-card:hover .p-img-box {
    width: 35%; /* Hover'da resim daralır */
}

.p-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

/* =====================================================================
 * RESİM ÜZERİNDEKİ RANK NUMARASI (GÜNCEL: ALT ORTA KONUM)
 * ===================================================================== */
.p-rank-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center; /* Ortala */
    
    padding: 20px 0 10px 0; /* İç boşluk */
    font-size: 3rem; /* Büyük font */
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0,0,0,0.9); /* Güçlü gölge */
    
    /* Arka plan: Alttan yukarı şık bir gradient */
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    
    z-index: 20; /* En üstte olsun */
    pointer-events: none;
    transition: all 0.3s;
}

.p-card:hover .p-rank-overlay {
    opacity: 0; /* Hover olunca kaybolsun */
    transform: translateY(100%);
}

/* Ranklara göre renk vurgusu (Alt çizgi) */
.p-rank-1 .p-rank-overlay { color: var(--c1-primary); border-bottom: 5px solid var(--c1-primary); }
.p-rank-2 .p-rank-overlay { color: var(--c2-primary); border-bottom: 5px solid var(--c2-primary); }
.p-rank-3 .p-rank-overlay { color: var(--c3-primary); border-bottom: 5px solid var(--c3-primary); }


/* Bilgi Alanı (Sağ tarafta gizli panel) */
.p-info-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 65%;
    background-color: rgba(10, 10, 31, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1.5rem;
    padding-right: 1rem;
    
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s ease-out;
    transition-delay: 0.05s;
    z-index: 2;
}

.p-card:hover .p-info-panel {
    transform: translateX(0);
    opacity: 1;
}

/* Rozet (İkon) */
.p-badge {
    position: absolute;
    left: -24px;
    top: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg) scale(0);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.2s;
    z-index: 10;
}

.p-card:hover .p-badge {
    transform: rotate(45deg) scale(1);
}

.p-badge-icon {
    transform: rotate(-45deg);
    width: 24px;
    height: 24px;
}

.p-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Metinler */
.p-info-content {
    transform: translateX(30px);
    transition: transform 0.5s;
    transition-delay: 0.1s;
}

.p-card:hover .p-info-content {
    transform: translateX(0);
}

.p-rank-label {
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: inherit;
    margin-bottom: 4px;
    display: block;
}

.p-player-name {
    font-size: 1.1rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-light);
    margin-top: 5px;
}

/* Skor ve Bar */
.p-score-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;
}

.p-score-label {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-family: monospace;
}

.p-score-value {
    font-size: 1.1rem;
    font-weight: bold;
    font-family: monospace;
}

.p-progress-track {
    width: 100%;
    height: 4px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.p-progress-bar {
    height: 100%;
    width: 100%;
    animation: p-pulse 2s infinite;
}

/* Alt Çizgi */
.p-bottom-line {
    position: absolute;
    bottom: -2px;
    left: 10%;
    right: 10%;
    height: 2px;
    opacity: 0;
    box-shadow: 0 0 20px 2px currentColor;
    transition: opacity 0.5s;
}

.p-card:hover .p-bottom-line {
    opacity: 1;
}

/* --- RANK RENK AYARLARI --- */
/* Rank 1 (Cyan) */
.p-rank-1 .p-card-glow { background: linear-gradient(to bottom, var(--c1-primary), var(--c1-secondary), var(--c1-dark)); }
.p-rank-1 .p-card-inner:hover { border-color: var(--c1-primary); }
.p-rank-1 .p-badge { background: linear-gradient(135deg, var(--c1-primary), var(--c1-dark)); border-color: rgba(255,255,255,0.3); }
.p-rank-1 .p-rank-label { color: var(--c1-primary); }
.p-rank-1 .p-score-value { color: var(--c1-primary); text-shadow: 0 0 5px rgba(34,211,238,0.4); }
.p-rank-1 .p-progress-bar { background: linear-gradient(90deg, var(--c1-primary), var(--c1-dark)); }
.p-rank-1 .p-bottom-line { background: var(--c1-primary); color: var(--c1-primary); }

/* Rank 2 (Blue) */
.p-rank-2 .p-card-glow { background: linear-gradient(to bottom, var(--c2-primary), var(--c2-secondary), var(--c2-dark)); }
.p-rank-2 .p-card-inner:hover { border-color: var(--c2-primary); }
.p-rank-2 .p-badge { background: linear-gradient(135deg, var(--c2-primary), var(--c2-dark)); border-color: rgba(255,255,255,0.3); }
.p-rank-2 .p-rank-label { color: var(--c2-primary); }
.p-rank-2 .p-score-value { color: var(--c2-primary); text-shadow: 0 0 5px rgba(59,130,246,0.4); }
.p-rank-2 .p-progress-bar { background: linear-gradient(90deg, var(--c2-primary), var(--c2-dark)); }
.p-rank-2 .p-bottom-line { background: var(--c2-primary); color: var(--c2-primary); }

/* Rank 3 (Indigo) */
.p-rank-3 .p-card-glow { background: linear-gradient(to bottom, var(--c3-primary), var(--c3-secondary), var(--c3-dark)); }
.p-rank-3 .p-card-inner:hover { border-color: var(--c3-primary); }
.p-rank-3 .p-badge { background: linear-gradient(135deg, var(--c3-primary), var(--c3-dark)); border-color: rgba(255,255,255,0.3); }
.p-rank-3 .p-rank-label { color: var(--c3-primary); }
.p-rank-3 .p-score-value { color: var(--c3-primary); text-shadow: 0 0 5px rgba(99,102,241,0.4); }
.p-rank-3 .p-progress-bar { background: linear-gradient(90deg, var(--c3-primary), var(--c3-dark)); }
.p-rank-3 .p-bottom-line { background: var(--c3-primary); color: var(--c3-primary); }

@keyframes p-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* =====================================================================
 * LIST BELOW PODIUM (Klasik Liste)
 * ===================================================================== */
.lb-list {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 123, 255, 0.2);
  background-color: #1a2332;
}

.lb-row {
  display: grid;
  grid-template-columns: 40px 50px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(9, 9, 11, 0.9);
  position: relative;
  transition: all 0.18s ease;
}

.lb-row:last-child { border-bottom: none; }

.lb-row::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lb-row:hover {
  background: #111821;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px var(--shadow-strong);
}

.lb-row:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.lb-pos {
  position: relative;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
}

.lb-pos::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: linear-gradient(to bottom, rgba(0,188,212,0.9), transparent);
  border-radius: 2px;
}

.lb-avatar-sm {
  width: 25px;
  height: 25px;
  border-radius: 4px;
  background: #0d1520;
  border: 1px solid rgba(0, 123, 255, 0.6);
  box-shadow: 0 2px 4px var(--shadow-strong);
  overflow: hidden;
  margin: 0 auto;
}

.lb-avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

.lb-team {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-light);
}

.lb-stat {
  text-align: right;
  font-weight: 500;
  color: var(--primary-color);
  padding-right: 0.2rem;
}

/* === LOAD MORE BUTTON === */
.lb-load-more{
  display:block;
  width:56px;height:56px;
  margin:16px auto 6px;
  border:1px solid rgba(0,123,255,.35);
  border-radius:14px;
  background:#141c29 url("/assets/league/load.png") center/28px 28px no-repeat;
  background: #141c29 image-set(url('/assets/league/load.avif') type('image/avif'), url('/assets/league/load.webp') type('image/webp'), url('/assets/league/load.png') type('image/png')) center/28px 28px no-repeat;
  box-shadow:0 8px 18px rgba(0,0,0,.9);
  cursor:pointer;
  transition:all .18s ease;
  text-indent:-9999px;
  overflow:hidden;
}
.lb-load-more:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.95);
  border-color:var(--primary-color);
  background-color:#111821;
}
.lb-load-more:active{transform:translateY(0)}

/* =====================================================================
 * RESPONSIVE
 * ===================================================================== */
@media (max-width: 768px) {
  #content-wrapper {
    padding: 1.6rem 1rem;
  }

  .logo-text { font-size: 2.2rem; }
  #hero-section { padding: 6rem 1rem 4rem; }
  #hero-section h1 { font-size: 2.2rem; }
  #hero-section p { font-size: 1rem; }

  .current-league-card {
    padding: 1.4rem;
  }

  .current-league-card img { height: 230px; }
  .upcoming-league-card { width: 100%; }

  .past-league-card {
    flex-direction: column;
    text-align: center;
  }

  .past-league-card img {
    width: 100%;
    height: 190px;
  }

  .article-info {
    padding: 18px;
    margin-top: 26px;
  }

  .article-info .section-title {
    font-size: 1.3rem;
  }

  .article-info p {
    font-size: 15px;
  }

  #particles-container {
    display: none;
  }

  /* --- Podyum Mobil Ayarları --- */
  .lb-podium {
      gap: 8px;
      height: auto;
  }
  .p-card {
      max-width: 32%;
  }
  .p-card.p-rank-1 { height: 220px; }
  .p-card.p-rank-2 { height: 180px; }
  .p-card.p-rank-3 { height: 160px; }
  
  .p-player-name { font-size: 0.8rem; }
  .p-score-value { font-size: 0.8rem; }
  .p-badge { width: 32px; height: 32px; left: -16px; top: 10px; }
  .p-rank-overlay { font-size: 1.5rem; padding: 10px 0; }
  
  .p-info-panel {
      padding-left: 0.8rem;
      padding-right: 0.5rem;
  }
}

@media (max-width: 560px) {
  #hero-section {
    padding: 5.4rem 0.8rem 3.4rem;
    background-attachment: scroll;
  }

  #hero-section h1 {
    font-size: 1.8rem;
  }

  #content-wrapper {
    margin: 22px auto;
    padding: 1rem 0.7rem;
    border-radius: 10px;
  }

  .section-title {
    font-size: 1.45rem;
    margin: 1.2rem 0 0.8rem;
  }

  .current-league-card,
  .upcoming-league-card {
    padding: 1rem;
  }

  .current-league-card img {
    height: 185px;
  }

  .upcoming-league-card img {
    height: 165px;
  }

  .past-league-card img {
    height: 150px;
  }

  .tab-buttons {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tab-buttons button {
    flex: 0 0 auto;
  }

  .tab-content {
    padding: 14px 10px;
  }

  .league-leaderboard {
    padding: 0.8rem 0.65rem 1.3rem;
  }

  .lb-podium {
    gap: 6px;
  }

  .p-card {
    max-width: 31%;
  }

  .p-card:hover {
    transform: none;
  }

  .p-card:hover .p-img-box,
  .p-card .p-img-box {
    width: 100%;
  }

  .p-info-panel,
  .p-badge,
  .p-bottom-line {
    display: none;
  }

  .p-rank-overlay {
    font-size: 1.2rem;
    padding: 8px 0 7px;
  }

  .lb-row {
    grid-template-columns: 30px 36px minmax(0, 1fr) 58px;
    padding: 0.6rem 0.7rem 0.6rem 0.7rem;
    font-size: 0.8rem;
  }

  .lb-stat {
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .logo-text {
    font-size: 1.8rem;
  }

  #hero-section h1 {
    font-size: 1.55rem;
  }

  .lb-row {
    grid-template-columns: 26px 30px minmax(0, 1fr) 52px;
    padding: 0.56rem 0.55rem;
    gap: 0.3rem;
  }

  .lb-avatar-sm {
    width: 22px;
    height: 22px;
  }
}

/* ===== addon.css (navbar/footer overrides) ===== */
/* =====================================================================
 * ÖZEL SAYFA NAVBAR RENK AYARLARI (.homepage-style)
 * ===================================================================== */

/* 1. Navbar Arka Planı ve Gölgesi */
/* navbar.css: .navbar { background-color: #171f29; } */
.homepage-style .navbar {
    background-color: #121212; 
    /* Altın rengi alt çizgi ile süslenmiş arka plan */
    box-shadow: 0 1px 4px rgba(0,0,0,0.9), inset 0 -2px 0 var(--gold-2);
}

/* 2. Logo Rengi */
/* navbar.css: .logo { color: #66c0f4; } */
.homepage-style .logo {
    color: var(--gold-1); 
}
.homepage-style .logo:hover {
    color: var(--gold-2);
}

/* 3. Menü Linkleri Hover ve Alt Çizgi */
/* navbar.css: .nav-menu ul li a:hover { color: #66c0f4; } */
.homepage-style .nav-menu ul li a:hover {
    color: var(--gold-1);
}

/* navbar.css: .nav-menu ul li a::after { background: #66c0f4; } */
.homepage-style .nav-menu ul li a::after {
    background: var(--gold-1);
}

/* 4. Dropdown Linkleri */
/* navbar.css: .dropdown-menu li a:hover { background-color: #2a4660; color: #66c0f4; } */
.homepage-style .dropdown-menu li a:hover {
    background-color: #333; /* Koyu arka plan */
    color: var(--gold-1);  /* Altın rengi yazı */
}

/* navbar.css: .dropdown-menu li a::before { background: #66c0f4; } */
.homepage-style .dropdown-menu li a::before {
    background: var(--gold-1); /* Mavi noktayı altın yap */
}

/* 5. Butonlar (Login/Signup) */
/* navbar.css: #loginBtn ve .btn'ler */

/* Login Butonu (Daha özgül ID seçici kullanıyoruz) */
.homepage-style #loginBtn {
    background: linear-gradient(145deg, var(--gold-1), var(--gold-2));
    background-size: 200% auto;
    color: #111;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(212,175,55,0.4);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.homepage-style #loginBtn:hover {
    transform: translateY(-2px) scale(1.03); 
    box-shadow: 0 6px 16px rgba(212,175,55,0.6);
}

/* Genel Buton Sınıfları */
.homepage-style .auth-buttons .btn {
    background-color: var(--gold-1);
    color: #0b141a;
}
.homepage-style .auth-buttons .btn:hover {
    background-color: var(--gold-2);
}
.homepage-style .auth-buttons .btn-outline {
    color: var(--gold-1);
    border: 1.5px solid var(--gold-1);
}
.homepage-style .auth-buttons .btn-outline:hover {
    background-color: var(--gold-1);
    color: #0b141a;
}


/* Ana Footer Arka Planı ve Temel Metin Rengi */
/* footer.css: background-color: #171a21; */
.homepage-style .steam-footer {
    /* Site genelindeki koyu arka planlardan birini kullan */
    background-color: var(--bg-3); /* #1a1a1a */
    color: var(--text-light); /* Metin rengi #f5f5f5 */
    /* Gölge eklenerek biraz ayrım sağlanabilir */
    box-shadow: 0 4px 10px rgba(0,0,0,0.8) inset;
}

/* Ayırıcı Çizgi */
/* footer.css: border-bottom: 1px solid #2a2e38; */
.homepage-style .steam-footer .footer-top {
    /* Ayırıcıyı altın rengi ile değiştir */
    border-bottom: 1px solid var(--gold-2); /* #D4AF37 */
}

/* Başlıklar (h4) */
/* footer.css: color: #ffffff; */
.homepage-style .steam-footer h4 {
    /* Başlıkları altın rengi yap */
    color: var(--gold-1); /* #FFD700 */
}

/* Normal Metin ve Paragraflar (p) */
/* footer.css: color: #8f98a4; */
.homepage-style .steam-footer p {
    /* Metin rengini siteye uygun açık gri yap */
    color: rgba(245, 245, 245, 0.7);
}

/* Sosyal Medya İkonları */
/* footer.css: border: 1px solid #363c44; */
.homepage-style .steam-footer .social-links a {
    /* Çerçeve rengini altın rengi yap */
    border: 1px solid var(--gold-2); /* #D4AF37 */
    color: var(--text-light);
}

/* Sosyal Medya İkonları Hover */
/* footer.css: color: #66c0f4; border-color: #66c0f4; */
.homepage-style .steam-footer .social-links a:hover {
    /* Hover rengini ve çerçeveyi altın yap */
    color: var(--gold-1); /* #FFD700 */
    border-color: var(--gold-1);
}

/* Telif Hakkı (Copyright) Bölümü */
/* footer.css: color: #5d6771; */
.homepage-style .steam-footer .copyright {
    /* Telif metnini daha soluk ve okunaklı yap */
    color: rgba(245, 245, 245, 0.4);
}
/* Telif Hakkı İçindeki Vurgulu Metin (strong) */
/* footer.css: strong { color: #8f98a4; } */
.homepage-style .steam-footer .copyright strong {
    /* Şirket adını belirgin altın rengi yap */
    color: var(--gold-2); /* #D4AF37 */
}

/* =====================================================
   RU CS2 LEAGUE REDESIGN (SCOPED)
   ===================================================== */
.league-ru-page {
  background:
    radial-gradient(1050px 540px at 12% 8%, rgba(67, 236, 255, 0.12), transparent 58%),
    radial-gradient(920px 500px at 88% 86%, rgba(87, 255, 190, 0.11), transparent 54%),
    linear-gradient(180deg, #040f18, #061625 42%, #06111d);
}

.league-ru-page #hero-section {
  width: min(1360px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: clamp(5.6rem, 11vw, 8rem) 1rem clamp(4rem, 8vw, 6rem);
  border-radius: 22px;
  border: 1px solid rgba(114, 212, 255, 0.3);
  background-attachment: scroll;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.league-ru-page #hero-section::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(67, 236, 255, 0.25), transparent 52%),
    linear-gradient(to bottom, rgba(4, 13, 24, 0.52), rgba(4, 13, 24, 0.74) 64%, rgba(4, 13, 24, 0.86));
}

.league-ru-page .hero-content {
  max-width: 840px;
  margin: 0 auto;
}

.league-ru-page .hero-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(114, 212, 255, 0.5);
  background: rgba(6, 21, 35, 0.72);
  color: #d8f8ff;
  padding: 6px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-bottom: 10px;
}

.league-ru-page #hero-section h1 {
  color: #f0fbff;
  -webkit-text-fill-color: #f0fbff;
  background: none;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  margin-bottom: 0.7rem;
}

.league-ru-page #hero-section p {
  color: #b4cce0;
  font-size: clamp(0.96rem, 1.8vw, 1.18rem);
  max-width: 760px;
}

.league-ru-page #content-wrapper {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 22px 18px 34px;
  border-radius: 20px;
  border: 1px solid rgba(114, 212, 255, 0.24);
  background:
    linear-gradient(170deg, rgba(8, 28, 45, 0.9), rgba(6, 18, 32, 0.92)),
    radial-gradient(circle at 90% 7%, rgba(114, 212, 255, 0.1), transparent 38%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
}

.league-ru-page .divider {
  width: min(1280px, calc(100% - 42px));
  margin: 22px auto;
}

.league-ru-page .league-intro-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(114, 212, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(8, 29, 45, 0.95), rgba(7, 20, 33, 0.9)),
    radial-gradient(circle at 94% 6%, rgba(87, 255, 190, 0.18), transparent 38%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
  padding: 18px 16px;
  margin-bottom: 18px;
}

.league-ru-page .league-intro-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -46px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 236, 255, 0.23), rgba(67, 236, 255, 0));
  pointer-events: none;
}

.league-ru-page .league-intro-card__badge {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(114, 212, 255, 0.42);
  background: rgba(6, 21, 35, 0.72);
  color: #cbf8ff;
  padding: 5px 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.league-ru-page .league-intro-card__title {
  margin: 10px 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  color: #f0fbff;
  line-height: 1.16;
}

.league-ru-page .league-intro-card__text {
  margin: 0;
  max-width: 820px;
  color: #a5bfd5;
  line-height: 1.62;
}

.league-ru-page .league-intro-card__chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.league-ru-page .league-intro-card__chips span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(114, 212, 255, 0.3);
  background: rgba(8, 29, 46, 0.72);
  color: #d9f4ff;
  font-size: 0.74rem;
  font-weight: 600;
}

.league-ru-page .league-leaderboard,
.league-ru-page .current-league-card,
.league-ru-page .article-tabs {
  border-color: rgba(114, 212, 255, 0.24);
  background:
    linear-gradient(170deg, rgba(8, 27, 43, 0.9), rgba(7, 19, 31, 0.94)),
    radial-gradient(circle at 90% 6%, rgba(114, 212, 255, 0.09), transparent 38%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.league-ru-page .section-title {
  color: #d7f4ff;
}

.league-ru-page .section-title::after {
  width: 68px;
  height: 3px;
  background: linear-gradient(90deg, #43ecff, #57ffbe);
}

.league-ru-page .lb-list {
  border-color: rgba(114, 212, 255, 0.2);
  background: rgba(8, 24, 38, 0.75);
}

.league-ru-page .lb-row {
  border-bottom-color: rgba(114, 212, 255, 0.12);
}

.league-ru-page .lb-row:hover {
  background: rgba(7, 22, 35, 0.9);
}

.league-ru-page .lb-load-more {
  border-color: rgba(114, 212, 255, 0.42);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
}

.league-ru-page .current-league-card {
  text-align: left;
}

.league-ru-page .current-league-card h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  color: #e8f8ff;
}

.league-ru-page .current-league-card p {
  color: #b6cde0;
  line-height: 1.68;
}

.league-ru-page .tab-buttons {
  border-bottom-color: rgba(114, 212, 255, 0.24);
}

.league-ru-page .tab-buttons button {
  background: rgba(8, 27, 43, 0.86);
  border-color: rgba(114, 212, 255, 0.24);
}

.league-ru-page .tab-buttons button.active {
  border-color: rgba(114, 212, 255, 0.58);
  color: #d7f5ff;
}

.league-ru-page .tab-content {
  border-color: rgba(114, 212, 255, 0.26);
  background: rgba(6, 20, 33, 0.78);
}

@media (max-width: 980px) {
  .league-ru-page #hero-section {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 16px;
  }

  .league-ru-page #content-wrapper {
    border-radius: 14px;
    padding: 14px 10px 24px;
  }
}

@media (max-width: 768px) {
  .league-ru-page .league-intro-card {
    padding: 14px 12px;
  }

  .league-ru-page .league-intro-card__title {
    font-size: 1.4rem;
  }

  .league-ru-page .current-league-card {
    padding: 1rem;
  }
}

@media (max-width: 520px) {
  .league-ru-page #hero-section p {
    font-size: 0.95rem;
  }

  .league-ru-page .league-intro-card__chips span {
    font-size: 0.68rem;
    padding: 4px 8px;
  }
}
