:root {
    --bg-main: #14161a;
    --bg-card: #1c1f26;
    --text-main: #f0f0f0;
    --text-muted: #9ba1a6;
    --accent: #2e8bc0;
    --accent-hover: #1c72a3;
    --discord: #5865F2;
    --play: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
}

/* ================== NAVBAR (MERKEZÄ° LOGO) ================== */
.navbar {
    background: rgba(20, 22, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    height: 80px;
    transition: transform 0.4s cubic-bezier(0.3, 0, 0.2, 1); /* Animasyon eklendi */
}

/* YukarÄ± kaydÄ±rma animasyonu iÃ§in gizlenme class'Ä± */
.nav-hidden {
    transform: translateY(-150%); /* Logonun sarkan kÄ±smÄ± da yukarÄ± kaybolsun diye -100% yerine -150% yapÄ±ldÄ± */
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Logoyu merkeze sabitlemek iÃ§in */
    position: relative;
    padding: 0 20px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.nav-left {
    left: 20px;
}

.nav-right {
    right: 20px;
}

.nav-left a, .nav-right a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.nav-left a:hover, .nav-right a:hover, .nav-left a.active {
    color: #fff;
}

/* Merkez Logo TasarÄ±mÄ± */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 2px; /* Ã‡ok az aÅŸaÄŸÄ± alÄ±ndÄ± */
    z-index: 101;
}

.logo-circle {
    width: 90px;
    height: 90px;
    background: var(--bg-card);
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    overflow: hidden;
    transition: 0.3s;
}

.logo-circle:hover {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.3);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profil AlanÄ± */
.nav-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 5px 15px 5px 5px;
    border-radius: 40px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
    margin-left: 10px;
    transition: 0.3s;
}

.nav-profile:hover {
    background: rgba(255,255,255,0.1);
}

.nav-profile img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.nav-profile span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* ================== HERO (ANA EKRAN) ================== */
.hero {
    height: 600px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px; /* Navbar height */
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Minecraft Shader / Fantasy tarzÄ± arkaplan */
    background: url('https://images.unsplash.com/photo-1605806616949-1e87b487cb2a?q=80&w=2070&auto=format&fit=crop') center/cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(20,22,26,0.6) 0%, var(--bg-main) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}

.title {
    font-size: 60px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

.subtitle {
    font-size: 18px;
    color: #d1d5db;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.action-boxes {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.action-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(28, 31, 38, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 15px 25px;
    border-radius: 15px;
    cursor: pointer;
    min-width: 250px;
    text-align: left;
    transition: 0.3s;
}

.action-box:hover {
    transform: translateY(-5px);
    background: rgba(40, 45, 55, 0.9);
}

.icon-wrap {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.play-box .icon-wrap { background: rgba(40, 167, 69, 0.2); color: var(--play); }
.discord-box .icon-wrap { background: rgba(88, 101, 242, 0.2); color: var(--discord); }

.text-wrap {
    display: flex;
    flex-direction: column;
}

.top-text {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.bottom-text {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* ================== MAIN CONTENT ================== */
.main-content {
    padding: 40px 0 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Haber AlanÄ± */
.news-banner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.badge {
    background: #ef4444;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.banner-content p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

/* SaÄŸ MenÃ¼ (GiriÅŸ & Info) */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-panel, .info-panel {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.05);
}

.login-panel h3, .info-panel h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.input-group {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.input-group i {
    color: var(--text-muted);
    margin-right: 15px;
}

.input-group input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 15px;
}

.btn-login {
    width: 100%;
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #fff;
    color: #000;
}

.top-player {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 12px;
}

.top-player img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-info .name {
    font-weight: 700;
    font-size: 15px;
}

.player-info .score {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-center {
        display: none; /* Mobilde ortadaki logoyu gizle veya küçült */
    }
    
    .nav-left, .nav-right {
        position: static;
        transform: none;
    }
    
    .container {
        grid-template-columns: 1fr;
    }
    
    .action-boxes {
        flex-direction: column;
        align-items: center;
    }
}

/* ================== FOOTER ================== */
.footer {
    background: #0f1115;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 50px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-container h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-container h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-about p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #0a0b0e;
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.footer-bottom p {
    color: #666;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Canlı oyuncu sayısı yeşil nokta */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.8);
    animation: blink 2s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.top-text {
    display: flex;
    align-items: center;
}

/* ================== DROPDOWN MENU ================== */
.nav-profile {
    position: relative; /* Dropdown için relative olmalı */
}

.profile-dropdown {
    position: absolute;
    top: 120%; /* Menünün tam altından başlasın */
    right: 0;
    background: #1c1f26;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    width: 200px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-profile.active .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown a {
    color: #cbd5e1 !important; /* nav-right içindeki kuralları ezer */
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 14px !important;
    position: relative;
    top: auto;
    transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-dropdown a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff !important;
}

.profile-dropdown hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin: 5px 0 10px 0;
}

/* Auth Tabs */
.auth-tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.auth-tab { flex: 1; background: transparent; border: none; color: #8b95a5; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500; padding: 10px; cursor: pointer; transition: 0.3s; }
.auth-tab.active { color: #fff; border-bottom: 2px solid #4fc3f7; }
.auth-tab:hover:not(.active) { color: #fff; }
.cf-turnstile { margin-bottom: 15px; }


/* Disabled Button CSS */
.btn-login:disabled { background: rgba(255,255,255,0.1); color: #888; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-login:disabled:hover { background: rgba(255,255,255,0.1); color: #888; box-shadow: none; transform: none; }


/* Profile Layout Fix */
.profile-main { display: flex; align-items: center; gap: 10px; cursor: pointer; width: 100%; height: 100%; }


/* Duplicate dropdown rules removed - using rules from lines 574-596 */


/* ================== AUTH MODAL ================== */
.auth-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.auth-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.auth-modal {
    background: #1a1d24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    width: 420px;
    max-width: 90vw;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #8b95a5;
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}
.modal-close:hover { color: #fff; }
.auth-modal h2 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-modal h2 i { color: #4fc3f7; }
.modal-desc {
    color: #8b95a5;
    font-size: 14px;
    margin-bottom: 25px;
}
.auth-msg {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 13px;
}
.modal-footer-text {
    text-align: center;
    color: #8b95a5;
    font-size: 13px;
    margin-top: 20px;
}
.modal-footer-text a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: 600;
}
.modal-footer-text a:hover { text-decoration: underline; }






/* ================== REHBER (FAQ) ================== */
.rehber-container { max-width: 800px; margin: 0 auto; }
.faq-category { margin-bottom: 30px; }
.faq-category h2 { color: #4fc3f7; margin-bottom: 15px; border-bottom: 2px solid rgba(79,195,247,0.2); padding-bottom: 8px; font-size: 22px; }
.faq-item { background: #1c1f26; border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.faq-btn { width: 100%; text-align: left; background: none; border: none; color: #cbd5e1; padding: 16px 20px; font-size: 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s, color 0.3s; font-family: inherit; font-weight: 500;}
.faq-btn:hover { background: rgba(255,255,255,0.02); color: #fff; }
.faq-btn i { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-size: 14px; }
.faq-item.active .faq-btn { color: #4fc3f7; }
.faq-item.active .faq-btn i { transform: rotate(180deg); color: #4fc3f7; }
.faq-content { max-height: 0; padding: 0 20px; opacity: 0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.active .faq-content { max-height: 500px; padding: 15px 20px; opacity: 1; border-top: 1px solid rgba(255,255,255,0.05); color: #94a3b8; line-height: 1.6; }
