/* ========================================================
   SICAK PATATES (HOT POTATO) OYUNU STİLLERİ
   ======================================================== */

/* SICAK PATATES SORU KUTUSU */
.hp-soru-kutusu {
    background: rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 16px 24px;
    margin: 10px auto 20px auto;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.15);
    animation: hpSoruPulse 3s ease-in-out infinite;
}

.hp-soru-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

@keyframes hpSoruPulse {
    0%, 100% {
        box-shadow: 0 4px 30px rgba(139, 92, 246, 0.15);
        border-color: rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 4px 40px rgba(139, 92, 246, 0.3);
        border-color: rgba(139, 92, 246, 0.5);
    }
}
:root {
  --bg-primary: #121214;       
  --bg-secondary: #1a1a1e;     
  --bg-card-hover: #222226;    
  --text-primary: #ffffff;     
  --text-secondary: #a1a1aa;   
  --accent-color: #8b5cf6;     
  --accent-hover: #7c3aed;     
  --border-color: #2e2e33;     
  --success-color: #10b981;    
  --danger-color: #ef4444;     
  --soft-bg: #1e1e24;
  --card-radius: 16px;
  --shadow: 0 8px 30px rgba(0,0,0,0.4);
}

body.light-theme {
  --bg-primary: #f4f4f5;       
  --bg-secondary: #ffffff;     
  --bg-card-hover: #eaeaea;    
  --text-primary: #09090b;     
  --text-secondary: #71717a;   
  --border-color: #e4e4e7;     
  --soft-bg: #f0f0f2;
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.1s ease;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

.container { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px;
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  justify-content: flex-start;
}

.logo {
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 8px;
}
.logo-text {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #8b5cf6, #f43f5e, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3), 0 0 40px rgba(244, 63, 94, 0.2);
  animation: logoGlow 3s ease-in-out infinite alternate;
}
@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4)); }
  100% { filter: drop-shadow(0 0 20px rgba(244, 63, 94, 0.6)); }
}

.menu { display: flex; flex-direction: column; gap: 4px; }

.menu-btn {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.menu-btn:hover {
  background-color: var(--bg-card-hover);
  color: var(--text-primary);
  padding-left: 20px;
}
.menu-btn.active {
  background-color: var(--accent-color);
  color: var(--text-primary);
  font-weight: 600;
}

/* ─── MENÜ İKONLARI – NEON GLOW EFEKTİ ─── */
.menu-btn i {
  margin-right: 12px;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: all 0.2s ease-in-out;
  width: 1.4rem;
  text-align: center;
}
.menu-btn:hover i,
.menu-btn.active i {
  color: #ffffff;
  filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.8));
}

/* ─── ADMIN MENÜSÜ ─── */
.admin-menu-btn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.admin-menu-btn:hover {
    background-color: var(--bg-card-hover);
    color: #facc15;
    padding-left: 20px;
    border-color: #facc15;
}
.admin-menu-btn.active {
    background-color: #facc15;
    color: #09090b;
    font-weight: 600;
}
.admin-menu-btn i {
    margin-right: 12px;
    font-size: 1.2rem;
    width: 1.4rem;
    text-align: center;
}
.admin-menu-btn:hover i,
.admin-menu-btn.active i {
    color: #09090b;
}

/* ─── PREMIUM ANA SAYFA (HOME) STYLES ─── */
/* Üst Banner Reklam */
.ad-banner {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ad-banner-top {
    margin-bottom: 25px;
    width: 100%;
    padding: 8px 20px;
}
.ad-banner-bottom {
    margin-top: 30px;
    width: 100%;
    padding: 8px 20px;
}
.ad-banner-side {
    min-width: 180px;
    max-width: 200px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
}
.ad-label {
    position: absolute;
    top: 4px;
    right: 10px;
    font-size: 0.65rem;
    color: var(--text-secondary);
    opacity: 0.5;
    letter-spacing: 1px;
}
.ad-placeholder {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.6;
    padding: 5px 0;
}
.ad-placeholder-side {
    font-size: 0.8rem;
    line-height: 1.6;
}

/* Hero Alanı */
.home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 0;
    margin-bottom: 20px;
}
.home-hero-left {
    flex: 1;
}
.home-hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.hero-highlight {
    background: linear-gradient(135deg, #8b5cf6, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.home-hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 550px;
}
.home-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-premium {
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn-premium small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
}
.btn-premium-primary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}
.btn-premium-primary:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0.2));
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}
.btn-premium-secondary {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(244, 63, 94, 0.1));
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.15);
}
.btn-premium-secondary:hover {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.5), rgba(244, 63, 94, 0.2));
    box-shadow: 0 4px 30px rgba(244, 63, 94, 0.3);
    transform: translateY(-2px);
}
.btn-premium-small {
    padding: 8px 20px;
    font-size: 0.85rem;
    flex-direction: row;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-premium-small:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0.2));
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    transform: translateY(-1px);
}

/* Hero Sağ İstatistik Kartı */
.home-hero-right {
    flex-shrink: 0;
}
.hero-stats-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 180px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-color);
}
.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Canlı Odalar Bölümü */
.home-live-section {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.home-live-left {
    flex: 1;
}
.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.home-section-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
}
.live-count-badge {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
.live-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.live-room-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.live-room-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
    transform: translateY(-3px);
}
.live-room-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.live-room-icon {
    font-size: 2.5rem;
    margin: 15px 0 10px;
}
.live-room-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.live-room-host {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.live-room-players {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* ========================================================
   ETKİNLİKLER (EVENTS) - YENİ SEKMENİN STİLLERİ
   ======================================================== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

.event-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.event-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.event-card:hover .event-card-glow {
    opacity: 1;
}

.event-card-icon {
    font-size: 4rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    transition: transform 0.3s ease;
}

.event-card:hover .event-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.event-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 380px;
    margin: 4px 0;
}

.event-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 8px 0;
}

.event-card-features span {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
}

.event-card-btn {
    margin-top: 12px;
    padding: 14px 36px;
    border-radius: 14px;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.event-card-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(139, 92, 246, 0.2));
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

/* ─── HAFTALIK SIFIRLAMA SAYACI ─── */
.leaderboard-reset-timer {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.leaderboard-reset-timer strong {
    color: var(--accent-color);
    font-weight: 700;
}

.sp-display {
  margin-top: auto;
  padding: 15px 10px;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
}
.sp-display.hidden { display: none; }
.sp-display strong { color: #facc15; font-size: 1.3rem; }

.main-content { flex: 1; padding: 40px; background-color: var(--bg-primary); }

.content-section { display: none; }
.content-section.active { display: block; animation: fadeIn 0.4s ease-in-out; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.account-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}
.account-panel-content {
  background: var(--bg-secondary);
  border: 2px solid var(--accent-color);
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}
.account-panel-content h2 { font-size: 2rem; margin-bottom: 10px; }
.account-panel-content p { color: var(--text-secondary); margin-bottom: 30px; }
.account-panel-options { display: flex; flex-direction: column; gap: 15px; }
.account-panel-options .btn-main { width: 100%; padding: 14px; font-size: 1.1rem; }
#panel-message { margin-top: 15px; font-size: 0.95rem; min-height: 25px; }

.hero-section {
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(to right, #f43f5e, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-section p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 30px; }

.btn-main {
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}
.btn-main:hover { background-color: var(--accent-hover); transform: scale(1.05); }

.section-header { margin-bottom: 30px; }
.section-header h2 { font-size: 2rem; margin-bottom: 5px; }
.section-header p { color: var(--text-secondary); }

.category-block h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent-color);
  padding-left: 10px;
}

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

.game-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.game-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-card-hover);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.15);
}
.game-icon { font-size: 3rem; margin-bottom: 15px; }
.game-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.game-card p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.4; }

.btn-play {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 8px 20px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.game-card:hover .btn-play { background-color: var(--accent-color); color: #ffffff; }

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.back-to-games-btn {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.back-to-games-btn:hover { background-color: var(--bg-card-hover); }

.difficulty-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  text-align: center;
  animation: fadeIn 0.4s ease;
}
.difficulty-screen h3 { font-size: 1.8rem; margin-bottom: 10px; }
.diff-intro { color: var(--text-secondary); font-size: 1rem; margin-bottom: 30px; max-width: 500px; line-height: 1.5; }
.difficulty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 620px;
}
@media (max-width: 600px) { .difficulty-grid { grid-template-columns: 1fr; } }
.diff-card-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.diff-card-btn.easy:hover { transform: translateY(-5px); border-color: var(--success-color); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2); }
.diff-card-btn.medium:hover { transform: translateY(-5px); border-color: #f59e0b; box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2); }
.diff-card-btn.hard:hover { transform: translateY(-5px); border-color: var(--danger-color); box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2); }
.diff-card-btn.competitive { border: 2px dashed var(--accent-color); }
.diff-card-btn.competitive:hover {
  transform: translateY(-5px);
  border-style: solid;
  border-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(139, 92, 246, 0.05) 100%);
}
.card-emoji { font-size: 2.2rem; }
.card-title { font-size: 1.2rem; font-weight: bold; color: var(--text-primary); }
.card-info { font-size: 0.85rem; color: var(--text-secondary); }

.game-arena {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  min-height: 480px;
}
.game-play-area { animation: fadeIn 0.4s ease; }

.game-stats { display: flex; justify-content: space-between; margin-bottom: 25px; align-items: center; flex-wrap: wrap; gap: 10px; }
.stat-box { background-color: var(--bg-primary); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 10px; font-size: 1.1rem; }
.flex-stat { display: flex; align-items: center; gap: 15px; }
.hearts { letter-spacing: 3px; font-size: 1.2rem; }

.combo-badge {
  background-color: #f59e0b;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 12px;
  animation: pulse 1s infinite alternate;
}
.combo-badge.hidden { display: none; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.1); } }

.manager-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
  background-color: var(--bg-primary);
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.bar-item { display: flex; align-items: center; gap: 15px; }
.bar-label { width: 70px; font-weight: 600; color: var(--text-secondary); }
.bar-bg { flex: 1; height: 10px; background-color: var(--bg-secondary); border-radius: 6px; overflow: hidden; position: relative; }
.bar-fill { height: 100%; border-radius: 6px; transition: width 0.5s ease; }
.bar-value { width: 40px; text-align: right; font-weight: bold; color: var(--text-primary); }
.bar-fill.low { background-color: var(--danger-color) !important; }
.bar-fill.medium { background-color: #f59e0b !important; }
.bar-fill.high { background-color: var(--success-color) !important; }

.progress-and-info {
  background-color: var(--bg-primary);
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 25px;
}
.progress-container { display: flex; flex-direction: column; gap: 8px; }
.progress-header { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-secondary); }
.progress-bar { width: 100%; height: 8px; background-color: var(--bg-secondary); border-radius: 4px; overflow: hidden; }
#progress-fill, #team-progress-fill, #market-progress-fill, #dark-progress-fill { width: 0%; height: 100%; background-color: var(--accent-color); transition: width 0.3s ease; }

.clue-container h3 { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 15px; }
.clues-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }

.clue-card {
  background: linear-gradient(135deg, #1b1b1f 0%, #222228 100%);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--accent-color);
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease-out;
}
body.light-theme .clue-card {
  background: linear-gradient(135deg, #fbfbfb 0%, #f4f4f6 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
@keyframes slideIn { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; transform: translateX(0); } }
.clue-badge {
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 6px;
  text-transform: uppercase;
  min-width: 90px;
  text-align: center;
}
.clue-text { flex: 1; line-height: 1.5; color: var(--text-primary); }

.guess-container { position: relative; width: 100%; margin-bottom: 20px; }
.guess-area { display: flex; gap: 15px; }

#player-guess-input, #team-guess-input, #market-guess-input, #dark-guess-input {
  flex: 1;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 15px;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}
#player-guess-input:focus, #team-guess-input:focus, #market-guess-input:focus, #dark-guess-input:focus { border-color: var(--accent-color); }

#btn-submit-guess, #btn-team-submit-guess, #btn-market-submit-guess, #btn-dark-submit-guess {
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  padding: 0 25px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}
#btn-submit-guess:hover, #btn-team-submit-guess:hover, #btn-market-submit-guess:hover, #btn-dark-submit-guess:hover { background-color: var(--accent-hover); }

.suggestions-dropdown {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-top: 5px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 99;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.suggestions-dropdown.hidden { display: none; }
.suggestion-item { padding: 12px 18px; cursor: pointer; text-align: left; color: var(--text-secondary); border-bottom: 1px solid var(--border-color); }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background-color: var(--accent-color); color: #ffffff; }

.feedback { text-align: center; font-size: 1.1rem; font-weight: bold; min-height: 25px; margin-bottom: 15px; }
.feedback.correct { color: var(--success-color); }
.feedback.wrong { color: var(--danger-color); animation: shake 0.3s ease-in-out; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }

.overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(18, 18, 20, 0.96);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.overlay.hidden { display: none !important; }
.overlay-content {
  text-align: center;
  padding: 40px;
  background-color: var(--bg-secondary);
  border: 2px solid var(--accent-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  max-width: 420px;
  width: 90%;
}
.overlay-content h2 { font-size: 2rem; margin-bottom: 15px; }
.overlay-content p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 20px; }
.reveal-name { font-size: 1.4rem; font-weight: bold; color: var(--accent-color); margin-bottom: 25px !important; }

.score-save-box {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}
.score-save-box.hidden { display: none !important; }
.high-score-alert { color: #facc15 !important; font-weight: bold; font-size: 1rem !important; margin-bottom: 12px !important; }

.non-comp-box {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.non-comp-box.hidden { display: none !important; }

#account-forms input {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}
#account-forms input:focus { border-color: var(--accent-color); }

#manager-options-container button {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
#manager-options-container button:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--accent-color);
  transform: translateX(5px);
}

.leaderboard-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 16px;
}
.leaderboard-tab-btn {
  background-color: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.leaderboard-tab-btn:hover { background-color: var(--bg-card-hover); color: var(--text-primary); }
.leaderboard-tab-btn.active { background-color: var(--accent-color); color: #ffffff; border-color: var(--accent-color); }

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 25px;
}
.leaderboard-table th { color: var(--text-secondary); border-bottom: 2px solid var(--border-color); padding: 15px; font-weight: 600; }
.leaderboard-table td { padding: 15px; border-bottom: 1px solid var(--border-color); font-size: 1.1rem; }
.leaderboard-table tr:last-child td { border-bottom: none; }

.rank-badge { font-weight: bold; font-size: 1.2rem; }
.rank-1 { color: #facc15; } 
.rank-2 { color: #cbd5e1; } 
.rank-3 { color: #b45309; } 

.btn-clear {
  background-color: transparent;
  color: var(--danger-color);
  border: 1px solid var(--danger-color);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-clear:hover { background-color: var(--danger-color); color: #ffffff; }

.settings-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.settings-info h4 { font-size: 1.1rem; margin-bottom: 6px; }
.settings-info p { font-size: 0.9rem; color: var(--text-secondary); }

.theme-switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.theme-switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #3f3f46;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute; content: "";
  height: 26px; width: 26px; left: 4px; bottom: 4px;
  background-color: white;
  transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--accent-color); }
input:checked + .slider:before { transform: translateX(26px); }

.hidden { display: none !important; }

.time-added-anim {
  animation: pulseSuccess 0.5s ease-in-out;
  color: var(--success-color) !important;
}
@keyframes pulseSuccess { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.timer-warning-pulsing {
  color: var(--danger-color) !important;
  animation: dangerPulse 0.5s infinite alternate;
}
@keyframes dangerPulse { from { transform: scale(1); } to { transform: scale(1.1); } }

.bar-change { animation: barFlash 0.6s ease; }
@keyframes barFlash { 0% { opacity: 1; } 50% { opacity: 0.5; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }

#stats-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
#stats-content th {
  text-align: left;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-color);
  padding: 12px 10px;
}
#stats-content td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-color);
}
#stats-content tr:last-child td { border-bottom: none; }
.stats-game-icon { font-size: 1.5rem; margin-right: 8px; }

/* ========================================================
   KÜRSÜ (TRIBUNAL) - YENİ TASARIM
   ======================================================== */
.tribunal-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.tribunal-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.tribunal-tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}
.tribunal-tab-btn.active {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}
.tribunal-tab-content { animation: fadeIn 0.3s ease; }

.tribunal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.tribunal-card {
  background: var(--soft-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 18px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tribunal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.tribunal-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.tribunal-card .card-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.tribunal-card .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.tribunal-card .card-actions .btn-sm {
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.btn-sm.start { background: var(--success-color); color: #fff; }
.btn-sm.start:hover { background: #059669; }
.btn-sm.public { background: var(--accent-color); color: #fff; }
.btn-sm.public:hover { background: var(--accent-hover); }
.btn-sm.hide { background: #6b7280; color: #fff; }
.btn-sm.hide:hover { background: #4b5563; }
.btn-sm.share { background: #3b82f6; color: #fff; }
.btn-sm.share:hover { background: #2563eb; }
.btn-sm.delete { background: var(--danger-color); color: #fff; }
.btn-sm.delete:hover { background: #dc2626; }
.btn-sm.link { background: #f59e0b; color: #000; }
.btn-sm.link:hover { background: #d97706; }

.tribunal-create-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
}
.tribunal-create-form label { font-weight: 500; color: var(--text-secondary); }
.tribunal-create-form input, .tribunal-create-form select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1rem;
}
.tribunal-char-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  background: var(--bg-primary);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.tribunal-char-select-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.tribunal-char-select-grid label:hover { background: var(--bg-card-hover); }
.tribunal-char-select-grid input[type="checkbox"] { accent-color: var(--accent-color); }

.tribunal-match-area {
  background: var(--soft-bg);
  border-radius: var(--card-radius);
  padding: 30px;
  border: 1px solid var(--border-color);
}
.tribunal-match-header {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.tribunal-characters {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.tribunal-qr-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 999;
  justify-content: center;
  align-items: center;
}
.tribunal-qr-modal.show { display: flex; }
.tribunal-qr-content {
  background: var(--bg-secondary);
  border-radius: var(--card-radius);
  padding: 30px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  border: 2px solid var(--accent-color);
  box-shadow: var(--shadow);
}
.tribunal-qr-content h3 { margin-bottom: 10px; }
.tribunal-qr-content p { color: var(--text-secondary); margin-bottom: 15px; }
.tribunal-qr-image {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  display: block;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
}
.tribunal-qr-link-area {
  display: flex;
  gap: 10px;
  margin: 15px 0;
  align-items: center;
}
.tribunal-qr-link-area input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.8rem;
}
.tribunal-qr-link-area .copy-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.tribunal-bracket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.tribunal-bracket-header .back-btn {
  padding: 6px 20px;
  font-size: 0.9rem;
}

/* ========================================================
   YENİ HIGHER/LOWER OYUNU ÖZEL STİLLERİ
   ======================================================== */
.hl-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 20px;
  width: 200px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.hl-card-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 3px solid var(--accent-color);
  margin-bottom: 10px;
}
.hl-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hl-card-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.hl-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-color);
  transition: all 0.5s ease;
}
.hl-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 5px;
}
.hl-card.reveal .hl-value {
  animation: counterRoll 0.6s ease-out;
}
@keyframes counterRoll {
  0% { transform: scale(2); opacity: 0; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}
.hl-shift-animation {
  animation: slideShift 0.5s ease-in-out;
}
@keyframes slideShift {
  0% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(-30px); opacity: 0.6; }
  100% { transform: translateX(0); opacity: 1; }
}

.hl-vote-btn {
  padding: 16px 32px;
  font-size: 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  color: #fff;
  background: var(--accent-color);
  box-shadow: 0 8px 20px rgba(139,92,246,0.3);
  transition: all 0.2s ease;
  min-width: 160px;
}
.hl-vote-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(139,92,246,0.5);
}
.hl-vote-btn:active {
  transform: scale(0.95);
}
.hl-vote-btn[style*="danger"] {
  background: var(--danger-color);
  box-shadow: 0 8px 20px rgba(239,68,68,0.3);
}
.hl-vote-btn[style*="danger"]:hover {
  box-shadow: 0 12px 30px rgba(239,68,68,0.5);
}

#hl-vote-results {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 15px;
  border: 1px solid var(--border-color);
}
#hl-vote-bar {
  height: 100%;
  background: linear-gradient(to right, var(--accent-color), var(--danger-color));
  transition: width 0.3s;
}

/* ========================================================
   OY KULLANMA (VOTE) BUTONLARI – UWUFUFU TARZI
   ======================================================== */
.vote-btn-large {
  flex: 1;
  padding: 40px 20px;
  font-size: 2rem;
  border-radius: 20px;
  border: 3px solid var(--accent-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.vote-btn-large:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(139,92,246,0.5);
  border-color: #facc15;
}
.vote-btn-large:active {
  transform: scale(0.95);
}
.vote-btn-large.voted {
  opacity: 0.6;
  cursor: default;
  border-color: var(--success-color);
}
.vote-btn-large.voted:hover {
  transform: none;
  box-shadow: none;
}

/* ========================================================
   OYLAMA BAR (YAYINCI MODU) – ÖZEL
   ======================================================== */
#hl-vote-bar-container .vote-bar-track {
  height: 20px;
  background: var(--bg-secondary);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
#hl-vote-bar-fill {
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(to right, #8b5cf6, #ef4444);
  transition: width 0.5s ease;
}

/* ========================================================
   YENİ "SICAK PATATES" OYUNU ÖZEL STİLLERİ
   ======================================================== */

/* Oyun alanı */
.hot-potato-game-area {
  background: var(--bg-secondary);
  border-radius: var(--card-radius);
  padding: 25px;
  border: 1px solid var(--border-color);
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

/* Faz ve hız rozetleri (sağ üst köşe) */
.hp-badge-container {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 40;
  pointer-events: none;
}
.hp-phase-badge {
  background: var(--bg-primary);
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.hp-multiplier-badge {
  background: var(--danger-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: hpMultiPulse 1s ease infinite alternate;
}
@keyframes hpMultiPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Tur başlıkları (slide-in/slide-out) */
.hp-tur-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 50;
  pointer-events: none;
  animation: hpTitleSlide 2.5s ease forwards;
  text-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.hp-tur-title.ilik { color: #10b981; background: linear-gradient(to bottom, rgba(16,185,129,0.2), transparent); }
.hp-tur-title.sicak { color: #f59e0b; background: linear-gradient(to bottom, rgba(245,158,11,0.2), transparent); }
.hp-tur-title.koz { color: #ef4444; background: linear-gradient(to bottom, rgba(239,68,68,0.2), transparent); }

@keyframes hpTitleSlide {
  0% { transform: translateY(-100%); opacity: 0; }
  15% { transform: translateY(0); opacity: 1; }
  85% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* Sıra göstergesi */
.hp-sira-gosterge {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 20px;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}
.hp-sira-gosterge.yayinci {
  border-color: var(--accent-color);
  color: var(--accent-color);
}
.hp-sira-gosterge.chat {
  border-color: #facc15;
  color: #facc15;
}

/* Zamanlayıcı */
.hp-timer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-primary);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}
.hp-timer {
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 80px;
}
.hp-timer.warning { color: var(--danger-color); animation: pulse 0.8s infinite; }
.hp-multiplier {
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

/* Kart konteyneri */
.hp-kart-grid {
  display: grid;
  gap: 16px;
  margin: 20px 0;
  justify-content: center;
}
.hp-kart-grid.ilk-5 { grid-template-columns: repeat(5, 1fr); }
.hp-kart-grid.kalan-3 { grid-template-columns: repeat(3, 1fr); }
.hp-kart-grid.kalan-2 { grid-template-columns: repeat(2, 1fr); }
.hp-kart-grid.kalan-1 { grid-template-columns: 1fr; max-width: 200px; margin: 0 auto; }

/* Her bir kart */
.hp-kart {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 20px 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.hp-kart .kart-isim {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.hp-kart .kart-detay {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
/* Oylama yüzdesi barı */
.hp-oy-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 10px;
  margin-top: 12px;
  overflow: hidden;
}
.hp-oy-bar .dolgu {
  height: 100%;
  background: linear-gradient(to right, var(--accent-color), #facc15);
  border-radius: 10px;
  transition: width 0.4s ease;
  width: 0%;
}

/* Aktif kart (tıklanabilir / oy verilebilir) */
.hp-kart.aktif {
  cursor: pointer;
  border-color: var(--accent-color);
}
.hp-kart.aktif:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
  border-color: #facc15;
}
.hp-kart.aktif:active {
  transform: scale(0.95);
}

/* Eleme animasyonu – duman + düşme */
.hp-kart.eleniyor {
  animation: hpElenme 0.8s ease forwards;
}
@keyframes hpElenme {
  0% { transform: scale(1); opacity: 1; }
  30% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 50px rgba(239,68,68,0.4); }
  100% { transform: translateY(120px) scale(0.2); opacity: 0; }
}
/* Duman parçacıkları (CSS ile) */
.hp-duman {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(200,200,200,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  animation: hpDumanPatlama 0.8s ease-out forwards;
}
@keyframes hpDumanPatlama {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}
.hp-duman-cok {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: rgba(180,180,180,0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9;
  animation: hpDumanPatlama 0.6s ease-out 0.1s forwards;
}

/* Kazanan kart vurgusu */
.hp-kart.kazanan {
  border-color: #facc15;
  box-shadow: 0 0 40px rgba(250, 204, 21, 0.5);
  animation: hpKazanma 1.2s ease infinite alternate;
}
@keyframes hpKazanma {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); box-shadow: 0 0 60px rgba(250, 204, 21, 0.8); }
}

/* Oylama butonları – izleyici ekranı */
.hp-oy-butonlari {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.hp-oy-butonlari .vote-btn-large {
  min-width: 140px;
  padding: 30px 20px;
  font-size: 1.5rem;
}

/* Kilitleme (sıra yayıncıdayken) */
.hp-kilitli .hp-kart.aktif {
  cursor: not-allowed;
  opacity: 0.6;
}
.hp-kilitli .hp-kart.aktif:hover {
  transform: none;
  box-shadow: none;
}

/* ========================================================
   GİRİŞ/KAYIT OVERLAY (GLASSMORPHISM)
   ======================================================== */
.auth-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: authFadeIn 0.5s ease;
}
.auth-overlay.hidden {
  display: none;
}
@keyframes authFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.auth-glass-panel {
  background: rgba(26, 26, 30, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  padding: 40px 35px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.1);
  animation: authPanelIn 0.6s ease;
}
body.light-theme .auth-glass-panel {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(139, 92, 246, 0.2);
}
@keyframes authPanelIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 4px;
}
.auth-tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.auth-tab-btn.active {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.auth-tab-btn:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.auth-form {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.auth-form.active {
  display: flex;
}
.auth-icon {
  font-size: 3rem;
  margin-bottom: 5px;
}
.auth-form h2 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin: 0;
}
.auth-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.auth-input-group {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}
body.light-theme .auth-input-group {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}
.auth-input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}
.auth-input-group i {
  color: var(--text-secondary);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}
.auth-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
}
.auth-input-group input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}
.auth-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-color), #7c3aed);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}
.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}
.auth-btn:active {
  transform: translateY(0);
}
.auth-msg {
  font-size: 0.85rem;
  min-height: 20px;
  color: var(--text-secondary);
  text-align: center;
}
.auth-guest-section {
  margin-top: 20px;
  text-align: center;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
body.light-theme .auth-divider::before,
body.light-theme .auth-divider::after {
  background: rgba(0, 0, 0, 0.1);
}
.auth-guest-btn {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body.light-theme .auth-guest-btn {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.03);
}
.auth-guest-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--accent-color);
}
body.light-theme .auth-guest-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ========================================================
   MODÜLER MAĞAZA SİSTEMİ
   ======================================================== */
.shop-sp-display {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 25px;
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
}
.shop-sp-display strong {
  color: #facc15;
  font-size: 1.4rem;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.shop-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.shop-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.shop-card:hover::before {
  opacity: 1;
}
.shop-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}
.shop-card-icon {
  font-size: 3rem;
  margin-bottom: 5px;
}
.shop-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.shop-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  min-height: 40px;
}
.shop-card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #facc15;
  margin: 5px 0;
}
.shop-card-price span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.shop-card-btn {
  padding: 10px 28px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent-color), #7c3aed);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  margin-top: 5px;
}
.shop-card-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}
.shop-card-btn:active {
  transform: scale(0.95);
}
.shop-card-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}
.shop-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.shop-card.owned {
  border-color: var(--success-color);
}
.shop-card.owned .shop-card-btn {
  background: var(--success-color);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.shop-purchase-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.shop-purchase-modal.show {
  display: flex;
}
.shop-purchase-content {
  background: var(--bg-secondary);
  border: 2px solid var(--accent-color);
  border-radius: 24px;
  padding: 40px 35px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  animation: shopPurchaseIn 0.5s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
@keyframes shopPurchaseIn {
  0% { transform: scale(0.5) rotate(-5deg); opacity: 0; }
  60% { transform: scale(1.05) rotate(1deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.shop-purchase-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  animation: shopBounce 0.6s ease infinite alternate;
}
@keyframes shopBounce {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
.shop-purchase-content h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.shop-purchase-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ========================================================
   SICAK PATATES – CHAT OYLAMA SÜRESİ (30 SANİYE)
   ======================================================== */
.hp-chat-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-primary);
  border: 2px solid #facc15;
  border-radius: 30px;
  padding: 8px 20px;
  margin: 10px auto;
  max-width: 280px;
  animation: hpChatTimerPulse 1s ease infinite alternate;
}
@keyframes hpChatTimerPulse {
  from { box-shadow: 0 0 10px rgba(250, 204, 21, 0.2); }
  to { box-shadow: 0 0 25px rgba(250, 204, 21, 0.4); }
}
.hp-chat-timer .hp-chat-timer-icon {
  font-size: 1.3rem;
}
.hp-chat-timer .hp-chat-timer-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #facc15;
}
.hp-chat-timer .hp-chat-timer-count {
  font-size: 1.5rem;
  font-weight: 900;
  color: #facc15;
  font-variant-numeric: tabular-nums;
  min-width: 30px;
  text-align: center;
}
.hp-chat-timer.warning {
  border-color: var(--danger-color);
  animation: hpChatTimerDanger 0.5s ease infinite alternate;
}
@keyframes hpChatTimerDanger {
  from { box-shadow: 0 0 10px rgba(239, 68, 68, 0.3); border-color: var(--danger-color); }
  to { box-shadow: 0 0 30px rgba(239, 68, 68, 0.6); border-color: #ff6b6b; }
}
.hp-chat-timer.warning .hp-chat-timer-text,
.hp-chat-timer.warning .hp-chat-timer-count {
  color: var(--danger-color);
}

/* ========================================================
   ADMIN PANELİ – KULLANICI YÖNETİMİ
   ======================================================== */
.admin-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  margin-top: 20px;
}
.admin-panel h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}
.admin-user-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.admin-user-table th {
  text-align: left;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border-color);
  padding: 12px 10px;
  font-weight: 600;
  font-size: 0.9rem;
}
.admin-user-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.admin-user-table tr:last-child td { border-bottom: none; }
.admin-user-table tr:hover td { background: var(--bg-card-hover); }
.admin-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
  background: var(--bg-primary);
}
.admin-user-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px dashed var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
}
.admin-user-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-user-name input {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  width: 140px;
}
.admin-user-name input:focus {
  border-color: var(--accent-color);
  outline: none;
}
.admin-btn-sm {
  padding: 5px 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
}
.admin-btn-sm.save { background: var(--success-color); }
.admin-btn-sm.save:hover { background: #059669; }
.admin-btn-sm.ban { background: #f59e0b; }
.admin-btn-sm.ban:hover { background: #d97706; }
.admin-btn-sm.unban { background: var(--success-color); }
.admin-btn-sm.unban:hover { background: #059669; }
.admin-btn-sm.delete { background: var(--danger-color); }
.admin-btn-sm.delete:hover { background: #dc2626; }
.admin-sp-badge {
  color: #facc15;
  font-weight: 700;
  font-size: 1.1rem;
}
.admin-ban-badge {
  display: inline-block;
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger-color);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}
.admin-ban-input {
  width: 80px;
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.8rem;
  margin-right: 4px;
}
.admin-ban-input:focus {
  border-color: var(--accent-color);
  outline: none;
}
.admin-msg {
  text-align: center;
  color: var(--text-secondary);
  padding: 20px;
  font-size: 1rem;
}
.admin-refresh-btn {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 15px;
  transition: all 0.2s;
}
.admin-refresh-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

/* ========================================================
   ODAYA KATIL GLASSMORPHISM MODAL
   ======================================================== */
.oda-katil-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  justify-content: center;
  align-items: center;
  animation: authFadeIn 0.4s ease;
}
.oda-katil-modal.show {
  display: flex;
}
.oda-katil-panel {
  background: rgba(26, 26, 30, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 28px;
  padding: 40px 35px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(139, 92, 246, 0.1);
  animation: authPanelIn 0.5s ease;
  position: relative;
}
body.light-theme .oda-katil-panel {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(139, 92, 246, 0.2);
}
.oda-katil-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}
.oda-katil-close-btn:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}
.oda-katil-icon {
  font-size: 3.5rem;
  margin-bottom: 10px;
}
.oda-katil-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.oda-katil-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.5;
}
.oda-katil-input-group {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
  transition: all 0.3s ease;
}
body.light-theme .oda-katil-input-group {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}
.oda-katil-input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.15);
}
.oda-katil-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  padding: 10px 0;
}
.oda-katil-input-group input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}
.oda-katil-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-color), #7c3aed);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
  white-space: nowrap;
}
.oda-katil-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}
.oda-katil-btn:active {
  transform: translateY(0);
}
.oda-katil-msg {
  margin-top: 15px;
  font-size: 0.85rem;
  min-height: 22px;
  color: var(--text-secondary);
}

/* ========================================================
   YASAL ONAY KUTULARI (CHECKBOX) – KAYIT FORMU
   ======================================================== */
.auth-checkbox-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 5px 0 10px 0;
}
.auth-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.auth-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 2px;
  position: relative;
}
body.light-theme .auth-checkbox {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.03);
}
.auth-checkbox:checked {
  background: var(--accent-color);
  border-color: var(--accent-color);
}
.auth-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.auth-checkbox-text {
  flex: 1;
}
.auth-policy-link {
  color: var(--accent-color);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}
.auth-policy-link:hover {
  color: #facc15;
  text-decoration: none;
}

/* ========================================================
   YASAL POLİTİKA MODALLARI (GLASSMORPHISM)
   ======================================================== */
.policy-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  animation: authFadeIn 0.4s ease;
}
.policy-modal.show {
  display: flex;
}
.policy-modal-content {
  background: rgba(26, 26, 30, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 35px 30px;
  max-width: 640px;
  width: 92%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(139, 92, 246, 0.1);
  animation: authPanelIn 0.5s ease;
  position: relative;
}
body.light-theme .policy-modal-content {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(139, 92, 246, 0.2);
}
.policy-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  z-index: 10;
}
.policy-modal-close:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}
.policy-modal-header {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-color);
  text-align: center;
}
.policy-modal-body {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.policy-modal-body p {
  margin-bottom: 14px;
}
.policy-modal-body strong {
  color: var(--text-primary);
}
.policy-modal-close-btn {
  display: block;
  margin: 0 auto;
  padding: 12px 40px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-color), #7c3aed);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}
.policy-modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}
/* Scrollbar styling for modal body */
.policy-modal-content::-webkit-scrollbar {
  width: 6px;
}
.policy-modal-content::-webkit-scrollbar-track {
  background: transparent;
}
.policy-modal-content::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

/* ========================================================
   PREMIUM SP PUAN PANELİ (SOL MENÜ ALTI)
   ======================================================== */
.sp-display {
  margin-top: auto;
  padding: 18px 15px;
  background: rgba(26, 26, 30, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}
.sp-display:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}
.sp-panel-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: spGlowPulse 3s ease-in-out infinite alternate;
}
@keyframes spGlowPulse {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.1); }
}
.sp-panel-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.sp-panel-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
  position: relative;
  z-index: 1;
  animation: spValueGlow 2s ease-in-out infinite alternate;
}
@keyframes spValueGlow {
  0% { filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.3)); }
  100% { filter: drop-shadow(0 0 15px rgba(250, 204, 21, 0.6)); }
}

/* ========================================================
   HAKKIMIZDA SEKMESİ – BUZLU CAM PANEL
   ======================================================== */
.about-glass-panel {
  position: relative;
  background: rgba(26, 26, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
body.light-theme .about-glass-panel {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(139, 92, 246, 0.15);
}
.about-glass-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: aboutGlow 4s ease-in-out infinite alternate;
}
@keyframes aboutGlow {
  0% { opacity: 0.3; transform: translate(0, 0); }
  100% { opacity: 0.7; transform: translate(5%, 5%); }
}
.about-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  animation: aboutIconBounce 2s ease-in-out infinite;
}
@keyframes aboutIconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.about-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.about-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-content p:last-child {
  margin-bottom: 0;
}
.about-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.about-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-color);
}
.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========================================================
   DESTEK SEKMESİ – RAPORLAMA VE İLETİŞİM
   ======================================================== */
.support-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 768px) {
  .support-container {
    grid-template-columns: 1fr;
  }
}
.support-glass-panel {
  position: relative;
  background: rgba(26, 26, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
body.light-theme .support-glass-panel {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(139, 92, 246, 0.15);
}
.support-glass-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.support-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.support-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.support-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  line-height: 1.5;
}
.support-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}
body.light-theme .support-input-group {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}
.support-input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}
.support-input-group i {
  color: var(--text-secondary);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}
.support-input-group input,
.support-input-group textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}
.support-input-group input::placeholder,
.support-input-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}
.support-textarea-group {
  align-items: flex-start;
}
.support-textarea-group i {
  margin-top: 4px;
}
.support-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-color), #7c3aed);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
  position: relative;
  z-index: 1;
}
.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}
.support-btn:active {
  transform: translateY(0);
}
.support-msg {
  margin-top: 15px;
  font-size: 0.85rem;
  min-height: 22px;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* İletişim Bilgileri Paneli */
.support-contact-panel {
  position: relative;
  background: rgba(26, 26, 30, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
body.light-theme .support-contact-panel {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(139, 92, 246, 0.1);
}
.support-contact-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.support-contact-icon {
  font-size: 3rem;
  position: relative;
  z-index: 1;
}
.support-contact-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.support-contact-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}
.support-contact-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 20px;
  width: 100%;
  max-width: 300px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
body.light-theme .support-contact-placeholder {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}
.support-contact-placeholder:hover {
  border-color: var(--accent-color);
  background: rgba(139, 92, 246, 0.05);
}
.support-contact-placeholder i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* ========================================================
   HAKKIMIZDA SEKMESİ – GLASSMORPHISM PANEL
   ======================================================== */
.about-glass-panel {
  position: relative;
  background: rgba(26, 26, 30, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 32px;
  padding: 60px 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
body.light-theme .about-glass-panel {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(139, 92, 246, 0.1);
}
.about-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: aboutGlow 4s ease-in-out infinite alternate;
}
@keyframes aboutGlow {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.1); }
}
.about-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  animation: aboutBall 2s ease-in-out infinite;
}
@keyframes aboutBall {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}
.about-title {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #8b5cf6, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.about-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #f43f5e);
  border-radius: 4px;
  margin: 0 auto 25px;
  position: relative;
  z-index: 1;
}
.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 35px;
  position: relative;
  z-index: 1;
  text-align: justify;
  font-weight: 400;
  letter-spacing: 0.3px;
}
body.light-theme .about-text {
  color: #374151;
}
.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 16px;
  padding: 12px 20px;
  transition: all 0.3s ease;
}
body.light-theme .about-feature-item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(139, 92, 246, 0.1);
}
.about-feature-item:hover {
  border-color: var(--accent-color);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}
.about-feature-icon {
  font-size: 1.5rem;
}
.about-feature-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ========================================================
   DESTEK SEKMESİ – GLASSMORPHISM PANEL
   ======================================================== */
.support-glass-panel {
  position: relative;
  background: rgba(26, 26, 30, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 32px;
  padding: 50px 40px;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
body.light-theme .support-glass-panel {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(139, 92, 246, 0.1);
}
.support-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.support-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.support-header-icon {
  font-size: 3.5rem;
  margin-bottom: 10px;
}
.support-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.support-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.support-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.support-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 4px 16px;
  transition: all 0.3s ease;
}
body.light-theme .support-input-group {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}
.support-input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}
.support-input-group i {
  color: var(--accent-color);
  font-size: 1.1rem;
  min-width: 20px;
}
.support-input-group input,
.support-input-group select,
.support-input-group textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  padding: 14px 0;
  font-family: inherit;
}
.support-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b5cf6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px !important;
}
.support-input-group select option {
  background: #1a1a1e;
  color: #fff;
}
body.light-theme .support-input-group select option {
  background: #fff;
  color: #111;
}
.support-input-group input::placeholder,
.support-input-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}
.support-textarea-group {
  align-items: flex-start;
}
.support-textarea-group i {
  margin-top: 16px;
}
.support-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-color), #7c3aed);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 25px rgba(139, 92, 246, 0.3);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(139, 92, 246, 0.4);
}
.support-btn:active {
  transform: translateY(0);
}
.support-msg {
  margin-top: 10px;
  font-size: 0.9rem;
  min-height: 24px;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: 600;
}

/* İletişim Bilgileri Paneli */
.support-contact-panel {
  position: relative;
  background: rgba(26, 26, 30, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 24px;
  padding: 40px 30px;
  margin-top: 30px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
body.light-theme .support-contact-panel {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(139, 92, 246, 0.1);
}
.support-contact-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.support-contact-icon {
  font-size: 3rem;
  position: relative;
  z-index: 1;
}
.support-contact-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.support-contact-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}
.support-contact-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 20px;
  width: 100%;
  max-width: 300px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
body.light-theme .support-contact-placeholder {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
}
.support-contact-placeholder:hover {
  border-color: var(--accent-color);
  background: rgba(139, 92, 246, 0.05);
}
.support-contact-placeholder i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* ========================================================
   HESAP PANELİ (Giriş/Kayıt Butonları)
   ======================================================== */
.account-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.account-panel-content h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.account-panel-content p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-size: 1rem;
}
.account-panel-options {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.account-panel-options .btn-main {
  padding: 14px 35px;
  font-size: 1.05rem;
  border-radius: 14px;
  min-width: 160px;
  transition: all 0.3s ease;
}
.account-panel-options .btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

/* ========================================================
   ÖZEL 404 HATA SAYFASI
   ======================================================== */
.error-404-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: authFadeIn 0.5s ease;
}
.error-404-container {
  position: relative;
  text-align: center;
  padding: 60px 40px;
  max-width: 550px;
  width: 90%;
}
.error-404-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: error404Glow 3s ease-in-out infinite alternate;
}
@keyframes error404Glow {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.15); }
}
.error-404-code {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #8b5cf6, #f43f5e, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  animation: error404CodePulse 2s ease-in-out infinite alternate;
}
@keyframes error404CodePulse {
  0% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3)); }
  100% { filter: drop-shadow(0 0 30px rgba(244, 63, 94, 0.5)); }
}
.error-404-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  animation: error404Ball 1.5s ease-in-out infinite;
}
@keyframes error404Ball {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(-10deg); }
  75% { transform: translateY(-15px) rotate(10deg); }
}
.error-404-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}
.error-404-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.error-404-btn {
  padding: 16px 40px;
  border: none;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}
.error-404-btn:hover {
  background: rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
}
.error-404-btn:active {
  transform: translateY(0);
}

/* ========================================================
   KARAKTER KARTLARI – GÖRSEL ALTYAPI (PLACEHOLDER)
   ======================================================== */

.hp-kart-img {

  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
  background: var(--bg-secondary);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.hp-kart:hover .hp-kart-img {
  border-color: var(--accent-color);
  transform: scale(1.05);
}
.hp-kart.kazanan .hp-kart-img {
  border-color: #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}
.hp-kart-img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card-hover));
  border: 3px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ========================================================
   KÜRSÜ (TRIBUNAL) – YENİ MODERN TASARIM
   ======================================================== */

/* Turnuva Kartları – Premium Glassmorphism (GÜNCELLENMİŞ) */
.tribunal-character-card {
  position: relative;
  flex: 1 1 220px;
  background: rgba(26, 26, 30, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  padding: 25px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
body.light-theme .tribunal-character-card {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(139, 92, 246, 0.2);
}

.tribunal-character-card:hover {
  transform: scale(1.05) translateY(-4px);
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 16px 50px rgba(139, 92, 246, 0.3), 0 0 40px rgba(139, 92, 246, 0.12);
}

.tribunal-character-card:active {
  transform: scale(0.96);
}

.tribunal-character-card .tribunal-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tribunal-character-card:hover .tribunal-card-glow {
  opacity: 1;
}

/* KARE FOTOĞRAF (YUVARLAK DEĞİL) */
.tribunal-character-card .character-image-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(139, 92, 246, 0.35);
  transition: all 0.4s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tribunal-character-card:hover .character-image-wrapper {
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.35);
  transform: scale(1.06);
}

.tribunal-character-card .character-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tribunal-character-card .character-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tribunal-character-card .character-scandals {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-height: 90px;
  overflow-y: auto;
  padding: 0 6px;
  text-align: center;
}

.tribunal-character-card .character-scandals li {
  list-style: none;
  margin-bottom: 5px;
  padding: 5px 8px;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 10px;
  border-left: 3px solid rgba(139, 92, 246, 0.35);
  font-size: 0.78rem;
}

/* Seçilen kart animasyonu */
.tribunal-character-card.selected {
  border-color: #a78bfa !important;
  box-shadow: 0 0 45px rgba(139, 92, 246, 0.4), 0 12px 48px rgba(139, 92, 246, 0.25);
  animation: tribunalSelected 0.5s ease;
}

@keyframes tribunalSelected {
  0% { transform: scale(1); }
  30% { transform: scale(1.08); }
  60% { transform: scale(0.97); }
  100% { transform: scale(1.04); }
}

/* Elenen kart animasyonu */
.tribunal-character-card.eliminated {
  animation: tribunalEliminated 0.6s ease forwards;
  pointer-events: none;
}

@keyframes tribunalEliminated {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9) rotate(3deg); filter: blur(2px); }
  100% { opacity: 0; transform: scale(0.5) rotate(5deg); filter: blur(8px); }
}

/* VS Badge */
.tribunal-vs-badge {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  color: var(--accent-color);
  text-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
  animation: vsPulse 2s ease-in-out infinite;
}

@keyframes vsPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Match Header */
.tribunal-match-header {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 18px;
  padding: 10px 18px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 14px;
  border: 1px solid rgba(139, 92, 246, 0.18);
  letter-spacing: 0.5px;
}

/* Match Area */
.tribunal-match-area {
  background: rgba(26, 26, 30, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 28px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Feedback */
.tribunal-feedback {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  min-height: 30px;
  margin-top: 18px;
  color: var(--text-secondary);
  padding: 10px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.06);
}

/* Bracket Tree (GÜNCELLENMİŞ) */
.tribunal-bracket-tree {
  margin-top: 28px;
  background: rgba(26, 26, 30, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: 28px;
  padding: 28px;
}

.tribunal-tree-container {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  overflow-x: auto;
  padding: 10px 0;
}

.tribunal-tree-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 16px;
  padding: 18px 14px;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.tribunal-tree-item .round {
  font-weight: bold;
  font-size: 0.85rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.tribunal-tree-item .match-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.tree-match {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(139, 92, 246, 0.06);
}

.tree-match .winner {
  color: #a78bfa;
  font-weight: 700;
}

.tree-match .pending {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

/* Bracket Header */
.tribunal-bracket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.tribunal-bracket-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.tribunal-bracket-header .back-btn {
  padding: 6px 20px;
  font-size: 0.9rem;
}

/* Winner Screen (GÜNCELLENMİŞ) */
#tribunal-winner {
  background: rgba(26, 26, 30, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 2px solid rgba(167, 139, 250, 0.35) !important;
  border-radius: 32px !important;
  box-shadow: 0 25px 70px rgba(139, 92, 246, 0.15);
  animation: winnerReveal 0.8s ease;
  padding: 50px 40px !important;
}

#tribunal-winner-img {
  width: 140px !important;
  height: 140px !important;
  border-radius: 16px !important;
  object-fit: cover !important;
  border: 4px solid rgba(167, 139, 250, 0.5) !important;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
  margin: 20px 0 !important;
}

@keyframes winnerReveal {
  0% { opacity: 0; transform: scale(0.8); }
  50% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Eski tribunal stillerini geçersiz kıl */
.tribunal-character-card.left,
.tribunal-character-card.right {
  border-color: rgba(139, 92, 246, 0.25) !important;
}

.tribunal-character-card.left:hover,
.tribunal-character-card.right:hover {
  border-color: rgba(139, 92, 246, 0.7) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .tribunal-characters {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .tribunal-vs-badge {
    transform: rotate(90deg);
  }
  .tribunal-character-card {
    min-height: 280px;
    padding: 20px 15px;
  }
  .tribunal-character-card .character-image-wrapper {
    width: 100px;
    height: 100px;
  }
  .tribunal-tree-container {
    flex-direction: column;
    align-items: center;
  }
}


