/* =========================================
   BURAK ÖZDEMİR - GENEL STİL VE TEMA AYARLARI
   ========================================= */

:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --link-color: #d97706;
    --link-hover: #b45309;
    --footer-bg: #0f172a;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary: #f8fafc;
    --secondary: #0b1120;
    --accent: #fbbf24;
    --accent-hover: #fcd34d;
    --text-dark: #f8fafc;
    --text-light: #94a3b8;
    --bg-light: #090d16;
    --bg-white: #0f172a;
    --card-bg: #131b2e;
    --border-color: #1e293b;
    --link-color: #38bdf8;
    --link-hover: #7dd3fc;
    --footer-bg: #060911;
}

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

body, .main-content, .container, .detail-container, .dynamic-page-container {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background 0.3s, color 0.3s;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    word-break: break-word;
}

/* =========================================
   GENEL BAĞLANTI (LİNK) STİLLERİ
   ========================================= */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--link-hover);
}

/* İçerik, Makale, Dinamik Sayfa ve Yorum İçi Linkler */
.detail-body a,
.dynamic-page-content a,
.comment-card a,
.forum-post-body a {
    color: var(--link-color);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(217, 119, 6, 0.4);
    text-underline-offset: 3px;
    transition: var(--transition);
}

.detail-body a:hover,
.dynamic-page-content a:hover,
.comment-card a:hover,
.forum-post-body a:hover {
    color: var(--link-hover);
    text-decoration-color: var(--link-hover);
}

[data-theme="dark"] .detail-body a,
[data-theme="dark"] .dynamic-page-content a,
[data-theme="dark"] .comment-card a,
[data-theme="dark"] .forum-post-body a {
    color: var(--link-color);
    text-decoration-color: rgba(56, 189, 248, 0.45);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

[data-theme="dark"] .detail-body a:hover,
[data-theme="dark"] .dynamic-page-content a:hover,
[data-theme="dark"] .comment-card a:hover,
[data-theme="dark"] .forum-post-body a:hover {
    color: var(--link-hover);
    text-decoration-color: var(--link-hover);
}

/* Kod blokları */
code:not(pre code) {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}

[data-theme="dark"] code:not(pre code) {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

pre {
    background: #0b1120 !important;
    color: #f8fafc !important;
    border: 1px solid #1e293b !important;
    border-radius: 10px;
    padding: 1.2rem;
    overflow-x: auto;
}

/* =========================================
   HEADER & NAVİGASYON
   ========================================= */
.site-header {
    background-color: var(--bg-white);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
}

nav {
    max-width: 1350px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent);
}

.header-right-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.utility-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.utility-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.menu {
    display: flex;
    list-style: none;
    gap: 0.6rem;
    align-items: center;
}

.menu li {
    position: relative;
    padding-top: 10px;
    margin-top: -10px;
    padding-bottom: 12px;
    margin-bottom: -12px;
}

.menu-link-item {
    text-decoration: none !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    padding: 0.55rem 1.1rem !important;
    border-radius: 8px !important;
    transition: var(--transition) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    white-space: nowrap !important;
    width: auto !important;
    justify-content: flex-start !important;
}

.menu-link-item:hover {
    color: var(--accent) !important;
    background: var(--bg-light) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15) !important;
    transform: translateY(-1px) !important;
}

.menu-link-item .menu-title-part {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.menu-link-item .menu-arrow-part {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    padding: 2px 4px;
    font-size: 0.78rem;
    color: var(--accent);
    transition: transform 0.2s ease;
}

.menu > li:hover > .menu-link-item .menu-arrow-part,
.menu > li.open-dropdown > .menu-link-item .menu-arrow-part {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    background: var(--card-bg);
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.18);
    flex-direction: column;
    min-width: 235px;
    max-height: 75vh;
    overflow-y: auto;
    border-radius: 10px;
    z-index: 1005;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    margin-top: 0;
    list-style: none;
    gap: 3px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
    background: transparent;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dropdown-menu li a {
    padding: 0.55rem 0.9rem !important;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: var(--transition);
    border-radius: 6px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
}

.dropdown-menu li a .dropdown-link-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dropdown-menu li a:hover {
    background: rgba(245, 158, 11, 0.1) !important;
    color: var(--accent) !important;
    padding-left: 1.15rem !important;
    transform: none !important;
}

[data-theme="dark"] .menu-link-item {
    background: #131b2e !important;
    border-color: #1e293b !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .menu-link-item:hover,
[data-theme="dark"] .menu > li:hover > .menu-link-item,
[data-theme="dark"] .menu > li.open-dropdown > .menu-link-item {
    color: #fbbf24 !important;
    background: #1b263e !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.22) !important;
}

[data-theme="dark"] .dropdown-menu {
    background: #131b2e !important;
    border-color: #1e293b !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55) !important;
}

[data-theme="dark"] .dropdown-menu li a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .dropdown-menu li a:hover {
    background: rgba(251, 191, 36, 0.14) !important;
    color: #fbbf24 !important;
}

.sub-dropdown-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 2px 0 4px 1rem;
    padding-left: 0.55rem;
    border-left: 2px solid rgba(245, 158, 11, 0.45);
}

.sub-dropdown-menu li a {
    font-size: 0.82rem !important;
    padding: 0.45rem 0.75rem !important;
    opacity: 0.95;
}

[data-theme="dark"] .sub-dropdown-menu {
    border-left-color: rgba(251, 191, 36, 0.55) !important;
}

[data-theme="dark"] .sub-dropdown-menu li a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .sub-dropdown-menu li a:hover {
    background: rgba(251, 191, 36, 0.12) !important;
    color: #fbbf24 !important;
}

.menu > li:hover > .dropdown-menu,
.menu > li.open-dropdown > .dropdown-menu {
    display: flex;
}

.menu > li.closing-dropdown > .dropdown-menu {
    display: none !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 1005;
    background: none;
    border: none;
}

/* =========================================
   ANA İÇERİK & VIEW YAPISI
   ========================================= */
.main-content {
    padding-top: 70px;
    flex: 1;
}

.view {
    display: none;
    animation: fadeIn 0.4s;
}

.view.active-view {
    display: block;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)),
                url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?q=80&w=2070&auto=format&fit=crop') center/cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #e2e8f0;
    line-height: 1.8;
}

/* =========================================
   BUTONLAR
   ========================================= */
.btn-site-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.7rem 1.6rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-site-primary:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
}

.btn-primary {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
    transform: translateY(-1px);
    color: var(--accent);
}

.btn-warning {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-info {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #fff;
    border: none;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-info:hover {
    color: #fff;
    opacity: 0.9;
}

/* =========================================
   KARTLAR, GRID & ETİKETLER
   ========================================= */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    font-size: 1.8rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    margin: 8px auto 0;
    border-radius: 2px;
}

.section-title.left-align {
    text-align: left;
}

.section-title.left-align::after {
    margin: 8px 0 0 0;
}

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

.card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
}

.rich-text-preview {
    color: var(--text-light);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 10px;
    word-break: break-word;
}

.tags-container {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tag-badge {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.tag-badge:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.home-section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.home-section:last-child {
    border-bottom: none;
}

/* =========================================
   ANA SAYFA İNTERAKTİF EDİTÖRLER (PRO STUDIO)
   ========================================= */
.editors-triple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0 3rem;
    align-items: stretch;
}

.editor-block {
    background: var(--card-bg);
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.editor-block:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 14px 36px -6px rgba(15, 23, 42, 0.14);
}

.pro-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 0.9rem;
}

.pro-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.code-playground,
.pro-ide-window {
    background: #0b1120;
    border-radius: 12px;
    padding: 0.85rem;
    color: #f8fafc;
    width: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid #1e293b;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ide-window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1e293b;
    flex-wrap: wrap;
}

.ide-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.ide-actions {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ide-icon-btn {
    background: #1e293b;
    color: #94a3b8;
    border: 1px solid #334155;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.72rem;
    transition: var(--transition);
}

.ide-icon-btn:hover {
    color: #fff;
    border-color: var(--accent);
    background: rgba(245, 158, 11, 0.2);
}

.ide-run-btn {
    padding: 0.28rem 0.65rem !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
}

.ide-template-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 2px 0;
}

.ide-tpl-label {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
}

.ide-chip {
    background: #1e293b;
    color: #cbd5e1;
    border: 1px solid #334155;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.ide-chip:hover {
    background: rgba(245, 158, 11, 0.18);
    color: #f59e0b;
    border-color: #f59e0b;
}

.playground-tabs {
    display: flex;
    gap: 4px;
}

.tab-btn {
    background: #1e293b;
    color: #94a3b8;
    border: 1px solid #334155;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.72rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tab-btn.active-tab-btn {
    background: rgba(245, 158, 11, 0.16);
    color: #f8fafc;
    border-color: var(--accent);
}

.code-box textarea,
.ai-box textarea,
.mobile-code-panel textarea {
    width: 100%;
    height: 112px;
    background: #111827;
    color: #38bdf8;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 0.65rem;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.76rem;
    line-height: 1.45;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
}

.mobile-code-panel textarea {
    height: 88px;
}

.ai-box textarea {
    height: 82px;
    color: #e2e8f0;
}

.code-box textarea:focus,
.ai-box textarea:focus,
.mobile-code-panel textarea:focus {
    border-color: var(--accent);
}

.ide-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
    padding: 0 2px;
}

.ide-status-dot {
    color: #10b981;
    font-size: 0.68rem;
}

.preview-box,
.ai-output-box {
    background: #ffffff;
    color: #1e293b;
    border-radius: 8px;
    padding: 0.7rem;
    min-height: 120px;
    max-height: 185px;
    overflow-y: auto;
    border: 1px solid #1e293b;
    font-size: 0.8rem;
    word-break: break-word;
    width: 100%;
}

.python-terminal-box {
    background: #050811 !important;
    color: #38bdf8 !important;
    font-family: 'SFMono-Regular', Consolas, monospace !important;
    font-size: 0.76rem !important;
    line-height: 1.5 !important;
    border: 1px solid #1e293b !important;
    white-space: pre-wrap;
}

.ai-output-box {
    background: #111827;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    line-height: 1.55;
    min-height: 145px;
}

.mobile-simulator-layout {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-grow: 1;
}

.phone-frame-container {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 2px;
}

.phone-frame {
    width: 215px;
    height: 255px;
    background: #0f172a;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), inset 0 0 0 2px #475569;
    border: 3px solid #1e293b;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-notch {
    width: 58px;
    height: 11px;
    background: #090d16;
    border-radius: 99px;
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 10px 3px;
    font-size: 0.58rem;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
    border-radius: 18px 18px 0 0;
    z-index: 2;
}

.phone-frame.phone-dark .phone-status-bar {
    background: #0f172a;
    color: #94a3b8;
}

.phone-screen {
    width: 100%;
    flex: 1;
    background: #f8fafc;
    border-radius: 0 0 18px 18px;
    overflow-y: auto;
    padding: 8px 10px 14px;
    color: #1e293b;
    font-size: 0.76rem;
    transition: background 0.25s, color 0.25s;
}

.phone-frame.phone-dark .phone-screen {
    background: #111827;
    color: #f1f5f9;
}

.phone-home-bar {
    width: 64px;
    height: 4px;
    background: rgba(100, 116, 139, 0.45);
    border-radius: 99px;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

/* =========================================
   İLETİŞİM, DETAY & DİNAMİK SAYFA
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.contact-info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    word-break: break-word;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
    width: 30px;
    text-align: center;
}

.detail-container, .dynamic-page-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    word-break: break-word;
    box-sizing: border-box;
}

.detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.detail-body, .dynamic-page-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    word-break: break-word;
}

.dynamic-page-content img, .detail-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 15px 0;
    display: block !important;
}

.dynamic-page-content iframe, .detail-body iframe {
    width: 100% !important;
    height: 380px !important;
    max-width: 100% !important;
    border-radius: 8px;
    margin: 15px 0;
    border: none;
    display: block !important;
}

.dynamic-page-content video, .detail-body video, .ql-editor video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 300px !important;
    max-height: 500px !important;
    border-radius: 8px;
    margin: 15px 0;
    background: #000;
    display: block !important;
    object-fit: contain;
}

/* İndirme Butonlarının Editör ve Sayfa İçindeki Görünümü */
.ql-editor button.btn-site-primary,
.ql-editor a.file-download-btn,
.file-download-btn {
    font-family: 'Inter', sans-serif;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none !important;
}

/* Editör Araç Çubuğundaki Dosya Ekleme (Ataş) Butonu */
.ql-insertFile::after {
    font-family: "Font Awesome 6 Free";
    content: "\f0c6";
    font-weight: 900;
    font-size: 14px;
    color: var(--text-dark);
}

.ql-insertFile:hover::after {
    color: var(--accent);
}

/* Paylaşım ve Yorumlar */
.share-section {
    margin: 2rem 0;
    padding: 1.2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.share-whatsapp { background: #25d366; }
.share-whatsapp:hover { background: #1ebd5a; }
.share-twitter { background: #000000; }
.share-twitter:hover { background: #333333; }
.share-copy { background: #475569; }
.share-copy:hover { background: #334155; }

.comments-section {
    margin-top: 3rem;
    border-top: 2px solid var(--border-color);
    padding-top: 2rem;
}

.comment-card {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent);
    word-break: break-word;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background-color: var(--footer-bg, var(--secondary));
    color: #cbd5e1;
    padding: 4rem 2rem 2rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .site-footer {
    background-color: var(--footer-bg) !important;
    border-top: 1px solid #162035 !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .footer-col h3 {
    color: #f8fafc !important;
}

[data-theme="dark"] .footer-links li a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .footer-links li a:hover {
    color: #fbbf24 !important;
    padding-left: 6px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* =========================================
   FORM & ADMİN PANELİ
   ========================================= */
.login-box {
    max-width: 400px;
    margin: 100px auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 8px;
    font-family: inherit;
    box-sizing: border-box;
    transition: var(--transition);
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: #0b1120 !important;
    border-color: #1e293b !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] input[type="password"]:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: #fbbf24 !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25) !important;
}

body.admin-mode .site-header,
body.admin-mode .site-footer {
    display: none;
}

body.admin-mode .main-content {
    padding-top: 0;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--bg-light);
}

.admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--secondary);
    color: white;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.admin-brand {
    padding: 2rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav {
    list-style: none;
    padding: 1rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.admin-nav li {
    width: 100%;
    box-sizing: border-box;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: 0.2s;
    border-left: 4px solid transparent;
    width: 100%;
    box-sizing: border-box;
}

.admin-nav li a .nav-text-side {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: var(--accent);
}

.sidebar-submenu-group {
    display: flex;
    flex-direction: column !important;
    align-items: stretch;
    background: rgba(15, 23, 42, 0.45);
    border-left: 2px solid rgba(245, 158, 11, 0.35);
    margin: 0 0 4px 1rem;
    width: calc(100% - 1rem) !important;
    border-radius: 0 0 6px 6px;
    padding: 4px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.sidebar-section-header {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    padding: 0.5rem 0.85rem 0.25rem;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
}

.admin-nav .sidebar-sub-link {
    padding: 0.5rem 0.85rem !important;
    font-size: 0.84rem !important;
    color: #cbd5e1;
    border-left: 3px solid transparent;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100% !important;
    box-sizing: border-box;
}

.admin-nav .sidebar-sub-link .nav-text-side {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.admin-nav .sidebar-sub-link .nav-text-side span:last-child {
    word-break: break-word;
    line-height: 1.3;
}

.admin-nav .sidebar-sub-link:hover,
.admin-nav .sidebar-sub-link.active {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #f59e0b !important;
    border-left-color: var(--accent) !important;
}

.badge-count {
    background: var(--accent);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    display: inline-block;
}

.admin-main {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
    height: 100vh;
    box-sizing: border-box;
}

.admin-tab {
    display: none;
    animation: fadeIn 0.3s;
}

.admin-tab.active-tab {
    display: block;
}

.admin-panel-card {
    background: var(--card-bg);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.data-list {
    margin-top: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--card-bg);
    gap: 10px;
    flex-wrap: wrap;
}

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

.action-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.editor-container {
    height: 280px;
    background: white;
    color: #0f172a;
    border-radius: 0 0 6px 6px;
}

/* =========================================
   RESPONSIVE / MOBİL UYUMLULUK
   ========================================= */
@media (max-width: 1100px) {
    .editors-triple-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem !important;
    }

    .detail-container,
    .dynamic-page-container,
    .contact-wrapper,
    .admin-panel-card {
        padding: 1.2rem !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .dynamic-page-content iframe,
    .detail-body iframe {
        height: 250px !important;
    }

    .dynamic-page-content video,
    .detail-body video,
    .ql-editor video {
        min-height: 220px !important;
        max-height: 320px !important;
    }

    .detail-image {
        max-height: 250px !important;
    }

    nav {
        padding: 0.75rem 1rem !important;
        gap: 0.6rem !important;
    }

    .logo {
        font-size: 1.25rem !important;
    }

    .header-right-area {
        gap: 0.5rem !important;
        margin-left: auto;
    }

    .utility-btn {
        padding: 0.45rem 0.65rem !important;
        font-size: 0.8rem !important;
    }

    .hamburger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: var(--bg-light);
        border: 1px solid var(--border-color);
        border-radius: 9px;
        color: var(--text-dark);
        font-size: 1.15rem;
        cursor: pointer;
        transition: var(--transition);
        margin-left: 2px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .hamburger:hover,
    .hamburger.active {
        background: var(--accent);
        border-color: var(--accent);
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    }

    .menu {
        position: fixed;
        top: 64px;
        left: -100%;
        flex-direction: column;
        background-color: var(--secondary);
        width: 100%;
        max-width: 360px;
        height: calc(100vh - 64px);
        padding: 1rem 0.75rem 120px 0.75rem !important;
        transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1005 !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        align-items: stretch;
        gap: 6px;
        box-shadow: 6px 0 24px rgba(0, 0, 0, 0.3);
    }

    .menu.active {
        left: 0;
    }

    .menu li {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: left;
    }

    .menu li .mobile-menu-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 0.75rem 0.85rem !important;
        border-radius: 10px !important;
        width: 100% !important;
        font-size: 0.92rem !important;
        box-shadow: none !important;
        text-align: left !important;
        cursor: pointer;
        border-left: 3px solid transparent !important;
        transition: all 0.2s ease !important;
    }

    .menu li .mobile-menu-row:hover,
    .menu li.active-mobile .mobile-menu-row {
        background: rgba(245, 158, 11, 0.15) !important;
        border-color: var(--accent) !important;
        border-left-color: var(--accent) !important;
        color: var(--accent) !important;
    }

    .menu li .mobile-menu-row .menu-title-part {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-grow: 1;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .menu li .mobile-menu-row .menu-arrow-part {
        padding: 0.3rem 0.5rem;
        cursor: pointer;
        color: var(--accent);
        transition: transform 0.25s ease;
    }

    .menu li.active-mobile .mobile-menu-row .menu-arrow-part {
        transform: rotate(180deg);
    }

    .menu li a.menu-link-item:not(.mobile-menu-row) {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 0.75rem 0.85rem !important;
        border-radius: 10px !important;
        width: 100% !important;
        justify-content: flex-start !important;
        font-size: 0.92rem !important;
        box-shadow: none !important;
        display: flex !important;
        text-align: left !important;
        gap: 10px !important;
        border-left: 3px solid transparent !important;
        transition: all 0.2s ease !important;
    }

    .menu li a.menu-link-item:not(.mobile-menu-row):hover {
        background: rgba(245, 158, 11, 0.15) !important;
        border-color: var(--accent) !important;
        border-left-color: var(--accent) !important;
        color: var(--accent) !important;
    }

    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        display: none !important;
        background: rgba(0, 0, 0, 0.28) !important;
        border-radius: 8px !important;
        min-width: 100% !important;
        margin: 4px 0 6px 0.35rem !important;
        padding: 0.4rem !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-left: 2px solid var(--accent) !important;
        flex-direction: column !important;
        gap: 3px !important;
    }

    .dropdown-menu li {
        width: 100% !important;
    }

    .dropdown-menu li a {
        color: #cbd5e1 !important;
        padding: 0.55rem 0.75rem !important;
        border-radius: 6px !important;
        font-size: 0.86rem !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.04) !important;
        display: flex !important;
        width: 100% !important;
        text-align: left !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    .dropdown-menu li a:hover {
        background: rgba(245, 158, 11, 0.2) !important;
        color: var(--accent) !important;
        padding-left: 1rem !important;
    }

    .menu li.active-mobile .dropdown-menu {
        display: flex !important;
    }

    .sub-dropdown-menu {
        list-style: none !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        margin: 3px 0 4px 0.4rem !important;
        padding-left: 0.5rem !important;
        border-left: 2px solid rgba(245, 158, 11, 0.5) !important;
    }

    .sub-dropdown-menu li a {
        color: #e2e8f0 !important;
        font-size: 0.82rem !important;
        padding: 0.45rem 0.65rem !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 6px !important;
    }

    .admin-wrapper {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        height: auto;
    }

    .admin-main {
        height: auto;
        padding: 1rem;
    }

    .share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .share-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

    .related-section .grid-layout {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .related-section .card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .forum-thread-children {
        margin-left: 12px !important;
        padding-left: 10px !important;
    }
}

/* =========================================
   FORUM TARTIŞMA VE YANITLAMA SİSTEMİ
========================================= */
.forum-discussion-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.forum-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--border-color);
}

.forum-total-badge {
    background: rgba(245, 158, 11, 0.14);
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.forum-new-post-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.15rem;
}

.forum-thread-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forum-post-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    transition: var(--transition);
    position: relative;
}

.forum-post-card:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.forum-post-card.forum-admin-post {
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.06), transparent 60%);
}

.forum-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0.6rem;
}

.forum-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.forum-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.forum-avatar.admin-avatar {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a;
}

.forum-role-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    background: var(--bg-light);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.forum-role-badge.role-admin {
    background: rgba(245, 158, 11, 0.18);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.4);
}

.forum-reply-to-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 9px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.forum-post-body {
    font-size: 0.94rem;
    color: var(--text-dark);
    line-height: 1.65;
    word-break: break-word;
    padding-left: 48px;
}

.forum-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.7rem;
    padding-left: 48px;
}

.forum-reply-btn {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.forum-reply-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.forum-inline-reply-box {
    display: none;
    margin-top: 0.85rem;
    margin-left: 48px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    padding: 0.9rem;
}

.forum-thread-children {
    margin-left: 28px;
    padding-left: 16px;
    border-left: 2px dashed var(--border-color);
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (max-width: 600px) {
    .forum-post-body,
    .forum-post-footer,
    .forum-inline-reply-box {
        padding-left: 0;
        margin-left: 0;
    }
}

/* =========================================
   EĞİTİCİ OYUNLAR AKADEMİSİ (PRO GAME STUDIO)
========================================= */
.edu-game-studio-wrapper {
    position: relative;
    background: radial-gradient(circle at 20% 15%, #1e1b4b 0%, #090d16 55%, #050811 100%);
    color: #f8fafc;
    border-radius: 24px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
    padding: 1.75rem;
    font-family: 'Inter', 'Poppins', sans-serif;
}

.edu-game-studio-wrapper.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    border-radius: 0;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

#edu-game-starfield {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.edu-game-inner {
    position: relative;
    z-index: 1;
}

.edu-hud-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 0.9rem 1.25rem;
    margin-bottom: 1.4rem;
}

.edu-hud-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.edu-hud-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b, #ec4899, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
    animation: eduFloatSlow 4s ease-in-out infinite;
}

@keyframes eduFloatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.edu-hud-title-box h3 {
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(90deg, #fde047, #38bdf8, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.3px;
}

.edu-hud-title-box p {
    margin: 2px 0 0;
    font-size: 0.76rem;
    color: #94a3b8;
}

.edu-hud-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.edu-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.22);
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f8fafc;
}

.edu-stat-pill.xp-pill {
    border-color: rgba(250, 204, 21, 0.45);
    background: rgba(250, 204, 21, 0.12);
    color: #fde047;
}

.edu-stat-pill.rank-pill {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(56, 189, 248, 0.13);
    color: #38bdf8;
}

.edu-stat-pill.streak-pill {
    border-color: rgba(249, 115, 22, 0.45);
    background: rgba(249, 115, 22, 0.14);
    color: #fb923c;
}

.edu-hud-Controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.edu-icon-btn {
    background: rgba(30, 41, 59, 0.9);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.25);
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.92rem;
}

.edu-icon-btn:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: #38bdf8;
    color: #fff;
    transform: translateY(-2px);
}

/* OYUN SEKMELERİ */
.edu-game-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 1.4rem;
}

.edu-tab-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
}

.edu-tab-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(30, 41, 59, 0.85);
}

.edu-tab-card.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(236, 72, 153, 0.28));
    border-color: #38bdf8;
    box-shadow: 0 10px 26px rgba(56, 189, 248, 0.22);
}

.edu-tab-emoji {
    font-size: 1.85rem;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-tab-info {
    min-width: 0;
}

.edu-tab-age {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.14);
    padding: 2px 7px;
    border-radius: 99px;
    margin-bottom: 3px;
}

.edu-tab-title {
    font-size: 0.93rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.edu-tab-sub {
    font-size: 0.72rem;
    color: #94a3b8;
    display: block;
}

/* OYUN SAHNESİ */
.edu-stage-card {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
    min-height: 420px;
    display: none;
}

.edu-stage-card.active {
    display: block;
    animation: eduFadeIn 0.3s ease;
}

@keyframes eduFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.edu-stage-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.edu-level-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.edu-lvl-pill {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(30, 41, 59, 0.75);
    color: #cbd5e1;
    font-weight: 800;
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.edu-lvl-pill:hover {
    border-color: #38bdf8;
    color: #fff;
}

.edu-lvl-pill.active {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}

.edu-lvl-pill.completed {
    border-color: rgba(74, 222, 128, 0.55);
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
}

/* OYUN 1: MANTIK KÖPRÜSÜ */
.edu-pattern-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(2, 6, 23, 0.55);
    border: 2px dashed rgba(56, 189, 248, 0.35);
    border-radius: 18px;
    padding: 1.5rem 1rem;
    margin: 1rem 0 1.4rem;
}

.edu-pattern-slot {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.edu-pattern-slot.mystery {
    background: rgba(250, 204, 21, 0.14);
    border: 2px dashed #fde047;
    color: #fde047;
    font-weight: 900;
    animation: eduPulseMystery 1.6s infinite;
}

@keyframes eduPulseMystery {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.35); }
    50% { transform: scale(1.06); box-shadow: 0 0 22px 4px rgba(250, 204, 21, 0.28); }
}

.edu-choices-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 1rem;
}

.edu-choice-card {
    width: 92px;
    height: 92px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    border: 2px solid rgba(56, 189, 248, 0.35);
    font-size: 2.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.edu-choice-card:hover {
    transform: translateY(-6px) scale(1.05);
    border-color: #fde047;
    box-shadow: 0 14px 28px rgba(250, 204, 21, 0.25);
}

.edu-hint-banner {
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #fef08a;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.86rem;
    margin-top: 1rem;
    display: none;
    align-items: center;
    gap: 8px;
}

/* OYUN 2: KOMUT GÖNDER (ROBOTİK & ALGORİTMA) */
.edu-coding-workspace {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
}

.edu-grid-board-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.edu-coding-grid {
    display: grid;
    grid-template-columns: repeat(5, 62px);
    grid-template-rows: repeat(5, 62px);
    gap: 7px;
    background: rgba(2, 6, 23, 0.75);
    padding: 12px;
    border-radius: 18px;
    border: 2px solid rgba(56, 189, 248, 0.35);
    box-shadow: inset 0 0 24px rgba(56, 189, 248, 0.12);
}

.edu-grid-cell {
    width: 62px;
    height: 62px;
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    position: relative;
    transition: all 0.25s ease;
}

.edu-grid-cell.cell-player {
    background: rgba(56, 189, 248, 0.24);
    border-color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.edu-grid-cell.cell-goal {
    background: rgba(74, 222, 128, 0.18);
    border-color: rgba(74, 222, 128, 0.5);
}

.edu-grid-cell.cell-obstacle {
    background: rgba(244, 63, 94, 0.14);
    border-color: rgba(244, 63, 94, 0.35);
}

.edu-grid-cell.cell-portal {
    background: rgba(168, 85, 247, 0.22);
    border-color: rgba(168, 85, 247, 0.55);
}

.edu-coding-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edu-cmd-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.edu-cmd-btn {
    background: rgba(30, 41, 59, 0.92);
    color: #f8fafc;
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
}

.edu-cmd-btn:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: #38bdf8;
    transform: translateY(-2px);
}

.edu-cmd-btn.cmd-loop {
    border-color: rgba(244, 114, 182, 0.5);
    background: rgba(236, 72, 153, 0.16);
    color: #f9a8d4;
}

.edu-queue-box {
    min-height: 76px;
    background: rgba(2, 6, 23, 0.68);
    border: 2px dashed rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.edu-queue-chip {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    padding: 5px 11px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.edu-queue-chip.chip-loop {
    background: linear-gradient(135deg, #ec4899, #9333ea);
}

.edu-queue-chip.executing {
    transform: scale(1.12);
    box-shadow: 0 0 16px #fde047;
    border-color: #fde047;
}

.edu-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.edu-btn-run {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #052e16;
    font-weight: 800;
    border: none;
    padding: 0.72rem 1.35rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.edu-btn-clear {
    background: rgba(244, 63, 94, 0.16);
    color: #fda4af;
    border: 1px solid rgba(244, 63, 94, 0.4);
    font-weight: 700;
    padding: 0.72rem 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.86rem;
}

/* OYUN 3: BİLİM DEDEKTİFİ */
.edu-science-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.edu-specimen-pod {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(15, 23, 42, 0.85) 75%);
    border: 2px solid rgba(56, 189, 248, 0.4);
    border-radius: 24px;
    padding: 1.5rem 2.2rem;
    min-width: 280px;
    max-width: 460px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.edu-specimen-emoji {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 8px;
    display: inline-block;
    animation: eduFloatSlow 3.2s ease-in-out infinite;
}

.edu-specimen-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.edu-specimen-clue {
    font-size: 0.84rem;
    color: #94a3b8;
}

.edu-classify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 640px;
}

.edu-classify-btn {
    padding: 1.1rem 1.2rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 0.96rem;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.22s ease;
    color: #fff;
}

.edu-classify-btn.btn-cat-left {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.45), rgba(124, 58, 237, 0.45));
    border-color: rgba(167, 139, 250, 0.5);
}

.edu-classify-btn.btn-cat-right {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.45), rgba(16, 185, 129, 0.45));
    border-color: rgba(56, 189, 248, 0.5);
}

.edu-classify-btn:hover {
    transform: translateY(-4px);
    filter: brightness(1.15);
}

.edu-fact-box {
    background: rgba(16, 185, 129, 0.13);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #d1fae5;
    padding: 0.85rem 1.15rem;
    border-radius: 14px;
    max-width: 640px;
    width: 100%;
    font-size: 0.86rem;
    line-height: 1.5;
    display: none;
}

/* OYUN 4: SİBER MATEMATİK & İKİLİ KOD */
.edu-cyber-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.edu-equation-display {
    background: rgba(2, 6, 23, 0.8);
    border: 2px solid rgba(250, 204, 21, 0.45);
    border-radius: 20px;
    padding: 1.35rem 2rem;
    min-width: 300px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 0 28px rgba(250, 204, 21, 0.14);
}

.edu-eq-category {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #38bdf8;
    font-weight: 800;
    margin-bottom: 6px;
}

.edu-eq-text {
    font-size: 1.65rem;
    font-weight: 900;
    color: #fde047;
    font-family: 'Courier New', monospace;
}

.edu-cyber-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 190px));
    gap: 12px;
}

.edu-cyber-opt {
    background: rgba(30, 41, 59, 0.9);
    border: 2px solid rgba(56, 189, 248, 0.35);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edu-cyber-opt:hover {
    border-color: #fde047;
    background: rgba(56, 189, 248, 0.22);
    transform: translateY(-3px);
}

.edu-toast-banner {
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

@media (max-width: 920px) {
    .edu-game-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    .edu-coding-workspace {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

@media (max-width: 560px) {
    .edu-game-studio-wrapper {
        padding: 1rem;
    }
    .edu-game-tabs {
        grid-template-columns: 1fr;
    }
    .edu-coding-grid {
        grid-template-columns: repeat(5, 50px);
        grid-template-rows: repeat(5, 50px);
        gap: 5px;
    }
    .edu-grid-cell {
        width: 50px;
        height: 50px;
        font-size: 1.45rem;
    }
    .edu-pattern-slot {
        width: 56px;
        height: 56px;
        font-size: 1.8rem;
    }
    .edu-choice-card {
        width: 74px;
        height: 74px;
        font-size: 2.1rem;
    }
}

/* =========================================
   MOBİL ALT NAVİGASYON ÇUBUĞU (PWA & MOBİL UYGULAMA)
========================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px;
    backdrop-filter: blur(14px);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    flex: 1;
    padding: 6px 0;
    transition: var(--transition);
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 3px;
    transition: var(--transition);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--accent);
}

.mobile-nav-item.active i {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 70px;
    }
    body.admin-mode .mobile-bottom-nav {
        display: none !important;
    }
    body.admin-mode {
        padding-bottom: 0 !important;
    }
    .hide-on-tiny {
        display: none;
    }
}

/* =========================================
   MODAL PENCERELERİ (MOBİL UYGULAMA & ŞİFRE)
========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-close-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* =========================================
   ROL VE YETKİ KISITLAMA STİLLERİ
========================================= */
body.is-editor .only-for-admin {
    display: none !important;
}

body.is-editor .editor-readonly-notice {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #0284c7;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================
   GECE MODU (DARK THEME) GELİŞMİŞ UYUM STİLLERİ
   ========================================= */

/* Kartlar ve Yüzeyler */
[data-theme="dark"] .card,
[data-theme="dark"] .detail-container,
[data-theme="dark"] .dynamic-page-container,
[data-theme="dark"] .contact-wrapper,
[data-theme="dark"] .admin-panel-card,
[data-theme="dark"] .editor-block,
[data-theme="dark"] .login-card,
[data-theme="dark"] .modal-card {
    background: #131b2e !important;
    border-color: #1e293b !important;
    box-shadow: 0 10px 28px -5px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .card:hover,
[data-theme="dark"] .editor-block:hover {
    border-color: #fbbf24 !important;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.6), 0 0 18px rgba(251, 191, 36, 0.15) !important;
}

[data-theme="dark"] .card-img {
    background-color: #0b1120 !important;
}

/* Butonlar */
[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #1e293b, #334155) !important;
    border: 1px solid #475569 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(135deg, #334155, #475569) !important;
    border-color: #fbbf24 !important;
    color: #fbbf24 !important;
}

[data-theme="dark"] .btn-site-primary {
    background: linear-gradient(135deg, #fbbf24, #d97706) !important;
    color: #0b1120 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.35) !important;
}

[data-theme="dark"] .btn-site-primary:hover {
    background: linear-gradient(135deg, #fcd34d, #f59e0b) !important;
    box-shadow: 0 6px 22px rgba(251, 191, 36, 0.5) !important;
}

[data-theme="dark"] .utility-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #f1f5f9 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .utility-btn:hover {
    color: #fbbf24 !important;
    border-color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.15) !important;
}

/* Etiketler */
[data-theme="dark"] .tag-badge {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: #1e293b !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .tag-badge:hover {
    background: #fbbf24 !important;
    color: #0b1120 !important;
    border-color: #fbbf24 !important;
    font-weight: 700 !important;
}

/* Paylaşım ve Dosya İndirme */
[data-theme="dark"] .share-section {
    background: #0b1120 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .file-download-btn,
[data-theme="dark"] .ql-editor a.file-download-btn {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #38bdf8 !important;
}

[data-theme="dark"] .file-download-btn:hover,
[data-theme="dark"] .ql-editor a.file-download-btn:hover {
    background: #334155 !important;
    border-color: #38bdf8 !important;
    color: #7dd3fc !important;
}

/* Yorumlar ve Forum Kartları */
[data-theme="dark"] .forum-discussion-section,
[data-theme="dark"] .forum-post-card {
    background: #131b2e !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .forum-post-card:hover {
    border-color: rgba(251, 191, 36, 0.5) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .forum-new-post-box,
[data-theme="dark"] .forum-inline-reply-box {
    background: #0b1120 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .forum-post-card.forum-admin-post {
    border-left-color: #fbbf24 !important;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.09), transparent 60%) !important;
}

[data-theme="dark"] .forum-role-badge.role-admin {
    background: rgba(251, 191, 36, 0.16) !important;
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.45) !important;
}

[data-theme="dark"] .forum-reply-btn {
    background: #0b1120 !important;
    color: #cbd5e1 !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .forum-reply-btn:hover {
    background: #fbbf24 !important;
    color: #0b1120 !important;
    border-color: #fbbf24 !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .comment-card {
    background: #0b1120 !important;
    border: 1px solid #1e293b !important;
    border-left: 4px solid #fbbf24 !important;
}

/* Quill Zengin Metin Editörü Gece Modu */
[data-theme="dark"] .ql-toolbar.ql-snow {
    background: #0f172a !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .ql-toolbar.ql-snow .ql-stroke {
    stroke: #cbd5e1 !important;
}

[data-theme="dark"] .ql-toolbar.ql-snow .ql-fill {
    fill: #cbd5e1 !important;
}

[data-theme="dark"] .ql-toolbar.ql-snow .ql-picker {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .ql-toolbar.ql-snow .ql-picker-options {
    background: #131b2e !important;
    border-color: #1e293b !important;
}

[data-theme="dark"] .ql-container.ql-snow {
    background: #0b1120 !important;
    border-color: #1e293b !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .ql-editor.ql-blank::before {
    color: #64748b !important;
}

/* Admin Panel Listeleri ve Tablolar */
[data-theme="dark"] .admin-item-card {
    background: #0b1120 !important;
    border-color: #1e293b !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .admin-item-card:hover {
    border-color: #fbbf24 !important;
}

[data-theme="dark"] .modal-close-btn {
    background: #0b1120 !important;
    border-color: #1e293b !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .modal-close-btn:hover {
    background: #fbbf24 !important;
    color: #0b1120 !important;
}

/* Mobil Hamburger Menü İkonu & Çekmece Gece Modu */
[data-theme="dark"] .hamburger {
    background: #131b2e !important;
    border-color: #1e293b !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .hamburger:hover,
[data-theme="dark"] .hamburger.active {
    background: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #0b1120 !important;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.3) !important;
}

[data-theme="dark"] .menu {
    background-color: #0b1120 !important;
    border-right: 1px solid #1e293b !important;
}

/* =========================================
   GOOGLE TRANSLATE TEMİZLEME & GİZLEME STİLLERİ
   ========================================= */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe[id^=":"][id$=".container"],
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-ORHb,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-y6EKJ-eIH4fd,
.goog-te-gadget,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    max-width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    z-index: -9999 !important;
}

html, body {
    top: 0px !important;
    position: static !important;
    transform: none !important;
}

body.goog-te-banner-active {
    top: 0px !important;
}

.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Kod ve editör alanlarının çevrilmesini kesin olarak engelle */
.notranslate,
pre,
code,
.code-box,
.pro-ide-window,
.sql-playground-wrap,
#admin-panel {
    /* translate="no" desteği */
}

