/* TUĞRA BİLGİ YARIŞMASI - AMBİYANS VE TEMA SİSTEMİ */

:root {
    --primary: #ff003c;
    --primary-rgb: 255, 0, 60;
    --primary-glow: rgba(255, 0, 60, 0.4);
    --secondary: #0a0103;
    --bg-dark: #0a0204;
    --card-bg: rgba(20, 4, 8, 0.55);
    --card-border: rgba(255, 0, 60, 0.18);
    --neon-green: #39ff14;
    --neon-blue: #00f0ff;
    --text-white: #fefefe;
    --text-muted: #b8b0b2;
    --font-primary: 'Outfit', sans-serif;
}

/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* DİNAMİK ARKA PLAN EFEKTLERİ */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #20040a 0%, #030001 100%);
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: #000 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="15" r="0.8" fill="white" opacity="0.6"/><circle cx="50" cy="30" r="1.2" fill="white" opacity="0.8"/><circle cx="85" cy="15" r="0.6" fill="white" opacity="0.5"/><circle cx="30" cy="70" r="1" fill="white" opacity="0.7"/><circle cx="70" cy="80" r="0.8" fill="white" opacity="0.6"/></svg>') repeat;
    opacity: 0.25;
    animation: move-background 150s linear infinite;
}

@keyframes move-background {
    from { transform: translate(0, 0); }
    to { transform: translate(-50%, -50%); }
}

.glow-orb {
    position: absolute;
    top: 20%;
    left: 70%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    animation: orb-drift 12s ease-in-out infinite;
}

@keyframes orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 40px) scale(1.1); }
}

/* GÖRKEMLİ HEADER */
.main-header {
    background: rgba(12, 2, 4, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: 2px;
}

.header-logo i {
    color: var(--primary);
    font-size: 2rem;
    filter: drop-shadow(0 0 8px var(--primary));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-4px) rotate(5deg); }
}

.header-logo .accent {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
}

.header-nav {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 0, 60, 0.08);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.05);
}

.login-pill {
    background: linear-gradient(135deg, var(--primary) 0%, #a30026 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.login-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 60, 0.6) !important;
}

.logout-btn {
    color: #ff3366 !important;
    background: rgba(255, 51, 102, 0.05);
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.logout-btn:hover {
    background: rgba(255, 51, 102, 0.15) !important;
}

/* User Badges & Stats inside navbar */
.nav-stats-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pill-label {
    color: #aaa;
    font-weight: 500;
}

.pill-val {
    color: #fff;
    font-weight: 800;
}

.text-warning { color: #ffb703; }
.text-star { color: #ffd166; }

/* Audio Controller Button */
.audio-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s;
}

.audio-toggle-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* MOBILE TOGGLE */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* MAIN STRUCTURE */
.main-content {
    flex: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 25px;
}

/* HOME PAGE (ANA SAYFA) DESIGN */
.home-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

/* Modern Slider / Manşet */
.slider-container {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.slider-container::before {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.08) 0%, rgba(0, 0, 0, 0) 75%);
    pointer-events: none;
}

.slider-slide {
    animation: slideFade 0.6s ease;
}

@keyframes slideFade {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.slider-slide h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 50%, #ff6688 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider-slide p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 550px;
}

/* Dev Play Button */
.btn-play-hero {
    background: linear-gradient(135deg, #ff003c 0%, #aa0024 100%);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    align-self: flex-start;
    box-shadow: 0 8px 30px rgba(255, 0, 60, 0.5), 0 0 0 5px rgba(255, 0, 60, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: playPulse 2s infinite;
}

@keyframes playPulse {
    0% { box-shadow: 0 8px 30px rgba(255, 0, 60, 0.5), 0 0 0 0px rgba(255, 0, 60, 0.3); }
    70% { box-shadow: 0 8px 30px rgba(255, 0, 60, 0.5), 0 0 0 15px rgba(255, 0, 60, 0); }
    100% { box-shadow: 0 8px 30px rgba(255, 0, 60, 0.5), 0 0 0 0px rgba(255, 0, 60, 0); }
}

.btn-play-hero:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 0, 60, 0.7), 0 0 0 8px rgba(255, 0, 60, 0.2);
}

/* Stats panel (Active players) */
.hero-stats-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    height: 380px;
}

.pulse-circle {
    width: 90px;
    height: 90px;
    background: rgba(255, 0, 60, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary);
    box-shadow: 0 0 25px var(--primary-glow);
    margin-bottom: 25px;
    position: relative;
}

.pulse-circle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ripple 2s linear infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hero-stats-panel h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hero-stats-panel .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
}

.hero-stats-panel p {
    font-size: 0.9rem;
    color: var(--neon-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Success Ticker Banner */
.success-ticker-container {
    background: rgba(255, 0, 60, 0.05);
    border: 1px solid rgba(255, 0, 60, 0.15);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 50px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.success-ticker-container::before,
.success-ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.success-ticker-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, rgba(0,0,0,0) 100%);
}

.success-ticker-container::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark) 0%, rgba(0,0,0,0) 100%);
}

.ticker-wrap {
    display: inline-block;
    animation: ticker-slide 30s linear infinite;
}

@keyframes ticker-slide {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 35px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.ticker-item i {
    color: #ffb703;
    animation: rotateGold 3s linear infinite;
}

@keyframes rotateGold {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* LEADERBOARD & RANKINGS SYSTEM */
.leaderboard-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.leaderboard-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.leaderboard-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.leaderboard-card h2 i {
    color: #ffb703;
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.4);
}

/* Podium Design for Top 3 */
.podium-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-end;
}

.podium-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

.podium-box:hover {
    transform: translateY(-5px);
}

.podium-1 {
    height: 240px;
    border-color: rgba(255, 183, 3, 0.4);
    background: linear-gradient(180deg, rgba(255, 183, 3, 0.08) 0%, rgba(0, 0, 0, 0) 100%);
    grid-order: 2;
}

.podium-2 {
    height: 200px;
    border-color: rgba(192, 192, 192, 0.3);
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.06) 0%, rgba(0, 0, 0, 0) 100%);
}

.podium-3 {
    height: 180px;
    border-color: rgba(205, 127, 50, 0.3);
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.06) 0%, rgba(0, 0, 0, 0) 100%);
}

.podium-badge {
    position: absolute;
    top: -20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.podium-1 .podium-badge { background: #ffb703; color: #000; }
.podium-2 .podium-badge { background: #c0c0c0; color: #000; }
.podium-3 .podium-badge { background: #cd7f32; color: #000; }

.podium-username {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #fff;
}

.podium-points {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.podium-rank {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: 50px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 4px;
}

.podium-rank i {
    font-size: 0.8rem;
    color: #ffd166;
}

/* Leaderboard List (Rows 4-100) */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leader-row {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    padding: 15px 25px;
    display: grid;
    grid-template-columns: 60px 1fr 150px 180px;
    align-items: center;
    transition: all 0.3s;
}

.leader-row:hover {
    background: rgba(255, 0, 60, 0.03);
    border-color: rgba(255, 0, 60, 0.15);
    transform: scale(1.01);
}

.leader-pos {
    font-weight: 800;
    font-size: 1.1rem;
    color: #888;
}

.leader-row.top10 .leader-pos {
    color: #ffd166;
    text-shadow: 0 0 8px rgba(255, 209, 102, 0.3);
}

.leader-username {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.leader-score {
    font-weight: 800;
    color: var(--primary);
}

.leader-rank-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ddd;
    justify-self: flex-start;
}

.leader-rank-badge.mareşal {
    border-color: rgba(255, 0, 60, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.1);
    color: #ff3366;
}

/* PREMIUM WARRIOR DASHBOARD (SAVAŞÇI OYUN MASASI) */
.user-dashboard-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    margin-bottom: 50px;
}

.dash-card {
    background: linear-gradient(135deg, rgba(20, 4, 8, 0.65) 0%, rgba(12, 2, 4, 0.85) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Kimlik Kartı */
.identity-card {
    grid-column: 1 / 2;
}

.dash-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.dash-avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 0, 60, 0.08);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.15);
}

.dash-avatar-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary-glow);
    animation: pulseAvatar 2s infinite;
}

@keyframes pulseAvatar {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
}

.rank-avatar-icon {
    font-size: 2.3rem;
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary));
}

.dash-user-meta .warrior-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 4px;
}

.dash-user-meta h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
}

.dash-rank-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffd166;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.dash-rank-progress-container {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 20px;
}

.dash-progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.dash-progress-text .progress-percent {
    color: var(--primary);
}

.dash-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #ff3366 100%);
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.5);
    transition: width 0.8s cubic-bezier(0.1, 0.8, 0.25, 1);
}

.dash-progress-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #888;
    margin-top: 8px;
}

.dash-progress-footer strong {
    color: #fff;
}

.dash-progress-footer .gold-text {
    color: #ffd166;
}

/* İstatistik Grubu */
.stats-card-grid {
    grid-column: 2 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dash-stat-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.dash-stat-box:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.03);
}

.dash-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.dash-stat-info .lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.dash-stat-info .val {
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    margin-top: 2px;
}

/* Stat Box Vurgu Renkleri */
.gold-glow .dash-stat-icon { background: rgba(255, 183, 3, 0.1); color: #ffb703; border: 1px solid rgba(255, 183, 3, 0.2); }
.gold-glow:hover { border-color: rgba(255, 183, 3, 0.3); box-shadow: 0 8px 20px rgba(255,183,3,0.08); }

.blue-glow .dash-stat-icon { background: rgba(0, 240, 255, 0.1); color: var(--neon-blue); border: 1px solid rgba(0, 240, 255, 0.2); }
.blue-glow:hover { border-color: rgba(0, 240, 255, 0.3); box-shadow: 0 8px 20px rgba(0,240,255,0.08); }

.green-glow .dash-stat-icon { background: rgba(57, 255, 20, 0.1); color: var(--neon-green); border: 1px solid rgba(57, 255, 20, 0.2); }
.green-glow:hover { border-color: rgba(57, 255, 20, 0.3); box-shadow: 0 8px 20px rgba(57,255,20,0.08); }

.orange-glow .dash-stat-icon { background: rgba(255, 110, 0, 0.1); color: #ff6e00; border: 1px solid rgba(255, 110, 0, 0.2); }
.orange-glow:hover { border-color: rgba(255, 110, 0, 0.3); box-shadow: 0 8px 20px rgba(255,110,0,0.08); }

/* Aksiyon Kartı */
.action-card {
    grid-column: 1 / 3;
    background: linear-gradient(135deg, rgba(20, 4, 8, 0.8) 0%, rgba(45, 5, 15, 0.9) 100%);
    border-color: rgba(255, 0, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    right: -10px; top: -10px; width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.live-indicator-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.2);
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.live-ping {
    width: 8px; height: 8px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.live-text {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--neon-green);
    letter-spacing: 1px;
}

.action-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.action-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 700px;
}

.dash-action-buttons {
    display: flex;
    gap: 15px;
}

.btn-dash-action-play {
    background: linear-gradient(135deg, var(--primary) 0%, #a30026 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(255, 0, 60, 0.5);
    transition: all 0.3s;
    animation: dashPlayPulse 2s infinite;
}

@keyframes dashPlayPulse {
    0% { box-shadow: 0 5px 20px rgba(255, 0, 60, 0.5), 0 0 0 0px rgba(255, 0, 60, 0.3); }
    70% { box-shadow: 0 5px 20px rgba(255, 0, 60, 0.5), 0 0 0 10px rgba(255, 0, 60, 0); }
    100% { box-shadow: 0 5px 20px rgba(255, 0, 60, 0.5), 0 0 0 0px rgba(255, 0, 60, 0); }
}

.btn-dash-action-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 60, 0.7);
    filter: brightness(1.1);
}

.btn-dash-action-profile {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-dash-action-profile:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
}

/* EŞSİZ GİRİŞ PANELİ (PROFESSIONAL GLASSMORPHISM) */
.auth-container {
    max-width: 460px;
    margin: 60px auto;
    position: relative;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -30px; left: -30px; width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.3) 0%, rgba(0,0,0,0) 70%);
    filter: blur(20px);
    pointer-events: none;
    animation: driftOrb 10s ease-in-out infinite;
}

.auth-container::after {
    content: '';
    position: absolute;
    bottom: -30px; right: -30px; width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, rgba(0,0,0,0) 70%);
    filter: blur(30px);
    pointer-events: none;
    animation: driftOrb 12s ease-in-out infinite reverse;
}

@keyframes driftOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.15); }
}

.auth-card {
    background: linear-gradient(135deg, rgba(22, 6, 12, 0.85) 0%, rgba(12, 2, 4, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 0, 60, 0.22);
    border-radius: 35px;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.02);
    text-align: center;
    position: relative;
    z-index: 2;
}

.auth-card h2 {
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 0, 60, 0.15));
}

.auth-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 35px;
}

/* OYUN/YARIŞMA EKRANI (GAME ROOM) */
.game-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-top: 20px;
}

.quiz-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    min-height: 520px;
    position: relative;
}

/* Soru Başlığı */
.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.quiz-category-badge {
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid rgba(255, 0, 60, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quiz-timer-wrap {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-svg {
    transform: rotate(-90deg);
    width: 60px;
    height: 60px;
}

.timer-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 4;
}

.timer-circle-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 176;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.1s linear, stroke 0.3s;
}

.timer-text {
    position: absolute;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

/* Soru Metni */
.quiz-question-box {
    margin-bottom: 40px;
    flex: 1;
}

.quiz-question-box h2 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
}

/* Medya Alanı (Resim/Video Soru Desteği) */
.question-media-wrapper {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 250px;
    display: flex;
    justify-content: center;
    background: #050102;
}

.question-media-wrapper img, 
.question-media-wrapper video {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

/* Cevap Şıkları */
.quiz-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 20px 25px;
    text-align: left;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.25s ease;
}

.option-btn:hover:not(:disabled) {
    background: rgba(255, 0, 60, 0.04);
    border-color: rgba(255, 0, 60, 0.3);
    transform: translateY(-2px);
}

.option-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #aaa;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.option-btn:hover:not(:disabled) .option-letter {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Doğru/Yanlış Efekt Renkleri */
.option-btn.correct {
    background: rgba(57, 255, 20, 0.08) !important;
    border-color: var(--neon-green) !important;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.option-btn.correct .option-letter {
    background: var(--neon-green) !important;
    border-color: var(--neon-green) !important;
    color: #000 !important;
}

.option-btn.wrong {
    background: rgba(255, 0, 60, 0.08) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.2);
}

.option-btn.wrong .option-letter {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

/* JOKER PANELİ */
.joker-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.joker-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.joker-card h3 i {
    color: var(--primary);
}

.joker-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.joker-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 15px;
    padding: 15px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.joker-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.joker-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.joker-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 0, 60, 0.1);
    border: 1px solid rgba(255, 0, 60, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.95rem;
}

.joker-name {
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
}

.joker-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.joker-status {
    font-size: 0.75rem;
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.25);
    color: var(--neon-green);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 700;
}

.joker-btn:disabled .joker-status {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    color: #777;
}

/* PROFIL PANELİ */
.profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
}

.profile-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    text-align: center;
}

.profile-avatar-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #300);
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #fff;
}

.profile-rank-badge {
    background: linear-gradient(135deg, #ffd166 0%, #d4a373 100%);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 15px;
    border-radius: 50px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.profile-details h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.profile-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.profile-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 12px;
}

.profile-stat-box .val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.profile-stat-box .lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Medal Showcase */
.medals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.medal-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.medal-icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.1);
}

.medal-gold .medal-icon-circle { background: radial-gradient(circle, #ffe169 0%, #ffb703 100%); color: #000; box-shadow: 0 0 20px rgba(255,183,3,0.3); }
.medal-silver .medal-icon-circle { background: radial-gradient(circle, #e9ecef 0%, #adb5bd 100%); color: #000; box-shadow: 0 0 20px rgba(173,181,189,0.3); }
.medal-bronze .medal-icon-circle { background: radial-gradient(circle, #ddb892 0%, #b07d62 100%); color: #000; box-shadow: 0 0 20px rgba(176,125,98,0.3); }

.medal-title {
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.medal-count {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
}

/* FORMS / INPUT GROUPS (Glassmorphic) */
.form-group-glass {
    margin-bottom: 20px;
    text-align: left;
}

.form-group-glass label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.input-glass-wrap {
    position: relative;
}

.input-glass-wrap i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    transition: color 0.3s;
}

.form-control-glass {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 15px 15px 15px 48px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-control-glass:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.2);
}

.form-control-glass:focus + i {
    color: var(--primary);
}

.btn-primary-glass {
    background: linear-gradient(135deg, var(--primary) 0%, #aa0024 100%);
    border: none;
    color: #fff;
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px var(--primary-glow);
    transition: all 0.3s;
}

.btn-primary-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 60, 0.6);
}

/* RESPONSIVE DESIGN (MOBIL UYUMLULUK & YEREL MOBİL UYGULAMA TEMA) */
@media (max-width: 992px) {
    .home-hero {
        grid-template-columns: 1fr;
    }
    
    .game-layout {
        grid-template-columns: 1fr;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 95px !important; /* Alt menü için boşluk */
    }

    .mobile-toggle {
        display: block;
    }

    /* Üst menü sadeleştirme */
    .header-nav {
        display: none !important; /* Mobilde alt menü kullanılacağı için üst menüyü gizle */
    }

    .header-container {
        padding: 10px 15px;
        justify-content: center; /* Başlığı ortala */
    }

    .main-footer-bottom {
        padding-bottom: 110px; /* Footerın alt menü altında kalmasını önle */
    }

    /* MOBİL ALT NAVİGASYON BAR (NATIVE APP FEEL) */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 75px;
        background: rgba(12, 2, 4, 0.96);
        backdrop-filter: blur(25px);
        border-top: 1px solid rgba(255, 0, 60, 0.25);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 0, 60, 0.1);
        z-index: 99999;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: 700;
        transition: all 0.3s;
        position: relative;
        flex: 1;
        height: 100%;
        gap: 4px;
    }

    .mobile-nav-item i {
        font-size: 1.3rem;
        transition: transform 0.2s;
    }

    .mobile-nav-item.active {
        color: var(--primary);
        text-shadow: 0 0 10px rgba(255, 0, 60, 0.4);
    }

    .mobile-nav-item.active i {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px var(--primary));
    }

    /* Ortadaki Havalı Yuvarlak Oyna Butonu */
    .mobile-nav-item.play-nav-action {
        overflow: visible;
    }

    .mobile-play-glowing-btn {
        position: absolute;
        top: -25px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary) 0%, #a30026 100%);
        border: 4px solid #0c0204;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 20px rgba(255, 0, 60, 0.6), 0 0 10px var(--primary-glow);
        color: #fff;
        font-size: 1.5rem;
        transition: transform 0.3s;
        animation: mobilePlayPulse 2s infinite;
    }

    @keyframes mobilePlayPulse {
        0% { box-shadow: 0 5px 20px rgba(255, 0, 60, 0.6), 0 0 0 0px rgba(255, 0, 60, 0.4); }
        70% { box-shadow: 0 5px 20px rgba(255, 0, 60, 0.6), 0 0 0 10px rgba(255, 0, 60, 0); }
        100% { box-shadow: 0 5px 20px rgba(255, 0, 60, 0.6), 0 0 0 0px rgba(255, 0, 60, 0); }
    }

    .mobile-nav-item.play-nav-action.active .mobile-play-glowing-btn,
    .mobile-nav-item.play-nav-action:hover .mobile-play-glowing-btn {
        transform: scale(1.1) translateY(-3px);
        background: linear-gradient(135deg, #ff1a53 0%, var(--primary) 100%);
    }

    /* Mobil Soru Şıkları Tactile Touch Desteği */
    .quiz-options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .option-btn {
        padding: 16px 20px !important;
        font-size: 0.95rem !important;
        border-radius: 16px !important;
        border-width: 2px !important;
    }

    .option-btn:active {
        transform: scale(0.98);
        background: rgba(255, 0, 60, 0.15);
    }

    .quiz-card {
        padding: 20px;
        min-height: auto;
    }

    .podium-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .podium-box {
        height: auto !important;
        padding-top: 35px;
    }
    
    .leader-row {
        grid-template-columns: 40px 1fr 100px;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .leader-rank-badge {
        display: none;
    }
    
    /* Mobil Slayt Manşet İyileştirmesi */
    .slider-container {
        height: 280px;
        padding: 20px;
        border-radius: 20px;
        background-position: center;
        background-size: cover;
    }

    .slider-slide h2 {
        font-size: 1.45rem;
        margin-bottom: 8px;
    }

    .slider-slide p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .btn-play-hero {
        padding: 10px 25px;
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .hero-stats-panel {
        height: 220px;
        border-radius: 20px;
    }

    .pulse-circle {
        width: 60px; height: 60px;
        font-size: 1.5rem;
    }

    .hero-stats-panel .stat-number {
        font-size: 2.2rem;
    }

    /* Mobil Savaşçı Dashboard Duyarlılığı */
    .user-dashboard-hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .identity-card, .stats-card-grid, .action-card {
        grid-column: 1 / 2;
    }

    .stats-card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dash-card {
        padding: 20px;
    }

    .dash-card-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .dash-avatar-wrapper {
        margin: 0 auto;
    }

    .dash-user-meta h2 {
        font-size: 1.5rem;
    }

    .btn-dash-action-play {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .btn-dash-action-profile {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .dash-action-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================================================
   PREMIUM AVATAR VE RESİM YÜKLEME SİSTEMİ
   ========================================================================== */
.profile-avatar-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px auto;
}

.profile-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 0, 60, 0.15) 0%, rgba(12, 2, 4, 0.95) 100%);
    border: 3px solid var(--primary);
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s;
}

.profile-avatar-placeholder {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 0 15px var(--primary-glow);
    animation: placeholderFloat 3s ease-in-out infinite;
}

@keyframes placeholderFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

.avatar-camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 2, 4, 0.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.avatar-camera-overlay i {
    font-size: 1.8rem;
    color: #fff;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.profile-avatar:hover .avatar-camera-overlay {
    opacity: 1;
}

.profile-avatar:hover .avatar-camera-overlay i {
    transform: scale(1);
}

.profile-avatar:hover .profile-avatar-img {
    transform: scale(1.1);
}

/* Cephe Dashboard Avatar */
.dash-avatar-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
}

.dash-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    overflow: hidden;
}

.dash-avatar-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.4) 0%, rgba(255, 0, 60, 0) 70%);
    z-index: -1;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* MOBİL ALT NAVİGASYON VARSAYILAN GİZLEME */
.mobile-bottom-nav {
    display: none;
}

/* ==========================================================================
   GLOWING AND FLOATING USER AVATARS & NICKNAMES
   ========================================================================== */
.hover-elevate {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer;
}

.hover-elevate:hover {
    transform: translateY(-8px) scale(1.06);
    filter: brightness(1.15) contrast(1.05);
}

/* Animated Nicknames with elegant neon colors and metallic gradients */
.animated-nickname {
    background: linear-gradient(90deg, #ffffff 0%, #ff5470 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shinyText 4s linear infinite;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    font-weight: 700;
}

@keyframes shinyText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Podium Profile Picture Rims & Glows */
.podium-avatar-wrap {
    width: 68px;
    height: 68px;
    margin: 0 auto 12px auto;
    position: relative;
    border-radius: 50%;
}

.podium-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid;
    transition: all 0.3s ease;
}

.podium-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

/* Military Ranks pulsers */
.rank-glow-gold i {
    animation: goldGlowPulse 1.5s infinite alternate;
}
.rank-glow-red i {
    animation: redGlowPulse 1.5s infinite alternate;
}

@keyframes goldGlowPulse {
    0% { filter: drop-shadow(0 0 2px rgba(255, 183, 3, 0.4)); }
    100% { filter: drop-shadow(0 0 8px rgba(255, 183, 3, 0.9)); }
}

@keyframes redGlowPulse {
    0% { filter: drop-shadow(0 0 2px rgba(230, 57, 70, 0.4)); }
    100% { filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.9)); }
}

/* Leaderboard List Avatars and Styling */
.leader-row-avatar-wrap {
    margin-right: 12px;
    transition: all 0.3s ease;
}

.leader-row-avatar-wrap:hover {
    transform: scale(1.15) rotate(5deg);
}

/* Charts responsiveness */
@media (max-width: 768px) {
    .charts-container-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 20px !important;
    }
}

/* ==========================================================================
   PREMIUM GLASSMORPHIC FOOTER STYLES & SIGNATURE
   ========================================================================== */
.main-footer-bottom {
    background: linear-gradient(180deg, rgba(12, 2, 4, 0.4) 0%, rgba(9, 2, 4, 0.98) 100%);
    border-top: 1px solid rgba(255, 0, 60, 0.15);
    padding: 50px 0 35px 0;
    margin-top: 60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 -15px 40px rgba(0,0,0,0.9);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-branding {
    text-align: center;
}

.footer-logo-icon {
    font-size: 2.2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary-glow));
    margin-bottom: 12px;
    animation: pulseLogo 3s ease-in-out infinite;
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(12deg); filter: drop-shadow(0 0 15px rgba(255,0,60,0.85)); }
}

.footer-branding h3 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.footer-branding p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.03);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: #fff;
    background: rgba(255, 0, 60, 0.08);
    border-color: rgba(255, 0, 60, 0.25);
    box-shadow: 0 0 12px rgba(255,0,60,0.25);
    transform: translateY(-2px);
}

.footer-copyright {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
}

.kaman-media-signature {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.kaman-media-signature:hover {
    background: rgba(255, 0, 60, 0.09) !important;
    border-color: rgba(255, 0, 60, 0.45) !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 0, 60, 0.22), 0 0 15px rgba(0,0,0,0.75) !important;
    color: #fff !important;
}

/* ==========================================================================
   KİM MİLYONER OLMAK İSTER - PREMIUM BARAJ VE YARIŞMA ARALIK HUD STİLLERİ
   ========================================================================== */
.run-stats-banner {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.3fr;
    background: linear-gradient(135deg, rgba(20, 4, 8, 0.8) 0%, rgba(30, 2, 6, 0.9) 100%);
    border: 1px solid rgba(255, 0, 60, 0.15);
    border-radius: 20px;
    padding: 15px 25px;
    margin-bottom: 25px;
    gap: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255, 0, 60, 0.02);
}

.run-stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 10px;
}

.run-stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.run-stat-item .lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.run-stat-item .val {
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.run-stat-item.highlight .val {
    color: #ffb703;
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
    animation: goldPulse 2.5s infinite alternate;
}

@keyframes goldPulse {
    0% { filter: drop-shadow(0 0 2px rgba(255, 183, 3, 0.2)); }
    100% { filter: drop-shadow(0 0 8px rgba(255, 183, 3, 0.7)); }
}

.ladder-step {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ladder-step.active-checkpoint {
    background: linear-gradient(90deg, rgba(255, 183, 3, 0.15) 0%, rgba(255, 183, 3, 0.03) 100%) !important;
    border: 1px solid rgba(255, 183, 3, 0.4) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.15);
    transform: scale(1.02) translateX(5px);
}

.ladder-step.active-checkpoint span {
    font-weight: 900;
    color: #ffb703;
}

.ladder-step.passed-checkpoint {
    background: linear-gradient(90deg, rgba(57, 255, 20, 0.08) 0%, rgba(57, 255, 20, 0.01) 100%) !important;
    border: 1px solid rgba(57, 255, 20, 0.3) !important;
    color: #eee !important;
    opacity: 0.85;
}

.ladder-step.passed-checkpoint span {
    text-decoration: line-through;
    color: #a7c957;
}

.ladder-step.passed-checkpoint strong {
    color: #39ff14 !important;
}

.withdraw-btn {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.withdraw-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 133, 0, 0.45) !important;
    background: linear-gradient(135deg, #ffd166 0%, #ff6e00 100%) !important;
    letter-spacing: 0.5px;
}

/* Mobil Uyumlu Düzenlemeler */
@media (max-width: 768px) {
    .run-stats-banner {
        padding: 10px 15px;
        gap: 10px;
    }
    .run-stat-item .lbl {
        font-size: 0.6rem;
        letter-spacing: 0.8px;
    }
    .run-stat-item .val {
        font-size: 0.95rem;
    }
}

