/* Mülkiye Akademi - Stiller */
:root {
    /* Ana Tema: Lacivert & Altın Sarısı */
    /* Tüm sayfa arka planı — gövde / html (görüntüdeki lacivert tonu) */
    --page-bg: #0e344d;
    --page-bg-deep: #0a2838;
    --primary: #0B3C5D;
    --primary-dark: #082d47;
    --secondary: #C9A227;
    --hover: #D4AF37;
    --success: #10b981;
    --danger: #ef4444;
    --text: #1F2937;
    --text-light: #6b7280;
    --bg: #FFFFFF;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, iframe, video {
    max-width: 100%;
    height: auto;
}

/* Tam sığdırma - taşma önleme */

section {
    width: 100%;
    max-width: 100%;
}

table, .course-card, .exam-card {
    max-width: 100%;
}

pre, code {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Türkçe soru metni — e-kitap okuyucu; kelime ortası bölünmez */
.question-text,
.question-item .question-text,
#questionModal .question-text,
#questionModal.question-list-mode .question-text,
.wrong-q-text,
.print-q-text {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    line-break: auto;
    line-height: 1.58;
    letter-spacing: 0;
    font-size: clamp(16px, 4.2vw, 18px);
    text-align: start;
    overflow: visible;
    text-overflow: clip;
    hyphens: none;
}

.exam-explanation,
.exam-answer,
.sym-pdf-text,
.lesson-title,
.net-exam-title,
.print-q-text {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.question-option,
.question-options .question-option {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: auto;
    line-height: 1.65;
    letter-spacing: 0.05px;
    font-size: clamp(15px, 3.8vw, 17px);
    text-align: left;
    overflow: visible;
    text-overflow: clip;
    hyphens: none;
}

@media (min-width: 600px) {
    .question-text,
    .question-item .question-text,
    #questionModal .question-text {
        font-size: clamp(18px, 2.2vw, 20px);
        padding-left: 20px;
        padding-right: 20px;
    }
    .question-option,
    .question-options .question-option {
        font-size: clamp(17px, 2vw, 18px);
    }
}

@media (min-width: 1024px) {
    .question-text,
    .question-item .question-text,
    #questionModal .question-text {
        font-size: clamp(20px, 1.4vw, 22px);
        padding-left: 24px;
        padding-right: 24px;
    }
    .question-option,
    .question-options .question-option {
        font-size: clamp(18px, 1.2vw, 20px);
    }
}

/* smooth: hash menü tıklamalarında yüzlerce ms gecikme hissi veriyor; auto daha tepkisel */
html {
    scroll-behavior: auto;
    font-size: clamp(14px, 2vw, 16px);
    -webkit-text-size-adjust: 100%;
    width: 100%;
    overflow-x: hidden;
    background: var(--page-bg);
}

/* Dokunmatikte çift tıklama zoom bekleme süresini kaldırır; tıklama daha gecikmesiz hissedilir */
button,
.btn,
.nav-btn,
.nav-link,
.nav-trigger,
.nav-drop-link,
.hamburger,
.course-card,
.exam-card,
.hero-dersler-card,
.hero-deneme-card,
.gate-dersler-card,
.track-btn,
.tab-btn {
    touch-action: manipulation;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background-color: var(--page-bg);
    background-image: linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-deep) 55%, #071d2e 100%);
    background-size: 100% 100%;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

/* fixed arka plan mobilde kaydırma/tıklama sırasında ağır boyama (jank) üretir */
@media (max-width: 900px) {
    body {
        background-attachment: scroll;
    }
}

/* Sayfa yükleniyor overlay — veriler gelene kadar */
.page-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(12, 61, 92, 0.95);
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none !important;
}
/* Görünmez overlay tıklamaları yutmaz; katman tek */
.page-loading-overlay:not(.hidden) {
    pointer-events: auto;
}
.page-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #C9A227;
    border-radius: 50%;
    animation: page-loading-spin 0.9s linear infinite;
}
.page-loading-text {
    margin-top: 1rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.firestore-data-error {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@keyframes page-loading-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .page-loading-spinner {
        animation: none;
        border-color: rgba(255, 255, 255, 0.35);
        border-top-color: #C9A227;
    }
}

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

@media (max-width: 480px) {
    html { font-size: 14px; }
    .logo-img { height: 48px; }
}

@media (min-width: 1920px) {
    html { font-size: 16px; }
    .container { max-width: 1400px; }
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Navbar - Sade, elit, tek satır + açılır menüler */
.navbar {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    /* Opak taban: kaydırırken alttaki hero/track ile üst üste binme (özellikle Android / compositing) */
    background-color: #0a2838;
    background-image: linear-gradient(135deg, var(--page-bg) 0%, var(--page-bg-deep) 45%, #061e2a 100%);
    border-bottom: 2px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 200;
    overflow: visible;
    touch-action: manipulation;
    /* Çentik / durum çubuğu — içerik status bar altında kalmaz */
    padding-top: max(0px, env(safe-area-inset-top, 0px));
    box-sizing: border-box;
}
.navbar .container {
    overflow: visible;
    max-width: 1400px;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0;
    min-height: 48px;
    position: relative;
    flex-wrap: nowrap;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 1rem;
    color: #fef9e7;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.35rem 0.5rem;
    flex-shrink: 0;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.02em;
    min-width: max-content;
    margin-inline-end: 0.35rem;
}
.nav-brand .nav-brand-text {
    overflow: visible;
    text-overflow: unset;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-brand:hover {
    color: #f4d03f;
    background: rgba(244, 208, 63, 0.1);
}
.nav-brand i {
    font-size: 1.15rem;
    color: #f4d03f;
}
.nav-brand-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: block;
    border-radius: 8px;
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}
.logo i {
    font-size: 1.5rem;
}

/* Menü: tek satır, yan yana */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0 0 0 0.25rem;
    flex: 1 1 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu > li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: rgba(254, 249, 231, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
a.nav-link {
    cursor: pointer;
}
.nav-link:hover {
    color: #fef9e7;
    background: rgba(244, 208, 63, 0.12);
}
.nav-link.active {
    color: #0c3d5c;
    font-weight: 700;
    background: linear-gradient(135deg, #f4d03f 0%, #e6c229 100%);
}
.nav-link i.fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 0.2rem;
    opacity: 0.9;
    transition: transform 0.2s;
}
.nav-has-drop.open .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Açılır menü - navbar dışında, iç içe görünmesin */
.nav-has-drop {
    position: relative;
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin-top: 0.25rem;
    padding: 0.5rem 0;
    background: linear-gradient(180deg, #0f4568 0%, #082d47 100%);
    border: 1px solid rgba(244, 208, 63, 0.25);
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 500;
    pointer-events: none;
}
.nav-has-drop:hover .nav-dropdown,
.nav-has-drop.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.nav-drop-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: rgba(254, 249, 231, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.nav-drop-link:hover {
    background: rgba(244, 208, 63, 0.15);
    color: #fef9e7;
}
.nav-drop-link.nav-killer:hover {
    color: #ffb3b3;
    background: rgba(239, 68, 68, 0.15);
}
.nav-drop-link.active {
    background: rgba(244, 208, 63, 0.2);
    color: #f4d03f;
    font-weight: 600;
}
.nav-drop-link i {
    font-size: 0.85rem;
    width: 1.1em;
}

/* Sağ taraf: istatistik + Premium + Bildirim + Profil */
.nav-utils {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding-left: 0.6rem;
    margin-left: 0.25rem;
    border-left: 1px solid rgba(244, 208, 63, 0.25);
    flex-wrap: nowrap;
}
/* Çalışma süresi + seri: yalnızca giriş + tam erişim (body.hero-live-stats-on) */
.nav-stats-bar {
    display: none !important;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(254, 249, 231, 0.95);
    flex-shrink: 0;
}
body.hero-live-stats-on .nav-stats-bar {
    display: flex !important;
}
.nav-stats-bar .fa-fire {
    color: #f4d03f;
    font-size: 0.9rem;
}
.nav-stats-part {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-stats-sep {
    color: rgba(244, 208, 63, 0.6);
    font-weight: 400;
    user-select: none;
}
.nav-time {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #f4d03f;
}
.nav-time i {
    font-size: 0.95rem;
}

/* Premium, Bildirim, Profil butonları */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.nav-premium {
    background: linear-gradient(135deg, #f4d03f 0%, #e67e22 100%);
    color: #0c3d5c;
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.4);
}
.nav-premium:hover {
    background: linear-gradient(135deg, #f9e79f 0%, #eb984e 100%);
    color: #061e33;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 208, 63, 0.5);
}
.nav-premium i {
    color: #0c3d5c;
}
.nav-bildirim {
    color: rgba(254, 249, 231, 0.95);
    background: transparent;
}
.nav-bildirim:hover {
    color: #fef9e7;
    background: rgba(244, 208, 63, 0.15);
}
.nav-bildirim i {
    color: #f4d03f;
}
.nav-profil {
    color: rgba(254, 249, 231, 0.95);
    background: transparent;
}
.nav-profil:hover {
    color: #fef9e7;
    background: rgba(244, 208, 63, 0.15);
}
.nav-profil i {
    color: rgba(254, 249, 231, 0.9);
}
.nav-profil-chevron {
    font-size: 0.65rem;
    margin-left: 0.15rem;
    opacity: 0.85;
    transition: transform 0.2s;
}
.nav-has-drop.open .nav-profil-chevron {
    transform: rotate(180deg);
}
.nav-utils-profil-drop {
    position: relative;
    flex-shrink: 0;
}
.nav-utils-profil-drop .nav-dropdown-profil {
    left: auto;
    right: 0;
    min-width: 11.5rem;
}
.nav-drop-btn.nav-drop-link {
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    box-sizing: border-box;
}
.nav-drop-divider {
    height: 1px;
    margin: 0.3rem 0.65rem;
    background: rgba(244, 208, 63, 0.45);
    list-style: none;
    padding: 0;
}
.nav-logout-item:hover {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.18);
}

.modal-desc {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary);
}

.leaderboard-section {
    padding: 4rem 0;
}

.leaderboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.leaderboard-tabs .tab-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
}

.leaderboard-tabs .tab-btn:hover,
.leaderboard-tabs .tab-btn.active {
    border-color: var(--secondary);
    color: var(--secondary);
}

.leaderboard-content {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.leaderboard-table {
    padding: 0;
}

.leaderboard-table .lb-header {
    display: grid;
    grid-template-columns: 50px 1fr 80px 80px 100px 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.leaderboard-table .lb-row {
    display: grid;
    grid-template-columns: 50px 1fr 80px 80px 100px 100px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    align-items: center;
}

.leaderboard-table .lb-row:last-child {
    border-bottom: none;
}

.leaderboard-table .lb-row:hover {
    background: rgba(201,162,39,0.08);
}

.leaderboard-table .lb-row.current-user {
    background: rgba(201,162,39,0.15);
    border-left: 4px solid var(--secondary);
}

.empty-leaderboard {
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
}

/* Hata Analizi */
.analysis-section {
    padding: 4rem 0;
}

.analysis-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.analysis-tabs .tab-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
}

.analysis-tabs .tab-btn:hover,
.analysis-tabs .tab-btn.active {
    border-color: var(--secondary);
    color: var(--secondary);
}

.analysis-content {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.empty-analysis {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.empty-analysis i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.topic-analysis h3,
.question-analysis h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topic-item {
    margin-bottom: 1rem;
}

.topic-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.topic-name {
    font-weight: 500;
}

.topic-count {
    color: var(--danger);
    font-weight: 600;
}

.topic-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.topic-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--danger), #f87171);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.wrong-question-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    background: rgba(239,68,68,0.12);
}

.wrong-question-item:hover {
    background: rgba(239,68,68,0.2);
}

.wrong-q-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.wrong-q-num {
    background: var(--secondary);
    color: #1F2937;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.wrong-q-topic {
    color: var(--text-light);
    font-size: 0.875rem;
}

.wrong-q-count {
    margin-left: auto;
    color: var(--danger);
    font-weight: 600;
}

.wrong-q-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.wrong-q-answer {
    font-size: 0.875rem;
    color: var(--success);
    padding-top: 0.5rem;
    border-top: 1px dashed #e5e7eb;
}

/* Analiz Merkezi */
.analiz-merkezi-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.analiz-tagline {
    font-size: 1.05rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.analiz-merkezi-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.analiz-block {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
}

.analiz-block h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.25rem 0;
    font-size: 1.25rem;
    color: var(--primary);
}

.analiz-block h3 i {
    color: var(--secondary);
}

.analiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.analiz-card {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.analiz-card:hover {
    border-color: var(--secondary);
    background: rgba(201,162,39,0.08);
}

.analiz-konu-baslik {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.analiz-konu-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

.analiz-ihtimal {
    color: var(--secondary);
    font-weight: 600;
}

.analiz-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.analiz-trend {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-radius: var(--radius);
}

.analiz-yil {
    font-weight: 700;
    color: var(--primary);
    min-width: 50px;
}

.analiz-trend-text {
    flex: 1;
}

.analiz-dagilim {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.analiz-dagilim-satir {
    display: grid;
    grid-template-columns: 1fr auto 80px;
    align-items: center;
    gap: 1rem;
}

.analiz-bar-wrap {
    background: #e5e7eb;
    border-radius: 4px;
    height: 20px;
    overflow: hidden;
}

.analiz-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 4px;
}

.analiz-soru-say {
    font-weight: 600;
    color: var(--primary);
}

.analiz-kanun-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.analiz-kanun {
    padding: 1rem;
    border-left: 4px solid var(--secondary);
    background: #f9fafb;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.analiz-kanun strong {
    display: block;
    margin-bottom: 0.35rem;
}

.analiz-kanun-tarih {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.analiz-etki {
    font-size: 0.85rem;
    color: var(--text-light);
}

.analiz-tahmin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.analiz-tahmin {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
}

.analiz-tahmin-artis {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.analiz-tahmin-vurgu {
    background: #fefce8;
    border-color: #fef08a;
}

.analiz-tahmin-icon {
    font-size: 1.25rem;
    font-weight: 700;
}

.analiz-makale-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.analiz-makale {
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-radius: var(--radius);
}

.analiz-makale-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

@media (max-width: 640px) {
    .analiz-dagilim-satir {
        grid-template-columns: 1fr 60px;
    }
}

/* Beyin Yakan Süper Sorular */
.killer-questions-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.killer-questions-section .section-title {
    color: #fff;
}

.killer-questions-section .section-title i {
    color: #f59e0b;
}

.killer-questions-section .section-subtitle {
    color: rgba(255,255,255,0.85);
}

.killer-lock {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 2px dashed rgba(255,255,255,0.2);
}

.killer-lock i {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 1rem;
    display: block;
}

.killer-lock p {
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.killer-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
}

.killer-empty i {
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.killer-hint {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.5rem;
}

.killer-intro {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(245,158,11,0.15);
    border-radius: var(--radius);
    border-left: 4px solid #f59e0b;
}

.killer-intro p {
    margin: 0;
    color: rgba(255,255,255,0.95);
}

.killer-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.killer-item {
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.2s;
}

.killer-item:hover {
    background: rgba(245,158,11,0.2);
    border-color: #f59e0b;
}

.killer-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.killer-num {
    background: #f59e0b;
    color: #1a1a2e;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.killer-rate {
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.9rem;
}

.killer-topic {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-left: auto;
}

.killer-item-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

/* Günlük Hedef & Haftalık Rapor */
.daily-goal-section {
    padding: 4rem 0;
}

.daily-goal-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.daily-goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.daily-goal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    margin: 0;
}

.daily-goal-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.daily-goal-input label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.daily-goal-input input {
    width: 70px;
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 1rem;
    text-align: center;
}

.daily-progress {
    margin-top: 1rem;
}

.daily-progress-bar {
    height: 24px;
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.daily-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--success));
    border-radius: 12px;
    transition: width 0.5s ease;
    min-width: 0;
}

.daily-progress-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.daily-summary {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.95rem;
    color: var(--text-light);
}

.daily-summary strong {
    color: var(--text);
}

.daily-mood {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.daily-mood strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text);
}

.mood-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.mood-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
}

.mood-btn:hover {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.mood-btn.active {
    border-color: var(--secondary);
    background: rgba(201,162,39,0.2);
}

.mood-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.weekly-summary {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: var(--radius);
}

.weekly-summary p {
    margin: 0.25rem 0;
    font-size: 1rem;
}

.turkey-avg {
    font-weight: 600;
}

.turkey-above {
    color: var(--success);
}

.turkey-below {
    color: var(--text-light);
}

.weekly-days-title {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.weekly-report-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.weekly-report-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.weekly-report-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
}

.week-day {
    text-align: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: var(--radius);
    border: 2px solid transparent;
}

.week-day.today {
    border-color: var(--secondary);
    background: rgba(201,162,39,0.2);
}

.week-day-name {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.week-day-count {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.week-day-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.week-day-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .weekly-report-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .leaderboard-table .lb-header,
    .leaderboard-table .lb-row {
        grid-template-columns: 40px 1fr 60px 70px;
        font-size: 0.875rem;
    }
    .leaderboard-table .lb-header span:nth-child(5),
    .leaderboard-table .lb-header span:nth-child(6),
    .leaderboard-table .lb-row span:nth-child(5),
    .leaderboard-table .lb-row span:nth-child(6) {
        display: none;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fef9e7;
    border-radius: 1px;
    transition: background 0.2s;
}
.navbar .hamburger:hover span {
    background: #f4d03f;
}

/* Hero - Logoya göre tema: Lacivert & Altın */
.hero {
    background: linear-gradient(135deg, #0f3d56 0%, var(--page-bg) 50%, #0a2838 100%);
    color: #FFFFFF;
    padding: 4rem 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 3rem;
}

.hero-logo-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
}

.hero-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
}

.hero-content {
    text-align: center;
}

.track-switcher {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.track-switcher.track-switcher-single {
    justify-content: center;
}
.track-switcher.track-switcher-single .track-btn {
    flex: 0 1 auto;
    min-width: 12rem;
}
.track-switcher .track-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid rgba(201,162,39,0.7);
    background: transparent;
    color: #FFFFFF;
    border-radius: 999px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.track-switcher .track-btn:hover {
    background: rgba(201,162,39,0.2);
    border-color: var(--secondary);
    color: var(--secondary);
}
.track-switcher .track-btn.active {
    background: var(--secondary);
    color: #0B3C5D;
    border-color: var(--secondary);
}
.track-switcher .track-btn.track-locked {
    opacity: 0.55;
    border-style: dashed;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    -webkit-font-smoothing: antialiased;
}

/* Giriş kapısı (üye ol) açıkken veya oturum yokken gizli; sisteme girildikten sonra gösterilir */
.hero-live-stats[hidden] {
    display: none !important;
}
.hero-live-stats {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
}
body.hero-live-stats-on .hero-live-stats {
    display: flex;
}

/* Üye ol / giriş kapısı veya üyelik bölümü (#uyelik-giris) iken canlı istatistik asla görünmesin */
#accessGate.active ~ section#anasayfa .hero-live-stats,
body:has(#uyelik-giris:target) #anasayfa .hero-live-stats,
body.gate-active .hero-live-stats {
    display: none !important;
}

.hero-live-stats .live-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
}

.hero-live-stats .live-stat-icon {
    font-size: 1.1rem;
}

.hero-live-stats .live-stat-item strong {
    color: var(--secondary);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem 2.5rem;
    margin-bottom: 2rem;
}

.hero-stats .stat-item {
    display: flex;
    flex-direction: column;
}
.hero-stats .hero-stat-active {
    display: none !important;
}
body.hero-online-stats-on .hero-stats .hero-stat-active,
body.hero-live-stats-on .hero-stats .hero-stat-active {
    display: flex !important;
    flex-direction: column;
}
.hero-stats .hero-stat-study {
    display: none !important;
}
body.hero-live-stats-on .hero-stats .hero-stat-study {
    display: flex !important;
    flex-direction: column;
}

.hero-stats .stat-number-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.hero-stats .hero-stat-live-dot {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
}

.hero-stats .hero-stat-clock-icon {
    flex-shrink: 0;
    font-size: 1.35rem;
    color: rgba(254, 249, 231, 0.92);
    opacity: 0.95;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
}

.btn-hero {
    background: var(--secondary) !important;
    color: #0B3C5D !important;
}

.btn-hero:hover {
    background: var(--hover) !important;
    color: #0B3C5D !important;
}

.hero-dersler-wrap {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    width: 100%;
}

.hero-dersler-title {
    font-size: 1.25rem;
    margin: 0 0 0.25rem 0;
    color: #fff;
}

.hero-dersler-sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1rem 0;
}

.hero-dersler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    max-height: 320px;
    overflow-y: auto;
}

.hero-dersler-card {
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-dersler-card:hover {
    background: rgba(255,255,255,0.2);
}

.hero-dersler-name {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.hero-dersler-count {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    white-space: nowrap;
}

.hero-dersler-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-weight: 600;
}

.hero-dersler-link:hover {
    color: #fff;
    text-decoration: underline;
}

.hero-deneme-wrap {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    width: 100%;
}

.hero-deneme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.6rem;
    max-height: 180px;
    overflow-y: auto;
}

.hero-deneme-card {
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-deneme-card:hover {
    background: rgba(255,255,255,0.2);
}

.hero-deneme-name {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
}

.hero-deneme-meta {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease, color 0.1s ease;
}
.btn:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--secondary);
    color: #1F2937;
}

.btn-primary:hover {
    background: var(--hover);
    color: #1F2937;
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

/* Sections */
section {
    padding: 4rem 0;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    text-align: center;
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

/* Sayfa laciverti üzerinde (açık tam genişlik arka planı olmayan) bölüm başlıkları */
#dersler.courses .section-title,
#osym-cikmis .section-title,
#deneme-sinavi .section-title,
#istatistikler.stats-section .section-title,
.daily-goal-section .section-title,
.leaderboard-section .section-title,
.analysis-section .section-title {
    color: #fff;
}

#dersler.courses .section-subtitle,
#osym-cikmis .section-subtitle,
#deneme-sinavi .section-subtitle,
#istatistikler.stats-section .section-subtitle,
.daily-goal-section .section-subtitle,
.analysis-section .section-subtitle {
    color: rgba(255, 255, 255, 0.88);
}

/* ÖSYM PDF Arşivi — premium */
.osym-cikmis-section {
    background: linear-gradient(165deg, #071E2D 0%, #0B2A3D 48%, #071E2D 100%);
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.osym-pdf-archive {
    max-width: 920px;
    margin: 0 auto;
}

.osym-pdf-archive__header {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 1.75rem;
    text-align: left;
}

.osym-pdf-archive__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.22) 0%, rgba(16, 61, 92, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #D4AF37;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.osym-pdf-archive__title {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}

.osym-pdf-archive__subtitle {
    margin: 0;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    color: #B9C7D3;
    line-height: 1.5;
    max-width: 36rem;
}

.osym-pdf-archive__toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.osym-pdf-archive__search-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(16, 61, 92, 0.65);
    border: 1px solid rgba(185, 199, 211, 0.2);
    border-radius: 14px;
    padding: 0 1rem;
    min-height: 48px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.osym-pdf-archive__search-wrap:focus-within {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.osym-pdf-archive__search-wrap i {
    color: #B9C7D3;
    font-size: 0.9rem;
}

.osym-pdf-archive__search {
    flex: 1;
    border: none;
    background: transparent;
    color: #FFFFFF;
    font-size: 0.95rem;
    padding: 0.65rem 0;
    outline: none;
    min-width: 0;
}

.osym-pdf-archive__search::placeholder {
    color: rgba(185, 199, 211, 0.65);
}

.osym-pdf-archive__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.osym-pdf-archive__chip {
    appearance: none;
    border: 1px solid rgba(185, 199, 211, 0.25);
    background: rgba(16, 61, 92, 0.5);
    color: #B9C7D3;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.osym-pdf-archive__chip:hover {
    border-color: rgba(212, 175, 55, 0.45);
    color: #FFFFFF;
}

.osym-pdf-archive__chip.is-active {
    background: rgba(212, 175, 55, 0.18);
    border-color: #D4AF37;
    color: #D4AF37;
}

.sym-pdf-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sym-pdf-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: #103D5C;
    border: 1px solid rgba(185, 199, 211, 0.12);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sym-pdf-card:hover,
.sym-pdf-card:focus-visible {
    transform: translateY(-3px);
    border-color: #D4AF37;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(212, 175, 55, 0.25);
    outline: none;
}

.sym-pdf-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.12);
    color: #D4AF37;
    font-size: 1.2rem;
}

.sym-pdf-card__body {
    flex: 1;
    min-width: 0;
}

.sym-pdf-card__title {
    margin: 0 0 0.3rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sym-pdf-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.sym-pdf-card__year {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}

.sym-pdf-card__desc {
    font-size: 0.8rem;
    color: #B9C7D3;
}

.sym-pdf-card__action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #D4AF37;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    white-space: nowrap;
    transition: background 0.2s ease;
}

.sym-pdf-card:hover .sym-pdf-card__action {
    background: rgba(212, 175, 55, 0.2);
}

@media (max-width: 520px) {
    .sym-pdf-card {
        flex-wrap: wrap;
        padding: 0.95rem;
    }

    .sym-pdf-card__action {
        width: 100%;
        justify-content: center;
        margin-top: 0.25rem;
    }
}

.sym-pdf-empty {
    text-align: center;
    color: #B9C7D3;
    padding: 2.5rem 1.25rem;
    margin: 0;
}

.sym-pdf-empty > i {
    font-size: 2.25rem;
    color: rgba(212, 175, 55, 0.55);
    margin-bottom: 0.85rem;
    display: block;
}

.sym-pdf-empty p {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
}

.sym-pdf-empty__hint {
    display: block;
    font-size: 0.88rem;
    color: #B9C7D3;
}

.sym-pdf-empty__btn {
    margin-top: 1rem;
    appearance: none;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.12);
    color: #D4AF37;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sym-pdf-empty__btn:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: #D4AF37;
}

.leaderboard-section .empty-leaderboard {
    color: rgba(255, 255, 255, 0.9);
}

.section-restore-wrap {
    text-align: center;
    margin: -1rem 0 1.5rem;
}
.btn-restore-questions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-restore-questions:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
}
.btn-restore-questions:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.restore-questions-status {
    display: inline-block;
    margin-left: 0.75rem;
    font-size: 0.9rem;
    color: #059669;
}

/* Seni Geçenler Paneli */
.seni-gecenler-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
}

.seni-gecenler-content {
    max-width: 600px;
    margin: 0 auto;
}

.seni-gecenler-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.seni-gecenler-stat {
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.seni-gecenler-down {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #fca5a5;
}

.seni-gecenler-up {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #6ee7b7;
}

.seni-gecenler-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.seni-gecenler-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.seni-gecenler-down .seni-gecenler-value {
    color: #dc2626;
}

.seni-gecenler-up .seni-gecenler-value {
    color: #059669;
}

.seni-gecenler-label {
    font-size: 0.95rem;
    color: var(--text);
}

.seni-gecenler-good {
    display: block;
    font-size: 0.9rem;
    color: #047857;
    font-weight: 600;
    margin-top: 0.25rem;
}

.seni-gecenler-hint {
    grid-column: 1 / -1;
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #4b5563;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius);
    border: 1px solid rgba(11, 60, 93, 0.12);
}

.seni-gecenler-firebase-guest {
    max-width: 520px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius);
    border: 1px solid rgba(11, 60, 93, 0.15);
    box-shadow: var(--shadow);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}

.seni-gecenler-login-lead {
    margin: 0 0 0.75rem;
}

.seni-gecenler-proj {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: #64748b;
}

.seni-gecenler-proj strong {
    color: #0B3C5D;
    font-family: ui-monospace, monospace;
    font-size: 0.85rem;
}

.seni-gecenler-firebase-guest .seni-gecenler-cta {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 520px) {
    .seni-gecenler-card {
        grid-template-columns: 1fr;
    }
}

/* Net Artış Takip Paneli */
.net-panel-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #f9fafb 100%);
}

.net-panel-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.net-panel-content {
    min-height: 120px;
}

.net-empty {
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
}

.net-empty i {
    font-size: 2.5rem;
    color: var(--success);
    display: block;
    margin-bottom: 1rem;
}

.net-timeline h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.net-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.net-exam {
    font-weight: 600;
    min-width: 90px;
}

.net-value {
    color: var(--secondary);
    font-weight: 700;
    min-width: 70px;
}

.net-diff {
    margin-left: auto;
}

.net-increase {
    color: var(--success);
    font-weight: 600;
}

.net-decrease {
    color: var(--danger);
    font-weight: 600;
}

.net-summary {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.06) 0%, #f9fafb 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(11, 60, 93, 0.12);
}

.net-summary h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.net-summary-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.net-pill {
    background: #fff;
    border: 1px solid rgba(11, 60, 93, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    min-width: 120px;
}

.net-pill-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.net-pill-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.net-pill-highlight .net-pill-value {
    color: var(--secondary);
}

.net-timeline-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: -0.5rem 0 1rem 0;
}

.net-exam-tile {
    padding: 0.9rem 1rem;
    background: #f9fafb;
    border: 1px solid #e8eaee;
    border-radius: var(--radius);
    margin-bottom: 0.65rem;
}

.net-exam-tile-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.net-exam-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.net-exam-date {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

.net-exam-netblock {
    text-align: right;
}

.net-exam-netval {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
}

.net-tile-diff {
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.25rem;
}

.net-dyb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 0 0;
}

.net-dyb {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
}

.net-dyb i {
    margin-right: 0.25rem;
}

.net-dyb-d {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.net-dyb-y {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
}

.net-dyb-b {
    background: rgba(107, 114, 128, 0.15);
    color: var(--text-light);
}

.net-dyb-total {
    background: rgba(11, 60, 93, 0.08);
    color: var(--text);
}

.net-tile-quality {
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0.65rem 0 0.2rem 0;
    color: var(--secondary);
}

.net-tile-trend {
    font-size: 0.82rem;
    margin: 0;
    color: var(--text-light);
}

/* Seviye & Rozet Sistemi */
.level-badges-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fffbeb 0%, #f9fafb 100%);
}

.level-badges-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.level-empty {
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    margin: 0 auto;
    max-width: 36rem;
}

/* Grid iki sütunlu olduğunda tek satır (giriş yok) sol hücrede kalıyordu — tam ortala */
.level-badges-content > .level-empty:only-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
}

.level-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.level-badge {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.level-xp {
    font-size: 1.1rem;
    color: var(--text-light);
}

.level-progress {
    height: 12px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.level-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), #c9a227);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.level-next {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.level-streak {
    font-size: 0.95rem;
    color: var(--success);
    font-weight: 600;
}

.level-streak i {
    margin-right: 0.25rem;
}

.badges-grid h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.badges-grid {
    display: flex;
    flex-direction: column;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.badge-item.unlocked {
    opacity: 1;
    background: rgba(201,162,39,0.2);
    border: 2px solid var(--secondary);
}

.badge-item i {
    font-size: 1.25rem;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .level-badges-content {
        grid-template-columns: 1fr;
    }
}

/* Kaymakamlık Alarm Sistemi */
.alarm-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #fffbeb 0%, #f9fafb 100%);
}

.alarm-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.alarm-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
}

.alarm-item i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alarm-item.alarm-info {
    background: rgba(201,162,39,0.15);
    border-left: 4px solid var(--secondary);
    color: var(--primary-dark);
}

.alarm-item.alarm-warning {
    background: rgba(239,68,68,0.15);
    border-left: 4px solid var(--danger);
    color: #991b1b;
}

.alarm-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.alarm-empty i {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 0.75rem;
    display: block;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.course-card i {
    font-size: 2rem;
    color: var(--secondary);
}

.course-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.course-card p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.course-card .course-card-total {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.course-card .course-card-titles {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.35;
}

.course-card-anayasa {
    text-decoration: none;
    color: inherit;
    position: relative;
}

.course-card-anayasa .course-card-ext-icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-card-anayasa:hover .course-card-ext-icon {
    color: var(--primary);
}

/* Canlı Deneme Savaşı */
.canli-deneme-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
}

.canli-deneme-section .section-title {
    color: #fff;
}

.canli-deneme-section .section-title i {
    color: #fbbf24;
}

.canli-deneme-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.canli-deneme-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(251,191,36,0.4);
    border-radius: var(--radius);
    text-align: center;
}

.canli-deneme-countdown {
    margin-bottom: 1.5rem;
}

.canli-countdown-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.canli-countdown-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fbbf24;
}

.canli-deneme-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

.canli-deneme-meta i {
    margin-right: 0.35rem;
}

.canli-deneme-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.btn-canli-katil {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #0f172a !important;
}

/* Güncel Türk Anayasası */
.anayasa-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.anayasa-content {
    max-width: 900px;
    margin: 0 auto;
}

.anayasa-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.anayasa-title {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.anayasa-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

.anayasa-kaynak {
    display: inline-block;
    margin-top: 1rem;
}

.anayasa-baslangic {
    padding: 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.anayasa-baslangic h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.anayasa-kisim {
    margin-bottom: 2rem;
}

.anayasa-kisim h3 {
    font-size: 1.1rem;
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.anayasa-madde {
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.anayasa-madde-no {
    display: inline-block;
    font-weight: 700;
    color: var(--primary);
    margin-right: 0.5rem;
}

.anayasa-madde-baslik {
    font-weight: 600;
    color: var(--text);
}

.anayasa-madde-metin {
    margin: 0.75rem 0 0;
    line-height: 1.6;
    color: var(--text);
    font-size: 0.95rem;
}

.anayasa-footer {
    margin-top: 2rem;
    padding: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.anayasa-footer a {
    color: var(--primary);
    text-decoration: underline;
}

.btn-canli-katil:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%) !important;
}

/* Exam Section */
.exam-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.exam-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.exam-card h3 {
    margin-bottom: 0.5rem;
}

.exam-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.exam-card .btn {
    width: 100%;
    justify-content: center;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.stats-grid .stats-study-card {
    display: none !important;
}
body.hero-live-stats-on .stats-grid .stats-study-card {
    display: block !important;
}

.stat-card i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-card .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Ödeme Modal (yeni) */
.payment-modal {
    z-index: 10001;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px auto;
}

.payment-modal-content {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    max-width: 420px;
    width: 100%;
    overflow: hidden;
}

.payment-modal-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
}

.payment-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-modal-body {
    padding: 1.5rem;
}

.payment-modal-body .payment-field {
    margin-bottom: 1rem;
}

.payment-modal-body .payment-field label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.payment-modal-body .payment-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.payment-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.payment-modal-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.payment-sms-step {
    padding: 0.75rem 1rem;
    background: rgba(201,162,39,0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(201,162,39,0.3);
}

.payment-sms-info {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary);
}

.payment-sms-code {
    margin: 0;
    font-size: 0.95rem;
}

.payment-sms-code strong {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
}

#paySmsCode {
    letter-spacing: 0.25em;
    font-size: 1.1rem;
    text-align: center;
}

#paySmsCode:disabled {
    background: #f9fafb;
    cursor: not-allowed;
}

.plan-badge-done {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
}

/* 3D Güvenli Ödeme Modal (eski) */
.secure3d-modal {
    z-index: 10001;
}

.secure3d-modal.active {
    align-items: center;
    justify-content: center;
}

.secure3d-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
}

.secure3d-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.secure3d-header i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.secure3d-body {
    padding: 1.5rem;
}

.secure3d-info {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.secure3d-info p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.secure3d-card-fields {
    margin-bottom: 1.25rem;
}

.secure3d-card-fields .form-group,
.secure3d-card-fields .secure3d-label {
    margin-bottom: 0.5rem;
}

.secure3d-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.secure3d-row input {
    width: 100%;
}

.secure3d-card-fields input,
.secure3d-card input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.secure3d-card {
    margin-bottom: 1rem;
}

#secure3dCode {
    letter-spacing: 0.5em;
    font-size: 1.25rem;
    text-align: center;
}

.secure3d-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.secure3d-content input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1.25rem;
    letter-spacing: 0.5em;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

.secure3d-content input:focus {
    outline: none;
    border-color: var(--secondary);
}

.secure3d-note {
    font-size: 0.8rem;
    color: var(--success);
    margin-top: 0.75rem;
}

.secure3d-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.secure3d-footer .btn {
    flex: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow: auto;
    padding: 2rem;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Kapı z-index 9999; genel .modal z-index:1000 bu kuraldan sonra geldiği için ödemeyi eziyordu — modal görünmüyordu */
#paymentModal.modal.payment-modal {
    z-index: 10050;
}

#paymentNoticeModal.payment-notice-modal {
    z-index: 10050;
    align-items: center;
    justify-content: center;
}
.payment-notice-content {
    max-width: 420px;
    text-align: center;
}
.payment-notice-body {
    white-space: pre-wrap;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    color: var(--text-secondary, #444);
}

.checkout-loading-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: rgba(255, 255, 255, 0.88);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.checkout-loading-overlay.active {
    display: flex;
}
.checkout-loading-inner {
    text-align: center;
    padding: 1.5rem;
}
.checkout-loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    border: 3px solid rgba(0, 0, 0, 0.12);
    border-top-color: var(--primary, #2563eb);
    border-radius: 50%;
    animation: checkout-spin 0.8s linear infinite;
}
@keyframes checkout-spin {
    to { transform: rotate(360deg); }
}
.checkout-loading-text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary, #444);
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-close:hover {
    color: var(--text);
}

.modal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.modal-header-row .modal-close {
    position: static;
}

.btn-pdf, .btn-print {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Question Modal */
.question-empty-msg {
    padding: 1.5rem;
    color: #6b7280;
    font-size: 1rem;
}
.question-premium-notice {
    margin: 0.5rem 0 1rem;
    padding: 0.5rem 0.75rem;
    background: rgba(245, 158, 11, 0.15);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: #b45309;
}
/* ===== GLOBAL PACKET PICKER — Premium Hukuk Akademisi Tasarımı ===== */
/* Overlay: koyu lacivert, blur, karartma */
#questionModal.packet-picker-mode.modal.active,
#questionModal.modal.active.packet-picker-mode {
    background: rgba(11,29,58,0.96) !important;
    padding: 2.5rem !important;
}
/* Modal kutusu: koyu lacivert, 24px radius, geniş */
#questionModal.packet-picker-mode .modal-content,
#questionModal.modal.packet-picker-mode .modal-content {
    display: flex !important;
    flex-direction: column !important;
    max-width: 820px !important;
    width: 100% !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #0B1D3A 0%, #10264A 100%) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,175,55,0.18) !important;
    padding: 0 !important;
}
#questionModal.packet-picker-mode .modal-header-row {
    flex-shrink: 0;
    margin: 0;
    padding: 1.5rem 2.5rem;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}
#questionModal.packet-picker-mode .btn-pdf,
#questionModal.packet-picker-mode .btn-print {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: rgba(255,255,255,0.95) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease;
}
#questionModal.packet-picker-mode .btn-pdf:hover,
#questionModal.packet-picker-mode .btn-print:hover {
    border-color: #D4AF37 !important;
    background: rgba(212,175,55,0.2) !important;
    color: #D4AF37 !important;
}
#questionModal.packet-picker-mode .modal-close {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.5rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.2s ease;
}
#questionModal.packet-picker-mode .modal-close:hover {
    color: #D4AF37 !important;
    background: rgba(255,255,255,0.1);
}
#questionModal.packet-picker-mode #questionModalBody {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 0 2.5rem 2.5rem !important;
}
.packet-picker-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.packet-picker-header {
    flex-shrink: 0;
    padding: 2rem 0 1.75rem;
}
.packet-picker-title-area {
    margin-bottom: 0;
}
.packet-picker-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.02em;
}
.packet-picker-desc {
    margin: 0;
    color: rgba(255,255,255,0.7) !important;
    font-size: 1rem;
    line-height: 1.6;
}
.packet-picker-filter {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 0 1rem 0;
}
.packet-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    transition: all 0.2s ease;
}
.packet-filter-chip:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.packet-filter-chip.active {
    background: rgba(212,175,55,0.35);
    color: #D4AF37;
}
.packet-filter-chip.active:hover {
    background: rgba(212,175,55,0.45);
    color: #e0bc4a;
}
.packet-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}
.packet-filter-chip .packet-filter-count {
    background: rgba(255,255,255,0.2);
}
.packet-filter-chip.active .packet-filter-count {
    background: rgba(212,175,55,0.4);
}
.packet-picker-empty {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.packet-picker-scroll {
    flex: 1;
    min-height: 0;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 0.75rem;
    margin-bottom: 1.5rem;
}
.packet-picker-scroll::-webkit-scrollbar {
    width: 6px;
}
.packet-picker-scroll::-webkit-scrollbar-track {
    background: rgba(11,29,58,0.8);
    border-radius: 3px;
}
.packet-picker-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C9A227 0%, #D4AF37 100%);
    border-radius: 3px;
}
.packet-picker-scroll::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}
.packet-picker-footer {
    flex-shrink: 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}
.packet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (max-width: 768px) {
    .packet-grid {
        grid-template-columns: 1fr;
    }
}
/* Altın sarısı kartlar — gri butonlar tamamen override */
.packet-card,
button.packet-card,
#questionModalBody .packet-card,
#questionModalBody button[data-section] {
    position: relative !important;
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem !important;
    background: linear-gradient(180deg, #D4AF37 0%, #C89B2C 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    cursor: pointer;
    transition: box-shadow 0.15s ease, background 0.15s ease;
    text-align: left;
    width: 100%;
    font-family: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.packet-card:hover,
#questionModalBody .packet-card:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(212,175,55,0.35) !important;
    background: linear-gradient(180deg, #e0bc4a 0%, #D4AF37 100%) !important;
}
.packet-card:active {
    transform: scale(0.99);
    opacity: 0.95;
}
.packet-card-main {
    flex: 1;
    min-width: 0;
}
.packet-card-name {
    display: block;
    font-weight: 700;
    color: #0B1D3A;
    font-size: 1.15rem;
}
.packet-card-range {
    display: block;
    font-size: 0.9rem;
    color: rgba(11,29,58,0.85);
    margin-top: 0.35rem;
}
.packet-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}
.packet-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.packet-badge-done {
    background: rgba(16,185,129,0.95);
    color: #fff;
}
.packet-badge-progress {
    background: rgba(59,130,246,0.95);
    color: #fff;
}
.packet-card-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11,29,58,0.2);
    color: #0B1D3A;
    border-radius: 50%;
    font-size: 0.95rem;
}
.packet-card:hover .packet-card-icon {
    background: #0B1D3A;
    color: #D4AF37;
}

/* ===== SORU LİSTESİ GÖRÜNÜMÜ — Deneme sınavı / paket seçici ile aynı koyu tema ===== */
#questionModal.question-list-mode.modal.active,
#questionModal.modal.active.question-list-mode {
    background: rgba(11, 29, 58, 0.96) !important;
    padding: 2.5rem !important;
}
#questionModal.question-list-mode .modal-content,
#questionModal.modal.question-list-mode .modal-content {
    display: flex !important;
    flex-direction: column !important;
    max-width: 900px !important;
    width: 100% !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #0B1D3A 0%, #10264A 100%) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.18) !important;
    padding: 0 !important;
}
#questionModal.question-list-mode .modal-header-row {
    flex-shrink: 0;
    margin: 0;
    padding: 1.5rem 2rem;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#questionModal.question-list-mode .btn-pdf,
#questionModal.question-list-mode .btn-print {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 10px !important;
}
#questionModal.question-list-mode .btn-pdf:hover,
#questionModal.question-list-mode .btn-print:hover {
    border-color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.2) !important;
    color: #D4AF37 !important;
}
#questionModal.question-list-mode .modal-close {
    color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 10px;
}
#questionModal.question-list-mode .modal-close:hover {
    color: #D4AF37 !important;
    background: rgba(255, 255, 255, 0.1);
}
#questionModal.question-list-mode #questionModalBody {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1.75rem 2rem 2rem !important;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
}
#questionModal.question-list-mode .question-section-header {
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
#questionModal.question-list-mode .question-section-header h2 {
    color: #fff !important;
    font-size: 1.5rem;
}
#questionModal.question-list-mode .question-back-to-sections {
    background: transparent !important;
    border: 1px solid rgba(212, 175, 55, 0.55) !important;
    color: #D4AF37 !important;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}
#questionModal.question-list-mode .question-back-to-sections:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    color: #f4d03f !important;
}
#questionModal.question-list-mode .question-section-info {
    color: rgba(255, 255, 255, 0.65) !important;
    margin-bottom: 1.25rem;
}
#questionModal.question-list-mode .question-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.5rem;
    color: rgba(255, 255, 255, 0.92);
    content-visibility: auto;
    contain-intrinsic-size: auto min(28rem, 85vh);
}
#questionModal.question-list-mode .question-item.question-zor {
    border-left: 4px solid #D4AF37;
    background: rgba(212, 175, 55, 0.08);
}
#questionModal.question-list-mode .question-text {
    color: #fff;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.6;
}
#questionModal.question-list-mode .question-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}
#questionModal.question-list-mode .question-option:hover {
    border-color: rgba(212, 175, 55, 0.65);
    background: rgba(212, 175, 55, 0.1);
}
#questionModal.question-list-mode .question-option.selected {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.18);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 0 18px rgba(212, 175, 55, 0.12);
}
#questionModal.question-list-mode .question-option.correct {
    border: 2px solid #34d399;
    background: rgba(16, 185, 129, 0.18);
    color: #a7f3d0;
}
#questionModal.question-list-mode .question-option.wrong {
    border: 2px solid #f87171;
    background: rgba(239, 68, 68, 0.15);
    color: #fecaca;
}
#questionModal.question-list-mode .question-option.option-blank {
    border-style: dashed;
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
}
#questionModal.question-list-mode .question-option.option-blank.selected,
#questionModal.question-list-mode .question-option.option-blank.blank {
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.45);
}
#questionModal.question-list-mode .question-actions .btn-explain,
#questionModal.question-list-mode .question-actions .btn-voice,
#questionModal.question-list-mode .question-actions .btn-favorite {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 8px;
}
#questionModal.question-list-mode .question-actions .btn-explain:hover,
#questionModal.question-list-mode .question-actions .btn-voice:hover,
#questionModal.question-list-mode .question-actions .btn-favorite:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
    color: #D4AF37;
}
#questionModal.question-list-mode .question-answer {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.88);
}
#questionModal.question-list-mode .question-answer .answer-explanation,
#questionModal.question-list-mode .question-answer .explanation-notes {
    color: rgba(255, 255, 255, 0.78);
}
#questionModal.question-list-mode .blank-label {
    color: rgba(255, 255, 255, 0.55);
}
#questionModal.question-list-mode .question-continue-wrap {
    margin-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
}
#questionModal.question-list-mode .question-continue-btn {
    background: linear-gradient(180deg, #D4AF37 0%, #C89B2C 100%);
    border: none;
    color: #0B1D3A;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
#questionModal.question-list-mode .question-continue-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
#questionModal.question-list-mode .question-continue-end {
    margin: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}
#questionModal.question-list-mode .question-completed-msg {
    color: rgba(255, 255, 255, 0.78) !important;
}
#questionModal.question-list-mode .question-completed-msg .btn-primary {
    background: linear-gradient(180deg, #D4AF37 0%, #C89B2C 100%) !important;
    border: none !important;
    color: #0B1D3A !important;
}
#questionModal.question-list-mode .question-premium-notice {
    background: rgba(212, 175, 55, 0.12);
    color: #f4d03f;
    border: 1px solid rgba(212, 175, 55, 0.35);
}
#questionModal.question-list-mode .question-empty-msg {
    color: rgba(255, 255, 255, 0.75);
}

/* Eski gri paket butonları — packet-picker içinde tamamen override */
#questionModal.packet-picker-mode .question-section-btn,
#questionModalBody .question-section-btn,
#questionModalBody .btn-outline[data-section],
#questionModalBody .question-sections-grid .btn,
#questionModalBody .question-sections-grid button {
    padding: 1.5rem 1.75rem !important;
    background: linear-gradient(180deg, #D4AF37 0%, #C89B2C 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    color: #0B1D3A !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25) !important;
}
#questionModalBody .question-section-btn:hover,
#questionModalBody .btn-outline[data-section]:hover {
    background: linear-gradient(180deg, #e0bc4a 0%, #D4AF37 100%) !important;
    transform: scale(1.03);
    box-shadow: 0 14px 32px rgba(212,175,55,0.45) !important;
}
.question-section-desc {
    margin: 0.5rem 0 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
}
.question-sections-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
}
@media (max-width: 600px) {
    .question-sections-grid {
        grid-template-columns: 1fr !important;
    }
}
.question-section-btn {
    padding: 1.5rem !important;
    text-align: left !important;
    white-space: normal;
    min-height: auto !important;
}
.question-section-btn small {
    display: block;
    margin-top: 0.35rem;
    color: rgba(11,29,58,0.85) !important;
    font-size: 0.9rem !important;
}
.question-section-info {
    margin: 0.25rem 0 0.75rem;
    color: var(--text-light);
}
.question-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.question-section-header h2 {
    margin: 0;
    flex: 1;
    min-width: 0;
}
.question-back-to-sections {
    flex-shrink: 0;
}
.question-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.question-item.question-zor {
    border-left: 4px solid var(--danger);
    background: linear-gradient(90deg, rgba(239,68,68,0.04) 0%, transparent 100%);
}

.question-text {
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: clamp(18px, 4.5vw, 24px);
}

.question-passage {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--primary, #2563eb);
    background: rgba(37, 99, 235, 0.04);
    border-radius: 0 8px 8px 0;
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.65;
    color: var(--text, #1e293b);
}

.question-item .question-passage + .question-text {
    font-weight: 600;
}

.question-options {
    list-style: none;
}

.question-option {
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.question-option:hover {
    border-color: var(--secondary);
    background: rgba(201,162,39,0.15);
}

.question-option.selected {
    border-color: var(--secondary);
    background: rgba(201,162,39,0.2);
}

.question-option.correct {
    border-color: var(--success);
    background: rgba(16,185,129,0.2);
}

.question-option.wrong {
    border-color: var(--danger);
    background: rgba(239,68,68,0.2);
}

.question-option.blank,
.question-option.option-blank {
    border-style: dashed;
    color: var(--text-light);
}

.question-option.blank.selected,
.question-option.option-blank.selected {
    border-color: var(--text-light);
    background: #f9fafb;
}

.blank-label {
    color: var(--text-light);
    font-style: italic;
}

.answer-explanation {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    color: var(--text);
}

.question-answer {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.explanation-loading-wrap .explanation-loading {
    color: var(--primary);
}

.explanation-notes {
    line-height: 1.7;
}

.explanation-notes br + br {
    display: none;
}

/* Exam Modal — soru listesi ile aynı koyu lacivert tema */
#examModal.modal.active {
    background: rgba(11, 29, 58, 0.96) !important;
    padding: 2.5rem !important;
}

.exam-modal {
    max-width: 900px;
    background: linear-gradient(180deg, #0B1D3A 0%, #10264A 100%) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.18) !important;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.exam-header h2 {
    font-size: 1.5rem;
    color: #fff;
}

.exam-timer {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f87171;
}

#examModal .modal-close {
    color: rgba(255, 255, 255, 0.9) !important;
    position: static;
}

#examModal .modal-close:hover {
    color: #D4AF37 !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.exam-body {
    min-height: 300px;
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    color: rgba(255, 255, 255, 0.92);
}

#examModal .question-text {
    color: #fff;
}

#examModal .question-option,
#examModal .question-options .question-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

#examModal .question-option:hover,
#examModal .exam-opt:hover {
    border-color: rgba(212, 175, 55, 0.65);
    background: rgba(212, 175, 55, 0.1);
}

#examModal .question-option.selected,
#examModal .exam-opt.selected {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.18);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 0 18px rgba(212, 175, 55, 0.12);
}

#examModal .question-option.option-blank,
#examModal .exam-opt.option-blank {
    border-style: dashed;
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.28);
    background: transparent;
}

#examModal .question-actions .btn-explain,
#examModal .question-actions .btn-voice {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.85);
}

#examModal .question-answer,
#examModal .exam-answer {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
}

.exam-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#examModal #examProgress {
    color: rgba(255, 255, 255, 0.75);
}

/* Soru Sor / Asistan */
.assistant-section {
    padding: 3rem 0;
}

.api-key-wrap {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f0f7ff;
    border: 1px solid #c5d9f0;
    border-radius: var(--radius);
}

.api-key-wrap label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.api-key-wrap label small {
    font-weight: 400;
    color: var(--text-light);
}

.api-key-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.api-key-row input {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.api-key-status {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary);
}

.api-key-status .fa-check-circle {
    color: #10b981;
}

.assistant-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.assistant-examples {
    padding: 1.5rem;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
}

.assistant-examples ul {
    list-style: none;
    margin-top: 0.75rem;
}

.assistant-examples li {
    padding: 0.5rem 0;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
}

.assistant-examples li:hover {
    color: var(--secondary);
}

.assistant-chat {
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.assistant-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    max-height: 220px;
}

.assistant-msg {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.assistant-msg.user {
    background: rgba(201,162,39,0.15);
    margin-left: 2rem;
}

.assistant-msg:not(.user) {
    background: #f9fafb;
    margin-right: 2rem;
}

.assistant-input-wrap {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.assistant-input-wrap input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 1rem;
}

.assistant-input-wrap input:focus {
    outline: none;
    border-color: var(--secondary);
}

.btn-explain {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: rgba(201,162,39,0.2);
    color: #92400e;
    border: 1px solid #fcd34d;
    border-radius: var(--radius);
    cursor: pointer;
}

.btn-explain:hover {
    background: rgba(245,196,81,0.3);
}

.question-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-voice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: rgba(16,185,129,0.15);
    color: #047857;
    border: 1px solid rgba(16,185,129,0.4);
    border-radius: var(--radius);
    cursor: pointer;
}

.btn-voice:hover {
    background: rgba(16,185,129,0.25);
}

.btn-voice.speaking {
    background: rgba(16,185,129,0.3);
}

.btn-voice-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    margin-left: auto;
}

.btn-voice-exam {
    margin-top: 0;
}

.exam-actions {
    margin-top: 0.75rem;
    gap: 0.5rem;
}

.exam-answer {
    margin-top: 0.75rem;
}

.wrong-q-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Kapı açıkken görünen Anayasa barı - giriş yapmadan erişilebilir */
.gate-anayasa-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #0c3d5c 0%, #082d47 100%);
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
    text-align: center;
}
body.gate-active .gate-anayasa-bar {
    display: block;
}
.gate-anayasa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f4d03f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.gate-anayasa-link:hover {
    color: #fef9e7;
    text-decoration: underline;
}

/* Erişim kapısı - Varsayılan: kapalı (giriş gerekli). Sadece erişim onaylandığında ana içerik görünür. */
.access-gate {
    display: none;
    position: relative;
    width: 100%;
    z-index: 100;
    background-color: #f8fafc;
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(248,250,252,0.95)), url('img/makam-odasi-bg.png');
    background-size: cover;
    background-position: center;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
}

.access-gate.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Kapı aktifken sadece giriş/üyelik görünsün — navbar, hero, dersler, denemeler vb. gizli */
body.gate-active .navbar,
body.gate-active .hero,
body.gate-active #dersler,
body.gate-active #deneme-sinavi,
body.gate-active #canli-deneme,
body.gate-active .killer-questions-section,
body.gate-active .stats-section,
body.gate-active .analysis-section,
body.gate-active .membership-section,
body.gate-active .level-badges-section,
body.gate-active .alarm-section,
body.gate-active .seni-gecenler-section,
body.gate-active .net-panel-section,
body.gate-active .daily-goal-section,
body.gate-active .leaderboard-section,
body.gate-active .analiz-merkezi-section,
body.gate-active .kullanicilar-section,
body.gate-active footer {
    display: none !important;
}

body.gate-active .access-gate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    min-height: 100vh;
    padding-top: 48px; /* Anayasa barı için boşluk */
}

.access-gate-inner {
    width: 100%;
    max-width: 440px;
    margin: auto;
}

.gate-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.gate-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background 0.25s;
}

.gate-step-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.gate-step-line {
    width: 32px;
    height: 2px;
    background: #e2e8f0;
}

.gate-steps {
    position: relative;
}

.gate-step {
    display: none;
    background: rgba(255,255,255,0.98);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.gate-step.active {
    display: block;
    animation: gateStepIn 0.3s ease;
}

@keyframes gateStepIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.gate-step-1 h1 {
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
    color: var(--primary);
}

.gate-step-1 h1 i {
    margin-right: 0.5rem;
}

.gate-intro-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 1.5rem 0;
}

.gate-quote {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--primary);
    margin: 0 0 1.5rem 0;
    text-align: center;
}
.gate-quote-sig {
    display: block;
    margin-top: 0.35rem;
    font-style: normal;
    font-weight: 600;
    font-size: 0.85rem;
}

.gate-next-btn {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
}

.gate-next-btn i {
    margin-left: 0.5rem;
}

.gate-step-2 h2 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.gate-step-2 h2 i {
    margin-right: 0.4rem;
    color: var(--primary);
}

.gate-form-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1rem 0;
}

.gate-step-nav {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.gate-prev-btn {
    margin-bottom: 0.75rem;
}

.gate-dersler-label {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
}

.gate-prev-btn i {
    margin-right: 0.5rem;
}

.gate-dersler-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gate-premium-box {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(201,162,39,0.15);
    border: 1px solid rgba(201,162,39,0.4);
    border-radius: 8px;
}

.gate-premium-box p {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    color: #1e293b;
}

.access-gate-dersler-title {
    font-size: 1.15rem;
    margin: 0 0 0.25rem 0;
    color: #1e293b;
}

.access-gate-dersler-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1rem 0;
}

.access-gate-dersler-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

.gate-dersler-preview .gate-dersler-card {
    display: inline-flex;
    padding: 0.4rem 0.75rem;
    background: #f1f5f9;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    font-size: 0.8rem;
}

.gate-dersler-preview .gate-dersler-name {
    margin-right: 0.35rem;
}

.gate-dersler-preview .gate-dersler-count {
    font-size: 0.75rem;
    color: #64748b;
}

.gate-dersler-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.gate-dersler-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
}

.gate-dersler-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.access-gate-content h1 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
}

.access-gate-desc {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.access-gate-form,
.access-gate-payment {
    margin-bottom: 0.75rem;
}

.access-gate-form h3,
.access-gate-payment h3 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: #334155;
}

.access-gate-form .form-group {
    margin-bottom: 0.75rem;
}

.access-gate-form input {
    width: 100%;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #1e293b;
}

.access-gate-form input::placeholder {
    color: #94a3b8;
}

.access-gate-buttons {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
}

.access-gate-buttons .btn {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    pointer-events: auto;
}

.access-gate-payment p {
    color: #64748b;
    margin-bottom: 1rem;
}

.access-gate-payment .btn,
a#gatePremiumBtn,
#gatePremiumBtn,
#premiumBuyBtn,
.gate-premium-link,
.premium-buy-link,
[data-clickable="premium"] {
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    touch-action: manipulation;
    min-height: 44px;
}

[data-clickable="premium"] {
    padding: 1rem;
    border-radius: 8px;
}

.access-gate-done {
    color: #10b981;
    font-weight: 600;
}

.access-gate-status {
    font-size: 0.9rem;
    color: #10b981;
}

/* —— Premium Giriş / Üyelik (gate step 2) —— */
body.gate-active .access-gate {
    background: linear-gradient(165deg, #eef2f7 0%, #e4eaf2 42%, #dce4ef 100%);
    background-image: linear-gradient(165deg, #eef2f7 0%, #e4eaf2 42%, #dce4ef 100%);
}

body.gate-active .access-gate-inner {
    max-width: min(520px, calc(100vw - 40px));
    padding: 0 20px;
    box-sizing: border-box;
}

.gate-step.gate-step-auth {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.gate-auth-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow:
        0 4px 6px rgba(11, 60, 93, 0.04),
        0 16px 48px rgba(11, 60, 93, 0.1);
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1px solid rgba(11, 60, 93, 0.06);
}

.gate-auth-header {
    text-align: center;
    margin-bottom: 0.25rem;
}

.gate-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #0B3C5D 0%, #145a7a 100%);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(11, 60, 93, 0.25);
}

.gate-auth-title {
    font-size: clamp(1.5rem, 4.5vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f2744;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.gate-step-auth .gate-form-desc {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    font-weight: 400;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.gate-auth-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1.25rem 0 1.5rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #475569;
    background: rgba(11, 60, 93, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(11, 60, 93, 0.08);
}

.gate-auth-trust i {
    color: var(--primary);
    font-size: 0.75rem;
}

.gate-auth-form {
    margin-bottom: 0.5rem;
}

.gate-auth-form .gate-input-wrap {
    margin-bottom: 1rem;
}

.gate-input-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}

.gate-input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.gate-input-icon {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 1;
    transition: color 0.2s ease;
}

.gate-auth-form .gate-input-field input {
    width: 100%;
    height: 56px;
    padding: 0 2.75rem 0 2.75rem;
    font-size: 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background: #fafbfc;
    color: #1e293b;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gate-auth-form .gate-input-field input::placeholder {
    color: #a8b4c4;
    font-weight: 400;
}

.gate-auth-form .gate-input-field input:focus {
    outline: none;
    border-color: #0B3C5D;
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(11, 60, 93, 0.1),
        0 0 0 1px rgba(201, 162, 39, 0.35);
}

.gate-auth-form .gate-input-field:focus-within .gate-input-icon {
    color: #0B3C5D;
}

.gate-auth-form .gate-input-field input:focus-visible {
    border-color: #0B3C5D;
}

.gate-password-toggle {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 10px;
    transition: color 0.2s ease, background 0.2s ease;
}

.gate-password-toggle:hover {
    color: #0B3C5D;
    background: rgba(11, 60, 93, 0.06);
}

.gate-auth-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.gate-auth-buttons .btn {
    width: 100%;
    height: 56px;
    padding: 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 16px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.gate-btn-login {
    background: linear-gradient(135deg, #0B3C5D 0%, #145a7a 55%, #0B3C5D 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(11, 60, 93, 0.35);
}

.gate-btn-login:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 6px 20px rgba(11, 60, 93, 0.4);
}

.gate-btn-login:active {
    transform: scale(0.98);
}

.gate-btn-register {
    background: #fff;
    color: #0B3C5D;
    border: 1.5px solid #0B3C5D;
    box-shadow: none;
}

.gate-btn-register:hover {
    background: rgba(11, 60, 93, 0.04);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 12px rgba(11, 60, 93, 0.1);
}

.gate-btn-register:active {
    transform: scale(0.98);
}

.gate-step-auth .access-gate-status {
    margin-top: 0.75rem;
    text-align: center;
}

.gate-status-logged {
    display: inline-block;
    color: #166534;
    font-size: 0.9rem;
    line-height: 1.45;
}

.gate-inline-logout {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #0c3d5c;
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
}

.gate-inline-logout:hover {
    color: #082d47;
}

.gate-auth-courses {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8edf3;
}

.gate-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 14px;
    border: 1px solid #0B3C5D;
    color: #0B3C5D;
    background: transparent;
    min-height: auto;
    line-height: 1.2;
}

.gate-auth-back:hover {
    background: rgba(11, 60, 93, 0.05);
}

.gate-auth-back i {
    font-size: 0.75rem;
}

.gate-step-auth .gate-dersler-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin: 0 0 0.85rem;
}

.gate-dersler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
    gap: 0.55rem;
}

.gate-dersler-grid .gate-dersler-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.55rem 0.7rem;
    background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
    border: 1px solid rgba(11, 60, 93, 0.1);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(11, 60, 93, 0.06);
    font-size: 0.8rem;
}

.gate-dersler-grid .gate-dersler-name {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    color: #0f2744;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gate-dersler-grid .gate-dersler-badge,
.gate-dersler-grid .gate-dersler-count {
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    color: #0B3C5D;
    background: rgba(11, 60, 93, 0.1);
    padding: 0.2rem 0.45rem;
    border-radius: 8px;
    white-space: nowrap;
}

.gate-auth-footnote {
    margin: 1rem 0 0;
    padding: 0 0.25rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
}

@media (max-width: 400px) {
    .gate-auth-buttons {
        grid-template-columns: 1fr;
    }

    .gate-auth-card {
        padding: 1.35rem 1.15rem 1.15rem;
    }
}

/* Üyelik Girişi & Ödeme */
.membership-section,
.payment-section {
    padding: 4rem 0;
    position: relative;
}

.membership-section .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.membership-section .section-title i {
    font-size: 1.25rem;
}

.membership-section .section-subtitle {
    margin-top: 0;
    margin-bottom: 2rem;
}

.membership-section {
    background-image: linear-gradient(rgba(255,255,255,0.75), rgba(248,250,252,0.9)), url('img/makam-odasi-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.membership-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.membership-section .container {
    position: relative;
    z-index: 1;
}

/* Kullanıcılar bölümü */
.kullanicilar-section {
    padding: 2rem 0;
    background: linear-gradient(rgba(255,255,255,0.85), rgba(248,250,252,0.95));
}

.kullanicilar-section .section-title {
    margin-bottom: 0.25rem;
}

.kullanicilar-section .section-subtitle {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.kullanicilar-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
}

.kullanicilar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.kullanicilar-table th,
.kullanicilar-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.kullanicilar-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.kullanicilar-table tbody tr:hover {
    background: #f8fafc;
}

.kullanicilar-loading,
.kullanicilar-empty {
    text-align: center;
    padding: 2rem !important;
    color: var(--text-light);
}

.kullanicilar-status {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.membership-card,
.payment-notice {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    max-width: 420px;
    margin: 0 auto 1rem;
}

.payment-notice {
    text-align: center;
    margin-bottom: 2rem;
}

.membership-payment-box {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

#profileAccountModal.modal.profile-account-modal {
    z-index: 10040;
}
#profileAccountModal.modal.profile-account-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
#profileAccountModal .profile-account-dialog {
    width: 100%;
    max-width: 520px;
    max-height: min(90vh, 720px);
    overflow-y: auto;
    margin: auto;
    border-radius: var(--radius, 12px);
}
.profile-account-dialog .profile-account-heading {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.profile-account-dialog .profile-account-actions {
    margin-bottom: 0.75rem;
}
.profile-account-dialog .membership-payment-box {
    margin-top: 0.5rem;
    padding-top: 1.25rem;
}
.membership-profile-hint {
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius, 12px);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.06));
    border: 1px solid rgba(34, 197, 94, 0.22);
}
.membership-profile-hint-text {
    margin: 0 0 0.85rem;
    line-height: 1.55;
    color: var(--text, #1e293b);
    font-size: 0.95rem;
}

.membership-payment-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.membership-payment-box p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.membership-premium-done {
    color: #10b981;
    font-weight: 600;
}

.premium-mevcut-badge {
    display: block;
    margin-top: 1rem;
    padding: 0;
    background: transparent;
    border: none;
}

.premium-mevcut-inner {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #0c3d5c 0%, #0a3350 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(12, 61, 92, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-mevcut-inner i.fa-crown {
    font-size: 1.5rem;
    color: #fbbf24;
}

.premium-mevcut-title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.premium-mevcut-kalan {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.feature-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.feature-soon {
    background: rgba(201,162,39,0.2);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.membership-form .form-group {
    margin-bottom: 1rem;
}

.membership-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.membership-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 1rem;
}

.membership-form input:disabled {
    background: #f9fafb;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-disabled {
    opacity: 0.7;
    cursor: not-allowed !important;
}

.membership-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.membership-status {
    padding: 1rem;
    background: rgba(16,185,129,0.15);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    color: var(--text);
}

.badge-premium {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.premium-kalan {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}

.membership-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.label-optional {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
}

.feature-active {
    background: rgba(16,185,129,0.2);
    color: #065f46;
    border: 1px solid #10b981;
}

.plan-premium {
    background: var(--primary) !important;
    color: white !important;
}

.payment-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.payment-plan {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.payment-plan h3 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.plan-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features i {
    color: var(--success);
}

.plan-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--success);
    color: white;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}
.footer-quote {
    font-style: italic;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}
.footer-quote-sig {
    display: block;
    margin-top: 0.35rem;
    font-style: normal;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .assistant-card {
        grid-template-columns: 1fr;
    }

    .assistant-examples {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-wrapper {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.35rem 0.5rem;
        position: relative;
    }

    .nav-brand {
        margin-right: 0;
        flex: 0 1 auto;
        min-width: max-content;
        max-width: min(100%, 12.5rem);
        justify-content: flex-start;
        text-align: left;
        font-size: 0.92rem;
        padding: 0.35rem 0.25rem;
    }
    .nav-brand .nav-brand-text {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #0a354f 0%, #061e33 100%);
        flex-direction: column;
        padding: 0.75rem 1rem;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.35);
        border-top: 1px solid rgba(6, 30, 51, 0.65);
        max-height: 70vh;
        overflow-y: auto;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu > li {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-menu .nav-link {
        padding: 0.65rem 0.85rem;
        border-radius: 10px;
        width: 100%;
        font-size: 1rem;
        text-align: left;
        justify-content: space-between;
    }
    .nav-menu .nav-link.active {
        color: #0c3d5c;
        background: linear-gradient(135deg, #f4d03f 0%, #e6c229 100%);
    }
    .nav-menu .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-bottom: 0.5rem;
        margin-left: 0.75rem;
        padding: 0.25rem 0;
        max-height: 0;
        overflow: hidden;
        border: none;
        box-shadow: none;
        background: transparent;
        transition: max-height 0.25s ease;
    }
    .nav-menu .nav-has-drop.open .nav-dropdown {
        max-height: 400px;
    }
    .nav-menu .nav-drop-link {
        padding: 0.45rem 0.75rem;
        font-size: 0.95rem;
    }

    .nav-utils {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }

    .hamburger {
        display: flex;
        margin-inline-end: 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .hero-logo-wrap {
        justify-content: center;
    }

    .hero-logo {
        max-width: 220px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    body.hero-live-stats-on .hero-live-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Orta ekranlarda istatistik çubuğunu gizle; Premium, Bildirim, Profil her zaman görünsün */
@media (max-width: 1100px) {
    .nav-stats-bar {
        display: none;
    }
}
/* Çok dar ekranlarda sadece ikonlar (Bildirim vb. her zaman görünür) */
@media (max-width: 520px) {
    .nav-btn-text {
        display: none;
    }
    .nav-btn {
        padding: 0.5rem;
    }
}

/* --- Test ödeme (sandbox) modal --- */
body.mulkiye-test-payment-body-lock {
    overflow: hidden;
}
.mulkiye-test-payment-root.mulkiye-test-payment-active {
    position: fixed;
    inset: 0;
    z-index: 100050;
    pointer-events: auto;
}
.mulkiye-test-payment-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
}
.mulkiye-test-payment-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    padding: 1.75rem 1.5rem 1.5rem;
    color: #0f172a;
}
.mulkiye-test-payment-card--narrow {
    max-width: 380px;
    text-align: center;
    padding-top: 2rem;
}
.mulkiye-test-payment-card--checkout {
    max-width: 440px;
}
.mtp-checkout-form {
    margin-top: 0.25rem;
}
.mtp-field {
    margin-bottom: 0.85rem;
}
.mtp-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.35rem;
}
.mtp-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.85rem;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}
.mtp-field input:focus {
    outline: none;
    border-color: #0b3c5d;
    box-shadow: 0 0 0 3px rgba(11, 60, 93, 0.18);
}
.mtp-field input::placeholder {
    color: #94a3b8;
}
.mtp-field-row {
    display: flex;
    gap: 0.75rem;
}
.mtp-field--half {
    flex: 1;
    min-width: 0;
}
.mtp-form-error {
    font-size: 0.88rem;
    color: #b91c1c;
    margin: 0 0 0.75rem;
    padding: 0.5rem 0.65rem;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}
.btn-mtp-pay {
    margin-top: 0.25rem;
    background: linear-gradient(135deg, #0b3c5d 0%, #0e4d75 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(11, 60, 93, 0.35);
}
.btn-mtp-ghost {
    margin-top: 0.5rem;
    background: transparent;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.btn-mtp-ghost:hover {
    background: #f8fafc;
}
.mulkiye-test-payment-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem 0.45rem;
    border-radius: 8px;
}
.mulkiye-test-payment-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.mulkiye-test-payment-title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.25;
    padding-right: 2rem;
}
.mulkiye-test-payment-sub {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.45;
}
.mulkiye-test-payment-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.btn-mtp {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: none;
    font-size: 0.98rem;
    font-weight: 650;
    cursor: pointer;
    transition:
        transform 0.08s ease,
        box-shadow 0.15s ease;
}
.btn-mtp:active {
    transform: scale(0.98);
}
.btn-mtp-success {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}
.btn-mtp-fail {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.btn-mtp-cancel {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}
.btn-mtp-primary {
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #0b3c5d 0%, #0e4d75 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(11, 60, 93, 0.35);
}
.mulkiye-test-payment-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    border-top-color: #0b3c5d;
    animation: mulkiye-mtp-spin 0.75s linear infinite;
}
@keyframes mulkiye-mtp-spin {
    to {
        transform: rotate(360deg);
    }
}
.mulkiye-test-payment-loading-text {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
}
.mulkiye-test-payment-result-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}
.mulkiye-test-payment-result-icon--success {
    background: #d1fae5;
    color: #047857;
}
.mulkiye-test-payment-result-icon--fail {
    background: #fee2e2;
    color: #b91c1c;
}
.mulkiye-test-payment-result-icon--cancel {
    background: #e2e8f0;
    color: #475569;
}
.mulkiye-test-payment-result-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 750;
}
.mulkiye-test-payment-result-body {
    margin: 0 0 1rem;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.45;
}
