/* ═══════════════════════════════════════════
   RESET & VARIABLES
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* Keyboard focus styles */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
/* Skip to content (keyboard navigation) */
.skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--gold); color: #050505;
    padding: 0.5rem 1rem; z-index: 99999;
    font-family: 'Oswald', sans-serif; font-weight: 600;
    text-decoration: none; border-radius: 0 0 6px 0;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════ */
.loading-screen {
    position: fixed; inset: 0; z-index: 9999;
    background: #050505;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.hide {
    opacity: 0; visibility: hidden;
}
.loading-logo {
    width: 120px; height: 120px;
    animation: loadingPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(201,168,76,0.3));
}
.loading-bar-wrap {
    width: 160px; height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    margin-top: 1.5rem;
    overflow: hidden;
}
.loading-bar {
    width: 40%; height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
    border-radius: 3px;
    animation: loadingSlide 1.2s ease-in-out infinite;
}
.loading-text {
    margin-top: 1rem;
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.73rem; letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201,168,76,0.4);
}
@keyframes loadingPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}
@keyframes loadingSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

:root {
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-dark: #8a6d1b;
    --crimson: #8b1a1a;
    --crimson-glow: #c0392b;
    --dark: #0a0a0a;
    --header-h: 68px;
    --sidebar-w: 0px;
    --sidebar-collapsed: 0px;
}

html, body { overflow-x: hidden;
    height: 100%;
    overflow: hidden;
    font-family: 'Oswald', sans-serif;
    background: #050505;
    color: #f0e8d8;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ═══════════════════════════════════════════
   BACKGROUND LAYERS
   ═══════════════════════════════════════════ */
.bg-layer { position: fixed; inset: 0; z-index: 0; }
.bg-layer::before {
    content: ''; position: absolute; inset: 0;
    background: url('eosmimgsource/bg-osmanli.jpg?v=2') center/cover no-repeat;
    filter: blur(2px) brightness(0.42) saturate(0.95);
    transform: scale(1.05);
}
.bg-layer::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(139,26,26,0.12) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.6) 100%);
}
.noise {
    position: fixed; inset: 0; z-index: 1; opacity: 0.04; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}
.scanlines {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.08) 2px, rgba(0,0,0,0.08) 4px);
}

/* Particles */
.particles { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.particle {
    position: absolute; width: 2px; height: 2px;
    background: var(--gold); border-radius: 50%; opacity: 0;
    animation: float linear infinite;
}
.particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; }
.particle:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; }
.particle:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: 3s; }
.particle:nth-child(6) { left: 85%; animation-duration: 13s; animation-delay: 5s; }
.particle:nth-child(7) { left: 15%; animation-duration: 16s; animation-delay: 6s; }
.particle:nth-child(8) { left: 60%; animation-duration: 9s;  animation-delay: 2.5s; }

/* ═══════════════════════════════════════════
   SITE HEADER — Fixed Top Horizontal Navigation (Ayyıldız Stili)
   ═══════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-h, 68px);
    z-index: 1000;
    background: linear-gradient(180deg, rgba(14, 12, 10, 0.96) 0%, rgba(8, 7, 5, 0.98) 100%);
    border-bottom: 1px solid rgba(201, 168, 76, 0.22);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(201, 168, 76, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
}

.header-inner {
    max-width: 1720px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

/* ── Brand / Logo ── */
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease;
}
.header-brand:hover {
    transform: scale(1.02);
}
.header-brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.4));
    border-radius: 50%;
}
.header-brand-info {
    display: flex;
    flex-direction: column;
}
.header-brand-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--gold);
    line-height: 1.15;
    text-shadow: 0 0 12px rgba(201, 168, 76, 0.35);
}
.header-brand-sub {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: rgba(240, 232, 216, 0.45);
    text-transform: uppercase;
}

/* ── Desktop Navigation Menu ── */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
}
.header-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.68rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: rgba(240, 232, 216, 0.68);
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    user-select: none;
}
.nav-link svg {
    opacity: 0.75;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}
.nav-link:hover {
    color: #fff;
    background: rgba(201, 168, 76, 0.09);
    border-color: rgba(201, 168, 76, 0.25);
}
.nav-link:hover svg {
    opacity: 1;
}
.nav-link.active {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.14);
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.15);
}
.nav-link.active svg {
    opacity: 1;
}

/* Özel Vurgulu Menü Linki (Oyuncular) */
.nav-link--highlight {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), rgba(160, 120, 40, 0.1));
    border: 1px solid rgba(201, 168, 76, 0.45);
    color: #ffd700 !important;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.22);
}
.nav-link--highlight svg {
    opacity: 1;
    color: #ffd700;
}
.nav-link--highlight:hover {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.3), rgba(160, 120, 40, 0.2));
    border-color: #ffd700;
    color: #fff !important;
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.4);
    transform: translateY(-1px);
}

/* ── Header Right Action Buttons ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.header-action-btn svg {
    flex-shrink: 0;
}

/* TeamSpeak 3 Button (Mavi) */
.header-action-btn--ts3 {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    color: #fff !important;
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.header-action-btn--ts3:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

/* Sunucuya Katıl Button (Kırmızı) */
.header-action-btn--connect {
    background: linear-gradient(135deg, #991b1b, #dc2626);
    color: #fff !important;
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}
.header-action-btn--connect:hover {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45);
    transform: translateY(-1px);
}

/* Auth / Profil Butonu */
.header-action-btn--auth {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: var(--gold);
}
.header-action-btn--auth:hover {
    background: rgba(201, 168, 76, 0.22);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.25);
    transform: translateY(-1px);
}

/* Tema Değiştir Butonu */
.header-icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 6px;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.header-icon-btn:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: var(--gold);
    color: #fff;
    transform: scale(1.05);
}

/* Mobile Toggle Hamburger */
.header-mobile-toggle {
    display: none;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 6px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    transition: all 0.2s ease;
}
.header-mobile-toggle:hover {
    background: rgba(201, 168, 76, 0.08);
}
.header-mobile-toggle .mob-bar {
    width: 18px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.header-mobile-toggle.active .mob-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.header-mobile-toggle.active .mob-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.header-mobile-toggle.active .mob-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile Navigation Drawer ── */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}
.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: var(--header-h, 68px);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h, 68px));
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(14, 12, 10, 0.98), rgba(8, 7, 5, 0.99));
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 995;
}
.mobile-drawer.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-inner {
    padding: 1.25rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.mobile-drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
}
.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(240, 232, 216, 0.75);
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}
.mobile-nav-link svg {
    opacity: 0.7;
    flex-shrink: 0;
}
.mobile-nav-link:hover, .mobile-nav-link:active {
    background: rgba(201, 168, 76, 0.1);
    color: #fff;
    border-color: rgba(201, 168, 76, 0.25);
}
.mobile-nav-link.active {
    background: rgba(201, 168, 76, 0.15);
    color: var(--gold);
    border-color: rgba(201, 168, 76, 0.4);
}
.mobile-nav-link.active svg {
    opacity: 1;
}
.mobile-nav-link--highlight {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), rgba(160, 120, 40, 0.12));
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: #ffd700;
}
.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

/* Breakpoint: Switch desktop navbar to mobile drawer */
@media (max-width: 1250px) {
    .header-nav {
        display: none !important;
    }
    .header-mobile-toggle {
        display: flex !important;
    }
}
@media (max-width: 768px) {
    .header-brand-sub {
        display: none;
    }
    .header-action-btn--ts3 span,
    .header-action-btn--connect span {
        display: none;
    }
    .header-action-btn--ts3,
    .header-action-btn--connect {
        padding: 0.45rem 0.6rem;
    }
    .header-inner {
        padding: 0 0.85rem;
    }
}

/* Light Mode Overrides for Header */
body.light-mode .site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(138, 109, 27, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
body.light-mode .header-brand-title {
    color: #5a4510;
    text-shadow: none;
}
body.light-mode .header-brand-sub {
    color: rgba(60, 50, 40, 0.6);
}
body.light-mode .nav-link {
    color: #4a3e2b;
}
body.light-mode .nav-link:hover {
    background: rgba(138, 109, 27, 0.08);
    color: #1a1610;
}
body.light-mode .nav-link.active {
    color: #8a6d1b;
    background: rgba(138, 109, 27, 0.12);
    border-color: rgba(138, 109, 27, 0.3);
}
body.light-mode .mobile-drawer {
    background: rgba(250, 248, 244, 0.98);
    border-bottom-color: rgba(138, 109, 27, 0.25);
}
body.light-mode .mobile-nav-link {
    background: rgba(0, 0, 0, 0.02);
    color: #3a3225;
}
body.light-mode .mobile-nav-link:hover,
body.light-mode .mobile-nav-link.active {
    background: rgba(138, 109, 27, 0.1);
    color: #8a6d1b;
}

/* ═══════════════════════════════════════════
   PAGE CONTAINERS
   ═══════════════════════════════════════════ */
.page { display: none; }
.page.active { display: flex; }

/* ── ANA SAYFA ── */
.page--home {
    position: relative; z-index: 10; height: 100vh;
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 2rem;
    padding-top: calc(var(--header-h, 68px) + 1.5rem);
}

/* Home social buttons */
.home-social { text-align: center; display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.servers-home-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.7rem 1.8rem;
    color: rgba(240,232,216,0.5);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 10px;
    background: rgba(201,168,76,0.04);
    text-decoration: none;
    font-family: 'Oswald', sans-serif; font-weight: 600;
    font-size: 0.9rem; letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: btnPulseGold 3s ease-in-out infinite;
}
.servers-home-btn svg { width: 22px; height: 22px; }
.servers-home-btn:hover {
    color: var(--gold);
    border-color: rgba(201,168,76,0.6);
    background: rgba(201,168,76,0.1);
    box-shadow: 0 0 25px rgba(201,168,76,0.12);
    transform: translateY(-2px);
    animation: none;
}
.instagram-home {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.7rem 1.8rem;
    color: rgba(240,232,216,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    font-family: 'Oswald', sans-serif; font-weight: 600;
    font-size: 0.9rem; letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: btnPulseWhite 3s ease-in-out 1.5s infinite;
}
.instagram-home svg { width: 22px; height: 22px; }
.instagram-home:hover {
    color: #e1306c;
    border-color: rgba(225,48,108,0.4);
    background: rgba(225,48,108,0.08);
    box-shadow: 0 0 25px rgba(225,48,108,0.15);
    transform: translateY(-2px);
    animation: none;
}

@keyframes btnPulseGold {
    0%, 100% { box-shadow: 0 0 0 rgba(201,168,76,0); border-color: rgba(201,168,76,0.3); }
    50% { box-shadow: 0 0 18px rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.5); }
}
@keyframes btnPulseWhite {
    0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); border-color: rgba(255,255,255,0.1); }
    50% { box-shadow: 0 0 18px rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
}

.emblem { margin-bottom: 1.2rem; opacity: 0; animation: fadeSlideDown 1s ease-out 0.2s forwards; }
.emblem img {
    width: clamp(140px, 22vw, 220px); height: auto;
    filter: drop-shadow(0 0 30px rgba(201,168,76,0.35));
}
.clan-tag {
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    letter-spacing: 0.5em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.5rem;
    opacity: 0; animation: fadeSlideDown 1s ease-out 0.4s forwards;
}
.title {
    font-family: 'Cinzel', serif; font-weight: 900;
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1.05; letter-spacing: 0.06em; text-transform: uppercase;
    color: transparent;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-dark) 100%);
    -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 2px 12px rgba(201,168,76,0.25));
    margin-bottom: 0.15em;
    opacity: 0; animation: fadeSlideDown 1.2s ease-out 0.6s forwards;
    min-height: 2.2em;
}
.subtitle {
    font-family: 'Oswald', sans-serif; font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--crimson-glow);
    text-shadow: 0 0 30px rgba(192,57,43,0.4);
    margin-bottom: 2.5rem;
    opacity: 0; animation: fadeSlideDown 1.2s ease-out 0.8s forwards;
}
.divider {
    width: clamp(200px, 40vw, 500px); height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
    margin: 0 auto 2.5rem; position: relative;
    opacity: 0; animation: fadeIn 1.5s ease-out 1s forwards;
}
.divider::before {
    content: '◆'; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.63rem; color: var(--gold);
    background: var(--dark); padding: 0 1rem;
}

/* Buttons */
.buttons {
    display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center;
    opacity: 0; animation: fadeSlideUp 1s ease-out 1.2s forwards;
}
.btn {
    position: relative; display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    font-family: 'Oswald', sans-serif; font-weight: 700;
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    letter-spacing: 0.15em; text-transform: uppercase;
    text-decoration: none; color: #f0e8d8;
    border: 2px solid; cursor: pointer; overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease; }
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.btn:active { transform: translateY(0); }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }

.btn--ts3 { border-color: rgba(41,128,185,0.6); background: rgba(41,128,185,0.1); }
.btn--ts3::before { background: linear-gradient(135deg, rgba(41,128,185,0.25), rgba(41,128,185,0.1)); }
.btn--ts3:hover { border-color: rgba(41,128,185,0.9); box-shadow: 0 8px 32px rgba(41,128,185,0.2), inset 0 0 20px rgba(41,128,185,0.05); }

.btn--cs { border-color: rgba(201,168,76,0.6); background: rgba(201,168,76,0.08); }
.btn--cs::before { background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05)); }
.btn--cs:hover { border-color: rgba(201,168,76,0.9); box-shadow: 0 8px 32px rgba(201,168,76,0.2), inset 0 0 20px rgba(201,168,76,0.05); }

/* ═══════════════════════════════════════════
   SUNUCU DURUMLARI SAYFASI
   ═══════════════════════════════════════════ */
.page--servers {
    position: relative; z-index: 10; height: 100vh;
    flex-direction: column; align-items: center;
    padding: 0;
}
.servers-scroll {
    width: 100%; height: 100%; overflow-y: auto;
    padding: calc(var(--header-h, 68px) + 1.5rem) 2rem 3.5rem;
    text-align: center;
}
.servers-scroll::-webkit-scrollbar { width: 5px; }
.servers-scroll::-webkit-scrollbar-track { background: transparent; }
.servers-scroll::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }
.servers-title {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.3rem;
    text-align: center;
}
.servers-subtitle {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(240,232,216,0.3); margin-bottom: 1rem;
    text-align: center;
}
.refresh-timer { color: rgba(201,168,76,0.5); }

.section-category {
    width: 100%; max-width: 900px;
    margin: 1.5rem auto 0.8rem;
}
.section-category:first-of-type { margin-top: 0.5rem; }
.section-category-title {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: 'Oswald', sans-serif; font-weight: 700;
    font-size: 0.85rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: rgba(201,168,76,0.5);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(201,168,76,0.2);
}
.section-category-title svg { width: 18px; height: 18px; opacity: 0.5; }

/* Auto-connect button */
.auto-connect-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-left: auto;
    padding: 0.3rem 0.7rem;
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.71rem; letter-spacing: 0.05em;
    border-radius: 5px; cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
}
.auto-connect-btn.off {
    color: rgba(231,76,60,0.7);
    border: 1px solid rgba(231,76,60,0.25);
}
.auto-connect-btn.off:hover {
    border-color: rgba(231,76,60,0.45);
    background: rgba(231,76,60,0.05);
}
.auto-connect-btn.on {
    color: rgba(46,204,113,0.85);
    border: 1px solid rgba(46,204,113,0.35);
}
.auto-connect-btn.on:hover {
    border-color: rgba(46,204,113,0.55);
    background: rgba(46,204,113,0.05);
}
.auto-connect-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s ease;
}
.auto-connect-btn.off .auto-connect-dot { background: rgba(231,76,60,0.6); }
.auto-connect-btn.on .auto-connect-dot {
    background: rgba(46,204,113,0.8);
    box-shadow: 0 0 6px rgba(46,204,113,0.4);
    animation: autoConnectPulse 1.5s ease-in-out infinite;
}
@keyframes autoConnectPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(46,204,113,0.4); }
    50% { box-shadow: 0 0 12px rgba(46,204,113,0.7); }
}
.auto-connect-note {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.71rem; color: rgba(240,232,216,0.45);
    margin-top: 0.3rem; font-style: italic;
}

/* Light mode */
body.light-mode .auto-connect-btn.off { color: rgba(192,57,43,0.7); border-color: rgba(192,57,43,0.2); }
body.light-mode .auto-connect-btn.on { color: rgba(39,174,96,0.8); border-color: rgba(39,174,96,0.3); }
body.light-mode .auto-connect-note { color: rgba(30,30,30,0.5); }

.server-grid {
    display: flex; gap: 1.8rem; flex-wrap: wrap;
    justify-content: center; width: 100%; max-width: 1240px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   AYYILDIZ STİLİ CANLI SUNUCU & HARİTA KARTLARI
   ═══════════════════════════════════════════════════════════════ */
.server-card.ayyildiz-card {
    flex: 1 1 520px;
    max-width: 580px;
    background: rgba(14, 17, 23, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.server-card.ayyildiz-card:hover {
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.6);
}

.server-card.ayyildiz-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.7) 50%, transparent);
    opacity: 0.6;
}

.server-card.ayyildiz-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    gap: 0.8rem;
}

.server-card.ayyildiz-card .card-name {
    font-family: 'Rajdhani', 'Cinzel', sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.03em;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-dot-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-dot-badge.online {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse 2s infinite;
}
.status-dot-badge.offline {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

/* 2-Kolonlu Gövde */
.card-dual-body {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 640px) {
    .server-grid { max-width: 100%; gap: 1.2rem; }
    .server-card.ayyildiz-card { flex: 1 1 100%; max-width: 100%; padding: 1.1rem 1rem; }
    .card-dual-body { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* Sol Kolon */
.card-col-left {
    display: flex;
    flex-direction: column;
}

.map-preview-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 110px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.62) contrast(1.1);
    transition: transform 0.4s ease;
}

.map-preview-box:hover .map-preview-img {
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.map-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}

.map-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin-top: 2px;
}

.server-ip-box {
    text-align: center;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
}

.server-ip-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(240, 232, 216, 0.4);
    text-transform: uppercase;
}

.server-ip-val {
    font-family: 'Rajdhani', monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.capacity-box {
    margin-top: auto;
    margin-bottom: 0.9rem;
}

.capacity-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.72rem;
    margin-bottom: 0.35rem;
}

.capacity-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: rgba(240, 232, 216, 0.5);
}

.capacity-pct {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #ffffff;
}

.server-card.ayyildiz-card .player-bar-bg {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    margin-bottom: 0.3rem;
    overflow: hidden;
}

.server-card.ayyildiz-card .player-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    transition: width 0.6s ease;
}

.capacity-count {
    text-align: right;
    font-family: 'Rajdhani', monospace;
    font-size: 0.72rem;
    color: rgba(240, 232, 216, 0.5);
}

.btn--hemen-baglan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(20, 24, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn--hemen-baglan:hover {
    background: rgba(30, 36, 46, 1);
    border-color: rgba(201, 168, 76, 0.5);
    color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.btn--hemen-baglan .run-icon {
    flex-shrink: 0;
    color: var(--gold);
}

/* Sağ Kolon: Aktif Oyuncular */
.card-col-right {
    background: rgba(8, 10, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    min-height: 275px;
}

.players-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.players-panel-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    color: #ef4444;
}

.players-panel-title svg {
    color: #ef4444;
}

.players-panel-count {
    font-family: 'Rajdhani', monospace;
    font-weight: 800;
    font-size: 0.9rem;
    color: #ef4444;
}

.players-table-scroll {
    flex: 1;
    max-height: 225px;
    overflow-y: auto;
    padding: 0.2rem 0.4rem;
}

/* Kırmızı Özel Scrollbar (Ayyıldız Birebir) */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #ef4444;
}

.players-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Rajdhani', sans-serif;
}

.players-mini-table thead th {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(240, 232, 216, 0.4);
    text-transform: uppercase;
    padding: 0.4rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.players-mini-table .th-name { text-align: left; }
.players-mini-table .th-score { text-align: center; }
.players-mini-table .th-time { text-align: right; }

.players-mini-table tbody tr {
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.players-mini-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.player-name-cell {
    padding: 0.4rem 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #f0e8d8;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-score-cell {
    padding: 0.4rem 0.4rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #ef4444;
    text-align: center;
}

.player-time-cell {
    padding: 0.4rem 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(240, 232, 216, 0.55);
    text-align: right;
    white-space: nowrap;
}

.player-time-cell .clock-icon {
    display: inline-block;
    vertical-align: -1px;
    margin-right: 2px;
    opacity: 0.7;
}

.no-players-cell {
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 0.78rem;
    color: rgba(240, 232, 216, 0.4);
    font-style: italic;
}

/* Server Card */
.server-card {
    flex: 1 1 380px; max-width: 430px;
    background: rgba(10,10,8,0.75);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 8px; padding: 1.8rem 1.5rem;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease;
    text-align: left; position: relative; overflow: hidden;
}
.server-card:hover { border-color: rgba(201,168,76,0.3); }
.server-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.4;
}

.card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.2rem;
}
.card-name {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 1rem; letter-spacing: 0.05em; color: var(--gold-light);
}

.status-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.73rem; letter-spacing: 0.1em;
    text-transform: uppercase; padding: 0.25rem 0.7rem;
    border-radius: 20px;
}
.status-badge.online  { background: rgba(46,204,113,0.15); color: #2ecc71; border: 1px solid rgba(46,204,113,0.3); }
.status-badge.offline { background: rgba(231,76,60,0.15);  color: #e74c3c; border: 1px solid rgba(231,76,60,0.3); }
.status-badge.loading { background: rgba(201,168,76,0.1);  color: var(--gold); border: 1px solid rgba(201,168,76,0.2); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-badge.online .status-dot { animation: pulse 2s ease-in-out infinite; }

.card-info { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.4rem; }
.info-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.45rem 0; border-bottom: 1px solid rgba(201,168,76,0.06);
}
.info-row:last-child { border-bottom: none; }
.info-label {
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.75rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(240,232,216,0.35);
}
.info-value {
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    font-size: 0.85rem; color: rgba(240,232,216,0.85);
    text-align: right; max-width: 60%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.player-bar-bg {
    width: 100%; height: 6px; background: rgba(255,255,255,0.05);
    border-radius: 3px; margin-bottom: 1.4rem; overflow: hidden;
}
.player-bar-fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    transition: width 0.6s ease;
}

.btn--connect {
    width: 100%; justify-content: center;
    padding: 0.75rem 1.5rem; font-size: 0.85rem;
    border-color: rgba(201,168,76,0.5);
    background: rgba(201,168,76,0.06); border-radius: 4px;
}
.btn--connect:hover { border-color: var(--gold); background: rgba(201,168,76,0.12); }

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%; animation: shimmer 1.5s infinite;
    border-radius: 4px; color: transparent !important; min-width: 60px;
}

/* Card dual buttons */
.card-buttons { display: flex; gap: 0.6rem; }
.card-buttons .btn--connect { flex: 1; }

.btn--detail {
    border-color: rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.03) !important;
    font-family: 'Oswald', sans-serif; font-weight: 700;
    color: #f0e8d8;
}
.btn--detail::before { background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) !important; }
.btn--detail:hover {
    border-color: rgba(255,255,255,0.35) !important;
    background: rgba(255,255,255,0.06) !important;
}

/* ═══════════════════════════════════════════
   DETAY MODALI
   ═══════════════════════════════════════════ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
}
.modal-overlay.active { display: flex; opacity: 1; }

.modal {
    position: relative;
    background: linear-gradient(180deg, rgba(16,14,12,0.98), rgba(10,8,6,0.99));
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 10px;
    width: 100%; max-width: 600px;
    max-height: 85vh;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

/* Scrollbar */
.modal::-webkit-scrollbar { width: 5px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }

.modal-close {
    position: absolute; top: 12px; right: 14px;
    background: none; border: none; color: rgba(240,232,216,0.4);
    font-size: 1.6rem; cursor: pointer; z-index: 10;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 6px; transition: all 0.2s ease;
}
.modal-close:hover { color: var(--gold); background: rgba(201,168,76,0.08); }

.modal-header {
    padding: 1.5rem 1.8rem 1rem;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.modal-title {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 1.15rem; letter-spacing: 0.05em;
    color: var(--gold);
}

.modal-body { padding: 1.2rem 1.8rem 1.8rem; overflow: hidden; }

.detail-section { margin-bottom: 1.5rem; }
.detail-section:last-child { margin-bottom: 0; }
.detail-section-title {
    font-family: 'Oswald', sans-serif; font-weight: 600;
    font-size: 0.8rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: rgba(240,232,216,0.45);
    margin-bottom: 0.8rem;
    display: flex; align-items: center; gap: 0.6rem;
}
.player-count-badge {
    background: rgba(201,168,76,0.15); color: var(--gold);
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    font-size: 0.73rem; padding: 0.15rem 0.55rem;
    border-radius: 10px; border: 1px solid rgba(201,168,76,0.2);
}

.detail-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
.detail-item {
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 6px;
    min-width: 0;
    overflow: hidden;
}
.detail-item-label {
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.71rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(240,232,216,0.3);
    margin-bottom: 0.2rem;
}
.detail-item-value {
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    font-size: 0.9rem; color: rgba(240,232,216,0.9);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    max-width: 100%;
}

/* Players table */
.players-table-wrap {
    max-height: 320px; overflow-y: auto; overflow-x: hidden;
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 6px;
}
.players-table-wrap::-webkit-scrollbar { width: 4px; }
.players-table-wrap::-webkit-scrollbar-track { background: transparent; }
.players-table-wrap::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.15); border-radius: 2px; }

.players-table {
    width: 100%; border-collapse: collapse;
    font-family: 'Rajdhani', sans-serif;
    table-layout: fixed;
}
.players-table thead { position: sticky; top: 0; z-index: 1; }
.players-table th:nth-child(1),
.players-table td:nth-child(1) { width: 52px; text-align: center; }
.players-table th:nth-child(2),
.players-table td:nth-child(2) { width: 55%; }
.players-table th:nth-child(3),
.players-table td:nth-child(3) { width: auto; }
.players-table th:nth-child(4),
.players-table td:nth-child(4) { width: auto; }
.players-table th {
    background: rgb(18, 16, 13);
    font-weight: 700; font-size: 0.73rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(201,168,76,0.6);
    padding: 0.55rem 0.7rem; text-align: left;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}
.players-table td {
    font-weight: 500; font-size: 0.82rem;
    color: rgba(240,232,216,0.75);
    padding: 0.5rem 0.7rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.players-table tbody tr:hover { background: rgba(201,168,76,0.04); }
.players-table tbody tr:hover td { color: rgba(240,232,216,0.95); }
.players-table .player-name { color: rgba(240,232,216,0.9); font-weight: 600; }
.players-table .player-score { color: var(--gold); font-weight: 700; }
.no-players {
    text-align: center; padding: 2rem;
    font-family: 'Rajdhani', sans-serif; font-size: 0.85rem;
    color: rgba(240,232,216,0.25);
}

/* Scroll bottom spacer */
.scroll-spacer { height: 3rem; width: 100%; display: block; }

/* ═══════════════════════════════════════════
   EOSM EDITION SAYFASI
   ═══════════════════════════════════════════ */
.page--edition {
    position: relative; z-index: 10; height: 100vh;
    flex-direction: column; align-items: center;
    padding: 0;
}
.edition-scroll {
    width: 100%; height: 100%; overflow-y: auto;
    padding: 2rem 2rem 3rem;
}
.edition-scroll::-webkit-scrollbar { width: 5px; }
.edition-scroll::-webkit-scrollbar-track { background: transparent; }
.edition-scroll::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }

.edition-container {
    max-width: 780px; width: 100%;
    background: rgba(10,10,8,0.7);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(12px);
    position: relative; overflow: hidden;
    margin: 0 auto;
}
.edition-container::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.4;
}

.edition-header { text-align: center; margin-bottom: 2rem; }
.edition-logo { width: 90px; height: auto; margin-bottom: 0.8rem; filter: drop-shadow(0 0 15px rgba(201,168,76,0.3)); }
.edition-title {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: clamp(1.1rem, 3vw, 1.5rem); letter-spacing: 0.05em;
    color: var(--gold); margin-bottom: 0.8rem;
}
.edition-meta { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.5rem; }
.edition-badge {
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.75rem; letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem; border-radius: 4px;
    background: rgba(201,168,76,0.1); color: var(--gold);
    border: 1px solid rgba(201,168,76,0.2);
}
.edition-author {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.85rem; color: rgba(240,232,216,0.5);
}
.edition-author strong { color: rgba(240,232,216,0.8); }

.edition-section { margin-bottom: 1.8rem; }
.edition-section:last-child { margin-bottom: 0; }

.edition-section-title {
    font-family: 'Oswald', sans-serif; font-weight: 700;
    font-size: 1rem; letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 0.5rem; margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.edition-color-red   { color: #e74c3c; }
.edition-color-gold  { color: var(--gold); }
.edition-color-green { color: #2ecc71; }
.edition-color-blue  { color: #3498db; }

.edition-version-note {
    display: inline-block;
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    font-size: 0.8rem; letter-spacing: 0.08em;
    padding: 0.2rem 0.65rem; border-radius: 4px;
    background: rgba(231,76,60,0.12); color: #e74c3c;
    border: 1px solid rgba(231,76,60,0.2);
    margin-bottom: 0.8rem;
}

.edition-list {
    list-style: none; counter-reset: edition-counter;
    padding: 0;
}
.edition-list li {
    counter-increment: edition-counter;
    position: relative; padding: 0.5rem 0 0.5rem 2.2rem;
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.9rem; line-height: 1.5;
    color: rgba(240,232,216,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.edition-list li:last-child { border-bottom: none; }
.edition-list li::before {
    content: counter(edition-counter);
    position: absolute; left: 0; top: 0.5rem;
    width: 1.5rem; height: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    font-size: 0.73rem; color: var(--gold);
    background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.15);
    border-radius: 4px;
}
.edition-list li strong { color: rgba(240,232,216,0.95); }

.edition-note-box {
    background: rgba(201,168,76,0.06);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 6px; padding: 1rem 1.2rem;
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.88rem; line-height: 1.6;
    color: rgba(240,232,216,0.7);
}
.edition-note-box strong { color: var(--gold); }

.edition-text {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.9rem; line-height: 1.6;
    color: rgba(240,232,216,0.65); margin-bottom: 0.8rem;
}
.edition-text-small { font-size: 0.8rem; color: rgba(240,232,216,0.4); margin-top: 0.8rem; }

.edition-video-link {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 1.2rem; border-radius: 6px;
    background: rgba(255,0,0,0.08); border: 1px solid rgba(255,0,0,0.2);
    color: #ff4444; text-decoration: none;
    font-family: 'Oswald', sans-serif; font-weight: 600;
    font-size: 0.85rem; letter-spacing: 0.06em;
    transition: all 0.3s ease;
}
.edition-video-link svg { width: 22px; height: 22px; }
.edition-video-link:hover {
    background: rgba(255,0,0,0.15); border-color: rgba(255,0,0,0.4);
    transform: translateY(-1px);
}

.edition-downloads { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.edition-dl-btn { flex: 1; min-width: 220px; }

/* Gallery */
.edition-gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
}
.gallery-item {
    border-radius: 6px; overflow: hidden;
    border: 1px solid rgba(201,168,76,0.1);
    cursor: pointer; transition: all 0.3s ease;
    position: relative;
}
.gallery-item:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-2px); }
.gallery-item img { width: 100%; height: 140px; object-fit: cover; display: block; }
.gallery-caption {
    padding: 0.45rem 0.6rem;
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.73rem; letter-spacing: 0.06em;
    color: rgba(240,232,216,0.6);
    background: rgba(0,0,0,0.5);
    text-align: center;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(0,0,0,0.92);
    display: none; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active { display: flex; opacity: 1; }
.lightbox-close {
    position: absolute; top: 15px; right: 20px;
    background: none; border: none; color: rgba(255,255,255,0.6);
    font-size: 2rem; cursor: pointer; z-index: 10;
    transition: color 0.2s ease;
}
.lightbox-close:hover { color: #fff; }
.lightbox-img {
    max-width: 90vw; max-height: 80vh;
    object-fit: contain; border-radius: 6px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 1.4rem; cursor: pointer;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}
.lightbox-nav:hover { background: rgba(201,168,76,0.2); border-color: var(--gold); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-caption {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.85rem; color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.5); padding: 0.4rem 1rem;
    border-radius: 4px; white-space: nowrap;
}

/* ═══════════════════════════════════════════
   YETKİ FİYATLARI SAYFASI
   ═══════════════════════════════════════════ */
.page--pricing {
    position: relative; z-index: 10; height: 100vh;
    flex-direction: column; align-items: center; padding: 0;
}
.pricing-scroll {
    width: 100%; height: 100%; overflow-y: auto;
    padding: 2rem 2rem 3rem;
    text-align: center;
}
.pricing-scroll::-webkit-scrollbar { width: 5px; }
.pricing-scroll::-webkit-scrollbar-track { background: transparent; }
.pricing-scroll::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }
.pricing-scroll::-webkit-scrollbar { width: 5px; }
.pricing-scroll::-webkit-scrollbar-track { background: transparent; }
.pricing-scroll::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }

.pricing-title {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 2rem);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.3rem; text-align: center;
}
.pricing-subtitle {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.8rem; letter-spacing: 0.15em;
    color: rgba(240,232,216,0.3); text-transform: uppercase;
    margin-bottom: 2rem; text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
    width: 100%; max-width: 1000px;
    margin: 0 auto 2rem;
}

.price-card {
    background: rgba(10,10,8,0.75);
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: flex; flex-direction: column;
}
.price-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-3px); }
.price-card.featured { border-color: rgba(201,168,76,0.35); }
.price-card.featured .price-card-header { background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05)); }

.price-card-header {
    padding: 1.3rem 1.4rem;
    background: rgba(201,168,76,0.05);
    border-bottom: 1px solid rgba(201,168,76,0.08);
    text-align: center;
}
.price-card-rank {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 1.05rem; letter-spacing: 0.05em;
    color: var(--gold-light); margin-bottom: 0.4rem;
}
.price-card-price {
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    font-size: 1.6rem; color: #fff;
}
.price-card-price small {
    font-size: 0.73rem; font-weight: 500;
    color: rgba(240,232,216,0.4);
    letter-spacing: 0.05em;
}

.price-card-body {
    padding: 1.2rem 1.4rem;
    flex: 1;
    text-align: left;
}
.price-feature {
    display: flex; gap: 0.6rem;
    padding: 0.45rem 0;
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.82rem; line-height: 1.45;
    color: rgba(240,232,216,0.65);
    border-bottom: 1px solid rgba(255,255,255,0.025);
    text-align: left;
}
.price-feature:last-child { border-bottom: none; }
.price-feature-icon {
    color: var(--gold); font-size: 0.73rem;
    margin-top: 0.2rem; flex-shrink: 0;
}
.price-feature strong { color: rgba(240,232,216,0.9); }

/* Rank color accents */
.rank-owner .price-card-header  { border-bottom-color: rgba(231,76,60,0.3); }
.rank-owner .price-card-rank    { color: #e74c3c; }
.rank-partner .price-card-header { border-bottom-color: rgba(155,89,182,0.3); }
.rank-partner .price-card-rank  { color: #9b59b6; }
.rank-tagsizvip .price-card-header { border-bottom-color: rgba(241,196,15,0.3); }
.rank-tagsizvip .price-card-rank { color: #f1c40f; }
.rank-vip .price-card-header    { border-bottom-color: rgba(46,204,113,0.3); }
.rank-vip .price-card-rank      { color: #2ecc71; }
.rank-normal .price-card-header { border-bottom-color: rgba(52,152,219,0.3); }
.rank-normal .price-card-rank   { color: #3498db; }

/* ═══════════════════════════════════════════
   YÖNETİCİ EKİBİ SAYFASI
   ═══════════════════════════════════════════ */
.page--team {
    position: relative; z-index: 10; height: 100vh;
    flex-direction: column; align-items: center; padding: 0;
}
.team-scroll {
    width: 100%; height: 100%; overflow-y: auto;
    padding: 2rem 2rem 3rem;
}
.team-scroll::-webkit-scrollbar { width: 5px; }
.team-scroll::-webkit-scrollbar-track { background: transparent; }
.team-scroll::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }

.team-page-title {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 2rem);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.3rem; text-align: center;
}
.team-page-subtitle {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.8rem; letter-spacing: 0.15em;
    color: rgba(240,232,216,0.3); text-transform: uppercase;
    margin-bottom: 2rem; text-align: center;
}

.team-container {
    max-width: 650px; width: 100%; margin: 0 auto;
    display: flex; flex-direction: column; gap: 1rem;
}

.team-card {
    background: rgba(10,10,8,0.75);
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.team-card:hover { border-color: rgba(201,168,76,0.25); }

.team-card-rank {
    padding: 0.7rem 1.2rem;
    text-align: center;
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 0.85rem; letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.team-rank-star { font-size: 0.73rem; vertical-align: middle; }

/* Rank colors */
.rank-kurucu { color: #ffd700; background: rgba(255,215,0,0.06); border-bottom-color: rgba(255,215,0,0.1); }
.rank-sadrazam { color: #e74c3c; background: rgba(231,76,60,0.05); border-bottom-color: rgba(231,76,60,0.08); }
.rank-sahip { color: #c9a84c; background: rgba(201,168,76,0.05); border-bottom-color: rgba(201,168,76,0.08); }
.rank-genel { color: #9b59b6; background: rgba(155,89,182,0.05); border-bottom-color: rgba(155,89,182,0.08); }
.rank-demirbas { color: #e67e22; background: rgba(230,126,34,0.05); border-bottom-color: rgba(230,126,34,0.08); }
.rank-kurmay { color: #2ecc71; background: rgba(46,204,113,0.05); border-bottom-color: rgba(46,204,113,0.08); }
.rank-yonetim { color: #3498db; background: rgba(52,152,219,0.05); border-bottom-color: rgba(52,152,219,0.08); }
.rank-alt-yonetim { color: #1abc9c; background: rgba(26,188,156,0.05); border-bottom-color: rgba(26,188,156,0.08); }

.team-members { padding: 0.6rem 1.2rem; }

.team-member {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.025);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 0.15rem;
}
.team-member:last-child { border-bottom: none; }

.team-member-nick {
    font-family: 'Oswald', sans-serif; font-weight: 600;
    font-size: 0.9rem; color: rgba(240,232,216,0.9);
    letter-spacing: 0.02em;
}
.rainbow-nick {
    background: linear-gradient(90deg, #ff0000, #ff8800, #ffff00, #00ff00, #0088ff, #8800ff, #ff0088, #ff0000);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: rainbowFlow 4s linear infinite;
    font-weight: 700;
}
@keyframes rainbowFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
.team-member-name {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.78rem; color: var(--gold); opacity: 0.7;
}
.team-member-name::before { content: '"'; }
.team-member-name::after { content: '"'; }
.team-member-role {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.71rem; color: rgba(240,232,216,0.3);
    font-style: italic;
}

/* Light mode */
body.light-mode .team-page-title { color: #5a4510; }
body.light-mode .team-page-subtitle { color: rgba(30,30,30,0.4); }
body.light-mode .team-card { background: rgba(255,255,255,0.8); border-color: rgba(138,109,27,0.12); }
body.light-mode .team-card:hover { border-color: rgba(138,109,27,0.25); }
body.light-mode .team-member-nick { color: rgba(30,30,30,0.85); }
body.light-mode .rainbow-nick {
    background: linear-gradient(90deg, #e60000, #e67300, #cccc00, #00cc00, #0066cc, #7700cc, #cc0066, #e60000);
    background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    filter: brightness(1.1) saturate(1.3);
}
body.light-mode .team-member-name { color: #8a6d1b; }
body.light-mode .team-member-role { color: rgba(30,30,30,0.35); }
body.light-mode .team-member { border-bottom-color: rgba(30,30,30,0.05); }

.pricing-notice {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.7rem 1.2rem;
    background: rgba(231,76,60,0.06);
    border: 1px solid rgba(231,76,60,0.15);
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.8rem; color: rgba(231,76,60,0.7);
    max-width: 900px; margin-left: auto; margin-right: auto;
}
.pricing-notice svg { width: 16px; height: 16px; flex-shrink: 0; opacity: 0.7; }

body.light-mode .pricing-notice { background: rgba(192,57,43,0.06); border-color: rgba(192,57,43,0.15); color: rgba(192,57,43,0.7); }

/* ═══════════════════════════════════════════
   DOSYALAR SAYFASI
   ═══════════════════════════════════════════ */
.page--files {
    position: relative; z-index: 10; height: 100vh;
    flex-direction: column; align-items: center; padding: 0;
}
.files-scroll {
    width: 100%; height: 100%; overflow-y: auto;
    padding: 2rem 2rem 3rem;
}
.files-scroll::-webkit-scrollbar { width: 5px; }
.files-scroll::-webkit-scrollbar-track { background: transparent; }
.files-scroll::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }

.files-title {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 2rem);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.3rem; text-align: center;
}
.files-subtitle {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.8rem; letter-spacing: 0.15em;
    color: rgba(240,232,216,0.3); text-transform: uppercase;
    margin-bottom: 2rem; text-align: center;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    width: 100%; max-width: 900px;
    margin: 0 auto;
}

.file-card {
    background: rgba(10,10,8,0.75);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.file-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-2px); }
.file-card::before {
    content: ''; display: block; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.4;
}

.file-card-body { padding: 1.4rem; }

.file-card-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 8px;
    margin-bottom: 1rem;
}
.file-card-icon svg { width: 22px; height: 22px; color: var(--gold); }

.file-card-name {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 1rem; letter-spacing: 0.04em;
    color: var(--gold-light); margin-bottom: 0.5rem;
}
.file-card-meta {
    display: flex; gap: 0.6rem; flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.file-card-badge {
    font-family: 'Rajdhani', sans-serif; font-weight: 600;
    font-size: 0.71rem; letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem; border-radius: 4px;
    background: rgba(255,255,255,0.04); color: rgba(240,232,216,0.5);
    border: 1px solid rgba(255,255,255,0.06);
}

.file-card-dl {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; padding: 0.65rem;
    font-family: 'Oswald', sans-serif; font-weight: 700;
    font-size: 0.8rem; letter-spacing: 0.12em;
    text-transform: uppercase; text-decoration: none;
    color: #f0e8d8;
    border: 1px solid rgba(46,204,113,0.4);
    background: rgba(46,204,113,0.08);
    border-radius: 6px;
    transition: all 0.3s ease;
}
.file-card-dl svg { width: 18px; height: 18px; }
.file-card-dl:hover {
    border-color: rgba(46,204,113,0.7);
    background: rgba(46,204,113,0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(46,204,113,0.1);
}

/* ═══════════════════════════════════════════
   HATIRA GALERİSİ SAYFASI
   ═══════════════════════════════════════════ */
.page--gallery {
    position: relative; z-index: 10; height: 100vh;
    flex-direction: column; align-items: center; padding: 0;
}
.gallery-scroll {
    width: 100%; height: 100%; overflow-y: auto;
    padding: 2rem 2rem 3rem;
}
.gallery-scroll::-webkit-scrollbar { width: 5px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }

.gallery-page-title {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 2rem);
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.3rem; text-align: center;
}
.gallery-page-subtitle {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.8rem; letter-spacing: 0.15em;
    color: rgba(240,232,216,0.3); text-transform: uppercase;
    margin-bottom: 2rem; text-align: center;
}

.memory-timeline {
    max-width: 700px; width: 100%; margin: 0 auto;
    position: relative;
    padding-left: 2.5rem;
}
/* Vertical line */
.memory-timeline::before {
    content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(201,168,76,0.3), rgba(201,168,76,0.08));
}

.memory-entry {
    position: relative;
    margin-bottom: 2rem;
}
.memory-entry:last-child { margin-bottom: 0; }

/* Timeline dot */
.memory-entry::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.2rem;
    width: 12px; height: 12px;
    background: var(--gold-dark);
    border: 2px solid var(--gold);
    border-radius: 50%;
    z-index: 1;
    margin-left: 3px;
}

.memory-card {
    background: rgba(10,10,8,0.75);
    border: 1px solid rgba(201,168,76,0.1);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.memory-card:hover { border-color: rgba(201,168,76,0.3); }

.memory-card-header {
    padding: 0.8rem 1.2rem;
    background: rgba(201,168,76,0.04);
    border-bottom: 1px solid rgba(201,168,76,0.06);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.4rem;
}
.memory-date {
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    font-size: 0.8rem; letter-spacing: 0.1em;
    color: var(--gold);
    display: flex; align-items: center; gap: 0.4rem;
}
.memory-date svg { width: 14px; height: 14px; opacity: 0.6; }
.memory-desc {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.82rem;
    color: rgba(240,232,216,0.55);
}

.memory-card-img {
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    background: #0d111a;
    transition: filter 0.3s ease, transform 0.25s ease;
}
.memory-card-img:hover { filter: brightness(1.08); }
.memory-card-img.lazy-img {
    filter: none !important;
    background: transparent !important;
}
.memory-card-img.lazy-img.loaded {
    filter: none !important;
}

/* ═══════════════════════════════════════════
   KURALLARIMIZ SAYFASI
   ═══════════════════════════════════════════ */
.page--rules {
    position: relative; z-index: 10; height: 100vh;
    flex-direction: column; align-items: center; padding: 0;
}
.rules-scroll {
    width: 100%; height: 100%; overflow-y: auto;
    padding: 2rem 2rem 3rem;
}
.rules-scroll::-webkit-scrollbar { width: 5px; }
.rules-scroll::-webkit-scrollbar-track { background: transparent; }
.rules-scroll::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.2); border-radius: 3px; }

.rules-container {
    max-width: 750px; width: 100%;
    background: rgba(10,10,8,0.7);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(12px);
    position: relative; overflow: hidden;
    margin: 0 auto;
}
.rules-container::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.4;
}

.rules-header { text-align: center; margin-bottom: 2rem; }
.rules-logo { width: 80px; height: auto; margin-bottom: 0.8rem; filter: drop-shadow(0 0 15px rgba(201,168,76,0.3)); }
.rules-title {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.6rem); letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem;
}
.rules-divider {
    width: 80px; height: 2px; margin: 0 auto 1rem;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.rules-intro {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.88rem; line-height: 1.6;
    color: rgba(240,232,216,0.45); max-width: 500px; margin: 0 auto;
}

.rules-section { margin-bottom: 1.8rem; }
.rules-section:last-child { margin-bottom: 0; }
.rules-section-title {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: 'Oswald', sans-serif; font-weight: 700;
    font-size: 0.95rem; letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 0.6rem; margin-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rules-section-title svg { width: 18px; height: 18px; flex-shrink: 0; }
.rules-color-red   { color: #e74c3c; }
.rules-color-gold  { color: var(--gold); }
.rules-color-green { color: #2ecc71; }

.rule-item {
    display: flex; gap: 0.8rem; align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.025);
}
.rule-item:last-child { border-bottom: none; }
.rule-num {
    min-width: 1.7rem; height: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    font-size: 0.73rem; color: var(--gold);
    background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.15);
    border-radius: 5px; flex-shrink: 0; margin-top: 0.1rem;
}
.rule-text {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.88rem; line-height: 1.6;
    color: rgba(240,232,216,0.7);
}
.rule-text strong { color: rgba(240,232,216,0.95); }

/* ═══════════════════════════════════════════
   HAKKIMIZDA SAYFASI
   ═══════════════════════════════════════════ */
.page--about {
    position: relative; z-index: 10; height: 100vh;
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 2rem;
}
.about-container {
    max-width: 600px; width: 100%;
    background: rgba(10,10,8,0.7);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(12px);
    position: relative; overflow: hidden;
}
.about-container::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
    opacity: 0.4;
}
.about-logo { margin-bottom: 1.2rem; }
.about-logo img {
    width: 120px; height: auto;
    filter: drop-shadow(0 0 20px rgba(201,168,76,0.3));
}
.about-title {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 1.4rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--gold);
    margin-bottom: 0.8rem;
}
.about-divider {
    width: 80px; height: 2px; margin: 0 auto 1.5rem;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.about-text {
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 1rem; line-height: 1.75;
    color: rgba(240,232,216,0.75);
    text-align: left;
}
.about-footer-line {
    display: flex; align-items: center; gap: 0.8rem;
    margin-top: 2rem;
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 0.8rem; color: rgba(201,168,76,0.4);
}
.about-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(201,168,76,0.2), rgba(201,168,76,0.1));
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeSlideUp   { from { opacity: 0; transform: translateY(20px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn        { from { opacity: 0; } to { opacity: 1; } }
@keyframes float {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 0.6; } 90% { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.8); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.fade-in { animation: fadeIn 0.5s ease-out forwards; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* ── Mobile top bar ── */
.mobile-topbar {
    display: none;
    position: fixed; top: 0; left: 0; right: 0;
    height: 50px; z-index: 1000;
    background: rgba(10,10,8,0.95);
    border-bottom: 1px solid rgba(201,168,76,0.12);
    backdrop-filter: blur(12px);
    align-items: center;
    padding: 0 0.8rem;
}
.mobile-topbar-toggle {
    width: 38px; height: 38px;
    background: none; border: 1px solid rgba(201,168,76,0.25);
    border-radius: 6px; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.mobile-topbar-toggle .mob-bar {
    width: 18px; height: 2px; background: var(--gold); border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-topbar-toggle.active .mob-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-topbar-toggle.active .mob-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-topbar-toggle.active .mob-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-topbar-logo {
    height: 30px; margin-left: 0.6rem;
    filter: drop-shadow(0 0 6px rgba(201,168,76,0.2));
}
.mobile-topbar-brand {
    font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 0.73rem; color: var(--gold);
    letter-spacing: 0.04em; margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .sidebar { width: 0; --sidebar-collapsed: 0px; border-right: none; top: 50px; height: calc(100vh - 50px); overflow-y: auto; overflow-x: hidden; }
    .sidebar::-webkit-scrollbar { width: 0; }
    .sidebar.active { width: var(--sidebar-w); border-right: 1px solid rgba(201,168,76,0.15); }
    .sidebar-toggle { display: none; }
    .sidebar-header { display: none; }
    .sidebar-nav { flex: none; overflow: visible; min-height: auto; }
    .sidebar-nav-bottom { margin-top: 10rem; }
    .sidebar-footer { padding-bottom: 2rem; }
    .mobile-toggle { display: none !important; }
    .mobile-topbar { display: flex; }
    .nav-tooltip { display: none !important; }

    /* Sayfaları üst bar altına it */
    .page--home { padding-top: 60px; }
    .servers-scroll,
    .team-scroll,
    .edition-scroll,
    .pricing-scroll,
    .rules-scroll,
    .files-scroll,
    .gallery-scroll { padding-top: 60px; padding-bottom: 3rem; }
    .page--about { padding-top: 60px; }
    .page--team { padding-top: 0; }

    /* Card header: badge taşmasını önle */
    .card-header { flex-wrap: wrap; gap: 0.4rem; }
    .card-name { font-size: 0.85rem; min-width: 0; }
    .status-badge { font-size: 0.63rem; padding: 0.2rem 0.5rem; letter-spacing: 0.05em; }
    .status-dot { width: 5px; height: 5px; }

    /* Modal: X butonu başlıkla çakışmasın */
    .modal-header { padding-right: 3.5rem; }
    .modal-title { font-size: 1rem; }
    .modal-close { top: 10px; right: 10px; }
}
@media (min-width: 769px) {
    .mobile-toggle { display: none !important; }
    .mobile-topbar { display: none !important; }
}
@media (max-width: 500px) {
    .btn { width: 100%; max-width: 300px; justify-content: center; }
    .server-card { flex: 1 1 100%; }
    .card-buttons { flex-direction: column; }
    .detail-grid { grid-template-columns: 1fr; }
    .modal { max-height: 92vh; margin: 0.5rem; }
    .modal-body { padding: 1rem 1.2rem 1.5rem; }
    .edition-container { padding: 1.5rem 1.2rem; }
    .edition-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .edition-downloads { flex-direction: column; }
    .lightbox-nav { width: 36px; height: 36px; font-size: 1rem; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .about-container { padding: 1.5rem 1.2rem; }
    .rules-container { padding: 1.5rem 1.2rem; }
    .memory-timeline { padding-left: 2rem; }
    .memory-entry::before { left: -2rem; }
    .memory-card-header { flex-direction: column; align-items: flex-start; }
    .section-category-title { font-size: 0.75rem; flex-wrap: wrap; }
    .auto-connect-btn { font-size: 0.63rem; padding: 0.25rem 0.5rem; margin-left: 0; margin-top: 0.3rem; width: 100%; justify-content: center; }
    .auto-connect-note { font-size: 0.63rem; }
}

/* ═══════════════════════════════════════════
   NEW: SCROLL ANIMATIONS (Intersection Observer)
   ═══════════════════════════════════════════ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   NEW: PAGE TRANSITIONS
   ═══════════════════════════════════════════ */
.page {
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.page.active {
    animation: pageSlideIn 0.4s ease-out forwards;
}
@keyframes pageSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   NEW: LIVE BORDER GLOW (Server Cards)
   ═══════════════════════════════════════════ */
.server-card.glow-online {
    border-color: rgba(46,204,113,0.2);
    box-shadow: 0 0 15px rgba(46,204,113,0.05), inset 0 0 15px rgba(46,204,113,0.02);
    animation: glowOnline 3s ease-in-out infinite;
}
.server-card.glow-offline {
    border-color: rgba(231,76,60,0.15);
    box-shadow: 0 0 10px rgba(231,76,60,0.03);
}
@keyframes glowOnline {
    0%, 100% { box-shadow: 0 0 15px rgba(46,204,113,0.05), inset 0 0 15px rgba(46,204,113,0.02); }
    50%      { box-shadow: 0 0 25px rgba(46,204,113,0.1), inset 0 0 20px rgba(46,204,113,0.03); }
}

/* ═══════════════════════════════════════════
   NEW: TYPEWRITER EFFECT
   ═══════════════════════════════════════════ */
.typewriter-line {
    display: inline-block;
    border-right: 3px solid transparent;
    animation: blinkCursor 0.7s step-end infinite;
    min-height: 1em;
}
@keyframes blinkCursor {
    50% { border-right-color: transparent; }
}

/* ═══════════════════════════════════════════
   NEW: PARALLAX BACKGROUND
   ═══════════════════════════════════════════ */
.bg-layer.parallax::before {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ═══════════════════════════════════════════
   NEW: 3D TILT HOVER
   ═══════════════════════════════════════════ */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}
.tilt-card:hover {
    transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

/* ═══════════════════════════════════════════
   NEW: LOADING RING (replaces bar)
   ═══════════════════════════════════════════ */
.loading-ring {
    width: 160px; height: 160px;
    position: relative;
    margin-bottom: 1rem;
}
.loading-ring img {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90px; height: 90px;
    filter: drop-shadow(0 0 20px rgba(201,168,76,0.3));
    animation: loadingPulse 1.5s ease-in-out infinite;
}
.loading-ring svg {
    width: 100%; height: 100%;
    animation: ringRotate 2s linear infinite;
}
.loading-ring circle {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-dasharray: 150 300;
    stroke-linecap: round;
    opacity: 0.6;
}
@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════
   NEW: STAGGERED MENU ANIMATION (labels only)
   ═══════════════════════════════════════════ */
.sidebar.active .nav-item .nav-item-label {
    animation: menuLabelIn 0.3s ease-out forwards;
    opacity: 0;
}
.sidebar.active .nav-item:nth-child(1) .nav-item-label { animation-delay: 0.05s; }
.sidebar.active .nav-item:nth-child(2) .nav-item-label { animation-delay: 0.1s; }
.sidebar.active .nav-item:nth-child(3) .nav-item-label { animation-delay: 0.15s; }
.sidebar.active .nav-item:nth-child(4) .nav-item-label { animation-delay: 0.2s; }
.sidebar.active .nav-item:nth-child(5) .nav-item-label { animation-delay: 0.25s; }
.sidebar.active .nav-item:nth-child(6) .nav-item-label { animation-delay: 0.3s; }
.sidebar.active .nav-item:nth-child(7) .nav-item-label { animation-delay: 0.35s; }
.sidebar.active .nav-item:nth-child(8) .nav-item-label { animation-delay: 0.4s; }
.sidebar.active .nav-item:nth-child(9) .nav-item-label { animation-delay: 0.45s; }
@keyframes menuLabelIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}
.sidebar:not(.active) .nav-item .nav-item-label {
    opacity: 1;
    animation: none;
}

/* ═══════════════════════════════════════════
   NEW: COUNT-UP ANIMATION (Pricing)
   ═══════════════════════════════════════════ */
.count-up { display: inline-block; }

/* ═══════════════════════════════════════════
   NEW: MASONRY GALLERY
   ═══════════════════════════════════════════ */
.edition-gallery.masonry {
    columns: 3;
    column-gap: 0.8rem;
}
.edition-gallery.masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 0.8rem;
    display: inline-block;
    width: 100%;
}
.edition-gallery.masonry .gallery-item img {
    height: 160px;
    object-fit: cover;
}
@media (max-width: 600px) {
    .edition-gallery.masonry { columns: 2; }
    .edition-gallery.masonry .gallery-item img { height: 120px; }
}

/* ═══════════════════════════════════════════
   NEW: SMOOTH SCROLL
   ═══════════════════════════════════════════ */
.servers-scroll, .team-scroll, .edition-scroll, .pricing-scroll,
.rules-scroll, .files-scroll, .gallery-scroll {
    scroll-behavior: smooth;
}

/* ═══════════════════════════════════════════
   NEW: BACK TO TOP BUTTON
   ═══════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 42px; height: 42px;
    background: rgba(10,10,10,0.8);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    cursor: pointer;
    z-index: 800;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.back-to-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: rgba(201,168,76,0.12);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 500px) {
    .back-to-top { bottom: 1rem; right: 1rem; width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════════
   NEW: TOOLTIP ANIMATIONS (improved)
   ═══════════════════════════════════════════ */
.nav-tooltip {
    transform: translateY(-50%) translateX(-5px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.sidebar:not(.active) .nav-item:hover .nav-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ═══════════════════════════════════════════
   NEW: DARK/LIGHT MODE TOGGLE
   ═══════════════════════════════════════════ */
/* Light mode overrides */
body.light-mode { background: #f0ebe0; color: #1a1a1a; }

/* Background */
body.light-mode .bg-layer::before { filter: blur(8px) brightness(0.85) saturate(0.4); }
body.light-mode .bg-layer::after {
    background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.03) 0%, transparent 60%),
    linear-gradient(180deg, rgba(240,235,224,0.85) 0%, rgba(240,235,224,0.7) 40%, rgba(240,235,224,0.9) 100%);
}
body.light-mode .noise { opacity: 0.015; }
body.light-mode .scanlines { opacity: 0; }
body.light-mode .particle { background: #8a6d1b; opacity: 0.3; }

/* Loading */
body.light-mode .loading-screen { background: #f0ebe0; }
body.light-mode .loading-logo { filter: drop-shadow(0 0 15px rgba(138,109,27,0.2)); }
body.light-mode .loading-bar { background: linear-gradient(90deg, #8a6d1b, #c9a84c, #8a6d1b); }
body.light-mode .loading-text { color: rgba(138,109,27,0.5); }

/* Sidebar */
body.light-mode .sidebar {
    background: linear-gradient(180deg, rgba(245,240,230,0.98), rgba(240,235,224,0.99));
    border-right-color: rgba(138,109,27,0.15);
}
body.light-mode .sidebar-header { border-bottom-color: rgba(138,109,27,0.1); }
body.light-mode .sidebar-header .brand { color: #5a4510; }
body.light-mode .sidebar-header .brand small { color: rgba(30,30,30,0.45); }
body.light-mode .nav-item { color: rgba(30,30,30,0.55); border-left-color: transparent; }
body.light-mode .nav-item:hover { color: rgba(30,30,30,0.8); background: rgba(138,109,27,0.06); }
body.light-mode .nav-item.active { color: #5a4510; border-left-color: #8a6d1b; background: rgba(138,109,27,0.1); }
body.light-mode .nav-item svg { opacity: 0.6; }
body.light-mode .nav-item.active svg { opacity: 1; }
body.light-mode .nav-tooltip { background: rgba(245,240,230,0.97); color: #5a4510; border-color: rgba(138,109,27,0.2); }
body.light-mode .sidebar-footer { color: rgba(30,30,30,0.25); }
body.light-mode .sidebar-nav-bottom { border-top-color: rgba(138,109,27,0.08); }
body.light-mode .sidebar-toggle:hover { background: rgba(138,109,27,0.06); }
body.light-mode .sidebar-toggle .toggle-bar { background: #8a6d1b; }

/* Mobile top bar */
body.light-mode .mobile-topbar { background: rgba(245,240,230,0.97); border-bottom-color: rgba(138,109,27,0.12); }
body.light-mode .mobile-topbar-toggle { border-color: rgba(138,109,27,0.25); }
body.light-mode .mobile-topbar-toggle .mob-bar { background: #8a6d1b; }
body.light-mode .mobile-topbar-brand { color: #5a4510; }

/* Home page */
body.light-mode .title {
    background: linear-gradient(180deg, #5a4510 0%, #8a6d1b 40%, #5a4510 100%);
    -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 1px 6px rgba(138,109,27,0.15));
}
body.light-mode .clan-tag { color: #8a6d1b; }
body.light-mode .subtitle { color: #8b1a1a; text-shadow: none; }
body.light-mode .divider { background: linear-gradient(90deg, transparent, #8a6d1b 30%, #8a6d1b 70%, transparent); }
body.light-mode .divider::before { color: #8a6d1b; background: transparent; }
body.light-mode .servers-home-btn { color: #5a4510; border-color: rgba(138,109,27,0.35); background: rgba(138,109,27,0.06); }
body.light-mode .servers-home-btn:hover { color: #5a4510; border-color: #8a6d1b; background: rgba(138,109,27,0.12); }
body.light-mode .instagram-home { color: #5a4510; border-color: rgba(30,30,30,0.15); background: rgba(30,30,30,0.04); }
body.light-mode .instagram-home:hover { color: #c13584; border-color: rgba(193,53,132,0.4); background: rgba(193,53,132,0.06); }

/* Server status page */
body.light-mode .servers-title { color: #5a4510; }
body.light-mode .servers-subtitle { color: rgba(30,30,30,0.4); }
body.light-mode .refresh-timer { color: rgba(138,109,27,0.6); }
body.light-mode .section-category-title { color: rgba(138,109,27,0.6); border-bottom-color: rgba(138,109,27,0.2); }

/* Cards (server, price, file, rules, about, edition) */
body.light-mode .server-card,
body.light-mode .price-card,
body.light-mode .file-card,
body.light-mode .rules-container,
body.light-mode .about-container,
body.light-mode .edition-container,
body.light-mode .memory-card {
    background: rgba(255,255,255,0.8);
    border-color: rgba(138,109,27,0.12);
    backdrop-filter: blur(8px);
}
body.light-mode .server-card:hover,
body.light-mode .price-card:hover,
body.light-mode .file-card:hover,
body.light-mode .memory-card:hover { border-color: rgba(138,109,27,0.25); }
body.light-mode .server-card::before,
body.light-mode .edition-container::before,
body.light-mode .rules-container::before,
body.light-mode .about-container::before,
body.light-mode .file-card::before { background: linear-gradient(90deg, transparent, #c9a84c 50%, transparent); opacity: 0.3; }

/* Card headers */
body.light-mode .card-name { color: #5a4510; }
body.light-mode .card-header { border-bottom-color: rgba(138,109,27,0.06); }

/* Status badges */
body.light-mode .status-badge.online { background: rgba(39,174,96,0.12); color: #1e8449; border-color: rgba(39,174,96,0.25); }
body.light-mode .status-badge.offline { background: rgba(192,57,43,0.1); color: #a93226; border-color: rgba(192,57,43,0.2); }
body.light-mode .status-badge.loading { background: rgba(138,109,27,0.08); color: #8a6d1b; border-color: rgba(138,109,27,0.15); }

/* Info rows */
body.light-mode .info-label { color: rgba(30,30,30,0.45); }
body.light-mode .info-value { color: rgba(30,30,30,0.8); }
body.light-mode .info-row { border-bottom-color: rgba(30,30,30,0.06); }

/* Player bar */
body.light-mode .player-bar-bg { background: rgba(30,30,30,0.06); }
body.light-mode .player-bar-fill { background: linear-gradient(90deg, #8a6d1b, #c9a84c); }

/* Glow effects */
body.light-mode .server-card.glow-online { border-color: rgba(39,174,96,0.2); box-shadow: 0 2px 12px rgba(39,174,96,0.08); }
body.light-mode .server-card.glow-offline { border-color: rgba(192,57,43,0.15); box-shadow: 0 2px 8px rgba(192,57,43,0.05); }

/* Buttons */
body.light-mode .btn { color: #3a3020; }
body.light-mode .btn--cs { border-color: rgba(138,109,27,0.4); background: rgba(138,109,27,0.06); }
body.light-mode .btn--cs:hover { border-color: #8a6d1b; background: rgba(138,109,27,0.12); box-shadow: 0 4px 15px rgba(138,109,27,0.1); }
body.light-mode .btn--ts3 { border-color: rgba(41,128,185,0.4); background: rgba(41,128,185,0.06); }
body.light-mode .btn--ts3:hover { border-color: #2980b9; background: rgba(41,128,185,0.1); box-shadow: 0 4px 15px rgba(41,128,185,0.1); }
body.light-mode .btn--detail { border-color: rgba(30,30,30,0.15) !important; background: rgba(30,30,30,0.04) !important; }
body.light-mode .btn--detail:hover { border-color: rgba(30,30,30,0.3) !important; background: rgba(30,30,30,0.08) !important; }
body.light-mode .btn--connect { color: #3a3020; }

/* Modal */
body.light-mode .modal-overlay { background: rgba(30,25,15,0.5); }
body.light-mode .modal { background: linear-gradient(180deg, rgba(250,247,240,0.99), rgba(245,242,235,0.99)); border-color: rgba(138,109,27,0.15); }
body.light-mode .modal-close { color: rgba(30,30,30,0.4); }
body.light-mode .modal-close:hover { color: #8a6d1b; background: rgba(138,109,27,0.08); }
body.light-mode .modal-header { border-bottom-color: rgba(138,109,27,0.1); }
body.light-mode .modal-title { color: #5a4510; }
body.light-mode .detail-section-title { color: rgba(30,30,30,0.5); }
body.light-mode .detail-item { background: rgba(138,109,27,0.03); border-color: rgba(138,109,27,0.08); }
body.light-mode .detail-item-label { color: rgba(30,30,30,0.4); }
body.light-mode .detail-item-value { color: rgba(30,30,30,0.85); }
body.light-mode .player-count-badge { background: rgba(138,109,27,0.1); color: #8a6d1b; border-color: rgba(138,109,27,0.15); }

/* Players table */
body.light-mode .players-table th { background: rgb(240,235,224); color: rgba(138,109,27,0.7); border-bottom-color: rgba(138,109,27,0.12); }
body.light-mode .players-table td { color: rgba(30,30,30,0.7); border-bottom-color: rgba(30,30,30,0.05); }
body.light-mode .players-table tbody tr:hover { background: rgba(138,109,27,0.06); }
body.light-mode .players-table tbody tr:hover td { color: rgba(30,30,30,0.9); }
body.light-mode .players-table .player-name { color: rgba(30,30,30,0.85); }
body.light-mode .players-table .player-score { color: #8a6d1b; }
body.light-mode .players-table-wrap { border-color: rgba(138,109,27,0.1); }
body.light-mode .no-players { color: rgba(30,30,30,0.35); }

/* Pricing page */
body.light-mode .pricing-title { color: #5a4510; }
body.light-mode .pricing-subtitle { color: rgba(30,30,30,0.4); }
body.light-mode .price-card-header { background: rgba(138,109,27,0.04); border-bottom-color: rgba(138,109,27,0.08); }
body.light-mode .price-card-price { color: #2a2010; }
body.light-mode .price-card-price small { color: rgba(30,30,30,0.45); }
body.light-mode .price-feature { color: rgba(30,30,30,0.7); border-bottom-color: rgba(30,30,30,0.05); }
body.light-mode .price-feature strong { color: rgba(30,30,30,0.9); }
body.light-mode .price-feature-icon { color: #8a6d1b; }
body.light-mode .rank-owner .price-card-rank { color: #c0392b; }
body.light-mode .rank-partner .price-card-rank { color: #7d3c98; }
body.light-mode .rank-tagsizvip .price-card-rank { color: #b7950b; }
body.light-mode .rank-vip .price-card-rank { color: #1e8449; }
body.light-mode .rank-normal .price-card-rank { color: #2471a3; }

/* Edition page */
body.light-mode .edition-title { color: #5a4510; }
body.light-mode .edition-badge { background: rgba(138,109,27,0.08); color: #8a6d1b; border-color: rgba(138,109,27,0.15); }
body.light-mode .edition-author { color: rgba(30,30,30,0.55); }
body.light-mode .edition-author strong { color: rgba(30,30,30,0.8); }
body.light-mode .edition-section-title { border-bottom-color: rgba(30,30,30,0.08); }
body.light-mode .edition-version-note { background: rgba(192,57,43,0.08); color: #a93226; border-color: rgba(192,57,43,0.15); }
body.light-mode .edition-list li { color: rgba(30,30,30,0.7); border-bottom-color: rgba(30,30,30,0.05); }
body.light-mode .edition-list li::before { background: rgba(138,109,27,0.08); border-color: rgba(138,109,27,0.15); color: #8a6d1b; }
body.light-mode .edition-list li strong { color: rgba(30,30,30,0.9); }
body.light-mode .edition-note-box { background: rgba(138,109,27,0.05); border-color: rgba(138,109,27,0.15); color: rgba(30,30,30,0.7); }
body.light-mode .edition-note-box strong { color: #8a6d1b; }
body.light-mode .edition-text { color: rgba(30,30,30,0.6); }
body.light-mode .edition-text-small { color: rgba(30,30,30,0.4); }
body.light-mode .edition-video-link { background: rgba(255,0,0,0.05); border-color: rgba(255,0,0,0.15); color: #cc0000; }
body.light-mode .edition-video-link:hover { background: rgba(255,0,0,0.1); border-color: rgba(255,0,0,0.25); }
body.light-mode .gallery-item { border-color: rgba(138,109,27,0.1); }
body.light-mode .gallery-item:hover { border-color: rgba(138,109,27,0.25); }
body.light-mode .gallery-caption { background: rgba(245,240,230,0.9); color: rgba(30,30,30,0.6); }

/* Files page */
body.light-mode .files-title { color: #5a4510; }
body.light-mode .files-subtitle { color: rgba(30,30,30,0.4); }
body.light-mode .file-card-icon { background: rgba(138,109,27,0.06); border-color: rgba(138,109,27,0.12); }
body.light-mode .file-card-icon svg { color: #8a6d1b; }
body.light-mode .file-card-name { color: #5a4510; }
body.light-mode .file-card-badge { background: rgba(30,30,30,0.04); color: rgba(30,30,30,0.55); border-color: rgba(30,30,30,0.08); }
body.light-mode .file-card-dl { border-color: rgba(39,174,96,0.3); background: rgba(39,174,96,0.05); color: #1e8449; }
body.light-mode .file-card-dl:hover { border-color: rgba(39,174,96,0.5); background: rgba(39,174,96,0.1); }

/* Gallery page */
body.light-mode .gallery-page-title { color: #5a4510; }
body.light-mode .gallery-page-subtitle { color: rgba(30,30,30,0.4); }
body.light-mode .memory-timeline::before { background: linear-gradient(180deg, rgba(138,109,27,0.25), rgba(138,109,27,0.08)); }
body.light-mode .memory-entry::before { background: #c9a84c; border-color: #8a6d1b; }
body.light-mode .memory-card-header { background: rgba(138,109,27,0.03); border-bottom-color: rgba(138,109,27,0.08); }
body.light-mode .memory-date { color: #8a6d1b; }
body.light-mode .memory-desc { color: rgba(30,30,30,0.6); }

/* Rules page */
body.light-mode .rules-title { color: #5a4510; }
body.light-mode .rules-divider { background: linear-gradient(90deg, transparent, #8a6d1b, transparent); }
body.light-mode .rules-intro { color: rgba(30,30,30,0.5); }
body.light-mode .rules-section-title { border-bottom-color: rgba(30,30,30,0.08); }
body.light-mode .rule-item { border-bottom-color: rgba(30,30,30,0.05); }
body.light-mode .rule-num { background: rgba(138,109,27,0.08); border-color: rgba(138,109,27,0.15); color: #8a6d1b; }
body.light-mode .rule-text { color: rgba(30,30,30,0.7); }
body.light-mode .rule-text strong { color: rgba(30,30,30,0.9); }

/* About page */
body.light-mode .about-title { color: #5a4510; }
body.light-mode .about-divider { background: linear-gradient(90deg, transparent, #8a6d1b, transparent); }
body.light-mode .about-text { color: rgba(30,30,30,0.7); }
body.light-mode .about-footer-line { color: rgba(138,109,27,0.4); }
body.light-mode .about-line { background: linear-gradient(90deg, rgba(138,109,27,0.2), rgba(138,109,27,0.1)); }

/* Lightbox */
body.light-mode .lightbox-overlay { background: rgba(30,25,15,0.85); }

/* Back to top */
body.light-mode .back-to-top { background: rgba(255,255,255,0.9); border-color: rgba(138,109,27,0.2); color: #8a6d1b; }
body.light-mode .back-to-top:hover { background: rgba(138,109,27,0.1); border-color: #8a6d1b; }

/* Skeleton loading */
body.light-mode .skeleton { background: linear-gradient(90deg, rgba(30,30,30,0.04) 25%, rgba(30,30,30,0.08) 50%, rgba(30,30,30,0.04) 75%); }

/* ═══════════════════════════════════════════
   NEW: TOUCH SWIPE INDICATOR (Gallery)
   ═══════════════════════════════════════════ */
.swipe-hint {
    position: absolute; bottom: 4rem; left: 50%; transform: translateX(-50%);
    font-family: 'Rajdhani', sans-serif; font-weight: 500;
    font-size: 0.73rem; color: rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
    animation: swipeHintFade 3s ease 1s forwards;
}
@keyframes swipeHintFade {
    0% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; }
}

/* ═══════════════════════════════════════════
   NEW: SAFE AREA (iPhone notch)
   ═══════════════════════════════════════════ */
@supports (padding: env(safe-area-inset-top)) {
    .mobile-topbar { padding-top: env(safe-area-inset-top); }
    .back-to-top { bottom: calc(2rem + env(safe-area-inset-bottom)); }
}

/* ═══════════════════════════════════════════
   NEW: TABLET LAYOUT (768-1024px)
   ═══════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
    .server-card { flex: 1 1 300px; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .edition-gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
    .detail-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   NEW: LANDSCAPE MODE
   ═══════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
    .page--home { padding-top: 1rem; }
    .emblem img { width: 80px; }
    .title { font-size: 2rem; }
    .subtitle { margin-bottom: 1rem; }
    .loading-ring { width: 100px; height: 100px; }
    .loading-ring img { width: 55px; height: 55px; }
}

/* ═══════════════════════════════════════════
   NEW: BLUR PLACEHOLDER (Lazy Loading)
   ═══════════════════════════════════════════ */
.lazy-img {
    background: rgba(201,168,76,0.05);
    filter: blur(10px);
    transition: filter 0.5s ease;
}
.lazy-img.loaded { filter: blur(0); }

/* ═══════════════════════════════════════════
   NEW: ERROR PAGES (403, 500)
   ═══════════════════════════════════════════ */
.error-code { letter-spacing: 0.05em; }

/* ═══════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════ */
@media print {
    .bg-layer, .noise, .scanlines, .particle,
    .sidebar, .sidebarOverlay, .mobile-topbar,
    .back-to-top, .loading-screen, .lightbox-overlay,
    .modal-overlay, .scroll-spacer, .skip-link { display: none !important; }
    body, html { overflow: visible !important; height: auto !important; background: #fff !important; color: #000 !important; }
    .page { display: block !important; position: static !important; height: auto !important; overflow: visible !important; }
    .page:not(.active) { display: none !important; }
    .server-card, .price-card, .file-card, .rules-container,
    .about-container, .edition-container, .memory-card {
        background: #fff !important; border: 1px solid #ccc !important;
        box-shadow: none !important; backdrop-filter: none !important;
        page-break-inside: avoid;
    }
    .title, .servers-title, .pricing-title, .files-title,
    .gallery-page-title, .rules-title, .about-title, .edition-title { color: #000 !important; }
    a { color: #000 !important; text-decoration: underline !important; }
    img { max-width: 100% !important; }
    .servers-scroll, .edition-scroll, .pricing-scroll,
    .rules-scroll, .files-scroll, .gallery-scroll {
        overflow: visible !important; height: auto !important; padding: 0 !important;
    }
}


/* ═══════════════════════════════════════════════════════════════
   AYYILDIZ STYLE TEAM CARDS & CATEGORIES
   ═══════════════════════════════════════════════════════════════ */
.team-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin: 1.5rem auto 2.5rem;
    max-width: 900px;
}
.team-filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.25s ease;
}
.team-filter-btn:hover {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #ffffff;
}
.team-filter-btn.active {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25);
}
.team-category-section {
    margin-bottom: 2.8rem;
}
.team-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.team-category-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.team-category-count {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Rajdhani', sans-serif;
}
.team-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}
.team-member-card {
    background: rgba(14, 17, 23, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.team-member-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.15), 0 4px 12px rgba(0, 0, 0, 0.5);
}
.team-member-card.founder-card {
    border-color: rgba(201, 168, 76, 0.25);
}
.team-member-card.founder-card:hover {
    border-color: rgba(201, 168, 76, 0.5);
    box-shadow: 0 12px 30px rgba(201, 168, 76, 0.18), 0 4px 12px rgba(0, 0, 0, 0.5);
}
.tmc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}
.tmc-avatar {
    width: 36px;
    height: 36px;
    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;
    color: rgba(255, 255, 255, 0.7);
}
.founder-card .tmc-avatar {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.35);
    color: #c9a84c;
}
.tmc-clan-badge {
    font-size: 0.68rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.05em;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    text-transform: uppercase;
}
.founder-card .tmc-clan-badge {
    color: #c9a84c;
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.25);
}
.tmc-body {
    flex: 1;
    margin-bottom: 1rem;
}
.tmc-nick {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.tmc-realname {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}
.tmc-rank {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    display: inline-block;
}
.tmc-rank.rank-kurucu { color: #f59e0b; }
.tmc-rank.rank-sadrazam { color: #eab308; }
.tmc-rank.rank-sahip { color: #f97316; }
.tmc-rank.rank-genel { color: #38bdf8; }
.tmc-rank.rank-demirbas { color: #a855f7; }
.tmc-rank.rank-kurmay { color: #ec4899; }
.tmc-rank.rank-yonetim { color: #ef4444; }
.tmc-rank.rank-alt-yonetim { color: #94a3b8; }
.tmc-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.35;
}
.tmc-footer {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.tmc-auth {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.02em;
}
@media (max-width: 640px) {
    .team-grid-cards { grid-template-columns: 1fr; }
    .team-filter-bar { gap: 0.4rem; }
    .team-filter-btn { padding: 0.45rem 0.8rem; font-size: 0.8rem; }
}


/* ═══════════════════════════════════════════════════════════════
   RANKSYSTEM HERO BUTTON & PUBLIC STATS LEADERBOARD STYLES
   ═══════════════════════════════════════════════════════════════ */
.ranksystem-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.8rem;
    color: var(--gold-light, #e8d48b);
    border: 1px solid rgba(201, 168, 76, 0.45);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(138, 109, 27, 0.22));
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}
.ranksystem-home-btn:hover {
    color: #fff;
    border-color: var(--gold, #c9a84c);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.3), rgba(138, 109, 27, 0.45));
    box-shadow: 0 0 25px rgba(201, 168, 76, 0.45);
    transform: translateY(-2px);
}
.ranksystem-home-btn svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}
.ranksystem-home-btn:hover svg {
    transform: scale(1.15) rotate(5deg);
}

.page--stats {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 2rem 1.5rem 6rem 1.5rem;
}
.stats-scroll {
    max-width: 1200px;
    margin: 0 auto;
}

/* TOP 10 BADGE STYLES */
.badge-rank-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}
.badge-pill-icon { font-size: 13px; display: inline-block; }

.rank-1 td { background: rgba(255, 215, 0, 0.09) !important; border-color: rgba(255, 215, 0, 0.35) !important; }
.rank-1 .badge-pill { background: linear-gradient(135deg, #ffd700, #b8860b); color: #000; border: 1px solid #ffe57f; box-shadow: 0 0 16px rgba(255, 215, 0, 0.5); }

.rank-2 td { background: rgba(220, 225, 235, 0.07) !important; border-color: rgba(220, 225, 235, 0.3) !important; }
.rank-2 .badge-pill { background: linear-gradient(135deg, #f5f7fa, #9aa0a6); color: #000; border: 1px solid #ffffff; box-shadow: 0 0 14px rgba(220, 225, 235, 0.35); }

.rank-3 td { background: rgba(211, 84, 0, 0.07) !important; border-color: rgba(211, 84, 0, 0.3) !important; }
.rank-3 .badge-pill { background: linear-gradient(135deg, #e67e22, #8b4513); color: #fff; border: 1px solid #f39c12; box-shadow: 0 0 14px rgba(230, 126, 34, 0.35); }

.rank-4 td { background: rgba(0, 210, 255, 0.05) !important; border-color: rgba(0, 210, 255, 0.25) !important; }
.rank-4 .badge-pill { background: linear-gradient(135deg, #00d2ff, #3a7bd5); color: #fff; border: 1px solid #80e5ff; box-shadow: 0 0 12px rgba(0, 210, 255, 0.35); }

.rank-5 td { background: rgba(155, 81, 224, 0.05) !important; border-color: rgba(155, 81, 224, 0.25) !important; }
.rank-5 .badge-pill { background: linear-gradient(135deg, #9b51e0, #5c258d); color: #fff; border: 1px solid #c792ea; box-shadow: 0 0 12px rgba(155, 81, 224, 0.35); }

.rank-6 td { background: rgba(255, 65, 108, 0.05) !important; border-color: rgba(255, 65, 108, 0.2) !important; }
.rank-6 .badge-pill { background: linear-gradient(135deg, #ff416c, #8b0000); color: #fff; border: 1px solid #ff758c; box-shadow: 0 0 12px rgba(255, 65, 108, 0.3); }

.rank-7 td { background: rgba(243, 156, 18, 0.05) !important; border-color: rgba(243, 156, 18, 0.2) !important; }
.rank-7 .badge-pill { background: linear-gradient(135deg, #f39c12, #b76e00); color: #fff; border: 1px solid #f9ca24; box-shadow: 0 0 12px rgba(243, 156, 18, 0.3); }

.rank-8 td { background: rgba(56, 239, 125, 0.05) !important; border-color: rgba(56, 239, 125, 0.2) !important; }
.rank-8 .badge-pill { background: linear-gradient(135deg, #11998e, #1f6b47); color: #fff; border: 1px solid #38ef7d; box-shadow: 0 0 12px rgba(56, 239, 125, 0.3); }

.rank-9 td { background: rgba(142, 158, 171, 0.05) !important; border-color: rgba(142, 158, 171, 0.2) !important; }
.rank-9 .badge-pill { background: linear-gradient(135deg, #757f9a, #434a54); color: #fff; border: 1px solid #b4bcc8; box-shadow: 0 0 12px rgba(142, 158, 171, 0.25); }

.rank-10 td { background: rgba(201, 168, 76, 0.05) !important; border-color: rgba(201, 168, 76, 0.2) !important; }
.rank-10 .badge-pill { background: linear-gradient(135deg, #c9a84c, #664d14); color: #fff; border: 1px solid #e8d48b; box-shadow: 0 0 12px rgba(201, 168, 76, 0.3); }

.rank-num-normal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted, #8b949e);
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
}


.servers-scroll,
.team-scroll,
.edition-scroll,
.pricing-scroll,
.rules-scroll,
.files-scroll,
.gallery-scroll,
.players-scroll {
    padding-top: calc(var(--header-h, 68px) + 1.5rem) !important;
    padding-bottom: 3.5rem;
}
.page--about {
    padding-top: calc(var(--header-h, 68px) + 2rem) !important;
}
.page--stats,
.page--match-stats {
    padding-top: var(--header-h, 68px) !important;
}


/* ==========================================================================
   EVLAD-I OSMANLI - OYUNCU PROFİLLERİ, HESAP DOĞRULAMA & FRAG VİTRİNİ STİLLERİ
   ========================================================================== */

/* ── Navbar Giriş / Profil Butonu ── */
.header-action-btn--auth.logged-in {
    background: rgba(212, 175, 55, 0.12) !important;
    border-color: rgba(212, 175, 55, 0.45) !important;
    color: #e6c86e !important;
    gap: 8px;
    padding: 0 14px 0 6px;
}
.header-action-btn--auth.logged-in:hover {
    background: rgba(212, 175, 55, 0.22) !important;
    border-color: rgba(212, 175, 55, 0.8) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}
.nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #d4af37;
}
.nav-avatar-fallback {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #0b0f19;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-username {
    font-weight: 700;
    letter-spacing: 0.3px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-verified-badge {
    background: #10b981;
    color: #fff;
    font-size: 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-left: 2px;
}

/* ── Toast Bildirimleri ── */
.eosm-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.28s ease;
    pointer-events: none;
}
.eosm-toast.show {
    opacity: 1;
    transform: translateY(0);
}
.eosm-toast--success {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
    color: #a7f3d0;
}
.eosm-toast--error {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}
.eosm-toast--info {
    border-color: rgba(212, 175, 55, 0.5);
    color: #fde68a;
}

/* ── Modal Altyapısı ── */
.eosm-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 7, 14, 0.78);
    backdrop-filter: blur(8px);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}
.eosm-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}
.eosm-modal {
    background: #0f172a;
    background: linear-gradient(180deg, #131d33 0%, #0b1120 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.08);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    color: #e2e8f0;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}
.eosm-modal-backdrop.show .eosm-modal {
    transform: scale(1);
}
.eosm-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-size: 20px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}
.eosm-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

/* ── Butonlar & Formlar ── */
.eosm-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.eosm-btn--gold {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #0b0f19;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}
.eosm-btn--gold:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
.eosm-btn--verify {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}
.eosm-btn--verify:hover {
    background: rgba(16, 185, 129, 0.28);
    border-color: #10b981;
}
.eosm-btn--outline {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}
.eosm-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.eosm-btn--full {
    width: 100%;
}
.eosm-btn--sm {
    padding: 6px 12px;
    font-size: 12px;
}
.eosm-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: eosm-spin 0.6s linear infinite;
}
@keyframes eosm-spin {
    to { transform: rotate(360deg); }
}

.eosm-form-group {
    margin-bottom: 14px;
    text-align: left;
}
.eosm-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.eosm-form-group input,
.eosm-form-group textarea,
.eosm-form-group select {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}
.eosm-form-group input:focus,
.eosm-form-group textarea:focus,
.eosm-form-group select:focus {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.eosm-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    text-align: left;
}
.eosm-alert.error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

/* ── Auth Modal Detayları ── */
.eosm-auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.eosm-auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 16px;
    color: #94a3b8;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}
.eosm-auth-tab.active {
    color: #d4af37;
    border-bottom-color: #d4af37;
    background: rgba(212, 175, 55, 0.04);
}
.eosm-auth-body {
    padding: 24px;
}
.eosm-auth-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}
.eosm-auth-footer a {
    color: #d4af37;
    font-weight: 700;
    text-decoration: none;
}

/* ── Verify Modal Detayları ── */
.eosm-modal--verify {
    max-width: 540px;
}
.eosm-verify-header {
    padding: 24px 24px 12px;
    text-align: center;
}
.eosm-verify-icon {
    font-size: 38px;
    margin-bottom: 8px;
}
.eosm-verify-header h3 {
    margin: 0 0 6px;
    color: #d4af37;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.eosm-verify-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
}
.eosm-verify-body {
    padding: 12px 24px 24px;
}
.eosm-live-chips-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 8px 0 6px;
}
.eosm-live-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.eosm-player-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 4px 10px;
    color: #cbd5e1;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.eosm-player-chip:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
    color: #e6c86e;
}
.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}
.eosm-verify-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}
.verify-step {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px;
}
.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d4af37;
    color: #0b0f19;
    font-weight: 800;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-desc {
    font-size: 13px;
    color: #cbd5e1;
    flex: 1;
}
.step-desc code {
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    color: #d4af37;
    font-family: monospace;
}
.eosm-code-box {
    margin-top: 8px;
    background: #090d16;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: monospace;
    font-size: 13px;
    color: #38bdf8;
}
.eosm-code-box button {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #e6c86e;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}
.eosm-code-box button:hover {
    background: rgba(212, 175, 55, 0.3);
}
.eosm-code-box button.copied {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}
.eosm-verify-success {
    text-align: center;
    padding: 20px 0;
}
.success-icon {
    font-size: 46px;
    margin-bottom: 10px;
}
.eosm-verify-success h3 {
    color: #10b981;
    font-size: 20px;
    margin: 0 0 8px;
}
.verified-nick-box {
    font-size: 22px;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    padding: 10px;
    margin: 12px 0;
}

/* ── Oyuncular Sayfası Dashboard & Filtreler ── */
.players-dashboard-header {
    margin-bottom: 24px;
}
.dashboard-user-card {
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.dash-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d4af37;
}
.dash-avatar .avatar-letter {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #996515);
    color: #0b0f19;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dash-info {
    flex: 1;
    min-width: 220px;
}
.dash-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.dash-name-row h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.verified-tag {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}
.unverified-tag {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}
.dash-cs-nick {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}
.dash-cs-nick strong {
    color: #38bdf8;
}
.dash-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.dash-guest-info {
    flex: 1;
    min-width: 250px;
}
.guest-title {
    font-size: 18px;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 4px;
}
.guest-desc {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

/* ── Kontrol Barı (Tabs & Search) ── */
.players-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}
.players-tabs {
    display: flex;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}
.player-tab-btn {
    background: none;
    border: none;
    color: #94a3b8;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.player-tab-btn.active {
    background: #d4af37;
    color: #0b0f19;
}
.tab-count {
    background: rgba(0, 0, 0, 0.25);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 11px;
}
.players-search-box input {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 9px 14px;
    color: #fff;
    font-size: 13px;
    width: 240px;
    outline: none;
    transition: all 0.2s;
}
.players-search-box input:focus {
    border-color: #d4af37;
    width: 280px;
}

/* ── Oyuncu Kartları Grid ── */
.players-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.player-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.player-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.1);
}
.player-card-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.player-card-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #d4af37;
}
.card-avatar-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #0b0f19;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-username {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}
.player-cs-nick {
    font-size: 12px;
    color: #38bdf8;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.badge-icon {
    color: #10b981;
    font-weight: 900;
}
.player-unverified-tag {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}
.player-card-bio {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}
.player-card-stats-row {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 14px;
    font-size: 11px;
    color: #cbd5e1;
    justify-content: space-around;
}
.p-stat-item .icon {
    color: #d4af37;
}
.player-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.fav-weapon-tag {
    font-size: 11px;
    color: #e6c86e;
    background: rgba(212, 175, 55, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.view-profile-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s;
}
.player-card:hover .view-profile-btn {
    color: #d4af37;
}

/* ── Frag Vitrini Grid ── */
.frags-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.frag-card {
    background: rgba(17, 24, 39, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}
.frag-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4);
}
.frag-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}
.frag-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.frag-card:hover .frag-img-wrap img {
    transform: scale(1.05);
}
.frag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.frag-card:hover .frag-overlay {
    opacity: 1;
}
.zoom-icon {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.frag-details {
    padding: 12px;
}
.frag-owner {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 6px;
}
.frag-owner-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}
.frag-owner-letter {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d4af37;
    color: #0b0f19;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.frag-owner-name {
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
}
.frag-verified-dot {
    color: #10b981;
    font-size: 11px;
    font-weight: 900;
}
.frag-caption {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 10px;
    line-height: 1.4;
}
.frag-footer {
    display: flex;
    justify-content: flex-end;
}
.frag-like-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 4px 10px;
    color: #cbd5e1;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.frag-like-btn.liked {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* ── Bireysel Profil Modalı ── */
.eosm-modal--profile {
    max-width: 680px;
    padding: 24px;
}
.profile-modal-loading {
    text-align: center;
    padding: 50px 0;
    color: #94a3b8;
}
.profile-hero {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    flex-wrap: wrap;
}
.profile-avatar-wrap {
    position: relative;
}
.profile-main-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}
.profile-main-avatar-fallback {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #996515);
    color: #0b0f19;
    font-size: 34px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.change-avatar-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #0f172a;
    border: 1px solid #d4af37;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: transform 0.2s;
}
.change-avatar-badge:hover {
    transform: scale(1.15);
}
.profile-main-meta {
    flex: 1;
    min-width: 240px;
}
.meta-name-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.meta-name-line h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}
.verified-pill {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #34d399;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
}
.unverified-pill {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #fbbf24;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
}
.meta-cs-nick {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 6px;
}
.meta-cs-nick strong {
    color: #38bdf8;
}
.meta-bio {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.4;
    margin-bottom: 10px;
}
.profile-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}
.profile-live-pill.online {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}
.profile-live-pill.offline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}
.live-dot.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}
.offline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
}

.profile-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}
.rep-button {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #e6c86e;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.rep-button:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: #d4af37;
    transform: scale(1.02);
}
.rep-button.voted {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #34d399;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}
.prof-stat-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.prof-stat-box .val {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #d4af37;
}
.prof-stat-box .lbl {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
}

.profile-section-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin: 24px 0 12px;
    letter-spacing: 0.3px;
}
.profile-empty-text {
    font-size: 13px;
    color: #64748b;
    padding: 12px 0;
}

.frag-upload-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.frag-upload-bar input[type="text"] {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: #fff;
    font-size: 13px;
}
.profile-frags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.p-frag-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}
.p-frag-item img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    cursor: pointer;
}
.p-frag-cap {
    padding: 6px 8px;
    font-size: 11px;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.p-frag-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px 6px;
    font-size: 11px;
}
.frag-like-count {
    color: #94a3b8;
}
.frag-del-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

/* ── Profil Duvarı & Yorumlar ── */
.comment-input-box {
    margin-bottom: 16px;
}
.comment-input-box textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    color: #fff;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    resize: vertical;
    min-height: 60px;
    margin-bottom: 8px;
}
.comment-input-box textarea:focus {
    border-color: #d4af37;
}
.comment-guest-note {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 14px;
}
.comment-guest-note a {
    color: #d4af37;
    font-weight: 700;
}
.profile-comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.comment-card {
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px;
}
.comm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.comm-avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #d4af37;
    color: #0b0f19;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.comm-body {
    flex: 1;
}
.comm-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.comm-author {
    font-size: 13px;
    color: #fff;
}
.comm-verified {
    color: #10b981;
    font-size: 11px;
    font-weight: 900;
}
.comm-time {
    font-size: 11px;
    color: #64748b;
    margin-left: auto;
}
.comm-del-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 11px;
    padding: 0 4px;
}
.comm-del-btn:hover {
    color: #ef4444;
}
.comm-text {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.4;
    word-break: break-word;
}

/* ── Lightbox ── */
.eosm-lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}
.eosm-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    cursor: default;
}
.eosm-lightbox-content img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}
.lightbox-close {
    position: absolute;
    top: -38px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}
.lightbox-caption {
    margin-top: 10px;
    color: #fff;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}
.lightbox-owner {
    color: #d4af37;
    font-weight: 700;
}

/* ── Responsive Düzeltmeler ── */
@media (max-width: 768px) {
    .profile-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .profile-hero-actions {
        align-items: center;
        width: 100%;
    }
    .meta-name-line {
        justify-content: center;
    }
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dashboard-user-card {
        flex-direction: column;
        text-align: center;
    }
    .dash-name-row {
        justify-content: center;
    }
    .players-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .players-tabs {
        width: 100%;
        overflow-x: auto;
    }
    .players-search-box input {
        width: 100%;
    }
    .players-search-box input:focus {
        width: 100%;
    }
}
