/**
 * MT2PVP — Kurumsal tasarım sistemi
 * Slate + amber uyumu, erişilebilir kontrast, tutarlı yüzeyler
 */

/* ── Design tokens (mt2pvp = açık içerik + koyu chrome) ── */
[data-theme="mt2pvp"],
body.mt2pvp-layout {
    --mt2-bg-page: #f4f6f9;
    --mt2-bg-surface: #ffffff;
    --mt2-bg-muted: #f8fafc;
    --mt2-bg-chrome: #141820;
    --mt2-border: #e2e8f0;
    --mt2-border-strong: #cbd5e1;
    --mt2-text: #1e293b;
    --mt2-text-secondary: #64748b;
    --mt2-text-muted: #94a3b8;
    --mt2-accent: #d97706;
    --mt2-accent-hover: #b45309;
    --mt2-accent-soft: #fff7ed;
    --mt2-accent-ring: rgba(217, 119, 6, 0.18);
    --mt2-success: #059669;
    --mt2-success-soft: #ecfdf5;
    --mt2-danger: #dc2626;
    --mt2-danger-soft: #fef2f2;
    --mt2-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --mt2-shadow-md: 0 4px 20px rgba(15, 23, 42, 0.06);
    --mt2-shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
    --mt2-radius-sm: 8px;
    --mt2-radius-md: 12px;
    --mt2-radius-lg: 16px;

    /* Mevcut tema değişkenlerini eşle */
    --bg-primary: var(--mt2-bg-page);
    --bg-secondary: var(--mt2-bg-surface);
    --bg-card: var(--mt2-bg-surface);
    --bg-card-solid: var(--mt2-bg-surface);
    --bg-card-hover: var(--mt2-bg-muted);
    --border-color: var(--mt2-border);
    --text-primary: var(--mt2-text);
    --text-secondary: var(--mt2-text-secondary);
    --text-muted: var(--mt2-text-muted);
    --accent-gold: var(--mt2-accent);
    --accent-gold-hover: var(--mt2-accent-hover);
    --accent-gold-dim: var(--mt2-accent-soft);
    --gradient-gold: linear-gradient(135deg, #d97706, #f59e0b);
    --gradient-fire: linear-gradient(135deg, #c2410c, #d97706);
    --shadow-sm: var(--mt2-shadow-sm);
    --shadow-md: var(--mt2-shadow-md);
    --shadow-lg: var(--mt2-shadow-lg);
    --radius-sm: var(--mt2-radius-sm);
    --radius-md: var(--mt2-radius-md);
    --radius-lg: var(--mt2-radius-lg);
}

/* ── Kurumsal harf avatarları ── */
.dijifix-letter-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(217, 119, 6, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(15, 23, 42, 0.18),
        0 2px 6px rgba(15, 23, 42, 0.1);
}

.dijifix-letter-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.11) 0%, transparent 48%);
    pointer-events: none;
}

.dijifix-letter-tone-0 { background: linear-gradient(145deg, #1e293b 0%, #475569 100%); }
.dijifix-letter-tone-1 { background: linear-gradient(145deg, #292524 0%, #57534e 100%); }
.dijifix-letter-tone-2 { background: linear-gradient(145deg, #0f172a 0%, #334155 100%); }
.dijifix-letter-tone-3 { background: linear-gradient(145deg, #374151 0%, #64748b 100%); }
.dijifix-letter-tone-4 { background: linear-gradient(145deg, #1c1917 0%, #44403c 85%, #57534e 100%); }
.dijifix-letter-tone-5 { background: linear-gradient(145deg, #27272a 0%, #52525b 100%); }

.v2-server-icon.dijifix-letter-avatar,
.v2-mobile-icon.dijifix-letter-avatar,
.server-icon.dijifix-letter-avatar,
.v2-upcoming-item-icon.dijifix-letter-avatar,
.v2-similar-icon.dijifix-letter-avatar {
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
}

body.mt2pvp-layout .v2-server-icon.dijifix-letter-avatar,
body.mt2pvp-layout .v2-mobile-icon.dijifix-letter-avatar {
    border-radius: var(--mt2-radius-sm);
}

body.mt2pvp-layout {
    background: var(--mt2-bg-page);
    color: var(--mt2-text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body.mt2pvp-layout .v2-section-header h2,
body.mt2pvp-layout .v2-seo-faq-section .v2-section-header h2,
body.mt2pvp-layout .v2-seo-content h1,
body.mt2pvp-layout .v2-seo-content h2,
body.mt2pvp-layout .v2-seo-content h3,
body.mt2pvp-layout .v2-seo-content h4,
body.mt2pvp-layout .footer-section h4 {
    font-family: 'Inter', system-ui, sans-serif !important;
}

body.mt2pvp-layout .mt2-popular-section,
body.mt2pvp-layout .v2-seo-faq-section,
body.mt2pvp-layout .homepage-category-widget {
    content-visibility: auto;
    contain-intrinsic-size: auto 480px;
}

body.mt2pvp-layout .bg-ambient,
body.mt2pvp-layout .bg-fog,
body.mt2pvp-layout .bg-embers,
body.mt2pvp-layout .bg-scanlines,
body.mt2pvp-layout .bg-vignette,
body.mt2pvp-layout #bgCanvas {
    display: none !important;
}

/* ── Chrome: nav + footer ── */
body.mt2pvp-layout .v2-navbar {
    background: var(--mt2-bg-chrome) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.mt2pvp-layout .v2-navbar-brand h1,
body.mt2pvp-layout .v2-navbar-brand .site-title {
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.02em;
}

body.mt2pvp-layout .v2-navbar-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 500;
}

body.mt2pvp-layout .v2-navbar-links a:hover,
body.mt2pvp-layout .v2-navbar-links a.active {
    color: #fff;
}

body.mt2pvp-layout .v2-navbar-links a.active {
    box-shadow: inset 0 -2px 0 var(--mt2-accent);
}

body.mt2pvp-layout .v2-navbar-search input {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: var(--mt2-radius-sm);
}

body.mt2pvp-layout .v2-navbar-search input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

body.mt2pvp-layout .v2-btn-fire,
body.mt2pvp-layout .v2-btn-primary,
.mt2-btn-primary {
    background: var(--mt2-accent) !important;
    border-color: var(--mt2-accent) !important;
    color: #fff !important;
    border-radius: var(--mt2-radius-sm);
    font-weight: 600;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

body.mt2pvp-layout .v2-btn-fire:hover,
body.mt2pvp-layout .v2-btn-primary:hover,
.mt2-btn-primary:hover {
    background: var(--mt2-accent-hover) !important;
    box-shadow: 0 4px 14px var(--mt2-accent-ring);
}

body.mt2pvp-layout .v2-btn-outline {
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.9);
}

body.mt2pvp-layout .footer {
    background: var(--mt2-bg-chrome) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.mt2pvp-layout .footer-section h4 { color: #f8fafc; }
body.mt2pvp-layout .footer-section p,
body.mt2pvp-layout .footer-links a { color: rgba(255, 255, 255, 0.65); }

body.mt2pvp-layout .theme-toggle { display: none; }

/* ── Hero ── */
.mt2-hero-scene {
    position: relative;
    min-height: 400px;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    background:
        linear-gradient(180deg, rgba(20, 24, 32, 0.5) 0%, rgba(20, 24, 32, 0.92) 100%),
        linear-gradient(135deg, #141820 0%, #1e293b 45%, #292524 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mt2-hero-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 45% at 50% 100%, rgba(217, 119, 6, 0.12), transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300'%3E%3Cpath fill='%23ffffff' fill-opacity='0.03' d='M0 220 Q200 160 400 200 T800 180 T1200 210 V300 H0Z'/%3E%3C/svg%3E") center bottom / cover no-repeat;
    pointer-events: none;
}

.mt2-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    padding: 52px 24px 44px;
    text-align: center;
    color: #fff;
}

.mt2-hero-kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 14px;
    font-weight: 600;
}

.mt2-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(26px, 4.5vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
    color: #fff;
    letter-spacing: -0.03em;
}

.mt2-hero-title span {
    display: block;
    color: #fbbf24;
    margin-top: 6px;
    font-weight: 700;
}

.mt2-hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 580px;
    margin: 0 auto 26px;
    line-height: 1.65;
}

.mt2-hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.mt2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border-radius: var(--mt2-radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mt2-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.mt2-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.mt2-hero-stats {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mt2-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.mt2-stat span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

/* ── Bölüm başlıkları (kontrast düzeltmesi) ── */
body.mt2pvp-layout .v2-section-header {
    border-bottom-color: var(--mt2-border);
    margin-bottom: 20px;
    padding-bottom: 14px;
}

body.mt2pvp-layout .v2-section-header::after {
    width: 56px;
    height: 2px;
    background: var(--gradient-fire);
    box-shadow: none;
}

body.mt2pvp-layout .v2-section-header .icon {
    background: var(--mt2-accent-soft);
    border-color: rgba(217, 119, 6, 0.2);
}

body.mt2pvp-layout .v2-section-header .icon svg {
    stroke: var(--mt2-accent) !important;
}

body.mt2pvp-layout .v2-section-header h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    color: var(--mt2-text) !important;
}

body.mt2pvp-layout .v2-editors-pick-header span {
    color: var(--mt2-text);
    font-weight: 700;
    font-size: 15px;
}

body.mt2pvp-layout .v2-editors-pick-section {
    background: var(--mt2-bg-surface);
    border: 1px solid var(--mt2-border);
    border-radius: var(--mt2-radius-lg);
    padding: 16px 18px;
    margin-bottom: 20px;
    box-shadow: var(--mt2-shadow-sm);
}

body.mt2pvp-layout .v2-editors-pick-header svg {
    stroke: var(--mt2-accent);
}

body.mt2pvp-layout .v2-story-name {
    color: var(--mt2-text-secondary);
    font-size: 12px;
    font-weight: 500;
}

body.mt2pvp-layout .v2-story-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: 800;
    font-size: 18px;
}

/* ── Filtre çubuğu ── */
body.mt2pvp-layout .server-filters {
    background: var(--mt2-bg-surface);
    border: 1px solid var(--mt2-border);
    border-radius: var(--mt2-radius-lg);
    box-shadow: var(--mt2-shadow-sm);
    padding: 12px 16px;
}

body.mt2pvp-layout .filter-dropdown {
    background: var(--mt2-bg-muted);
    border: 1px solid var(--mt2-border);
    color: var(--mt2-text);
    border-radius: var(--mt2-radius-sm);
    min-height: 40px;
}

body.mt2pvp-layout .filter-btn {
    background: var(--mt2-bg-muted);
    border: 1px solid var(--mt2-border);
    color: var(--mt2-text-secondary);
    border-radius: var(--mt2-radius-sm);
    min-height: 40px;
    padding: 0 18px;
}

body.mt2pvp-layout .filter-btn:hover {
    border-color: var(--mt2-accent);
    color: var(--mt2-accent);
    background: var(--mt2-accent-soft);
}

body.mt2pvp-layout .filter-btn.active {
    background: var(--mt2-accent);
    color: #fff;
    border-color: var(--mt2-accent);
    box-shadow: 0 2px 8px var(--mt2-accent-ring);
}

/* ── Server listesi paneli ── */
body.mt2pvp-layout #mt2-server-list {
    background: var(--mt2-bg-surface);
    border: 1px solid var(--mt2-border);
    border-radius: var(--mt2-radius-lg);
    padding: 24px;
    box-shadow: var(--mt2-shadow-md);
}

body.mt2pvp-layout .v2-server-table-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
}

body.mt2pvp-layout .v2-server-table thead {
    background: var(--mt2-bg-muted);
    border-bottom: 1px solid var(--mt2-border);
}

body.mt2pvp-layout .v2-server-table thead th {
    color: var(--mt2-text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

body.mt2pvp-layout .v2-server-table tbody tr {
    border-bottom: 1px solid var(--mt2-border);
    background: var(--mt2-bg-surface);
}

body.mt2pvp-layout .v2-server-table tbody tr:hover {
    background: var(--mt2-bg-muted);
}

body.mt2pvp-layout .v2-server-name {
    color: var(--mt2-text);
    font-weight: 600;
}

body.mt2pvp-layout .v2-server-type-label {
    color: var(--mt2-text-muted);
}

body.mt2pvp-layout .v2-banner-placeholder {
    border-radius: var(--mt2-radius-sm);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.92);
}

body.mt2pvp-layout .v2-vote-count .number {
    color: var(--mt2-accent);
}

body.mt2pvp-layout .v2-status-online {
    background: var(--mt2-success-soft);
    color: var(--mt2-success);
}

body.mt2pvp-layout .v2-status-offline {
    background: var(--mt2-danger-soft);
    color: var(--mt2-danger);
}

/* ── Sidebar reklam — hafif placeholder ── */
body.mt2pvp-layout .sidebar-ad,
body.mt2pvp-layout .v2-sidebar-ad {
    background: var(--mt2-bg-surface) !important;
    border: 1px dashed var(--mt2-border-strong) !important;
    border-radius: var(--mt2-radius-md) !important;
    color: var(--mt2-text-muted) !important;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--mt2-shadow-sm) !important;
}

body.mt2pvp-layout .banner-ad {
    background: var(--mt2-bg-muted) !important;
    border: 1px dashed var(--mt2-border) !important;
    color: var(--mt2-text-muted) !important;
    border-radius: var(--mt2-radius-md);
}

/* ── Ana sayfa üst yığın ── */
.mt2-home-stack {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 8px;
}

/* ── Spotlight: editör + premium + yakında ── */
.mt2-spotlight {
    padding: 28px 0 8px;
}

.mt2-spotlight-block {
    background: var(--mt2-bg-surface);
    border: 1px solid var(--mt2-border);
    border-radius: var(--mt2-radius-lg);
    padding: 18px 20px 20px;
    margin-bottom: 20px;
    box-shadow: var(--mt2-shadow-sm);
}

.mt2-block-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.mt2-block-head h2 {
    margin: 0 0 2px;
    font-size: 17px;
    font-weight: 800;
    color: var(--mt2-text);
    letter-spacing: -0.02em;
}

.mt2-block-head p {
    margin: 0;
    font-size: 13px;
    color: var(--mt2-text-secondary);
}

.mt2-block-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mt2-accent-soft);
    border: 1px solid rgba(217, 119, 6, 0.18);
    border-radius: var(--mt2-radius-sm);
    color: var(--mt2-accent);
}

.mt2-block-icon-premium {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-color: rgba(217, 119, 6, 0.28);
}

.mt2-spotlight-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: stretch;
}

.mt2-premium-panel,
.mt2-upcoming-panel {
    background: var(--mt2-bg-surface);
    border: 1px solid var(--mt2-border);
    border-radius: var(--mt2-radius-lg);
    padding: 18px 18px 16px;
    box-shadow: var(--mt2-shadow-sm);
    min-height: 100%;
}

body.mt2pvp-layout .mt2-spotlight .v2-featured-slider-header,
body.mt2pvp-layout .mt2-spotlight .v2-upcoming-header {
    margin-bottom: 14px;
}

body.mt2pvp-layout .mt2-spotlight .v2-hero-section {
    display: contents;
}

body.mt2pvp-layout .mt2-spotlight .v2-featured-slider-wrapper,
body.mt2pvp-layout .mt2-spotlight .v2-upcoming-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

body.mt2pvp-layout .mt2-spotlight .v2-slide-bg-art {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.55)),
        linear-gradient(135deg, #1e293b 0%, #475569 52%, #92400e 100%) !important;
}

body.mt2pvp-layout .mt2-spotlight .v2-slide-fallback-title {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.mt2pvp-layout .mt2-spotlight .v2-upcoming-item {
    border-color: var(--mt2-border);
    background: var(--mt2-bg-muted);
}

body.mt2pvp-layout .mt2-spotlight .v2-upcoming-item:hover {
    background: var(--mt2-bg-surface);
    border-color: var(--mt2-border-strong);
}

body.mt2pvp-layout .mt2-spotlight .v2-upcoming-item-name {
    color: var(--mt2-text);
}

body.mt2pvp-layout .mt2-spotlight .v2-upcoming-item-type,
body.mt2pvp-layout .mt2-spotlight .v2-upcoming-item-date {
    color: var(--mt2-text-muted);
}

body.mt2pvp-layout .mt2-spotlight .v2-see-all-btn {
    color: var(--mt2-accent);
    border-color: rgba(217, 119, 6, 0.35);
    background: var(--mt2-accent-soft);
}

body.mt2pvp-layout .v2-upcoming-empty {
    padding: 28px 16px;
    text-align: center;
    color: var(--mt2-text-muted);
    font-size: 13px;
}

/* ── Popüler kartlar ── */
.mt2-section { padding: 32px 0 16px; }

.mt2-section-head-premium {
    margin-bottom: 28px;
}

.mt2-section-badge {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mt2-accent);
    background: var(--mt2-accent-soft);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 999px;
}

.mt2-section-head-premium h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--mt2-text) 0%, #475569 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mt2-popular-card {
    position: relative;
    background: var(--mt2-bg-surface);
    border: 1px solid var(--mt2-border);
    border-radius: var(--mt2-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.mt2-popular-card:hover {
    box-shadow: var(--mt2-shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(217, 119, 6, 0.25);
}

.mt2-popular-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mt2-popular-card:nth-child(1) .mt2-popular-rank {
    background: linear-gradient(135deg, #b45309, #d97706);
    border-color: rgba(255, 255, 255, 0.2);
}

.mt2-popular-thumb {
    display: block;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.mt2-popular-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.35) 100%);
    pointer-events: none;
}

.mt2-popular-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mt2-popular-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mt2-popular-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.mt2-popular-type {
    flex-shrink: 0;
    align-self: flex-start;
    margin: 0 0 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--mt2-accent-hover);
    background: var(--mt2-accent-soft);
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.mt2-popular-votes {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--mt2-text);
    font-weight: 700;
    padding: 3px 8px;
    background: var(--mt2-bg-muted);
    border-radius: 999px;
}

.mt2-popular-votes svg {
    color: var(--mt2-accent);
}

.mt2-btn-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 42px;
    background: linear-gradient(135deg, var(--mt2-accent), #ea580c);
    color: #fff !important;
    border-radius: var(--mt2-radius-sm);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 10px var(--mt2-accent-ring);
}

.mt2-btn-card:hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 16px var(--mt2-accent-ring);
}

/* ── Kategori widget kontrast ── */
body.mt2pvp-layout .homepage-category-widget,
body.mt2pvp-layout .widget_dijifix_server_list_widget {
    background: var(--mt2-bg-surface) !important;
    border: 1px solid var(--mt2-border) !important;
    border-radius: var(--mt2-radius-lg) !important;
    box-shadow: var(--mt2-shadow-sm) !important;
}

body.mt2pvp-layout .homepage-category-widget .widget-title,
body.mt2pvp-layout .widget_dijifix_server_list_widget .widget-title {
    color: var(--mt2-text) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

body.mt2pvp-layout .widget-table a,
body.mt2pvp-layout .widget-server-link {
    color: var(--mt2-text) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
}

body.mt2pvp-layout .widget-table a:hover,
body.mt2pvp-layout .widget-server-link:hover {
    color: var(--mt2-accent) !important;
}

body.mt2pvp-layout .widget-table td {
    color: var(--mt2-text-secondary) !important;
    border-color: var(--mt2-border) !important;
}

body.mt2pvp-layout .widget-table tr {
    border-color: var(--mt2-border) !important;
}

/* ── SEO & FAQ (açık tema) ── */
body.mt2pvp-layout .v2-seo-faq-section {
    background: var(--mt2-bg-surface);
    border: 1px solid var(--mt2-border);
    border-radius: var(--mt2-radius-lg);
    padding: 24px;
    margin-top: 24px;
    box-shadow: var(--mt2-shadow-sm);
}

body.mt2pvp-layout .v2-seo-content,
body.mt2pvp-layout .v2-seo-faq-section .v2-seo-content *:not(h1):not(h2):not(h3):not(h4):not(h5):not(strong):not(b):not(a) {
    color: var(--mt2-text-secondary) !important;
}

body.mt2pvp-layout .v2-seo-content h1,
body.mt2pvp-layout .v2-seo-content h2,
body.mt2pvp-layout .v2-seo-content h3,
body.mt2pvp-layout .v2-seo-faq-section .v2-seo-content h1,
body.mt2pvp-layout .v2-seo-faq-section .v2-seo-content h2,
body.mt2pvp-layout .v2-seo-faq-section .v2-seo-content h3 {
    color: var(--mt2-text) !important;
}

body.mt2pvp-layout .v2-seo-content.collapsed::after {
    background: linear-gradient(to bottom, transparent, var(--mt2-bg-surface)) !important;
}

body.mt2pvp-layout .v2-read-more-btn {
    background: var(--mt2-accent-soft) !important;
    border-color: rgba(217, 119, 6, 0.35) !important;
    color: var(--mt2-accent) !important;
}

body.mt2pvp-layout .v2-read-more-btn:hover {
    background: var(--mt2-accent) !important;
    color: #fff !important;
}

/* ── Popüler kartlar (devam) ── */

.mt2-section-head {
    text-align: center;
    margin-bottom: 24px;
}

.mt2-section-head h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--mt2-text);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.mt2-section-head p {
    color: var(--mt2-text-secondary);
    font-size: 14px;
    margin: 0;
}

.mt2-popular-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.mt2-popular-letter {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: -0.04em;
}

.mt2-popular-body { padding: 14px 14px 16px; }

.mt2-popular-body h3 a,
.mt2-popular-title a {
    color: var(--mt2-text);
    text-decoration: none;
}

.mt2-popular-meta {
    font-size: 12px;
    color: var(--mt2-text-muted);
    margin: 0 0 8px;
}

.mt2-popular-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
}

.mt2-status {
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.04em;
}

.mt2-status-online { background: var(--mt2-success-soft); color: var(--mt2-success); }
.mt2-status-soon { background: var(--mt2-accent-soft); color: var(--mt2-accent-hover); }
.mt2-status-offline { background: #f1f5f9; color: var(--mt2-text-muted); }

/* ── Neden biz ── */
.mt2-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.mt2-why-item {
    background: var(--mt2-bg-surface);
    border: 1px solid var(--mt2-border);
    border-radius: var(--mt2-radius-md);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--mt2-shadow-sm);
}

.mt2-why-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: var(--mt2-accent-soft);
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: var(--mt2-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mt2-accent);
}

.mt2-why-item h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--mt2-text);
    margin: 0 0 6px;
}

.mt2-why-item p {
    font-size: 13px;
    color: var(--mt2-text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* ── FAQ ── */
.v2-faq-answer-collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.v2-faq-item.active .v2-faq-answer {
    max-height: 500px;
}

body.mt2pvp-layout .v2-faq-item {
    background: var(--mt2-bg-surface) !important;
    border-color: var(--mt2-border) !important;
}

body.mt2pvp-layout .v2-faq-question {
    color: var(--mt2-text) !important;
}

body.mt2pvp-layout .v2-faq-answer div {
    color: var(--mt2-text-secondary) !important;
}

/* ── Server detay sahne banner ── */
body.mt2pvp-layout .mt2-scene-banner,
body.mt2pvp-layout .server-hero-banner-fallback {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45)),
        linear-gradient(135deg, #141820 0%, #334155 50%, #44403c 100%) !important;
    min-height: 220px;
}

body.mt2pvp-layout .v2-featured-slider-wrapper .v2-slide-banner img {
    display: none !important;
}

body.mt2pvp-layout .v2-slide-bg-art {
    display: block !important;
    min-height: 100%;
}

body.mt2pvp-layout .v2-page-content {
    color: var(--mt2-text);
}

body.mt2pvp-layout .v2-main-container {
    padding-top: 8px;
    padding-bottom: 32px;
}

@media (max-width: 1100px) {
    .mt2-spotlight-grid { grid-template-columns: 1fr; }
    .mt2-popular-grid { grid-template-columns: repeat(3, 1fr); }
    .mt2-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mt2-popular-grid { grid-template-columns: repeat(2, 1fr); }
    .mt2-hero-scene { min-height: 340px; }
}

@media (max-width: 480px) {
    .mt2-popular-grid { grid-template-columns: 1fr; }
    .mt2-why-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .mt2-popular-card,
    .mt2-btn,
    .mt2-btn-card,
    .filter-btn {
        transition: none;
    }
}
