/**
 * Metin2 PVP Sunucu Rehberi — mockup UI (karakter görselleri hariç)
 */

body.mt2-rehber-ui {
    --rehber-orange: #f97316;
    --rehber-orange-dark: #ea580c;
    --rehber-navy: #1a1d23;
    --rehber-navy-soft: #252932;
    --rehber-bg: #f4f6f9;
    --rehber-white: #ffffff;
    --rehber-border: #e8ecf1;
    --rehber-text: #1e293b;
    --rehber-muted: #64748b;
    --rehber-green: #16a34a;
    --rehber-blue: #2563eb;
    --rehber-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --rehber-radius: 12px;
}

body.mt2-rehber-ui.mt2pvp-layout {
    background: var(--rehber-bg);
}

/* Full-width layout — yan reklam yok */
body.mt2-rehber-ui .v2-layout-wrapper {
    display: block;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

body.mt2-rehber-ui .v2-sidebar {
    display: none !important;
}

body.mt2-rehber-ui .v2-main-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

/* ── Header ── */
body.mt2-rehber-ui .v2-navbar {
    background: var(--rehber-navy) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

body.mt2-rehber-ui .v2-navbar-top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 12px;
}

body.mt2-rehber-ui .v2-navbar-brand {
    flex: 0 0 auto;
}

body.mt2-rehber-ui .v2-logo-icon {
    background: linear-gradient(135deg, var(--rehber-orange), var(--rehber-orange-dark));
    border-radius: 10px;
    width: 40px;
    height: 40px;
}

body.mt2-rehber-ui .v2-navbar-brand .site-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    line-height: 1.3 !important;
    max-width: 140px;
    white-space: normal !important;
}

body.mt2-rehber-ui .v2-navbar-search {
    display: none;
}

body.mt2-rehber-ui .v2-navbar-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 20px;
    padding: 0 0 12px;
    border-top: none;
    background: transparent;
}

body.mt2-rehber-ui .v2-navbar-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 500;
    padding: 4px 0;
}

body.mt2-rehber-ui .v2-navbar-links a:hover,
body.mt2-rehber-ui .v2-navbar-links a.active {
    color: #fff;
}

body.mt2-rehber-ui .v2-btn-fire,
body.mt2-rehber-ui .v2-btn-primary {
    background: var(--rehber-orange) !important;
    border-color: var(--rehber-orange) !important;
    border-radius: 8px;
    font-weight: 600;
    padding: 0 18px;
    min-height: 40px;
}

body.mt2-rehber-ui .v2-btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    border-radius: 8px;
    min-height: 40px;
}

body.mt2-rehber-ui .user-menu {
    background: var(--rehber-navy-soft);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
}

body.mt2-rehber-ui .theme-toggle,
body.mt2-rehber-ui .v2-btn-ilan {
    display: none !important;
}

/* ── Hero ── */
.rehber-hero {
    position: relative;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    min-height: 420px;
    background:
        linear-gradient(135deg, rgba(26, 29, 35, 0.92) 0%, rgba(26, 29, 35, 0.78) 50%, rgba(26, 29, 35, 0.88) 100%),
        linear-gradient(160deg, #0f172a 0%, #334155 45%, #1c1917 100%);
    background-size: cover;
    background-position: center;
}

.rehber-hero[style*="--rehber-hero-image"] {
    background-image:
        linear-gradient(135deg, rgba(26, 29, 35, 0.9), rgba(26, 29, 35, 0.82)),
        var(--rehber-hero-image);
}

.rehber-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 100%, rgba(249, 115, 22, 0.12), transparent 60%);
    pointer-events: none;
}

.rehber-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 36px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}

.rehber-hero-title {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.rehber-hero-title span {
    color: var(--rehber-orange);
}

.rehber-hero-sub {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    max-width: 560px;
    line-height: 1.6;
}

.rehber-hero-search {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 0;
    background: var(--rehber-white);
    border-radius: var(--rehber-radius);
    overflow: hidden;
    box-shadow: var(--rehber-shadow);
    margin-bottom: 20px;
}

.rehber-search-field {
    padding: 12px 14px;
    border-right: 1px solid var(--rehber-border);
}

.rehber-search-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rehber-muted);
    margin-bottom: 4px;
}

.rehber-search-field select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--rehber-text);
    outline: none;
    cursor: pointer;
}

.rehber-search-btn {
    align-self: stretch;
    padding: 0 28px;
    background: var(--rehber-orange);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.rehber-search-btn:hover {
    background: var(--rehber-orange-dark);
}

.rehber-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.rehber-stat-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px;
    backdrop-filter: blur(8px);
}

.rehber-stat-card strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.rehber-stat-card span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    margin-top: 2px;
}

.rehber-stat-card em {
    display: block;
    font-size: 10px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
}

.rehber-stat-orange .rehber-stat-icon { color: var(--rehber-orange); }
.rehber-stat-blue .rehber-stat-icon { color: #38bdf8; }
.rehber-stat-green .rehber-stat-icon { color: #4ade80; }
.rehber-stat-navy .rehber-stat-icon { color: #94a3b8; }

.rehber-trust-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--rehber-radius);
    padding: 18px;
    backdrop-filter: blur(10px);
}

.rehber-trust-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.rehber-trust-shield {
    font-size: 28px;
    filter: grayscale(0.2);
}

.rehber-trust-head strong {
    display: block;
    color: #fbbf24;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.rehber-trust-head span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.rehber-trust-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rehber-trust-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.rehber-trust-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: 700;
}

/* ── Home stack ── */
body.mt2-rehber-ui .mt2-home-stack {
    max-width: 1280px;
    padding: 24px 0 0;
}

/* Editör poster kartları */
body.mt2-rehber-ui .mt2-spotlight-editors .v2-editors-pick-stories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

body.mt2-rehber-ui .mt2-spotlight-editors .v2-story-item {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0;
}

body.mt2-rehber-ui .mt2-spotlight-editors .v2-story-ring {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    padding: 0;
    background: linear-gradient(160deg, #1e293b, #475569 50%, #92400e) !important;
    position: relative;
    overflow: hidden;
}

body.mt2-rehber-ui .mt2-spotlight-editors .v2-story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
}

body.mt2-rehber-ui .mt2-spotlight-editors .v2-story-letter {
    font-size: 32px;
    opacity: 0.25;
}

body.mt2-rehber-ui .mt2-spotlight-editors .v2-story-name {
    padding: 10px 4px 0;
    color: var(--rehber-text);
    font-weight: 600;
    font-size: 13px;
}

body.mt2-rehber-ui .mt2-spotlight-editors .v2-story-item::before {
    content: 'VİTRİN';
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: var(--rehber-orange);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.06em;
}

body.mt2-rehber-ui .mt2-spotlight-editors .v2-story-item {
    position: relative;
}

/* Premium / vitrin grid */
body.mt2-rehber-ui .mt2-spotlight-grid {
    grid-template-columns: 1fr;
}

body.mt2-rehber-ui .v2-featured-slider {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    min-height: auto !important;
}

body.mt2-rehber-ui .v2-featured-slider .v2-slide {
    display: flex !important;
    flex-direction: column;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: var(--rehber-white);
    border: 1px solid var(--rehber-border);
    border-radius: var(--rehber-radius);
    overflow: hidden;
    box-shadow: var(--rehber-shadow);
}

body.mt2-rehber-ui .v2-featured-slider .v2-slide-banner {
    height: 140px !important;
}

body.mt2-rehber-ui .v2-slide-overlay {
    position: relative !important;
    background: var(--rehber-white) !important;
    padding: 14px !important;
}

body.mt2-rehber-ui .v2-slide-title,
body.mt2-rehber-ui .v2-slide-title a {
    color: var(--rehber-text) !important;
    font-size: 15px !important;
}

body.mt2-rehber-ui .v2-slide-desc {
    color: var(--rehber-muted) !important;
    font-size: 12px !important;
}

body.mt2-rehber-ui .v2-slide-btn {
    background: var(--rehber-orange) !important;
    color: #fff !important;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    margin-top: 8px;
}

body.mt2-rehber-ui .v2-slider-nav,
body.mt2-rehber-ui .v2-slider-dots {
    display: none !important;
}

/* Yakında açılacak liste */
body.mt2-rehber-ui .mt2-upcoming-panel .v2-upcoming-item {
    border-radius: 10px;
    margin-bottom: 8px;
}

body.mt2-rehber-ui .v2-upcoming-item-date {
    color: var(--rehber-orange) !important;
    font-weight: 700;
    font-size: 12px;
}

/* Popüler vitrin kartları */
body.mt2-rehber-ui .mt2-popular-grid {
    grid-template-columns: repeat(5, 1fr);
}

body.mt2-rehber-ui .mt2-popular-card {
    border-radius: var(--rehber-radius);
    box-shadow: var(--rehber-shadow);
}

body.mt2-rehber-ui .mt2-btn-card {
    background: var(--rehber-orange) !important;
    border-radius: 8px;
}

/* Server list panel */
body.mt2-rehber-ui #mt2-server-list {
    background: var(--rehber-white);
    border: 1px solid var(--rehber-border);
    border-radius: var(--rehber-radius);
    box-shadow: var(--rehber-shadow);
    margin-top: 24px;
    padding: 24px;
}

body.mt2-rehber-ui .v2-section-header h2 {
    font-family: Inter, system-ui, sans-serif !important;
    color: var(--rehber-text) !important;
    font-size: 18px !important;
}

body.mt2-rehber-ui .v2-server-table thead {
    background: #f8fafc;
}

body.mt2-rehber-ui .filter-btn.active {
    background: var(--rehber-orange) !important;
    border-color: var(--rehber-orange) !important;
}

/* ── Rehber sections ── */
.rehber-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 0 8px;
}

.rehber-section-head {
    text-align: center;
    margin-bottom: 20px;
}

.rehber-section-head-left {
    text-align: left;
}

.rehber-section-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: var(--rehber-text);
}

.rehber-section-head p {
    margin: 0;
    color: var(--rehber-muted);
    font-size: 13px;
}

.rehber-category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.rehber-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 10px;
    background: var(--rehber-white);
    border: 1px solid var(--rehber-border);
    border-radius: var(--rehber-radius);
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.rehber-category-card:hover {
    box-shadow: var(--rehber-shadow);
    border-color: rgba(249, 115, 22, 0.35);
}

.rehber-category-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 10px;
    font-weight: 800;
    color: var(--rehber-orange);
    font-size: 16px;
}

.rehber-category-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--rehber-text);
    text-align: center;
    line-height: 1.3;
}

.rehber-class-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.rehber-class-card {
    text-decoration: none;
    border-radius: var(--rehber-radius);
    overflow: hidden;
    background: var(--rehber-white);
    border: 1px solid var(--rehber-border);
    box-shadow: var(--rehber-shadow);
}

.rehber-class-scene {
    height: 100px;
    background: linear-gradient(160deg, #1e293b, #475569 55%, #78350f);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rehber-class-letter {
    font-size: 36px;
    opacity: 0.35;
}

.rehber-class-name {
    display: block;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--rehber-text);
    background: #f8fafc;
}

.rehber-mid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rehber-guide-list {
    display: grid;
    gap: 10px;
}

.rehber-guide-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--rehber-white);
    border: 1px solid var(--rehber-border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--rehber-text);
    font-weight: 600;
    font-size: 13px;
}

.rehber-event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rehber-event-grid--single {
    grid-template-columns: 1fr;
}

.rehber-event-grid--single .rehber-event-card {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
    padding: 22px 20px;
}

.rehber-event-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--rehber-white);
    border: 1px solid var(--rehber-border);
    border-radius: var(--rehber-radius);
    text-decoration: none;
    text-align: center;
}

.rehber-event-card span {
    font-size: 28px;
}

.rehber-event-card strong {
    font-size: 12px;
    color: var(--rehber-text);
}

.rehber-promo-row {
    max-width: 1280px;
    margin: 32px auto 0;
    padding: 0 0 24px;
}

.rehber-promo-cta {
    background: linear-gradient(135deg, var(--rehber-orange), var(--rehber-orange-dark));
    border-radius: var(--rehber-radius);
    padding: 32px 36px;
    color: #fff;
    text-align: center;
}

.rehber-promo-cta h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.rehber-promo-cta p {
    margin: 0 0 18px;
    opacity: 0.9;
}

.rehber-btn-white {
    display: inline-flex;
    padding: 12px 28px;
    background: #fff;
    color: var(--rehber-orange-dark) !important;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
}

/* Blog + FAQ */
body.mt2-rehber-ui .v2-blog-section,
body.mt2-rehber-ui .v2-seo-faq-section {
    background: var(--rehber-white);
    border: 1px solid var(--rehber-border);
    border-radius: var(--rehber-radius);
    padding: 24px;
    margin-top: 24px;
}

body.mt2-rehber-ui .v2-blog-card {
    border-radius: 10px;
    border: 1px solid var(--rehber-border);
}

/* Footer */
body.mt2-rehber-ui .footer {
    background: var(--rehber-navy) !important;
    margin-top: 40px;
}

body.mt2-rehber-ui .footer-newsletter-wrap {
    margin-top: 18px;
}

body.mt2-rehber-ui .footer-newsletter-wrap strong {
    display: block;
    color: #fbbf24;
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

body.mt2-rehber-ui .footer-newsletter {
    display: flex;
    gap: 8px;
}

body.mt2-rehber-ui .footer-newsletter input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

body.mt2-rehber-ui .footer-newsletter button {
    padding: 10px 18px;
    background: var(--rehber-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

body.mt2-rehber-ui .banner-ad,
body.mt2-rehber-ui .v2-sidebar-ad {
    display: none !important;
}

/* Responsive */
@media (max-width: 1100px) {
    .rehber-hero-inner { grid-template-columns: 1fr; }
    .rehber-trust-box { max-width: 400px; }
    .rehber-hero-search { grid-template-columns: 1fr 1fr; }
    .rehber-search-btn { grid-column: 1 / -1; padding: 14px; }
    .rehber-hero-stats { grid-template-columns: repeat(2, 1fr); }
    .rehber-category-grid { grid-template-columns: repeat(4, 1fr); }
    body.mt2-rehber-ui .v2-featured-slider { grid-template-columns: 1fr !important; }
    body.mt2-rehber-ui .mt2-spotlight-editors .v2-editors-pick-stories { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .rehber-hero-search { grid-template-columns: 1fr; }
    .rehber-hero-stats { grid-template-columns: 1fr; }
    .rehber-class-grid { grid-template-columns: repeat(2, 1fr); }
    .rehber-mid-grid { grid-template-columns: 1fr; }
    .rehber-category-grid { grid-template-columns: repeat(2, 1fr); }
    body.mt2-rehber-ui .mt2-popular-grid { grid-template-columns: 1fr; }
}
