:root {
    --bg-dark: #0a0e14;
    --bg-card: #121820;
    --bg-card-hover: #171f2a;
    --border: #243044;
    --gold: #c9a227;
    --gold-light: #e8c547;
    --red: #8b2635;
    --red-light: #b83245;
    --text: #e8edf5;
    --text-muted: #8b9bb4;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;
    --radius: 10px;
    --shadow: 0 8px 32px rgba(0,0,0,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark) url('/assets/img/pattern.svg') repeat;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Silkroad CH / EU yan dekor — orta alan arka planı değişmez */
.sro-side-characters {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.sro-char {
    position: absolute;
    bottom: 0;
    height: min(92vh, 920px);
    overflow: hidden;
    opacity: 0.5;
}
.sro-char img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
}
.sro-char-eu {
    left: 0;
    width: min(22vw, 340px);
    -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
    mask-image: linear-gradient(to right, #000 55%, transparent 100%);
}
.sro-char-eu img {
    transform: translateX(-46%) translateY(2.5%);
    transform-origin: bottom center;
}
.sro-char-ch {
    right: 0;
    width: min(22vw, 340px);
    -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
    mask-image: linear-gradient(to left, #000 55%, transparent 100%);
}
.sro-char-ch img {
    transform: translateX(-14%);
    transform-origin: bottom center;
}
.site-header,
.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) {
    .sro-side-characters { display: none; }
}
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.site-header {
    background: linear-gradient(180deg, #141b26 0%, #0a0e14 100%);
    border-bottom: 2px solid var(--gold);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-icon { font-size: 2rem; filter: drop-shadow(0 0 8px var(--gold)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    color: var(--gold-light);
    letter-spacing: .04em;
}
.brand-text small { font-size: .72rem; color: var(--text-muted); max-width: 280px; }

.main-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.main-nav a {
    padding: 8px 12px; border-radius: 6px; color: var(--text-muted);
    font-size: .9rem; font-weight: 500;
}
.main-nav a.active, .main-nav a:hover { color: #fff; background: rgba(201,162,39,.12); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: 8px; border: none;
    font-weight: 600; cursor: pointer; font-size: .9rem;
    transition: .2s;
}
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1a1200; }
.btn-gold:hover { filter: brightness(1.08); color: #000; }
.btn-red { background: linear-gradient(135deg, var(--red), var(--red-light)); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; padding: 24px 16px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }

.hero {
    background: linear-gradient(135deg, rgba(139,38,53,.25), rgba(201,162,39,.12));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
}
.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--gold-light);
    margin-bottom: 8px;
}
.hero p { color: var(--text-muted); max-width: 700px; }

.filters {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px;
}
.filters input, .filters select {
    background: var(--bg-card); border: 1px solid var(--border);
    color: var(--text); padding: 10px 14px; border-radius: 8px;
    font-size: .9rem;
}
.filters input { flex: 1; min-width: 180px; }

.server-list { display: flex; flex-direction: column; gap: 12px; }

.server-card {
    display: grid;
    grid-template-columns: 56px 80px 1fr auto;
    gap: 16px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: .2s;
}
.server-card:hover { background: var(--bg-card-hover); border-color: rgba(201,162,39,.35); }
.server-card.featured {
    border-color: var(--gold);
    background: linear-gradient(90deg, rgba(201,162,39,.08), var(--bg-card));
}
.server-card.promoted {
    border-color: var(--red-light);
    background: linear-gradient(90deg, rgba(139,38,53,.15), var(--bg-card));
}

.rank {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
}
.rank.top3 { color: var(--gold-light); text-shadow: 0 0 12px rgba(232,197,71,.4); }

.server-logo {
    width: 72px; height: 72px;
    border-radius: 10px;
    background: #1a2230;
    border: 1px solid var(--border);
    object-fit: cover;
}
video.server-logo {
    display: block;
}
.server-card video.server-logo {
    pointer-events: none;
}
.sunucu-detail-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    border: 1px solid var(--border);
    object-fit: cover;
}
video.server-logo.sunucu-detail-logo {
    pointer-events: auto;
}
.server-logo.placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}

.server-banner-wrap {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0d1219;
}
.server-banner,
.server-banner-wrap video.server-banner,
.server-banner-wrap img.server-banner {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    background: #000;
}

.server-info h2 { font-size: 1.05rem; margin-bottom: 4px; }
.server-info h2 a { color: #fff; }
.server-info .meta { font-size: .78rem; color: var(--text-muted); margin-bottom: 6px; }
.server-info .desc { font-size: .88rem; color: var(--text-muted); }
.server-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag {
    font-size: .7rem; padding: 3px 8px; border-radius: 999px;
    background: rgba(201,162,39,.12); color: var(--gold-light);
    border: 1px solid rgba(201,162,39,.25);
}

.server-actions { text-align: right; min-width: 120px; }
.vote-count {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--gold-light);
    display: block;
    margin-bottom: 8px;
}
.vote-count small { font-family: 'Inter', sans-serif; font-size: .7rem; color: var(--text-muted); display: block; }

.sidebar .widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
}
.sidebar .widget h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    margin-bottom: 10px;
    font-size: 1rem;
}
.sidebar .widget p { font-size: .85rem; color: var(--text-muted); margin-bottom: 12px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud span {
    font-size: .72rem; padding: 4px 10px; border-radius: 999px;
    background: #1a2230; color: var(--text-muted); border: 1px solid var(--border);
}

.ad-slot { margin: 8px 0; text-align: center; }
.ad-header { padding: 8px 16px 12px; border-top: 1px solid var(--border); }
.ad-sidebar img, .ad-footer img { max-width: 100%; border-radius: 8px; }
.ad-text {
    display: block; padding: 12px; background: #1a2230;
    border: 1px dashed var(--border); border-radius: 8px;
    font-size: .85rem;
}

.alert {
    padding: 14px 18px; border-radius: 8px; margin-bottom: 16px;
    border: 1px solid;
}
.alert-success { background: rgba(46,204,113,.12); border-color: var(--success); color: #7dcea0; }
.alert-error { background: rgba(231,76,60,.12); border-color: var(--danger); color: #f1948a; }
.alert-info { background: rgba(52,152,219,.12); border-color: var(--info); color: #85c1e9; }
.alert-warning { background: rgba(243,156,18,.12); border-color: var(--warning); color: #f8c471; }

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    max-width: 640px;
}
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .88rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: #0d1219; border: 1px solid var(--border);
    color: var(--text); padding: 11px 14px; border-radius: 8px; font-size: .9rem;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group small { color: var(--text-muted); font-size: .78rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.page-title {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.content-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.content-box h2 { color: var(--gold-light); font-family: 'Cinzel', serif; margin: 20px 0 10px; font-size: 1.1rem; }
.content-box h2:first-child { margin-top: 0; }
.content-box ul, .content-box ol { margin: 10px 0 10px 20px; color: var(--text-muted); }
.content-box li { margin-bottom: 6px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
th { color: var(--gold-light); font-weight: 600; }
.status-badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600;
}
.status-pending { background: rgba(243,156,18,.15); color: var(--warning); }
.status-approved { background: rgba(46,204,113,.15); color: var(--success); }
.status-rejected { background: rgba(231,76,60,.15); color: var(--danger); }
.status-suspended { background: rgba(149,165,166,.15); color: #bdc3c7; }
.status-expired_grace { background: rgba(149,165,166,.2); color: #95a5a6; }
.status-cancelled { background: rgba(149,165,166,.15); color: #bdc3c7; }

.admin-nav, .panel-nav {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}

.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    padding: 8px 14px; border-radius: 8px; color: var(--text-muted); font-size: .9rem;
    border: 1px solid transparent; display: inline-block;
}
.nav-dropdown-toggle.active, .nav-dropdown-toggle:hover {
    color: var(--gold-light); border-color: var(--gold);
}
.nav-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    padding: 8px; z-index: 100; box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block; padding: 10px 12px; border-radius: 8px; color: var(--text-muted); font-size: .85rem;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { background: rgba(201,162,39,.1); color: var(--gold-light); }

@media (max-width: 900px) {
    .nav-dropdown { width: 100%; }
    .nav-dropdown-menu {
        position: static; display: none; margin-top: 6px; box-shadow: none;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
}
.admin-nav a, .panel-nav a {
    padding: 8px 14px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text-muted); font-size: .85rem;
}
.admin-nav a.active, .panel-nav a.active, .admin-nav a:hover, .panel-nav a:hover {
    border-color: var(--gold); color: var(--gold-light);
}

.code-block {
    background: #0d1219; border: 1px solid var(--border);
    padding: 14px; border-radius: 8px; font-family: monospace;
    font-size: .82rem; overflow-x: auto; color: #a8d5a2;
    margin: 12px 0;
}

.pagination { display: flex; gap: 8px; margin-top: 20px; justify-content: center; }
.pagination a, .pagination span {
    padding: 8px 14px; border-radius: 6px; border: 1px solid var(--border);
    color: var(--text-muted); font-size: .85rem;
}
.pagination a:hover, .pagination span.current {
    border-color: var(--gold); color: var(--gold-light); background: rgba(201,162,39,.1);
}

.site-footer {
    background: #080b10;
    border-top: 1px solid var(--border);
    padding: 32px 0;
    margin-top: 40px;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.footer-grid a { display: block; color: var(--text-muted); margin-bottom: 6px; font-size: .88rem; }
.footer-grid .muted { font-size: .75rem; color: #5a6a80; }

.empty-state {
    text-align: center; padding: 48px 20px;
    background: var(--bg-card); border: 1px dashed var(--border);
    border-radius: var(--radius); color: var(--text-muted);
}

.hero-banner-only p { display: none; }

.empire-banner {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid rgba(201,162,39,.45);
    margin-top: 16px;
    text-decoration: none;
    color: #fff;
    min-height: 110px;
}
.empire-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a0a0a 0%, #3d1515 35%, #6b1d1d 55%, #2a1810 100%);
    animation: empirePulse 4s ease-in-out infinite;
}
.empire-banner-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,215,100,.18) 45%, transparent 60%);
    animation: empireShine 3s ease-in-out infinite;
}
.empire-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 22px 28px;
}
.empire-badge {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(201,162,39,.2);
    border: 1px solid rgba(201,162,39,.5);
    color: var(--gold-light);
    padding: 3px 10px;
    border-radius: 999px;
}
.empire-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(232,197,71,.35);
    animation: empireGlow 2.5s ease-in-out infinite alternate;
}
.empire-sub {
    font-size: .92rem;
    color: #f0dcc8;
    max-width: 520px;
}
.empire-cta {
    margin-top: 6px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--gold-light);
    animation: empireBounce 2s ease-in-out infinite;
}
.empire-banner:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201,162,39,.2);
}
.empire-banner:hover .empire-cta { color: #fff; }

@keyframes empirePulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}
@keyframes empireShine {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}
@keyframes empireGlow {
    from { text-shadow: 0 0 12px rgba(232,197,71,.25); }
    to { text-shadow: 0 0 28px rgba(232,197,71,.55); }
}
@keyframes empireBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* VIP Section */
.vip-section { margin-bottom: 28px; }
.vip-list .vip-card { border-color: var(--gold); background: linear-gradient(90deg, rgba(201,162,39,.1), var(--bg-card)); }
.vip-rank { color: var(--gold-light) !important; font-size: .85rem !important; letter-spacing: .05em; }
.ad-vip-slot { margin-top: 12px; }

/* Ad placeholders */
.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    border: 2px dashed rgba(201,162,39,.35);
    border-radius: 8px;
    background: repeating-linear-gradient(-45deg, #121820, #121820 8px, #0f141c 8px, #0f141c 16px);
    transition: .2s;
    overflow: hidden;
    max-width: 100%;
}
.ad-placeholder:hover {
    border-color: var(--gold);
    color: #fff;
    transform: scale(1.01);
}
.ad-ph-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    gap: 4px;
}
.ad-ph-size { font-size: .68rem; color: #5a6a80; font-family: monospace; }
.ad-ph-inner strong { color: var(--gold-light); font-size: .82rem; }
.ad-ph-type { font-size: .72rem; }
.ad-ph-price { font-size: .9rem; font-weight: 700; color: var(--gold); }
.ad-ph-cta { font-size: .75rem; color: var(--gold-light); margin-top: 4px; }

.ad-inline .ad-placeholder,
.ad-inline-slot .ad-placeholder {
    width: 468px;
    max-width: 100%;
    height: 60px;
    margin: 8px auto;
}
.ad-inline-slot { text-align: center; margin: 4px 0 12px; }
.ad-inline-slot img, .ad-real img { max-width: 468px; width: 100%; height: auto; border-radius: 6px; }

.ad-flag.ad-placeholder,
.ad-sidebar-flag .ad-placeholder {
    width: 100%;
    min-height: 280px;
    max-height: 600px;
    aspect-ratio: 1 / 2;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%);
}
.ad-sidebar-flag { margin-top: 16px; }

.ad-vip-slot .ad-placeholder { width: 100%; min-height: 90px; }

/* Latest servers sidebar */
.widget-latest ul { list-style: none; }
.latest-servers-list li { border-bottom: 1px solid var(--border); }
.latest-servers-list li:last-child { border-bottom: none; }
.latest-servers-list a {
    display: block;
    padding: 10px 0;
    color: var(--text);
    text-decoration: none;
}
.latest-servers-list a:hover strong { color: var(--gold-light); }
.latest-servers-list strong { display: block; font-size: .88rem; }
.latest-servers-list small { color: var(--text-muted); font-size: .75rem; }

/* Ad application */
.ad-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.ad-package-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-decoration: none;
    color: var(--text);
    transition: .2s;
}
.ad-package-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}
.ad-package-card-static { cursor: default; }
.ad-package-card-static:hover { transform: none; }
.ad-package-size { font-size: .72rem; color: #5a6a80; font-family: monospace; }
.ad-package-card strong { display: block; margin: 8px 0; color: var(--gold-light); font-family: Cinzel, serif; }
.ad-package-card p { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.ad-package-price { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.ad-selected-package {
    background: rgba(201,162,39,.08);
    border: 1px solid rgba(201,162,39,.3);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .9rem;
}

.status-suspended { background: rgba(149,165,166,.15); color: #bdc3c7; }
.status-expired_grace { background: rgba(149,165,166,.2); color: #95a5a6; }
.status-cancelled { background: rgba(149,165,166,.15); color: #bdc3c7; }
.status-rejected { background: rgba(231,76,60,.15); color: var(--danger); }

/* Reklam takvimi */
.ad-calendar-wrap { margin-bottom: 16px; }
.ad-calendar-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: .75rem; margin-bottom: 12px; }
.ad-calendar-legend span { padding: 3px 10px; border-radius: 999px; }
.leg-free { background: rgba(46,204,113,.15); color: var(--success); }
.leg-pending { background: rgba(243,156,18,.15); color: var(--warning); }
.leg-booked { background: rgba(231,76,60,.15); color: var(--danger); }
.leg-past { background: rgba(90,106,128,.2); color: #5a6a80; }
.ad-calendar-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-head span { text-align: center; font-size: .7rem; color: var(--text-muted); padding: 4px; }
.cal-day, .cal-empty {
    aspect-ratio: 1; border-radius: 6px; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem; background: var(--bg-card);
}
.cal-empty { border: none; background: transparent; }
.cal-free { background: rgba(46,204,113,.08); cursor: pointer; }
.cal-free:hover { border-color: var(--success); }
.cal-pending { background: rgba(243,156,18,.15); color: var(--warning); cursor: not-allowed; }
.cal-booked { background: rgba(231,76,60,.12); color: #e74c3c; cursor: not-allowed; }
.cal-past { opacity: .35; cursor: not-allowed; }
.cal-sel-start, .cal-sel-end { background: var(--gold) !important; color: #1a1200 !important; font-weight: 700; }
.cal-sel-range { background: rgba(201,162,39,.25) !important; }
.cal-readonly { cursor: default; }
.ad-cal-selection { font-size: .88rem; color: var(--text-muted); margin-top: 10px; }
.ad-user-thumb { width: 120px; max-height: 80px; object-fit: contain; border-radius: 6px; border: 1px solid var(--border); }
.ad-user-card { margin-bottom: 12px; }

.ad-price-summary {
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(201,162,39,.1);
    border: 1px solid rgba(201,162,39,.25);
    border-radius: 8px;
    font-size: .9rem;
    color: var(--gold-light);
    clear: both;
}
.ad-price-edit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

/* ——— Mobil uyum (masaüstü düzeni korunur) ——— */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--gold-light);
    border-radius: 2px;
    transition: .2s;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .header-inner { position: relative; }
    .nav-toggle { display: flex; margin-left: auto; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 16px 16px;
        background: #141b26;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .site-header.nav-open .main-nav { display: flex; }
    .main-nav a, .main-nav .btn { width: 100%; text-align: center; justify-content: center; }
    .main-nav .nav-dropdown { width: 100%; }
    .main-nav .nav-dropdown-menu {
        position: static;
        display: none;
        margin-top: 4px;
        box-shadow: none;
        border: 1px solid var(--border);
    }
    .site-header.nav-open .nav-dropdown.open .nav-dropdown-menu,
    .main-nav .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .brand-text small { display: none; }
    .brand-text strong { font-size: 1.1rem; }
    .layout { padding: 16px 12px; gap: 16px; }
    .hero { padding: 18px; }
    .empire-banner-content { padding: 16px 18px; }
    .empire-sub { font-size: .82rem; }
    .filters { flex-direction: column; }
    .filters input, .filters select, .filters .btn { width: 100%; min-width: 0; }
    .page-title { font-size: 1.25rem; }
    .form-card, .content-box { padding: 18px; }
    .admin-nav, .panel-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }
    .admin-nav a, .panel-nav a { white-space: nowrap; flex-shrink: 0; }
    .footer-grid { text-align: center; }
    .ad-inline .ad-placeholder { width: 100%; height: auto; min-height: 50px; }
}

@media (max-width: 768px) {
    .server-card {
        grid-template-columns: 44px 64px 1fr;
        gap: 10px;
        padding: 12px;
    }
    .server-logo { width: 64px; height: 64px; }
    .rank { font-size: 1.15rem; }
    .server-info h2 { font-size: .95rem; }
    .server-actions {
        grid-column: 1 / -1;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-width: 0;
        padding-top: 8px;
        border-top: 1px solid var(--border);
    }
    .vote-count { margin-bottom: 0; font-size: 1.1rem; }
    .server-banner-wrap video.server-banner,
    .server-banner-wrap img.server-banner { max-height: 200px; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .brand-icon { font-size: 1.6rem; }
    .btn { padding: 10px 14px; min-height: 44px; }
    .btn-sm { min-height: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .pagination { flex-wrap: wrap; }
}
