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

html, body {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #0a0a0a;
    background-image: url('../resimler/file_000000005c247243925399d21a967851.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: #ccc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

body.page-home .main-content {
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.15);
    z-index: 0;
    pointer-events: none;
}

/* ===== ÜST NAVİGASYON ===== */
.top-header {
    position: relative;
    z-index: 100;
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(10,10,10,0.85) 100%);
    border-bottom: 2px solid #8b1a1a;
    box-shadow: 0 2px 20px rgba(139,26,26,0.5);
}

.site-tagline-wrap {
    padding: 16px 20px 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(18,8,8,0.88) 100%);
    border-bottom: 1px solid rgba(139,26,26,0.35);
    box-shadow: inset 0 -20px 40px rgba(0,0,0,0.25);
}

.site-tagline-banner {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.site-tagline-text {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #ece8e0;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 0 20px rgba(192,57,43,0.15);
    line-height: 1.45;
}

.site-tagline-sub {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #f0d080;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 0 16px rgba(240,208,128,0.12);
    line-height: 1.4;
}

.site-tagline-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    gap: 0;
}

.site-tagline-ornament::before,
.site-tagline-ornament::after {
    content: '';
    width: 80px;
    max-width: 28vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180,170,160,0.55), transparent);
}

.site-tagline-ornament span {
    color: rgba(200,190,180,0.75);
    font-size: 9px;
    padding: 0 14px;
    line-height: 1;
}

.site-tagline {
    text-align: center;
    padding: 8px 16px 4px;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f0d080;
    text-shadow: 0 0 12px rgba(192,57,43,0.45);
    text-transform: uppercase;
}

.top-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
    min-height: 50px;
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    min-width: 0;
}

.nav-menu-footer {
    display: none;
}

.nav-mobile-bar {
    display: none;
}

.nav-aside {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    max-width: 42%;
}

.nav-link {
    color: #c8c8c8;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 10px;
    border-radius: 2px;
    transition: all 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
    background: rgba(139,26,26,0.3);
    text-shadow: 0 0 10px #ff4444;
}

.nav-login {
    background: linear-gradient(135deg, #8b1a1a, #c0392b);
    color: #fff !important;
    border: 1px solid #c0392b;
    padding: 6px 18px;
    border-radius: 3px;
}

.nav-login:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c) !important;
    box-shadow: 0 0 15px rgba(192,57,43,0.6);
}

.nav-register {
    background: transparent;
    color: #fff !important;
    border: 1px solid #555;
    padding: 6px 18px;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-register:hover {
    border-color: #c0392b;
    color: #fff !important;
    background: rgba(139,26,26,0.2) !important;
}

.nav-logout {
    color: #888 !important;
    font-size: 11px;
}

/* ===== NAV SUNUCU DURUMU ===== */
.nav-social {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 10px;
    margin-right: 4px;
    border-right: 1px solid rgba(139, 26, 26, 0.35);
}

.nav-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.nav-social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    color: #fff;
}

.nav-server-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px 0 0;
    margin-right: 4px;
    border-right: 1px solid rgba(139, 26, 26, 0.35);
}

.nav-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.nav-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.nav-status-online-pill {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.35);
}

.nav-status-online-pill .nav-status-dot {
    background: #2ecc71;
    box-shadow: 0 0 6px #2ecc71;
}

.nav-status-offline-pill {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.35);
}

.nav-status-offline-pill .nav-status-dot {
    background: #e74c3c;
}

.nav-status-players {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #c8c8c8;
    white-space: nowrap;
}

.nav-status-players i {
    color: #8b1a1a;
    margin-right: 4px;
    font-size: 10px;
}

.table-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 72px;
    font-family: 'Open Sans', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 12px;
    white-space: nowrap;
    line-height: 1;
}

.table-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.table-status-online {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.35);
}

.table-status-online .table-status-dot {
    background: #2ecc71;
    box-shadow: 0 0 4px #2ecc71;
}

.table-status-offline {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.35);
}

.table-status-offline .table-status-dot {
    background: #e74c3c;
}

/* ===== DROPDOWN MENÜ ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0f0f0f;
    border: 1px solid #3a1a1a;
    border-top: 2px solid #c0392b;
    min-width: 200px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0,0,0,0.8);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #bbb;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #1a1a1a;
    transition: all 0.2s;
    text-transform: uppercase;
}

.nav-dropdown-menu a i {
    color: #8b1a1a;
    width: 14px;
}

.nav-dropdown-menu a:hover {
    background: rgba(139,26,26,0.3);
    color: #fff;
    padding-left: 22px;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 480px;
    display: block;
    border-bottom: 2px solid #8b1a1a;
    overflow: hidden;
    line-height: 0;
}

.hero-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 40px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 30px #ff4444, 0 2px 4px rgba(0,0,0,0.9);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, #8b1a1a 0%, #c0392b 50%, #8b1a1a 100%);
    color: #fff;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 12px 40px;
    border: 1px solid #e74c3c;
    border-radius: 3px;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(192,57,43,0.5);
}

.hero-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #c0392b 100%);
    box-shadow: 0 0 35px rgba(231,76,60,0.8);
    transform: translateY(-2px);
}

/* ===== ANA İÇERİK LAYOUT ===== */
.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 0;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 10px;
    align-items: flex-start;
    background: transparent;
}

/* ===== SOL SİDEBAR ===== */
.sidebar {
    display: none;
}

.sidebar-menu {
    list-style: none;
    background: linear-gradient(180deg, #1a0a0a 0%, #0f0f0f 100%);
    border: 1px solid #3a1a1a;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    color: #bbb;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #2a1a1a;
    transition: all 0.25s;
    text-transform: uppercase;
}

.sidebar-menu li a i {
    width: 16px;
    color: #8b1a1a;
    font-size: 13px;
}

.sidebar-menu li a:hover {
    background: rgba(139,26,26,0.25);
    color: #fff;
    padding-left: 20px;
    border-left: 3px solid #c0392b;
}

.sidebar-menu li:last-child a {
    border-bottom: none;
}

.sidebar-server-status {
    background: linear-gradient(180deg, #1a0a0a 0%, #0f0f0f 100%);
    border: 1px solid #3a1a1a;
    border-radius: 4px;
    padding: 12px;
}

.sidebar-server-status h3 {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    color: #8b1a1a;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #3a1a1a;
}

.sidebar-server-status h3 i {
    margin-right: 6px;
}

/* ===== ORTA İÇERİK ===== */
.content-center {
    flex: 1;
    padding: 0 15px;
    min-width: 0;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    color: #c0392b;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 15px;
    background: linear-gradient(90deg, rgba(139,26,26,0.3) 0%, transparent 100%);
    border-left: 3px solid #c0392b;
    margin-bottom: 15px;
}

/* HABER KARTLARI */
.news-section {
    background: rgba(10,10,10,0.85);
    border: 1px solid #2a1a1a;
    border-radius: 4px;
    padding: 15px;
}

.news-section.collapse-panel,
.ranking-section.collapse-panel {
    padding: 0;
}

.collapse-panel .collapse-body {
    padding: 12px 15px 15px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid #1f1f1f;
    align-items: flex-start;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 10px;
    color: #666;
    white-space: nowrap;
    padding-top: 3px;
    min-width: 75px;
}

.news-body {}

.news-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.news-title a {
    color: #e0c080;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title a:hover {
    color: #fff;
    text-shadow: 0 0 8px #e0c080;
}

.news-excerpt {
    font-size: 11px;
    color: #777;
    line-height: 1.5;
}

/* ===== SAĞ SİDEBAR - SIRALAMA ===== */
.sidebar-right {
    width: 260px;
    flex-shrink: 0;
}

.ranking-section {
    background: rgba(8, 6, 6, 0.97);
    border: 1px solid #2a1a1a;
    border-radius: 4px;
    overflow: hidden;
}

/* Açılır/kapanır panel (Haberler, Sıralama) */
.collapse-panel {
    overflow: hidden;
}

.collapse-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(90deg, rgba(139,26,26,0.25) 0%, transparent 100%);
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.collapse-toggle:hover {
    background: rgba(139,26,26,0.35);
}

.collapse-panel.is-open .collapse-toggle {
    border-bottom-color: #2a1a1a;
}

.collapse-toggle .section-title {
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
}

.collapse-chevron {
    color: #c0392b;
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.collapse-panel.is-open .collapse-chevron {
    transform: rotate(180deg);
}

.collapse-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

#rankingPanel.is-open .collapse-body {
    max-height: 520px;
}

#newsPanel.is-open .collapse-body {
    max-height: 900px;
}

.ranking-section .section-title {
    margin-bottom: 0;
}

.ranking-tabs {
    display: flex;
    border-bottom: 1px solid #2a1a1a;
}

.tab-btn {
    flex: 1;
    padding: 9px;
    background: #111;
    border: none;
    color: #666;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    border-right: 1px solid #2a1a1a;
}

.tab-btn:last-child { border-right: none; }

.tab-btn.active, .tab-btn:hover {
    background: rgba(139,26,26,0.3);
    color: #e74c3c;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.ranking-table thead tr {
    background: rgba(139,26,26,0.2);
}

.ranking-table th {
    padding: 7px 8px;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: left;
    font-size: 10px;
    text-transform: uppercase;
}

.ranking-table tbody tr {
    border-bottom: 1px solid #1a1a1a;
    transition: background 0.2s;
    background: rgba(14, 10, 10, 0.96);
}

.ranking-table tbody tr:nth-child(even) {
    background: rgba(20, 12, 12, 0.98);
}

.ranking-table tbody tr:hover {
    background: rgba(139,26,26,0.28);
}

.ranking-table td {
    padding: 7px 8px;
    color: #ddd;
}

.rank-name {
    background: rgba(0, 0, 0, 0.45);
    min-width: 0;
}

.rank-name a {
    color: #f2f2f2;
    text-decoration: none;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-num {
    color: #8b1a1a;
    font-weight: 700;
    font-size: 12px;
    width: 25px;
}

.ranking-table tbody tr:nth-child(1) .rank-num { color: #ffd700; }
.ranking-table tbody tr:nth-child(2) .rank-num { color: #c0c0c0; }
.ranking-table tbody tr:nth-child(3) .rank-num { color: #cd7f32; }

.rank-name a:hover {
    color: #fff;
}

.collapse-panel .collapse-body {
    background: rgba(8, 6, 6, 0.95);
}

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #2a1a1a;
    background: rgba(0,0,0,0.85);
    color: #555;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 40px;
}

/* ===== GİRİŞ MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: linear-gradient(180deg, #1a0a0a 0%, #0f0f0f 100%);
    border: 1px solid #8b1a1a;
    border-radius: 6px;
    padding: 35px 40px;
    width: 340px;
    box-shadow: 0 0 40px rgba(139,26,26,0.5);
}

.modal-box h2 {
    font-family: 'Cinzel', serif;
    color: #c0392b;
    font-size: 18px;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
}

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

.form-group label {
    display: block;
    font-size: 11px;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    background: #0a0a0a;
    border: 1px solid #3a1a1a;
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #c0392b;
    box-shadow: 0 0 8px rgba(192,57,43,0.3);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #8b1a1a, #c0392b);
    border: none;
    border-radius: 3px;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 5px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    box-shadow: 0 0 20px rgba(192,57,43,0.5);
}

.modal-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.modal-links a {
    color: #666;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.2s;
}

.modal-links a:hover {
    color: #c0392b;
}

/* ===== SUNUCU DURUMU ===== */
.sdurum { font-size: 11px; color: #9f7401; }
.sdurum1 { font-size: 11px; color: #ffffff; }

/* ===== MEDIA2 SIRALAMA IKONLARI ===== */
.media2-icon {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

.media2-clan-grade {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    max-width: 56px;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

.rank-icon-cell,
.rank-class-cell,
.rank-grade-cell {
    text-align: center;
    width: 42px;
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.rank-grade-cell {
    width: auto;
    min-width: 56px;
}

.rank-class-cell .media2-icon {
    width: 26px;
    height: 26px;
}

.ranking-table .media2-icon {
    width: 20px;
    height: 20px;
}

.ranking-table .media2-clan-grade {
    height: 18px;
    max-width: 44px;
}

.ranking-table .media2-ranking-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.media2-nation-icon {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

/* ===== OYUNCU SIRALAMA SAYFASI (ko4fun tarzı) ===== */
.ranking-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.ranking-page-update {
    font-size: 10px;
    color: #666;
    white-space: nowrap;
}

.ranking-page-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.ranking-page-table thead tr {
    background: linear-gradient(180deg, rgba(30,60,120,0.55), rgba(20,40,80,0.45));
    border-bottom: 2px solid rgba(80,130,220,0.35);
}

.ranking-page-table th {
    padding: 11px 12px;
    color: #9ec5ff;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
}

.ranking-page-table th.col-rank,
.ranking-page-table td.col-rank {
    width: 44px;
    text-align: center;
}

.ranking-page-table th.col-np,
.ranking-page-table td.col-np {
    text-align: right;
    white-space: nowrap;
}

.ranking-page-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}

.ranking-page-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.015);
}

.ranking-page-table tbody tr:hover {
    background: rgba(139,26,26,0.12);
}

.ranking-page-table td {
    padding: 10px 12px;
    vertical-align: middle;
}

.rank-num {
    display: inline-block;
    min-width: 22px;
    font-weight: 700;
    color: #6ea8ff;
}

.rank-row.rank-gold .rank-num { color: #ffd700; font-size: 15px; }
.rank-row.rank-silver .rank-num { color: #c0c0c0; font-size: 14px; }
.rank-row.rank-bronze .rank-num { color: #cd7f32; font-size: 14px; }

.rank-player-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.rank-player-cell .media2-nation-icon,
.rank-player-cell .media2-ranking-icon {
    flex-shrink: 0;
}

.rank-player-link {
    color: #7eb6ff;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.rank-player-link:hover {
    color: #fff;
    text-decoration: underline;
}

.rank-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 6px #2ecc71;
    flex-shrink: 0;
}

.rank-clan-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.rank-clan-link {
    color: #ddd;
    text-decoration: none;
    font-weight: 600;
}

.rank-clan-link:hover {
    color: #fff;
}

.rank-no-clan {
    color: #444;
}

.ranking-page-table .col-np {
    color: #fff;
    font-weight: 700;
}

.ranking-empty {
    text-align: center;
    color: #555;
    padding: 28px 16px;
}

.ranking-page-foot {
    text-align: right;
    padding: 10px 4px 0;
    font-size: 10px;
    color: #444;
}

.nav-chevron { font-size: 9px; }

/* ===== DIL SECICI ===== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: 6px;
    border: 1px solid rgba(139,26,26,0.4);
    border-radius: 4px;
    overflow: hidden;
}
.lang-btn {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    color: #888;
    text-decoration: none;
    letter-spacing: 0.5px;
    background: rgba(0,0,0,0.4);
}
.lang-btn.active {
    color: #fff;
    background: rgba(139,26,26,0.6);
}
.lang-btn:hover {
    color: #fff;
}

/* ===== MOBIL MENU ===== */
.nav-toggle {
    display: none;
    background: rgba(139,26,26,0.35);
    border: 1px solid #8b1a1a;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.nav-link-compact {
    padding: 6px 10px !important;
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap;
}

.table-scroll-wrap,
.news-section > div[style*="overflow-x"] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1366px) {
    .nav-link {
        font-size: 10px;
        padding: 5px 8px;
        letter-spacing: 0.6px;
    }

    .nav-aside {
        gap: 4px;
        max-width: 46%;
    }

    .nav-social-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .nav-status-pill {
        font-size: 9px;
        padding: 4px 8px;
    }

    .nav-status-players {
        font-size: 10px;
    }

    .nav-login,
    .nav-register {
        padding: 5px 10px;
    }

    .lang-btn {
        padding: 3px 6px;
        font-size: 9px;
    }
}

@media (max-width: 900px) {
    body {
        background-attachment: scroll;
    }

    .site-tagline-wrap {
        padding: 12px 10px 8px;
    }

    .site-tagline-text {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .site-tagline-sub {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .site-tagline-ornament::before,
    .site-tagline-ornament::after {
        width: 40px;
    }

    .site-tagline {
        font-size: 10px;
        letter-spacing: 1px;
        padding: 8px 12px 6px;
        line-height: 1.4;
    }

    .top-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        min-height: auto;
    }

    .nav-mobile-bar {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 8px 10px;
        min-height: 52px;
        border-bottom: 1px solid rgba(139, 26, 26, 0.25);
    }

    .nav-mobile-meta {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-mobile-meta .nav-server-status {
        border-right: none;
        padding: 0;
        margin: 0;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .nav-mobile-meta .nav-status-pill {
        font-size: 9px;
        padding: 4px 8px;
    }

    .nav-mobile-meta .nav-status-players {
        font-size: 10px;
    }

    .nav-mobile-auth {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
        max-width: 46%;
    }

    .nav-mobile-auth .nav-link {
        display: inline-block;
        width: auto;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-aside {
        display: none !important;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 0;
        background: rgba(10,10,10,0.98);
        border-bottom: 1px solid #3a1a1a;
        overflow: hidden;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .top-header.nav-open .nav-menu {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-menu-footer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 12px;
        border-top: 1px solid rgba(139, 26, 26, 0.25);
        background: rgba(0, 0, 0, 0.25);
    }

    .nav-menu-footer .nav-social {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 13px 14px;
        font-size: 11px;
        border-bottom: 1px solid rgba(42, 26, 26, 0.5);
    }

    .nav-links > .nav-link:last-of-type,
    .nav-dropdown:last-child .nav-dropdown-btn {
        border-bottom: 1px solid rgba(42, 26, 26, 0.5);
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-btn {
        justify-content: center;
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        border-top: 1px solid #2a1a1a;
        background: rgba(0,0,0,0.35);
    }

    .nav-dropdown.dropdown-open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.dropdown-open:hover .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        justify-content: center;
        text-align: center;
        padding: 12px 14px;
    }

    .main-content {
        flex-direction: column;
        padding: 12px 8px;
    }

    .content-center {
        padding: 0;
        width: 100%;
    }

    .sidebar, .sidebar-right {
        width: 100%;
    }

    .news-item {
        flex-direction: column;
        gap: 8px;
    }

    .news-item img {
        width: 100% !important;
        height: auto !important;
        max-height: 160px;
        object-fit: cover;
    }

    .ranking-table {
        font-size: 10px;
        min-width: 300px;
    }

    .ranking-table th,
    .ranking-table td {
        padding: 8px 6px;
    }

    .ranking-tabs .tab-btn {
        padding: 11px 8px;
        font-size: 10px;
    }

    .modal-box {
        width: calc(100% - 24px);
        max-width: 360px;
        padding: 24px 20px;
        margin: 12px;
    }

    .hero-title { font-size: 24px; }
    .hero-banner { height: 220px; }

    #rankingPanel.is-open .collapse-body,
    #newsPanel.is-open .collapse-body {
        max-height: none;
    }

    .collapse-body {
        max-height: none;
    }

    .collapse-panel .collapse-body {
        padding: 10px 8px 12px;
    }

    .collapse-toggle {
        padding: 14px 12px;
    }

    .section-title {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .download-card,
    .news-section form,
    .news-section table {
        font-size: 12px;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .news-section {
        padding: 10px;
    }

    input, select, textarea, button {
        font-size: 16px;
    }

    .site-footer {
        padding: 16px 12px;
        font-size: 10px;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .site-tagline-wrap { padding: 10px 8px 6px; }
    .site-tagline-text { font-size: 8px; letter-spacing: 1px; }
    .site-tagline-sub { font-size: 7px; letter-spacing: 0.8px; }

    .nav-mobile-bar {
        padding: 6px 8px;
        gap: 6px;
    }

    .nav-mobile-auth {
        max-width: 52%;
        gap: 3px;
    }

    .nav-link-compact {
        padding: 5px 7px !important;
        font-size: 9px !important;
    }

    .nav-mobile-meta .nav-status-players {
        display: none;
    }

    .nav-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .lang-btn {
        padding: 6px 10px;
    }

    .main-content {
        padding: 8px 6px;
    }
}

@media (max-width: 360px) {
    .nav-mobile-auth .nav-register {
        display: none;
    }

    .nav-mobile-auth {
        max-width: 38%;
    }
}
