body {
    margin: 0;
    font-family: Arial;
    background: #0f172a;
    color: white;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: #020617;
}

nav a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

/* HERO */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero button {
    padding: 10px 20px;
    background: #3b82f6;
    border: none;
    color: white;
    cursor: pointer;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
}

.card {
    background: #1e293b;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

/* POSTS */
.posts {
    padding: 20px;
}

.post {
    background: #020617;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #020617;
    margin-top: 20px;
}

/* AUTH */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.auth-box {
    background: #1e293b;
    padding: 40px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
}

.auth-box h2 {
    margin-bottom: 24px;
    text-align: center;
}

.auth-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
}

.auth-box button {
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

.auth-box button:hover {
    background: #2563eb;
}

.auth-box p {
    text-align: center;
    margin-top: 16px;
    color: #94a3b8;
    font-size: 14px;
}

.auth-box a {
    color: #3b82f6;
    text-decoration: none;
}

.message {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    font-size: 14px;
    text-align: center;
    min-height: 16px;
}

.message.error {
    background: #450a0a;
    color: #fca5a5;
}

.message.success {
    background: #052e16;
    color: #86efac;
}

/* LAYOUT */
.page-layout {
    display: grid;
    grid-template-columns: 160px 1fr 160px;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ADS */
.ad-sidebar { display: flex; flex-direction: column; gap: 12px; }
.ad-card {
    display: block;
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    font-size: 13px;
    text-align: center;
    border: 1px solid #334155;
    transition: 0.2s;
}
.ad-card:hover { border-color: #3b82f6; }
.ad-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    background: #0f172a;
}
.ad-card span {
    display: block;
    padding: 8px;
    font-size: 12px;
    color: #94a3b8;
}

/* FORUM */
.forum-main { min-width: 0; }

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.tab {
    padding: 7px 16px;
    background: #1e293b;
    border: none;
    border-radius: 20px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
}
.tab.active, .tab:hover { background: #3b82f6; color: white; }

.new-post-box {
    background: #1e293b;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.new-post-box h3 { margin: 0 0 14px; }
.new-post-box input,
.new-post-box select,
.new-post-box textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
    font-family: Arial;
}
.new-post-box button {
    padding: 10px 20px;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.forum-post {
    background: #1e293b;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.forum-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.forum-cat {
    background: #3b82f6;
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.forum-title { font-weight: bold; }
.forum-content { color: #cbd5e1; font-size: 14px; margin: 0 0 8px; }
.forum-meta { color: #64748b; font-size: 12px; }

/* ADMIN */
.admin-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: #020617;
    flex-wrap: wrap;
}
.admin-tabs .tab { border-radius: 6px; }

.admin-content { padding: 20px; max-width: 1000px; margin: 0 auto; }
.tab-panel h2 { margin-bottom: 16px; }

.admin-post-card {
    background: #1e293b;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.admin-actions { display: flex; gap: 10px; margin-top: 12px; }
.btn-approve {
    padding: 7px 16px;
    background: #16a34a;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}
.btn-reject {
    padding: 7px 16px;
    background: #dc2626;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}
.btn-sm {
    padding: 5px 12px;
    background: #334155;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 13px;
}

.status-badge {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.status-badge.approved { background: #052e16; color: #86efac; }
.status-badge.pending  { background: #451a03; color: #fcd34d; }

.badge {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    padding: 1px 7px;
    font-size: 12px;
    margin-left: 5px;
}

.admin-form {
    background: #1e293b;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
}
.admin-form h3 { margin: 0 0 14px; }
.admin-form input,
.admin-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
}
.admin-form button {
    padding: 10px 20px;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #1e293b;
    border-radius: 8px;
    overflow: hidden;
}
.admin-table th, .admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #334155;
    font-size: 14px;
}
.admin-table th { background: #0f172a; color: #94a3b8; }
.admin-table tr:last-child td { border-bottom: none; }

/* PROFILE */
.profile-banner {
    height: 220px;
    background: #1e293b;
    width: 100%;
}

.profile-main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.profile-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    height: fit-content;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.avatar-lg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0f172a;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.profile-bio {
    color: #94a3b8;
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.5;
}

.follow-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 14px 0;
}

.follow-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #94a3b8;
}

.follow-stat strong {
    font-size: 20px;
    color: white;
}

.follow-stat:hover strong { color: #3b82f6; }

.follow-btn {
    display: block;
    width: 100%;
    padding: 9px;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    box-sizing: border-box;
}

.follow-btn.following {
    background: #1e293b;
    border: 1px solid #3b82f6;
    color: #3b82f6;
}

.follow-btn:hover { opacity: 0.85; }

.social-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
}

.social-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    padding: 5px 10px;
    background: #0f172a;
    border-radius: 6px;
}

.social-links a:hover { color: #3b82f6; }

.profile-since {
    color: #475569;
    font-size: 12px;
    margin-top: 14px;
}

.profile-posts h3 { margin-bottom: 16px; }

/* SETTINGS */
.settings-wrap {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.settings-wrap h2 { margin-bottom: 20px; }

.banner-preview {
    height: 140px;
    border-radius: 10px;
    background: #1e293b;
    margin-bottom: 20px;
    transition: 0.3s;
}

.settings-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.avatar-wrap { flex-shrink: 0; }

.settings-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.settings-form label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
    margin-top: 10px;
}

.settings-form input,
.settings-form textarea {
    padding: 10px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-family: Arial;
    width: 100%;
    box-sizing: border-box;
}

.settings-form button {
    margin-top: 16px;
    padding: 11px;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 15px;
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-box {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    min-width: 280px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-box h3 { margin: 0 0 16px; }

.modal-user {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 6px;
    background: #0f172a;
}

.modal-user:hover { color: #3b82f6; }

.modal-close {
    margin-top: 16px;
    width: 100%;
    padding: 9px;
    background: #334155;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

/* POST DETAIL */
.post-detail-wrap {
    max-width: 780px;
    margin: 30px auto;
    padding: 0 20px;
}

.post-detail-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
}

.post-meta-bar {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 13px;
    margin: 12px 0 20px;
}

.post-author {
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
}

.post-body {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #334155;
}

.like-btn {
    padding: 8px 18px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 20px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.like-btn:hover, .like-btn.liked {
    background: #450a0a;
    border-color: #ef4444;
    color: #ef4444;
}

/* FORUM CARD CLICKABLE */
.forum-post-link {
    cursor: pointer;
    transition: 0.2s;
}
.forum-post-link:hover {
    background: #263548;
    transform: translateY(-1px);
}

/* COMMENTS */
.comments-section {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
}

.comments-section h3 { margin: 0 0 16px; }

.comment-form textarea {
    width: 100%;
    padding: 12px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-family: Arial;
    box-sizing: border-box;
    resize: vertical;
}

.comment-form button {
    margin-top: 8px;
    padding: 9px 20px;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.comment-card {
    background: #0f172a;
    border-radius: 8px;
    padding: 14px;
    margin-top: 12px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.comment-body {
    color: #cbd5e1;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.comment-delete {
    margin-left: auto;
    background: none;
    border: none;
    color: #475569;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 4px;
}

.comment-delete:hover { color: #ef4444; background: #450a0a; }

/* PAGE CONTAINER */
.page-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ALLIANCE TOOLBAR */
.alliance-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}
.alliance-toolbar input,
.alliance-toolbar select {
    padding: 10px 14px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    flex: 1;
    min-width: 160px;
}
.alliance-toolbar button {
    padding: 10px 20px;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

/* ALLIANCE CREATE FORM */
.alliance-create-form {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 28px;
}
.alliance-create-form h3 { margin: 0 0 16px; }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.form-grid label,
.alliance-create-form > label {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}
.form-grid input,
.alliance-create-form input,
.alliance-create-form textarea {
    width: 100%;
    padding: 10px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
    font-family: Arial;
}
.alliance-create-form textarea { margin-bottom: 12px; }
.alliance-create-form button {
    padding: 10px 24px;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

/* ALLIANCE GRID */
.alliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.alliance-card {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid #334155;
}
.alliance-card:hover { transform: translateY(-3px); border-color: #3b82f6; }

.alliance-banner {
    height: 90px;
    background: #0f172a;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 10px;
}
.alliance-logo {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #0f172a;
    position: absolute;
    bottom: -20px;
    left: 16px;
}
.alliance-logo-placeholder {
    font-size: 32px;
    position: absolute;
    bottom: -16px;
    left: 16px;
}

.alliance-card-body { padding: 28px 16px 16px; }
.alliance-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.alliance-tag {
    background: #f59e0b;
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.alliance-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}
.alliance-card-desc {
    color: #94a3b8;
    font-size: 13px;
    margin: 0 0 10px;
    line-height: 1.5;
}
.alliance-card-footer {
    font-size: 12px;
    color: #475569;
}

/* ALLIANCE DETAIL */
.alliance-detail-banner {
    height: 200px;
    border-radius: 12px;
    background: #1e293b;
    position: relative;
    margin-bottom: 60px;
}
.alliance-detail-logo {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid #0f172a;
    position: absolute;
    bottom: -40px;
    left: 30px;
}
.alliance-detail-logo-ph {
    font-size: 52px;
    position: absolute;
    bottom: -36px;
    left: 30px;
}

.alliance-detail-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: flex-start;
}

.alliance-detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.alliance-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.alliance-info-item {
    background: #1e293b;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #cbd5e1;
}

.alliance-description {
    background: #1e293b;
    border-radius: 10px;
    padding: 16px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.alliance-members-box {
    background: #1e293b;
    border-radius: 10px;
    padding: 16px;
}
.alliance-members-box h3 { margin: 0 0 12px; font-size: 15px; }

.alliance-member {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #334155;
    font-size: 14px;
}
.alliance-member:last-child { border-bottom: none; }

.appl-card {
    background: #0f172a;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

/* ═══════════════════════════════════════
   YENİ HEADER
═══════════════════════════════════════ */
header {
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 60px;
    background: #020617;
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 50;
    gap: 24px;
}
.logo {
    font-size: 20px;
    font-weight: bold;
    color: #f59e0b;
    text-decoration: none;
    white-space: nowrap;
}
#mainNav { display: flex; gap: 4px; flex: 1; }
#mainNav a {
    color: #94a3b8;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.15s;
}
#mainNav a:hover, #mainNav a.active { color: white; background: #1e293b; }
.auth-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; white-space: nowrap; }
.nav-user  { color: #3b82f6; text-decoration: none; font-size: 14px; }
.nav-admin { color: #f59e0b; text-decoration: none; font-size: 14px; padding: 5px 10px; background: #1c1400; border-radius: 6px; }
.nav-logout { color: #ef4444; text-decoration: none; font-size: 14px; }
.btn-nav { color: #94a3b8; text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 6px; border: 1px solid #334155; }
.btn-nav.primary { background: #3b82f6; color: white; border-color: #3b82f6; }
.btn-primary { padding: 9px 18px; background: #3b82f6; border: none; border-radius: 8px; color: white; cursor: pointer; font-size: 14px; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero-new {
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1a0a2e 100%);
    padding: 70px 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid #1e293b;
}
.hero-content h1 { font-size: 42px; line-height: 1.2; margin: 0 0 16px; }
.hero-content h1 span { color: #f59e0b; }
.hero-content p { color: #94a3b8; font-size: 16px; margin: 0 0 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn { padding: 12px 24px; border-radius: 8px; text-decoration: none; font-size: 15px; border: 1px solid #334155; color: white; transition: 0.2s; }
.hero-btn.primary { background: #f59e0b; border-color: #f59e0b; color: #000; font-weight: bold; }
.hero-btn:hover { opacity: 0.85; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 36px; color: #f59e0b; }
.hero-stat span { color: #64748b; font-size: 14px; }

/* ═══════════════════════════════════════
   HOME SECTIONS
═══════════════════════════════════════ */
.home-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.home-section-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: white;
    border: 1px solid #334155;
    transition: 0.2s;
}
.home-section-card:hover { border-color: #f59e0b; transform: translateY(-2px); }
.hsc-icon { font-size: 28px; flex-shrink: 0; }
.home-section-card h3 { margin: 0 0 6px; font-size: 15px; }
.home-section-card p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.5; }

/* ═══════════════════════════════════════
   HOME BOTTOM
═══════════════════════════════════════ */
.home-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.home-bottom-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.home-bottom-header h2 { margin: 0; font-size: 16px; }
.home-bottom-header a { color: #3b82f6; text-decoration: none; font-size: 13px; }
.home-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #1e293b;
    border-radius: 8px;
    margin-bottom: 6px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    transition: 0.15s;
    flex-wrap: wrap;
}
.home-list-item:hover { background: #263548; }
.hli-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hli-meta { color: #475569; font-size: 11px; white-space: nowrap; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer { background: #020617; border-top: 1px solid #1e293b; padding: 20px 40px; margin-top: 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: #475569; font-size: 13px; }
.footer-inner a { color: #475569; text-decoration: none; margin-left: 16px; }
.footer-inner a:hover { color: #94a3b8; }

/* ═══════════════════════════════════════
   PAGE TITLE BAR
═══════════════════════════════════════ */
.page-title-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-title-bar h1 { margin: 0; font-size: 24px; }

/* ═══════════════════════════════════════
   ROK STATS (Profil)
═══════════════════════════════════════ */
.rok-stats-box { background: #0f172a; border-radius: 10px; padding: 14px; margin: 14px 0; }
.rok-stats-title { font-size: 13px; color: #f59e0b; margin-bottom: 10px; font-weight: bold; }
.rok-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rok-stat-item { display: flex; flex-direction: column; align-items: center; background: #1e293b; border-radius: 8px; padding: 8px 4px; }
.rok-stat-icon { font-size: 16px; }
.rok-stat-val { font-size: 14px; font-weight: bold; color: white; }
.rok-stat-label { font-size: 11px; color: #64748b; }

/* Profile tabs */
.profile-tabs { display: flex; gap: 8px; margin-bottom: 16px; }

/* Settings section title */
.settings-section-title { font-size: 13px; color: #f59e0b; font-weight: bold; margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid #1e293b; }

/* ═══════════════════════════════════════
   EVENTS
═══════════════════════════════════════ */
.event-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.event-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #1e293b;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 3px solid #3b82f6;
}
.event-card.past { opacity: 0.5; border-left-color: #334155; }
.event-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0f172a;
    border-radius: 8px;
    padding: 8px 14px;
    min-width: 52px;
    text-align: center;
}
.event-card-date strong { font-size: 22px; line-height: 1; }
.event-card-date span { font-size: 12px; color: #64748b; }
.event-card-body { flex: 1; }
.event-desc { color: #94a3b8; font-size: 14px; margin: 8px 0 0; }
.event-type-badge {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}
.event-type-badge.kvk          { background: #450a0a; color: #fca5a5; }
.event-type-badge.migration     { background: #0c1a45; color: #93c5fd; }
.event-type-badge.event         { background: #052e16; color: #86efac; }
.event-type-badge.announcement  { background: #1c1400; color: #fcd34d; }

/* ═══════════════════════════════════════
   GUIDES
═══════════════════════════════════════ */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.guide-card {
    background: #1e293b;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    border: 1px solid #334155;
    transition: 0.2s;
}
.guide-card:hover { border-color: #3b82f6; transform: translateY(-2px); }
.guide-card h3 { margin: 10px 0 8px; font-size: 15px; }
.guide-card p { color: #94a3b8; font-size: 13px; margin: 0 0 12px; line-height: 1.5; }
.guide-meta { color: #475569; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.guide-cat-badge { display: inline-block; background: #1e3a5f; color: #93c5fd; padding: 3px 10px; border-radius: 12px; font-size: 12px; }
.guide-modal-box { max-width: 680px; width: 90vw; max-height: 80vh; overflow-y: auto; }

/* ═══════════════════════════════════════
   MARKET
═══════════════════════════════════════ */
.market-warning {
    background: #1c0a00;
    border: 1px solid #92400e;
    color: #fcd34d;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.market-card { background: #1e293b; border-radius: 10px; padding: 18px; border: 1px solid #334155; }
.market-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.market-price { color: #86efac; font-weight: bold; font-size: 15px; }
.market-card h3 { margin: 0 0 8px; font-size: 15px; }
.market-desc { color: #94a3b8; font-size: 13px; margin: 0 0 10px; line-height: 1.5; }
.market-contact { background: #0f172a; padding: 8px 12px; border-radius: 6px; font-size: 13px; color: #cbd5e1; margin-bottom: 10px; }
.market-footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid #334155; }

/* ═══════════════════════════════════════
   ROL ROZETLERİ
═══════════════════════════════════════ */
.role-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}
.role-admin      { background: #1c1400; color: #f59e0b; border: 1px solid #92400e; }
.role-moderator  { background: #0c1a45; color: #93c5fd; border: 1px solid #1e40af; }
.role-mentor     { background: #052e16; color: #86efac; border: 1px solid #166534; }
.role-vip        { background: #2e1065; color: #d8b4fe; border: 1px solid #6b21a8; }
.role-seller     { background: #1c1400; color: #fcd34d; border: 1px solid #b45309; }
.role-user       { background: #1e293b; color: #94a3b8; border: 1px solid #334155; }

/* Admin panel rol select */
.role-select {
    padding: 5px 8px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    cursor: pointer;
}

/* ═══════════════════════════════════════
   REKLAM BANNERLAR
═══════════════════════════════════════ */
.ad-banner-top,
.ad-banner-bottom {
    width: 100%;
    background: #020617;
    border-bottom: 1px solid #1e293b;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    flex-wrap: wrap;
    overflow: hidden;
}
.ad-banner-bottom {
    border-bottom: none;
    border-top: 1px solid #1e293b;
}
.ad-banner-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 13px;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.2s;
    max-width: 100%;
}
.ad-banner-link:hover { opacity: 0.85; }
.ad-banner-link img {
    height: 60px;
    width: auto;
    max-width: 320px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.ad-banner-link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* ═══════════════════════════════════════
   POST GÖRSEL
═══════════════════════════════════════ */
.post-image-wrap {
    margin: 16px 0;
    border-radius: 10px;
    overflow: hidden;
    max-height: 500px;
    display: flex;
    justify-content: center;
    background: #0f172a;
}
.post-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

/* ═══════════════════════════════════════
   YORUM TOOLBAR
═══════════════════════════════════════ */
.comment-toolbar {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}
.toolbar-btn {
    padding: 5px 12px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: 0.15s;
}
.toolbar-btn:hover { background: #334155; }

/* ═══════════════════════════════════════
   EMOJİ PANELİ
═══════════════════════════════════════ */
.emoji-panel, .gif-panel {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
}
.emoji-search-wrap input {
    width: 100%;
    padding: 7px 10px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    box-sizing: border-box;
    margin-bottom: 8px;
}
.emoji-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 160px;
    overflow-y: auto;
}
.emoji-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: 0.1s;
    line-height: 1;
}
.emoji-btn:hover { background: #1e293b; }

/* ═══════════════════════════════════════
   GIF PANELİ
═══════════════════════════════════════ */
.gif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
}
.gif-item {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.15s;
}
.gif-item:hover { opacity: 0.8; transform: scale(1.03); }

/* ═══════════════════════════════════════
   YORUM GÖRSEL
═══════════════════════════════════════ */
.comment-image-input {
    width: 100%;
    padding: 8px 10px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    box-sizing: border-box;
    margin-bottom: 6px;
}
.comment-img-preview { margin-bottom: 6px; }
.comment-img-preview-img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}
.comment-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    margin-top: 8px;
    display: block;
    object-fit: contain;
}

/* ═══════════════════════════════════════
   ÜYELER BÖLÜMÜ
═══════════════════════════════════════ */
.members-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.members-panel {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #334155;
}

.members-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #334155;
}

.members-panel-header h2 {
    margin: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.members-count {
    background: #0f172a;
    color: #94a3b8;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: normal;
}

.online-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px #22c55e;
    flex-shrink: 0;
}

.members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: #0f172a;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 13px;
    transition: 0.15s;
    border: 1px solid transparent;
    min-width: 130px;
}

.member-card:hover {
    border-color: #3b82f6;
    background: #1e293b;
}

.member-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.member-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.member-avatar-ph {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.member-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid #0f172a;
}

.member-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.member-name {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.member-role {
    font-size: 12px;
    line-height: 1;
}

/* ═══════════════════════════════════════
   HESAPLAYICI
═══════════════════════════════════════ */
.calc-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.calc-panel { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }

.calc-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    align-items: flex-start;
}

.calc-form {
    background: #1e293b;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.calc-form h3 { margin: 0 0 20px; font-size: 16px; color: #f59e0b; }

.calc-form label {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 12px;
    margin-bottom: 4px;
    display: block;
}

.calc-form input,
.calc-form select {
    width: 100%;
    padding: 10px 12px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
}

.calc-form input:focus,
.calc-form select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Sonuç kutusu */
.calc-result {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-box {
    background: linear-gradient(135deg, #1e3a5f, #1e293b);
    border: 1px solid #3b82f6;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.result-title {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-main {
    font-size: 28px;
    font-weight: bold;
    color: #f59e0b;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.result-item {
    background: #1e293b;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid #334155;
}

.result-icon { font-size: 18px; }

.result-item strong {
    font-size: 20px;
    color: white;
}

.result-item span {
    font-size: 11px;
    color: #64748b;
}

.result-note { margin-top: 4px; }

/* Breakdown tablosu */
.calc-breakdown {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 13px;
}
.calc-breakdown th, .calc-breakdown td {
    padding: 6px 10px;
    text-align: left;
    border-bottom: 1px solid #1e293b;
}
.calc-breakdown th { color: #64748b; }
.calc-breakdown tr:hover td { background: #1e293b; }

@media (max-width: 768px) {
    .calc-grid { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════
   YASAL SAYFALAR
═══════════════════════════════════════ */
.legal-wrap {
    max-width: 780px;
    margin: 40px auto;
    padding: 0 24px 60px;
}

.legal-wrap h1 {
    font-size: 28px;
    margin-bottom: 4px;
}

.legal-date {
    color: #475569;
    font-size: 13px;
    margin-bottom: 32px;
}

.legal-disclaimer {
    background: #1c0a00;
    border: 1px solid #92400e;
    border-left: 4px solid #f59e0b;
    color: #fcd34d;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 17px;
    color: #f59e0b;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #1e293b;
}

.legal-section p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 10px;
}

.legal-section ul {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
    padding-left: 20px;
}

.legal-section ul li { margin-bottom: 4px; }

/* ═══════════════════════════════════════
   FOOTER DİSCLAIMER
═══════════════════════════════════════ */
.footer-disclaimer {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    color: #475569;
    font-size: 12px;
    text-align: center;
    padding: 10px 24px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   RAPOR SİSTEMİ
═══════════════════════════════════════ */
.report-btn {
    background: none;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    font-size: 12px;
    padding: 3px 8px;
    transition: 0.15s;
}
.report-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #450a0a22;
}

.report-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
