/* ==========================================================================
   MEMUR KAHVESİ — PLATFORM REHBERİ (rehber.css)
   ========================================================================== */

.mk-guide-page {
    width: min(100% - (var(--mk-gutter, 1rem) * 2), var(--mk-container, 1400px)) !important;
    max-width: var(--mk-container, 1400px) !important;
    margin: 0 auto !important;
    padding: 24px 0 64px;
    color: #1e293b;
    box-sizing: border-box !important;
}

/* ── Hero Banner ── */
.mk-guide-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #172554 100%);
    border-radius: 24px;
    padding: 56px 40px;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.35);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mk-guide-hero::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(229, 182, 90, 0.16) 0%, rgba(229, 182, 90, 0) 70%);
    pointer-events: none;
}

.mk-guide-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.mk-guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 182, 90, 0.15);
    color: #e5b65a;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 auto 18px;
    border: 1px solid rgba(229, 182, 90, 0.3);
}

.mk-guide-hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 auto 16px;
    letter-spacing: -0.02em;
    color: #f8fafc;
    text-align: center;
}

.mk-guide-hero h1 span {
    background: linear-gradient(135deg, #fbbf24, #e5b65a, #fef08a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mk-guide-hero p {
    font-size: 16px;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0 auto;
    max-width: 760px;
    text-align: center;
}

/* ── Sticky Sub-Navbar / Quick Jump ── */
.mk-guide-nav-wrapper {
    position: sticky;
    top: 72px;
    z-index: 30;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 8px 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.06);
}

.mk-guide-nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 2px 0;
    list-style: none;
}

.mk-guide-nav-list::-webkit-scrollbar {
    display: none;
}

.mk-guide-nav-item {
    flex-shrink: 0;
}

.mk-guide-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mk-guide-nav-link:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.mk-guide-nav-link.active {
    color: #1e3a8a;
    background: #dbeafe;
}

/* ── Section Cards (Bento Style) ── */
.mk-guide-section {
    scroll-margin-top: 140px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 36px 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mk-guide-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.mk-guide-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mk-guide-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.mk-guide-icon-badge.indigo { background: #e0e7ff; color: #4338ca; }
.mk-guide-icon-badge.blue { background: #dbeafe; color: #1d4ed8; }
.mk-guide-icon-badge.emerald { background: #d1fae5; color: #047857; }
.mk-guide-icon-badge.amber { background: #fef3c7; color: #b45309; }
.mk-guide-icon-badge.purple { background: #f3e8ff; color: #7e22ce; }
.mk-guide-icon-badge.rose { background: #ffe4e6; color: #be123c; }
.mk-guide-icon-badge.cyan { background: #cffafe; color: #0e7490; }

.mk-guide-section-head h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.25;
}

.mk-guide-section-head p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.mk-guide-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.mk-guide-action-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* ── Grid Columns & Bento Cards ── */
.mk-guide-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mk-guide-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mk-guide-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}

.mk-guide-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.mk-guide-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.mk-guide-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.mk-guide-card p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.mk-guide-card ul {
    margin: 0;
    padding-left: 18px;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.6;
}

.mk-guide-card li {
    margin-bottom: 4px;
}

/* ── Rütbeler (Ranks) Showcase ── */
.mk-guide-ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.mk-guide-rank-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #e2e8f0;
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mk-guide-rank-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rank-color, #9ca3af);
}

.mk-guide-rank-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mk-guide-rank-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--rank-color, #0f172a);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mk-guide-rank-points {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
}

.mk-guide-rank-perks {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ── Puan Sistemi (Points) Banner ── */
.mk-guide-points-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.mk-guide-point-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.mk-guide-point-val {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
}

.mk-guide-point-val.positive { color: #16a34a; }
.mk-guide-point-val.negative { color: #dc2626; }

.mk-guide-point-box p {
    font-size: 13.5px;
    color: #475569;
    margin: 0;
    line-height: 1.45;
}

/* ── FAQ (SSS) Akordeon ── */
.mk-guide-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.mk-guide-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.2s ease;
}

.mk-guide-faq-item:hover {
    border-color: #cbd5e1;
}

.mk-guide-faq-question {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
}

.mk-guide-faq-question span.arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    color: #64748b;
}

.mk-guide-faq-item.is-open .mk-guide-faq-question span.arrow {
    transform: rotate(180deg);
    color: #1e3a8a;
}

.mk-guide-faq-answer {
    display: none;
    padding: 0 20px 20px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
    padding-top: 14px;
}

.mk-guide-faq-item.is-open .mk-guide-faq-answer {
    display: block;
}

/* ── Big Call To Action Banner ── */
.mk-guide-cta-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
    border-radius: 24px;
    padding: 44px 36px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 36px;
    box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.3);
}

.mk-guide-cta-banner h2 {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 800;
    margin: 0 0 12px;
}

.mk-guide-cta-banner p {
    font-size: 15.5px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.mk-guide-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mk-guide-btn-primary {
    background: #e5b65a;
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mk-guide-btn-primary:hover {
    background: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 182, 90, 0.4);
}

.mk-guide-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.mk-guide-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
    .mk-guide-hero {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .mk-guide-section {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .mk-guide-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mk-guide-action-btn {
        width: 100%;
        justify-content: center;
    }

    .mk-guide-grid-3,
    .mk-guide-grid-2 {
        grid-template-columns: 1fr;
    }

    .mk-guide-nav-wrapper {
        top: 60px;
        padding: 6px 8px;
        border-radius: 12px;
    }
}
