/* ============================================================
   SimitSMP Modern Web Portali - Stil Dosyası
   Tema: Ultra-Modern Minecraft Gaming (Glassmorphism & Neon Amber)
   ============================================================ */

:root {
    --bg-main: #0a0c12;
    --bg-card: rgba(18, 22, 34, 0.75);
    --bg-card-hover: rgba(28, 34, 52, 0.85);
    --bg-glass: rgba(14, 18, 28, 0.82);
    
    --primary: #f59e0b;
    --primary-light: #fbbf24;
    --primary-dark: #d97706;
    --primary-glow: rgba(245, 158, 11, 0.28);
    
    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(245, 158, 11, 0.4);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.2);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 25%, rgba(139, 92, 246, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(10, 12, 18, 0.95) 0%, var(--bg-main) 100%);
    background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1e2433;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    cursor: pointer;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 16px var(--primary-glow);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.05);
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text span {
    color: var(--primary);
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

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

.nav-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* User Widget in Navbar */
.nav-user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 6px 14px 6px 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.nav-user-badge:hover {
    border-color: var(--primary);
    background: rgba(245, 158, 11, 0.08);
}

.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    image-rendering: pixelated;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.nav-user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-emerald {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* --- PAGE CONTAINER & ROUTER --- */
.page-view {
    display: none;
    animation: fadeIn 0.35s ease-out forwards;
    padding: 40px 0 80px;
    flex: 1;
}

.page-view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SECTION HEADERS --- */
.page-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.page-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 20%, var(--primary-light) 60%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ============================================================
   PAGE 1: ANA SAYFA (HOME)
   ============================================================ */
.hero-box {
    text-align: center;
    padding: 40px 20px 50px;
}

.server-ip-box {
    display: inline-flex;
    align-items: center;
    background: rgba(18, 22, 34, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-xl);
    padding: 8px 12px 8px 24px;
    gap: 16px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    transition: var(--transition);
    margin: 28px 0;
}

.server-ip-box:hover {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
}

.ip-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.ip-copy-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    padding: 8px 18px;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mini Showcase on Home */
.home-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(16px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================================
   PAGE 2: SIRALAMALAR & 3D PODYUM (LEADERBOARDS)
   ============================================================ */

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

/* 3D Minecraft Character Podium */
.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    margin: 30px auto 50px;
    max-width: 950px;
    padding: 0 10px;
}

.podium-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.podium-step:hover {
    transform: translateY(-6px);
}

.podium-skin-wrap {
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin-bottom: -15px;
    z-index: 2;
}

.podium-skin-img {
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
    transition: var(--transition);
    image-rendering: pixelated;
}

.podium-step.step-1 .podium-skin-wrap {
    height: 260px;
}

.podium-step.step-1 .podium-skin-img {
    height: 230px;
    filter: drop-shadow(0 15px 25px rgba(245, 158, 11, 0.4));
}

.podium-crown {
    position: absolute;
    top: 5px;
    font-size: 2rem;
    animation: floatCrown 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px gold);
}

@keyframes floatCrown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.podium-pedestal {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px 16px 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

.step-1 .podium-pedestal {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.15), rgba(18, 22, 34, 0.85));
    min-height: 170px;
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.25);
}

.step-2 .podium-pedestal {
    border-color: rgba(148, 163, 184, 0.4);
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.12), rgba(18, 22, 34, 0.85));
    min-height: 140px;
}

.step-3 .podium-pedestal {
    border-color: rgba(205, 127, 50, 0.4);
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.12), rgba(18, 22, 34, 0.85));
    min-height: 120px;
}

.podium-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    color: #000;
}

.step-1 .podium-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.6);
}

.step-2 .podium-badge {
    background: linear-gradient(135deg, #e2e8f0, #94a3b8);
    box-shadow: 0 0 14px rgba(148, 163, 184, 0.6);
}

.step-3 .podium-badge {
    background: linear-gradient(135deg, #f97316, #b45309);
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.6);
}

.podium-player-name {
    font-weight: 800;
    font-size: 1.15rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.podium-player-val {
    font-size: 1rem;
    font-weight: 800;
    margin-top: 4px;
    color: var(--primary);
}

/* Search bar above table */
.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.search-input-box {
    position: relative;
    max-width: 350px;
    width: 100%;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 10px 16px 10px 40px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Modern Leaderboard Table */
.table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table th {
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 20px;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    border-bottom: 1px solid var(--border-glass);
}

.modern-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
    vertical-align: middle;
}

.modern-table tbody tr {
    transition: var(--transition);
    cursor: pointer;
}

.modern-table tbody tr:hover {
    background: rgba(245, 158, 11, 0.05);
}

.rank-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.rank-pill.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.rank-pill.silver {
    background: linear-gradient(135deg, #e2e8f0, #94a3b8);
    color: #000;
}

.rank-pill.bronze {
    background: linear-gradient(135deg, #f97316, #b45309);
    color: #fff;
}

.player-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.player-head-avatar {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    image-rendering: pixelated;
    background: #181d29;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.modern-table tbody tr:hover .player-head-avatar {
    transform: scale(1.15) rotate(4deg);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.player-name-wrap {
    display: flex;
    flex-direction: column;
}

.player-name-text {
    font-weight: 800;
    color: #fff;
}

.player-rank-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ============================================================
   PAGE 3: OYUNCU PROFİLİ (PLAYER PROFILE)
   ============================================================ */
.profile-lookup-box {
    max-width: 600px;
    margin: 0 auto 36px;
    display: flex;
    gap: 12px;
}

.profile-main-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
}

/* Left Skin Showcase Card */
.profile-skin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.profile-skin-card::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.profile-skin-render-wrap {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.profile-skin-3d {
    height: 280px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
    transition: var(--transition);
}

.profile-skin-3d:hover {
    transform: scale(1.05);
}

.profile-player-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 6px;
    z-index: 2;
}

.profile-head-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    z-index: 2;
}

.profile-head-mini {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    image-rendering: pixelated;
}

.profile-skin-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    z-index: 2;
}

/* Right Details Card */
.profile-details-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 22px;
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.stat-tile:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.stat-tile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.stat-tile-icon {
    font-size: 1.5rem;
}

.stat-tile-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.stat-tile-val {
    font-size: 1.8rem;
    font-weight: 900;
}

.kdr-progress-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 22px;
    backdrop-filter: blur(16px);
}

.kdr-bar-wrap {
    height: 12px;
    background: rgba(239, 68, 68, 0.4);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 12px 0 8px;
}

.kdr-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: var(--radius-full);
    transition: width 0.6s ease;
}

.security-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(16px);
}

/* ============================================================
   PAGE 4: MAĞAZA (STORE)
   ============================================================ */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.store-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(16px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.store-card.featured {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(18, 22, 34, 0.85));
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.store-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.store-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.store-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.store-features-list {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.store-features-list li span.check {
    color: var(--accent-emerald);
    font-weight: 800;
}

/* ============================================================
   PAGE 5: REHBER & KURALLAR (GUIDE & RULES)
   ============================================================ */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.rule-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.rule-badge.danger { background: rgba(239, 68, 68, 0.15); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); }
.rule-badge.warning { background: rgba(245, 158, 11, 0.15); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.rule-badge.info { background: rgba(59, 130, 246, 0.15); color: var(--info); border: 1px solid rgba(59, 130, 246, 0.3); }

/* --- MODAL (GİRİŞ / KAYIT / SATIN AL) --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #111522;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    padding: 36px 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.25s ease-out;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: #fff;
}

.modal-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 24px;
}

.modal-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.modal-tab.active {
    background: var(--primary);
    color: #000;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 300;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.toast.show {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease-out;
}

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

.toast-success { background: #065f46; color: #a7f3d0; border: 1px solid #10b981; }
.toast-error { background: #7f1d1d; color: #fecaca; border: 1px solid #ef4444; }

/* --- FOOTER --- */
.footer {
    background: #07090e;
    border-top: 1px solid var(--border-glass);
    padding: 40px 0 30px;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

/* ============================================================
   MOBİL ÖZEL BİLEŞENLER & DOKUNMATİK UI (MOBILE FIRST APPS)
   ============================================================ */

/* Masaüstünde Mobil Elemanları Gizle */
.mobile-header-actions,
.mobile-bottom-bar,
.mobile-drawer,
.mobile-drawer-overlay {
    display: none;
}

/* ============================================================
   RESPONSIVE & MOBİL ÖZEL TASARIM (MAX-WIDTH: 768PX)
   ============================================================ */
@media (max-width: 768px) {
    /* Genel Sayfa & Dokunmatik Alanlar */
    body {
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .container {
        padding: 0 14px;
    }

    /* Masaüstü Nav Elemanlarını Gizle */
    .nav-links,
    .nav-actions {
        display: none !important;
    }

    /* Navbar Mobil Düzeni */
    .navbar {
        height: 60px;
    }

    .nav-container {
        height: 60px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .logo-sub {
        display: none;
    }

    /* Mobil Üst Çubuk Aksiyonları */
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-ip-btn {
        background: rgba(245, 158, 11, 0.12);
        border: 1px solid rgba(245, 158, 11, 0.35);
        color: var(--primary);
        padding: 6px 12px;
        border-radius: var(--radius-full);
        font-size: 0.75rem;
        font-weight: 800;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: var(--transition);
    }

    .mobile-ip-btn:active {
        transform: scale(0.95);
        background: var(--primary);
        color: #000;
    }

    .mobile-menu-trigger {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-glass);
        width: 38px;
        height: 38px;
        border-radius: var(--radius-md);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .mobile-menu-trigger .menu-bar {
        width: 18px;
        height: 2px;
        background: var(--text-main);
        border-radius: 2px;
        transition: var(--transition);
    }

    /* --- MOBİL SABİT ALT MENÜ (BOTTOM APP BAR) --- */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 62px;
        background: rgba(10, 12, 18, 0.94);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 150;
        align-items: center;
        justify-content: space-around;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--text-dim);
        font-size: 0.68rem;
        font-weight: 700;
        cursor: pointer;
        transition: var(--transition);
        padding: 4px 0;
        position: relative;
    }

    .bottom-nav-item .b-icon {
        font-size: 1.25rem;
        margin-bottom: 2px;
        transition: var(--transition);
    }

    .bottom-nav-item.active {
        color: var(--primary);
    }

    .bottom-nav-item.active .b-icon {
        transform: translateY(-2px) scale(1.1);
        filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
    }

    .bottom-nav-item.active::after {
        content: '';
        position: absolute;
        top: 0;
        width: 24px;
        height: 3px;
        background: var(--primary);
        border-radius: 0 0 4px 4px;
        box-shadow: 0 0 10px var(--primary);
    }

    /* Bottom Nav Kullanıcı Kafası */
    .bottom-user-avatar {
        width: 22px;
        height: 22px;
        border-radius: 5px;
        image-rendering: pixelated;
        border: 1px solid var(--primary);
    }

    /* --- MOBİL YAN ÇEKMECE (DRAWER) --- */
    .mobile-drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(6px);
        z-index: 250;
    }

    .mobile-drawer-overlay.active {
        display: block;
    }

    .mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -320px;
        width: 290px;
        height: 100%;
        background: #0f131f;
        border-left: 1px solid var(--border-glass);
        z-index: 260;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 24px 20px;
        overflow-y: auto;
    }

    .mobile-drawer.active {
        right: 0;
    }

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .drawer-close-btn {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--border-glass);
        color: var(--text-muted);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 1rem;
        cursor: pointer;
    }

    .drawer-user-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-md);
        padding: 16px;
        margin-bottom: 20px;
    }

    .drawer-user-info {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }

    .drawer-user-avatar {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        border: 1px solid var(--primary);
    }

    .drawer-nav-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
    }

    .drawer-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
        border-radius: var(--radius-md);
        color: var(--text-muted);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.95rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .drawer-link:active,
    .drawer-link.active {
        background: rgba(245, 158, 11, 0.12);
        color: var(--primary);
        border: 1px solid rgba(245, 158, 11, 0.25);
    }

    .drawer-footer {
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .drawer-discord-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #5865F2;
        color: #fff;
        text-decoration: none;
        font-weight: 800;
        font-size: 0.85rem;
        padding: 10px;
        border-radius: var(--radius-md);
        margin-bottom: 12px;
    }

    .drawer-server-pill {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 0.75rem;
        color: var(--text-dim);
    }

    /* --- MOBİL İÇİN ÖZEL PODYUM TASARIMI (KOMPAKT & YAN YANA) --- */
    .podium-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 8px !important;
        margin: 20px auto 30px !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .podium-step {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .podium-skin-wrap {
        height: 120px !important;
        margin-bottom: -10px !important;
    }

    .podium-skin-img {
        height: 100px !important;
    }

    .podium-step.step-1 .podium-skin-wrap {
        height: 155px !important;
    }

    .podium-step.step-1 .podium-skin-img {
        height: 140px !important;
    }

    .podium-crown {
        top: -6px !important;
        font-size: 1.4rem !important;
    }

    .podium-pedestal {
        padding: 16px 6px 10px !important;
    }

    .step-1 .podium-pedestal {
        min-height: 120px !important;
    }

    .step-2 .podium-pedestal {
        min-height: 95px !important;
    }

    .step-3 .podium-pedestal {
        min-height: 85px !important;
    }

    .podium-badge {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.75rem !important;
        top: -12px !important;
    }

    .podium-player-name {
        font-size: 0.82rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .podium-player-val {
        font-size: 0.72rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Mobil Yatay Kaydırılabilir Filtreler */
    .filter-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 0 10px !important;
        gap: 8px !important;
        justify-content: flex-start !important;
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
        font-size: 0.82rem !important;
        padding: 8px 14px !important;
        white-space: nowrap;
    }

    /* Mobilde Tablo Kart Dönüşümü */
    .table-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .modern-table thead {
        display: none; /* Mobilde tablo başlıklarını gizle */
    }

    .modern-table, 
    .modern-table tbody, 
    .modern-table tr, 
    .modern-table td {
        display: block;
        width: 100%;
    }

    .modern-table tbody tr {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-md);
        margin-bottom: 12px;
        padding: 14px;
        display: grid;
        grid-template-columns: 40px 1fr auto;
        grid-template-rows: auto auto;
        gap: 6px 12px;
        align-items: center;
    }

    .modern-table td {
        padding: 0;
        border: none;
    }

    /* 1. Hücre: Sıra */
    .modern-table td:nth-child(1) {
        grid-column: 1;
        grid-row: 1 / span 2;
        display: flex;
        align-items: center;
    }

    /* 2. Hücre: Oyuncu Kafa + İsim */
    .modern-table td:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    /* 3. Hücre: Rütbe */
    .modern-table td:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    /* 4. Hücre: Değer (Bakiye / Coin) */
    .modern-table td:nth-child(4),
    .modern-table td:nth-child(5),
    .modern-table td:nth-child(6) {
        grid-column: 3;
        grid-row: 1;
        text-align: right;
    }

    /* 7. Hücre: Buton */
    .modern-table td:nth-child(7) {
        grid-column: 3;
        grid-row: 2;
        text-align: right;
    }

    /* Mobil Başlıklar ve Hero */
    .page-title {
        font-size: 2rem !important;
    }

    .page-subtitle {
        font-size: 0.95rem !important;
    }

    .hero-box {
        padding: 20px 0 30px;
    }

    .server-ip-box {
        width: 100%;
        justify-content: space-between;
        padding: 8px 12px 8px 16px;
    }

    .ip-text {
        font-size: 1rem;
    }

    /* Profil Sayfası Mobilde Tek Kolon */
    .profile-main-layout {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .profile-skin-card {
        padding: 24px 16px;
    }

    .profile-skin-render-wrap {
        height: 240px;
    }

    .profile-skin-3d {
        height: 210px;
    }

    .stats-grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-tile {
        padding: 16px 14px;
    }

    .stat-tile-val {
        font-size: 1.4rem;
    }

    /* Modalların Alttan Kayan Bottom Sheet Olması */
    .modal-overlay {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .modal-box {
        max-width: 100% !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 30px 20px calc(30px + env(safe-area-inset-bottom, 0px)) !important;
        animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    /* Footer Mobilde Kompakt */
    .footer {
        padding: 24px 0 calc(90px + env(safe-area-inset-bottom, 0px));
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
    }

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

