* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0d1117; /* Logoya uygun hafif lacivert/koyu ton */
    color: #f1f2f6;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 0;
}

/* --- HERO BANNER (LOGONUN TONLARINDA VE KESİN UZANTI) --- */
.hero {
    /* Arka plan resmi artık doğrudan uzantısıyla (.png) çağrılıyor */
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.88) 0%, rgba(22, 28, 38, 0.92) 100%), 
                url('src/background.png') no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 60px 0 45px 0;
    border-bottom: 3px solid #00d2d3; /* Logo Turkuazı */
    margin-bottom: 30px;
}

/* Logo Kutusu ve Responsive Ayarı */
.logo-container {
    max-width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-logo {
    width: 100%;
    max-width: 460px;
    height: auto;
    /* Logonun turkuaz parlaması için gölge efekti */
    filter: drop-shadow(0px 6px 15px rgba(0, 210, 211, 0.3));
    transition: transform 0.3s ease;
}

.server-logo:hover {
    transform: scale(1.03);
}

.hero p {
    color: #cbd5e1;
    font-size: 1.15rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-top: 5px;
}

/* IP Alanı */
.ip-box {
    display: inline-flex;
    align-items: center;
    background-color: rgba(10, 14, 20, 0.9);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #1f2937;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#server-ip { font-weight: bold; color: #00d2d3; margin-right: 15px; } /* Logo Turkuazı */
#copy-btn {
    background-color: #00d2d3; color: #0d1117; border: none; /* Yazı rengi koyu yapıldı okunması için */
    padding: 6px 12px; border-radius: 5px; cursor: pointer; font-weight: bold;
    transition: 0.2s;
}
#copy-btn:hover { background-color: #00b894; }

/* --- YANDAN AÇILAN NAV (SIDEBAR) --- */
.sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background-color: #121824;
    border-right: 2px solid #00d2d3; /* Logo Turkuazı */
    z-index: 100;
    transition: 0.3s ease-in-out;
    padding: 30px 20px;
}

.sidebar.open { left: 0; }

.sidebar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    border-bottom: 2px solid #1f2937;
    padding-bottom: 15px;
}

.sidebar-menu { list-style: none; }
.menu-item {
    padding: 14px 18px; color: #a4b0be; font-weight: 600; font-size: 1.05rem;
    cursor: pointer; border-radius: 6px; margin-bottom: 10px; transition: 0.2s;
    display: flex; align-items: center; gap: 12px;
}
.menu-item i { width: 20px; }
.menu-item:hover, .menu-item.active { background-color: #00d2d3; color: #0d1117; } /* Logo Turkuazı Aktif */

/* Menü Butonu */
.menu-toggle-btn {
    position: fixed; top: 20px; left: 20px; background-color: #00d2d3; color: #0d1117; border: none;
    width: 45px; height: 45px; border-radius: 8px; font-size: 1.3rem; cursor: pointer; z-index: 90;
    box-shadow: 0 4px 12px rgba(0, 210, 211, 0.3); transition: 0.2s;
}
.menu-toggle-btn:hover { transform: scale(1.05); }

.sidebar-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7); z-index: 95; display: none;
}
.sidebar-overlay.show { display: block; }

/* --- SPA SAYFA YAPISI --- */
.page-section { display: none; }
.page-section.active { display: block; }

.panel-box { background-color: #121824; border: 1px solid #1f2937; border-radius: 8px; padding: 25px; margin-bottom: 20px; }
.panel-box h3 { color: #00d2d3; margin-bottom: 12px; font-size: 1.25rem; text-transform: uppercase;}

/* Ana Sayfa Düzeni */
.home-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; }

/* --- RESİMLİ GÜNCELLEMELER SAYFASI DÜZENİ --- */
.rich-updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 20px;
}

.update-rich-card {
    background-color: #1a2332;
    border: 1px solid #1f2937;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.2s;
}

.update-rich-card:hover {
    transform: translateY(-4px);
    border-color: #00d2d3;
}

.update-rich-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-bottom: 1px solid #1f2937;
}

.update-rich-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.update-card { background-color: #121824; border-left: 4px solid #00d2d3; border-radius: 6px; padding: 20px; margin-bottom: 15px; }
.update-header { display: flex; justify-content: space-between; margin-bottom: 8px; border-bottom: 1px solid #1f2937; padding-bottom: 5px; }
.update-title { font-weight: bold; color: #ffffff; font-size: 1.15rem; }
.update-date { color: #747d8c; font-size: 0.85rem; }
.update-text { color: #cbd5e1; font-size: 0.95rem; }

/* Medya & Yetkili Sayfası Düzenleri */
.media-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }
.media-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 15px; }
.media-member-card {
    background-color: #1a2332; border: 1px solid #1f2937; border-radius: 6px; padding: 15px;
    display: flex; align-items: center; justify-content: space-between; text-decoration: none; transition: 0.2s;
}
.media-member-card:hover { transform: translateY(-3px); border-color: #00d2d3; }
.media-name { color: #ffffff; font-weight: bold; }
.media-badge { color: #ffffff; font-size: 0.75rem; font-weight: bold; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    background-color: #1a2332; color: #fff; width: 45px; height: 45px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: 0.2s; border: 1px solid #1f2937; text-decoration: none;
}
.social-links a:hover { background-color: #00d2d3; color: #0d1117; transform: translateY(-2px); }

.staff-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.staff-member-card { background-color: #1a2332; border: 1px solid #1f2937; border-radius: 8px; padding: 25px 15px; text-align: center; border-top: 4px solid #57606f; transition: 0.2s; }
.staff-avatar { font-size: 2.2rem; color: #a4b0be; margin-bottom: 12px; }
.staff-name { color: #ffffff; font-weight: bold; font-size: 1.2rem; display: block; margin-bottom: 8px; }
.staff-role { font-size: 0.8rem; font-weight: 800; padding: 4px 14px; border-radius: 20px; display: inline-block; text-transform: uppercase; }

/* Tierlist Düzenleri */
.tabs-container { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.tab-btn { background-color: #121824; color: #a4b0be; border: 1px solid #1f2937; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: bold; transition: 0.2s; }
.tab-btn.active { background-color: #00d2d3; color: #0d1117; border-color: #00d2d3; }
.list-container { background-color: #121824; border-radius: 8px; border: 1px solid #1f2937; padding: 10px; }
.player-row { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background-color: #1a2332; margin-bottom: 8px; border-radius: 6px; border-left: 4px solid #57606f; }
.player-info { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; font-weight: 600; }
.player-number { color: #00d2d3; font-weight: 800; }
.player-name { color: #ffffff; }
.tier-badge { color: #000; font-weight: 800; padding: 5px 15px; border-radius: 4px; font-size: 0.85rem; }

.toast { visibility: hidden; min-width: 200px; background-color: #2ed573; color: #fff; text-align: center; border-radius: 5px; padding: 10px; position: fixed; z-index: 1000; bottom: 30px; left: 50%; transform: translateX(-50%); }
.toast.show { visibility: visible; animation: fadein 0.5s, fadeout 0.5s 2.5s; }
footer { background-color: #0a0e14; text-align: center; padding: 25px 0; margin-top: 50px; border-top: 1px solid #1f2937; color: #747d8c; }

@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }

@media (max-width: 768px) {
    .home-grid { grid-template-columns: 1fr; }
}