/* ============================================================================
   MCSepeti — Premium Minecraft Theme (Bootstrap 5 uyumlu)
   Tüm mevcut HTML class'ları çalışır + Bootstrap utilities ekstra
   ============================================================================ */

/* ===== DESIGN TOKENS ===== */
:root, :root[data-theme="dark"] {
  --bg-deep: #0A0E13;
  --bg-base: #0F141B;
  --bg-surface: #161D26;
  --bg-elevated: #1C2530;
  --bg-card: #1A222D;
  --bg-hover: #232D3A;
  --bg-input: #0D1218;
  --border: #2A3441;
  --border-soft: #1F2832;
  --border-strong: #3A4858;
  --text: #E6ECF3;
  --text-muted: #9AA7B8;
  --text-dim: #6B7689;
  --accent: #3DD68C;
  --accent-2: #2BB575;
  --accent-glow: rgba(61, 214, 140, 0.35);
  --accent-dim: rgba(61, 214, 140, 0.12);
  --secondary: #5B9FFF;
  --secondary-dim: rgba(91, 159, 255, 0.12);
  --gold: #F5B642;
  --gold-dim: rgba(245, 182, 66, 0.15);
  --danger: #EF476F;
  --danger-dim: rgba(239, 71, 111, 0.15);

  /* Bootstrap variable override */
  --bs-body-bg: #0F141B;
  --bs-body-color: #E6ECF3;
  --bs-primary: #3DD68C;
  --bs-primary-rgb: 61, 214, 140;
  --bs-secondary: #5B9FFF;
  --bs-border-color: #2A3441;
  --bs-border-radius: 0.625rem;
  --bs-border-radius-lg: 0.875rem;
  --bs-link-color: #3DD68C;
  --bs-link-hover-color: #2BB575;

  /* Legacy alias */
  --color-accent: var(--accent);
  --color-secondary: var(--secondary);
  --color-gold: var(--gold);
  --color-danger: var(--danger);
  --color-text: var(--text);
  --color-text-muted: var(--text-muted);
  --color-border: var(--border);
  --color-border-soft: var(--border-soft);
  --color-bg-surface: var(--bg-surface);
  --color-bg-card: var(--bg-card);
  --color-bg-base: var(--bg-base);
  --color-bg-deep: var(--bg-deep);
  --color-bg-hover: var(--bg-hover);
  --color-bg-elevated: var(--bg-elevated);

  /* Typography */
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Radius */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 18px; --r-full: 999px;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.45);

  --container-w: 1640px;
}

:root[data-theme="light"] {
  --bg-deep: #ECEEF2;
  --bg-base: #F4F5F7;
  --bg-surface: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-hover: #F1F3F5;
  --bg-input: #F8F9FA;
  --border: #E1E5EB;
  --border-soft: #EDEFF2;
  --border-strong: #C8CDD3;
  --text: #1A222D;
  --text-muted: #5C6571;
  --text-dim: #8B95A1;
  --bs-body-bg: #F4F5F7;
  --bs-body-color: #1A222D;
  --bs-border-color: #E1E5EB;
}

/* ===== GLOBAL RESET ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text) !important;
  background: var(--bg-base) !important;
  background-image:
    radial-gradient(ellipse at top, rgba(61, 214, 140, 0.04), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(91, 159, 255, 0.03), transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; margin: 0 0 12px; line-height: 1.25; color: var(--text); }
p { margin: 0 0 12px; }
code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-deep); padding: 2px 6px; border-radius: 6px; color: var(--accent); }
hr { border-color: var(--border); opacity: 0.5; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-w) !important;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
main.container { padding-top: 24px; padding-bottom: 40px; }

/* ============================================================================
   HEADER
   ============================================================================ */
.site-header {
  background: rgba(15, 20, 27, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}
.site-header__inner {
  display: flex !important;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Logo voxel cube */
.logo {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: var(--text) !important;
  flex-shrink: 0;
}
.logo__cube {
  position: relative;
  width: 38px;
  height: 38px;
  transform-style: preserve-3d;
  transform: rotateX(-25deg) rotateY(45deg);
  flex-shrink: 0;
}
.logo__cube-face { position: absolute; width: 100%; height: 100%; border-radius: 4px; }
.logo__cube-face--top { background: linear-gradient(135deg, var(--accent), var(--accent-2)); transform: rotateX(90deg) translateZ(19px); }
.logo__cube-face--left { background: linear-gradient(180deg, var(--accent-2), #1A8856); transform: rotateY(-90deg) translateZ(19px); }
.logo__cube-face--right { background: linear-gradient(180deg, #4ABA75, #1F6E45); transform: translateZ(19px); }

/* Küçük cube (footer / admin sidebar) — 28px boyut, translateZ 14px */
.logo__cube--sm { width: 28px !important; height: 28px !important; }
.logo__cube--sm .logo__cube-face--top   { transform: rotateX(90deg) translateZ(14px); }
.logo__cube--sm .logo__cube-face--left  { transform: rotateY(-90deg) translateZ(14px); }
.logo__cube--sm .logo__cube-face--right { transform: translateZ(14px); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__main { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--text); }
.logo__tag { font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em; }

/* Navigation */
.site-nav {
  display: flex !important;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__link {
  padding: 8px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted) !important;
  border-radius: 10px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.site-nav__link:hover { color: var(--text) !important; background: var(--bg-hover); }
.site-nav__link.is-active { color: var(--accent) !important; background: var(--accent-dim); }

/* Search mini */
.search-mini {
  display: flex !important;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  min-width: 240px;
  flex: 0 1 280px;
}
.search-mini:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.search-mini__input { flex: 1; background: transparent; border: 0; padding: 8px 14px; color: var(--text); font-family: inherit; font-size: 14px; outline: none; }
.search-mini__input::placeholder { color: var(--text-dim); }
.search-mini__btn { background: transparent; border: 0; color: var(--text-muted); padding: 0 14px; cursor: pointer; }
.search-mini__btn:hover { color: var(--accent); }

/* Header actions */
.site-header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-icon {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--text-muted) !important;
  background: var(--bg-hover);
  text-decoration: none !important;
  font-size: 16px;
  transition: all 0.15s;
}
.header-icon:hover { color: var(--accent) !important; background: var(--accent-dim); }
.notif-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--danger);
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 999px;
  min-width: 16px;
  text-align: center;
  line-height: 1.4;
}

/* User menu */
.user-menu { position: relative; }
.user-menu__btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text) !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
  text-decoration: none !important;
}
.user-menu__btn:hover { border-color: var(--accent); }
.user-menu__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.user-menu__name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu__dd {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 1050;
}
.user-menu__dd.is-open { display: block; animation: dd-in 0.15s ease-out; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.user-menu__dd a, .user-menu__logout {
  display: block;
  width: 100%;
  padding: 8px 12px;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text) !important;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none !important;
}
.user-menu__dd a:hover, .user-menu__logout:hover { background: var(--bg-hover); color: var(--accent) !important; }
.user-menu__logout { color: var(--danger) !important; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); }

/* Announcement */
.announcement-banner { padding: 12px 20px; text-align: center; font-size: 14px; font-weight: 600; position: relative; }
.announcement-banner--info, .announcement-banner--primary { background: var(--secondary-dim); color: var(--secondary); }
.announcement-banner--success { background: var(--accent-dim); color: var(--accent); }
.announcement-banner--warning { background: var(--gold-dim); color: var(--gold); }
.announcement-banner--danger { background: var(--danger-dim); color: var(--danger); }
.announcement-banner__close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: inherit; cursor: pointer; opacity: 0.7; font-size: 18px; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  position: relative;
  margin: 24px 0;
  padding: 50px 40px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 50%, rgba(61, 214, 140, 0.18), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(91, 159, 255, 0.12), transparent 50%),
    linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(61, 214, 140, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 214, 140, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 1; max-width: 800px; }
.hero__title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__subtitle { font-size: 17px; color: var(--text-muted); margin: 0 0 24px; max-width: 620px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats {
  display: flex !important;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero__stat {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
}
.hero__stat strong { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; }
.hero__stat span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* ============================================================================
   BUTTONS (Bootstrap btn class override + custom modifiers)
   ============================================================================ */
.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s;
  white-space: nowrap;
  line-height: 1.5;
}
.btn:active { transform: translateY(1px); }
.btn:focus { box-shadow: 0 0 0 3px var(--accent-dim); outline: none; }

.btn--primary, .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: #0A0E13 !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(61, 214, 140, 0.3);
}
.btn--primary:hover, .btn-primary:hover { box-shadow: 0 6px 20px rgba(61, 214, 140, 0.45); color: #0A0E13 !important; transform: translateY(-1px); }

.btn--secondary, .btn-secondary {
  background: var(--bg-hover) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
}
.btn--secondary:hover, .btn-secondary:hover { border-color: var(--accent) !important; color: var(--accent) !important; background: var(--accent-dim) !important; }

.btn--ghost { background: transparent !important; border-color: var(--border) !important; color: var(--text-muted) !important; }
.btn--ghost:hover { color: var(--text) !important; border-color: var(--border-strong) !important; }

.btn--danger, .btn-danger { background: var(--danger) !important; color: #fff !important; border-color: var(--danger) !important; }
.btn--danger:hover, .btn-danger:hover { background: #d93561 !important; color: #fff !important; }

.btn--sm, .btn-sm { padding: 6px 12px !important; font-size: 13px !important; }
.btn--lg, .btn-lg { padding: 14px 24px !important; font-size: 16px !important; }
.btn--block { width: 100%; display: flex !important; }
.btn:disabled, .btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
.btn-icon:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

/* ============================================================================
   CARDS
   ============================================================================ */
.card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  margin-bottom: 16px;
  overflow: hidden;
  color: var(--text);
}
.card:hover { border-color: var(--border-strong) !important; }
.card__title, .card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.card__body, .card-body { padding: 20px; color: var(--text); }
.card--discord { background: linear-gradient(135deg, rgba(88, 101, 242, 0.12), var(--bg-card)) !important; border-color: rgba(88, 101, 242, 0.3) !important; }
.card--discord .card__title { color: #5865F2; }
.card--discord p { padding: 0 16px; font-size: 13px; color: var(--text-muted); }
.card--discord .btn { margin: 8px 16px 16px; width: calc(100% - 32px); }

/* ============================================================================
   ALERTS / BADGES
   ============================================================================ */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
  border-left: 4px solid;
  border: 1px solid transparent;
}
.alert--success, .alert-success { background: var(--accent-dim) !important; color: var(--accent) !important; border-left-color: var(--accent); }
.alert--error, .alert-danger, .alert--danger { background: var(--danger-dim) !important; color: var(--danger) !important; border-left-color: var(--danger); }
.alert--info, .alert-info { background: var(--secondary-dim) !important; color: var(--secondary) !important; border-left-color: var(--secondary); }
.alert--warning, .alert-warning { background: var(--gold-dim) !important; color: var(--gold) !important; border-left-color: var(--gold); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; font-size: 11px; font-weight: 600; border-radius: 6px; background: var(--bg-hover); color: var(--text); }
.badge--success { background: var(--accent-dim); color: var(--accent); }
.badge--warning { background: var(--gold-dim); color: var(--gold); }
.badge--danger { background: var(--danger-dim); color: var(--danger); }
.badge--info { background: var(--secondary-dim); color: var(--secondary); }

/* ============================================================================
   FORUM CATEGORIES & ROWS
   ============================================================================ */
.forum-cat {
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.forum-cat__head {
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-dim) 0%, transparent 60%);
}
.forum-cat__title { font-family: var(--font-display); font-size: 18px; margin: 0; display: flex; align-items: center; gap: 8px; }
.forum-cat__desc { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }
.forum-list { padding: 0; }

.forum-row {
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--border-soft);
  text-decoration: none !important;
  color: var(--text) !important;
  transition: background 0.15s;
}
.forum-row:hover { background: var(--bg-hover); }
.forum-row__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg-deep); border-radius: 10px; font-size: 24px; }
.forum-row__main { min-width: 0; }
.forum-row__name { margin: 0; font-size: 15px; font-weight: 600; font-family: var(--font-display); color: var(--text); }
.forum-row__desc { margin: 4px 0 0; font-size: 13px; color: var(--text-muted); }
.forum-row__stats { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; min-width: 80px; gap: 2px; }
.forum-row__stat { color: var(--text-muted); }
.forum-row__stat strong { color: var(--text); font-weight: 700; }
.forum-row__last { min-width: 180px; text-align: right; font-size: 12px; }
.forum-row__last-title { display: block; color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; margin-left: auto; }
.forum-row__last-meta { display: block; color: var(--text-muted); font-size: 11px; margin-top: 2px; }
.forum-row__last-empty { color: var(--text-dim); font-style: italic; }

/* ============================================================================
   TOPIC TABLE
   ============================================================================ */
.topic-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.topic-row {
  display: grid;
  grid-template-columns: 42px 1fr 60px 60px 140px;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border-soft);
}
.topic-row:first-child { border-top: 0; }
.topic-row:hover { background: var(--bg-hover); }
.topic-row--pinned { background: var(--gold-dim); }
.topic-row__avatar img { width: 36px; height: 36px; border-radius: 50%; }
.topic-row__title { display: block; color: var(--text) !important; text-decoration: none !important; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topic-row__title:hover { color: var(--accent) !important; }
.topic-row__meta { font-size: 12px; color: var(--text-muted); display: block; margin-top: 2px; }
.topic-row__count { text-align: center; font-size: 12px; }
.topic-row__count strong { display: block; font-size: 14px; color: var(--text); }
.topic-row__count span { color: var(--text-muted); font-size: 11px; }
.topic-row__badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; margin-right: 6px; vertical-align: middle; }
.topic-row__badge--pinned { background: var(--gold); color: #0A0E13; }
.topic-row__prefix { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-right: 6px; }

/* ============================================================================
   TOPIC DETAIL (POSTS)
   ============================================================================ */
.topic-view { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.topic-view__head { padding: 20px; border-bottom: 1px solid var(--border); }
.topic-view__title { font-size: 24px; line-height: 1.3; margin: 0 0 12px; }
.topic-view__meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

.post { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--border); }
.post:first-of-type { border-top: 0; }
.post--best { background: linear-gradient(90deg, rgba(61, 214, 140, 0.06), transparent 50%); border-left: 4px solid var(--accent); }
.post__best-badge { grid-column: 1 / -1; background: var(--accent); color: #0A0E13; padding: 8px 18px; font-size: 12px; font-weight: 700; }
.post__author { background: var(--bg-surface); padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid var(--border-soft); }
.post__author img { width: 70px; height: 70px; border-radius: 50%; margin-bottom: 8px; }
.post__author-name { font-weight: 700; color: var(--text) !important; text-decoration: none !important; }
.post__author-name:hover { color: var(--accent) !important; }
.post__role-badge { display: inline-block; padding: 2px 8px; font-size: 10px; font-weight: 700; color: #0A0E13; border-radius: 6px; margin: 6px 0; text-transform: uppercase; letter-spacing: 0.04em; }
.post__author-stats { font-size: 11px; color: var(--text-muted); line-height: 1.6; }
.post__author-stats strong { color: var(--text); }
.post__body { padding: 20px; }
.post__content { font-size: 15px; line-height: 1.7; word-wrap: break-word; color: var(--text); }
.post__content blockquote { border-left: 3px solid var(--accent); margin: 12px 0; padding: 12px 16px; background: var(--bg-deep); border-radius: 10px; color: var(--text-muted); font-style: italic; }
.post__content img { max-width: 100%; border-radius: 10px; margin: 8px 0; }

.post__actions { padding: 0 20px 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.post__action {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted) !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s;
  font-family: inherit;
}
.post__action:hover { color: var(--accent) !important; border-color: var(--accent); }
.post__action.is-active { color: var(--accent) !important; border-color: var(--accent); background: var(--accent-dim); }

.reply-editor { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-top: 16px; }
.reply-editor__title { font-size: 16px; margin: 0 0 12px; }

.bbcode-toolbar { display: flex; gap: 4px; padding: 8px; background: var(--bg-deep); border: 1px solid var(--border); border-bottom: 0; border-radius: 10px 10px 0 0; flex-wrap: wrap; }
.bbcode-toolbar button { padding: 6px 10px; background: var(--bg-hover); border: 1px solid var(--border); color: var(--text); border-radius: 6px; cursor: pointer; font-size: 13px; font-family: inherit; }
.bbcode-toolbar button:hover { background: var(--accent); color: #0A0E13; border-color: var(--accent); }
.bbcode-toolbar + textarea, .bbcode-toolbar + .form-control { border-top-left-radius: 0; border-top-right-radius: 0; }

/* ============================================================================
   FORMS
   ============================================================================ */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  color: var(--text) !important;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.15s;
}
.form-control:focus { outline: none; border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-dim) !important; }
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-error { display: block; color: var(--danger); font-size: 12px; margin-top: 4px; }
.form-hint { display: block; color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239AA7B8' d='M6 8L2 4h8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ============================================================================
   AUTH PAGES
   ============================================================================ */
.auth-wrap { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 200px); padding: 24px 0; }
.auth-card { width: 100%; max-width: 440px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-lg); }
.auth-card__title { font-size: 28px; margin-bottom: 8px; text-align: center; }
.auth-card__sub { color: var(--text-muted); text-align: center; margin-bottom: 24px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-dim); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============================================================================
   FOOTER
   ============================================================================ */
/* (Footer CSS — yeni versiyon dosya sonunda) */

/* ============================================================================
   3-COLUMN LAYOUT
   ============================================================================ */
.layout-3col {
  display: grid !important;
  grid-template-columns: 260px 1fr 300px;
  gap: 20px;
  align-items: start;
  margin: 20px 0;
}
.layout-3col .sidebar-left,
.layout-3col .sidebar-right { min-width: 0; }
.layout-3col .sidebar-left > *,
.layout-3col .sidebar-right > * { margin-bottom: 16px; }
.layout-3col .main-content { min-width: 0; }

/* ============================================================================
   QUICK NAV (sidebar list)
   ============================================================================ */
.quicknav { list-style: none; padding: 8px 0; margin: 0; }
.quicknav li { padding: 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.quicknav li:last-child { border-bottom: 0; }
.quicknav li a {
  display: block;
  padding: 10px 16px;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}
.quicknav li a:hover { color: var(--accent) !important; background: var(--bg-hover); }

/* ============================================================================
   LATEST TOPICS
   ============================================================================ */
.latest-topics { display: flex; flex-direction: column; padding: 8px; }
.latest-topic {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.15s;
  align-items: center;
}
.latest-topic:hover { background: var(--bg-hover); }
.latest-topic__avatar img { width: 36px; height: 36px; border-radius: 50%; }
.latest-topic__main { min-width: 0; }
.latest-topic__title { font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.latest-topic__meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 6px; margin-top: 2px; flex-wrap: wrap; }
.latest-topic__forum { color: var(--accent); }
.latest-topic__counts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 11px; color: var(--text-muted); }

/* ============================================================================
   ONLINE USERS
   ============================================================================ */
.online-users { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; }
.online-users a {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  transition: transform 0.15s;
}
.online-users a:hover { transform: scale(1.1); }
.online-users img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================================
   POPULAR LIST
   ============================================================================ */
.popular-list { display: flex; flex-direction: column; padding: 8px; }
.popular-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 10px 12px;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.15s;
  border-radius: 10px;
  align-items: center;
}
.popular-item:hover { background: var(--bg-hover); }
.popular-item__rank {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #0A0E13 !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  font-family: var(--font-display);
}
.popular-item:nth-child(1) .popular-item__rank { background: var(--gold); }
.popular-item:nth-child(2) .popular-item__rank { background: #C0C0C0; }
.popular-item:nth-child(3) .popular-item__rank { background: #CD7F32; }
.popular-item__main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.popular-item__title { font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.popular-item__meta { font-size: 11px; color: var(--text-muted); }

/* ============================================================================
   NEW MEMBERS
   ============================================================================ */
.new-members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; }
.new-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  text-decoration: none !important;
  color: var(--text) !important;
  border-radius: 10px;
  font-size: 11px;
  transition: background 0.15s;
}
.new-member:hover { background: var(--bg-hover); color: var(--accent) !important; }
.new-member img { width: 42px; height: 42px; border-radius: 50%; }
.new-member span { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }

/* ============================================================================
   PROFILE
   ============================================================================ */
.profile-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; margin-bottom: 20px; }
.profile-card__cover { height: 200px; background: linear-gradient(135deg, rgba(61, 214, 140, 0.3), rgba(91, 159, 255, 0.3)), radial-gradient(circle at 30% 60%, rgba(61, 214, 140, 0.4), transparent 50%); background-size: cover; background-position: center; }
.profile-card__body { padding: 0 24px 24px; position: relative; }
.profile-card__avatar { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--bg-card); margin-top: -60px; margin-bottom: 12px; background: var(--bg-deep); }
.profile-card__name { font-size: 28px; margin: 0; }
.profile-card__badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 20px 0; }
.profile-stats__item { background: var(--bg-deep); border-radius: 10px; padding: 12px; text-align: center; }
.profile-stats__item strong { display: block; font-size: 22px; color: var(--accent); font-family: var(--font-display); }
.profile-stats__item span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================================================
   PAGE HEADER / BREADCRUMB
   ============================================================================ */
.page-head, .page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; }
.page-head__title, .page-header__title { font-size: 28px; margin: 0; display: flex; align-items: center; gap: 8px; }
.page-head__desc, .page-header__desc { margin: 6px 0 0; color: var(--text-muted); font-size: 14px; }
.page-head__actions { display: flex; gap: 8px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; flex-wrap: wrap; padding: 0; background: transparent; }
.breadcrumb a { color: var(--text-muted) !important; }
.breadcrumb a:hover { color: var(--accent) !important; }
.breadcrumb__sep { color: var(--text-dim); }
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.empty-state-card { background: var(--bg-card); border: 1px dashed var(--border); border-radius: 14px; padding: 40px 20px; text-align: center; }
.empty-state-card__icon { font-size: 48px; opacity: 0.4; margin-bottom: 12px; }

/* ============================================================================
   SERVER CARDS
   ============================================================================ */
.server-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin: 16px 0; }
.server-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 16px; position: relative; transition: all 0.2s; overflow: hidden; }
.server-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.server-card--sponsored { background: linear-gradient(135deg, rgba(245, 182, 66, 0.08), var(--bg-card)); border-color: rgba(245, 182, 66, 0.4); }
.server-card__sponsor, .server-card__sponsor-flag { position: absolute; top: 8px; right: 8px; background: var(--gold); color: #0A0E13; padding: 3px 10px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; }
.server-card__head { display: flex; gap: 12px; margin-bottom: 12px; }
.server-card__logo { width: 60px; height: 60px; border-radius: 10px; background: var(--bg-deep); object-fit: cover; flex-shrink: 0; }
.server-card__logo-placeholder { width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #0A0E13; }
.server-card__main, .server-card__info { flex: 1; min-width: 0; }
.server-card__name { margin: 0 0 4px; font-size: 16px; font-family: var(--font-display); font-weight: 700; }
.server-card__name a { color: var(--text) !important; text-decoration: none !important; }
.server-card__name a:hover { color: var(--accent) !important; }
.server-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.server-card__tag { display: inline-block; padding: 2px 8px; background: var(--secondary-dim); color: var(--secondary); border-radius: 6px; font-size: 11px; font-weight: 600; }
.server-card__status { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.server-card__status--online, .server-card__status.is-online { background: var(--accent-dim); color: var(--accent); }
.server-card__status--offline, .server-card__status.is-offline { background: var(--bg-hover); color: var(--text-muted); }
.server-card__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.server-card__desc { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin: 8px 0; min-height: 40px; }
.server-card__ip { display: flex; gap: 6px; align-items: center; background: var(--bg-deep); padding: 8px 12px; border-radius: 10px; margin-bottom: 12px; }
.server-card__ip-code { flex: 1; font-family: var(--font-mono); font-size: 13px; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.server-card__copy { background: var(--bg-hover); border: 1px solid var(--border); color: var(--text); padding: 4px 10px; border-radius: 6px; cursor: pointer; font-size: 12px; transition: all 0.15s; }
.server-card__copy:hover { background: var(--accent); color: #0A0E13; border-color: var(--accent); }
.server-card__stats { display: flex; gap: 12px; margin-bottom: 12px; }
.server-card__stat { flex: 1; text-align: center; font-size: 12px; color: var(--text-muted); padding: 6px; background: var(--bg-deep); border-radius: 6px; }
.server-card__stat strong { display: block; color: var(--text); font-size: 14px; font-weight: 700; }
.server-card__actions { display: flex; gap: 6px; }
.server-card__actions .btn { flex: 1; }

.server-hero { position: relative; background: linear-gradient(135deg, rgba(61, 214, 140, 0.12), rgba(91, 159, 255, 0.08)), var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; margin-bottom: 20px; overflow: hidden; }
.server-hero__inner { position: relative; z-index: 1; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.server-hero__logo { width: 110px; height: 110px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.server-hero__title { font-size: 32px; margin: 0 0 8px; font-family: var(--font-display); }
.server-hero__short { color: var(--text-muted); margin: 8px 0; }
.server-hero__tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.server-hero__ip-block { display: flex; align-items: center; gap: 12px; background: var(--bg-deep); padding: 12px 16px; border-radius: 10px; margin-top: 12px; flex-wrap: wrap; }
.server-hero__ip-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.server-hero__ip { flex: 1; font-family: var(--font-mono); font-size: 18px; color: var(--accent); font-weight: 700; min-width: 200px; }

.server-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 16px; align-items: center; }
.sponsored-strip { margin: 20px 0; padding: 20px; background: linear-gradient(135deg, var(--gold-dim) 0%, transparent 80%); border: 1px solid rgba(245, 182, 66, 0.2); border-radius: 14px; }
.sponsored-strip__title { margin: 0 0 12px; font-family: var(--font-display); color: var(--gold); }

/* ============================================================================
   SHOP / PRODUCTS / AD PACKAGES
   ============================================================================ */
.product-grid, .ad-package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.product-card, .ad-package { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; position: relative; text-align: center; transition: all 0.2s; }
.product-card:hover, .ad-package:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.product-card__badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: #0A0E13; padding: 3px 10px; border-radius: 6px; font-size: 10px; font-weight: 800; }
.product-card__icon { font-size: 42px; margin-bottom: 8px; }
.product-card__title, .ad-package__head h3 { margin: 0 0 8px; font-size: 18px; font-family: var(--font-display); }
.product-card__desc { color: var(--text-muted); font-size: 13px; min-height: 40px; margin-bottom: 12px; }
.product-card__features, .ad-package__features { list-style: none; padding: 0; margin: 12px 0; text-align: left; }
.product-card__features li, .ad-package__features li { padding: 4px 0; font-size: 13px; color: var(--text-muted); }
.product-card__price, .ad-package__price { font-size: 32px; font-weight: 800; color: var(--accent); margin: 12px 0; font-family: var(--font-display); }
.product-card__price span, .ad-package__price span { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.order-list { display: flex; flex-direction: column; gap: 8px; }
.order-row { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 12px; padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; align-items: center; }
.order-row__icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg-deep); border-radius: 10px; font-size: 22px; }
.order-row__price { font-weight: 700; color: var(--accent); font-size: 16px; }
.order-row__status { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; background: var(--bg-deep); }
.order-row__status.is-pending { background: var(--gold-dim); color: var(--gold); }
.order-row__status.is-success { background: var(--accent-dim); color: var(--accent); }
.order-row__status.is-danger { background: var(--danger-dim); color: var(--danger); }

/* ============================================================================
   BLOG / RESOURCES
   ============================================================================ */
.blog-grid, .resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.blog-card, .resource-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: all 0.2s; }
.blog-card:hover, .resource-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.blog-card__image { display: block; aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--bg-deep); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: 0.3; }
.blog-card__featured { position: absolute; top: 8px; left: 8px; background: var(--gold); padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #0A0E13; }
.blog-card__body, .resource-card { padding: 16px; }
.blog-card__cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.blog-card__title, .resource-card__title { margin: 8px 0; font-family: var(--font-display); font-size: 17px; line-height: 1.3; }
.blog-card__title a, .resource-card__title a { color: var(--text) !important; }
.blog-card__title a:hover, .resource-card__title a:hover { color: var(--accent) !important; }
.blog-card__excerpt, .resource-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.blog-card__meta, .resource-card__stats { display: flex; gap: 6px; font-size: 12px; color: var(--text-muted); margin-top: 12px; flex-wrap: wrap; }
.resource-card__head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 8px; }
.resource-card__icon { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.resource-card__icon--placeholder { display: flex; align-items: center; justify-content: center; background: var(--bg-deep); font-size: 22px; }
.resource-card__type { font-size: 11px; font-weight: 700; padding: 3px 8px; background: var(--secondary-dim); color: var(--secondary); border-radius: 6px; text-transform: uppercase; }
.resource-card__author { display: flex; gap: 6px; align-items: center; font-size: 12px; padding-top: 8px; border-top: 1px solid var(--border-soft); margin-top: 8px; }
.resource-card__author img { width: 22px; height: 22px; border-radius: 50%; }

.blog-post { max-width: 800px; margin: 0 auto; }
.blog-post__hero { aspect-ratio: 16/9; overflow: hidden; border-radius: 14px; margin-bottom: 24px; }
.blog-post__hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-post__title { font-size: 36px; line-height: 1.2; margin: 8px 0 16px; }
.blog-post__meta { display: flex; gap: 8px; align-items: center; color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
.blog-post__meta img { width: 32px; height: 32px; border-radius: 50%; }
.blog-post__body { line-height: 1.75; font-size: 16px; }

/* ============================================================================
   COMPLAINTS / SELLERS / REVIEWS
   ============================================================================ */
.complaint-list { display: flex; flex-direction: column; gap: 12px; }
.complaint-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.complaint-card__head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.complaint-card__cat, .complaint-card__status { font-size: 11px; padding: 3px 8px; background: var(--bg-deep); border-radius: 6px; font-weight: 600; }
.complaint-card__title { margin: 8px 0; font-size: 17px; font-family: var(--font-display); }
.complaint-card__meta { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }

.seller-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.seller-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-align: center; position: relative; transition: all 0.2s; }
.seller-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.seller-card__verified { position: absolute; top: 8px; right: 8px; background: var(--accent-dim); color: var(--accent); padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; }
.seller-card__avatar img { width: 80px; height: 80px; border-radius: 50%; }
.seller-card__name { margin: 8px 0 4px; font-family: var(--font-display); }
.seller-card__name a { color: var(--text) !important; }
.seller-card__bio { color: var(--text-muted); font-size: 12px; min-height: 30px; }

.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating-input input { display: none; }
.rating-input label { cursor: pointer; padding: 0 3px; opacity: 0.35; transition: opacity 0.15s; font-size: 20px; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { opacity: 1; }
.review-list { display: flex; flex-direction: column; }
.review-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border-soft); }
.review-item__avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }

.stat-list { list-style: none; padding: 0; margin: 0; }
.stat-list li { display: flex; justify-content: space-between; padding: 8px 16px; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.stat-list li:last-child { border-bottom: 0; }
.stat-list span { color: var(--text-muted); }

.prefix-filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.prefix-chip { padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; text-decoration: none !important; background: var(--bg-card); color: var(--text-muted) !important; border: 1px solid var(--border); }
.prefix-chip:hover, .prefix-chip.is-active { background: var(--accent); color: #0A0E13 !important; border-color: var(--accent); }

.forum-toolbar { display: flex; gap: 12px; padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.forum-toolbar__sort { display: flex; gap: 6px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.forum-toolbar__sort span { color: var(--text-muted); }
.forum-toolbar__sort a { padding: 4px 10px; color: var(--text-muted) !important; border-radius: 6px; text-decoration: none !important; }
.forum-toolbar__sort a:hover, .forum-toolbar__sort a.is-active { background: var(--accent-dim); color: var(--accent) !important; }

/* ============================================================================
   PAGINATION
   ============================================================================ */
.pagination { display: flex; gap: 4px; justify-content: center; margin: 24px 0; flex-wrap: wrap; padding: 0; list-style: none; }
.pagination a, .pagination span, .pagination .page-link, .pagination li { padding: 0; }
.pagination a, .pagination span, .pagination .page-link {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}
.pagination a:hover, .pagination .page-link:hover { border-color: var(--accent); color: var(--accent) !important; }
.pagination .is-active, .pagination .current, .pagination .active .page-link { background: var(--accent) !important; border-color: var(--accent) !important; color: #0A0E13 !important; }

/* ============================================================================
   ADMIN PANEL
   ============================================================================ */
body.admin-body { background: var(--bg-base); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--bg-deep); border-right: 1px solid var(--border); padding: 16px 0; display: flex; flex-direction: column; overflow-y: auto; max-height: 100vh; position: sticky; top: 0; }
.admin-sidebar__logo { display: flex; align-items: center; gap: 8px; padding: 0 16px 16px; border-bottom: 1px solid var(--border); margin-bottom: 12px; text-decoration: none !important; color: var(--text) !important; }
.admin-sidebar__nav { display: flex; flex-direction: column; padding: 0 8px; flex: 1; }
.admin-sidebar__nav a { padding: 8px 12px; font-size: 13px; color: var(--text-muted) !important; text-decoration: none !important; border-radius: 8px; margin-bottom: 2px; transition: all 0.15s; }
.admin-sidebar__nav a:hover { background: var(--bg-hover); color: var(--text) !important; }
.admin-sidebar__nav a.is-active { background: var(--accent-dim); color: var(--accent) !important; font-weight: 600; }
.admin-sidebar__group { padding: 12px 12px 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); font-weight: 700; }
.admin-main { padding: 20px 24px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.admin-topbar__title { margin: 0; font-size: 22px; }
.admin-topbar__user { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.admin-topbar__user img { width: 32px; height: 32px; border-radius: 50%; }

.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.admin-tab { padding: 10px 16px; text-decoration: none !important; color: var(--text-muted) !important; font-weight: 600; font-size: 13px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-tab:hover { color: var(--text) !important; }
.admin-tab.is-active { color: var(--accent) !important; border-bottom-color: var(--accent); }
.admin-page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 8px; flex-wrap: wrap; }
.admin-page-head h2 { margin: 0; font-size: 22px; font-family: var(--font-display); }
.admin-page-head__actions { display: flex; gap: 8px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
.admin-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.admin-stat__label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.admin-stat__value { font-size: 28px; font-family: var(--font-display); font-weight: 800; color: var(--accent); margin: 6px 0 4px; }
.admin-stat__delta { font-size: 12px; color: var(--text-muted); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--text); }
.admin-table th, .admin-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.admin-table th { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; background: var(--bg-deep); }
.admin-table tr:hover { background: var(--bg-hover); }

/* ============================================================================
   UTILITIES
   ============================================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted) !important; }
.text-accent { color: var(--accent) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--gold) !important; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.grid-2col { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.ad-zone { margin: 16px 0; padding: 8px; background: var(--bg-deep); border: 1px dashed var(--border); border-radius: 10px; text-align: center; }
.ad-zone img { max-width: 100%; height: auto; border-radius: 6px; }
.ad-zone__label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }

.section-title { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 0 0 12px; font-family: var(--font-display); }

/* ============================================================================
   RESPONSIVE (Bootstrap-style breakpoints)
   ============================================================================ */
@media (max-width: 1199.98px) {
  .layout-3col { grid-template-columns: 1fr 300px; }
  .layout-3col .sidebar-left { display: none; }
}

@media (max-width: 991.98px) {
  .layout-3col { grid-template-columns: 1fr; }
  .layout-3col .sidebar-left,
  .layout-3col .sidebar-right { display: block; }
  .site-nav { display: none !important; }
  .search-mini { display: none !important; }
  .grid-2col { grid-template-columns: 1fr; }
  .server-detail-grid { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; }
  .post__author { flex-direction: row; text-align: left; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--border-soft); gap: 12px; }
  .post__author img { width: 48px; height: 48px; margin-bottom: 0; }
  .topic-row { grid-template-columns: 36px 1fr; gap: 8px; }
  .topic-row__count { display: none; }
  .forum-row { grid-template-columns: 40px 1fr; }
  .forum-row__stats, .forum-row__last { display: none; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; left: -100%; top: 0; width: 260px; height: 100vh; z-index: 1100; transition: left 0.25s; }
  .admin-sidebar.is-open { left: 0; }
  .new-members { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767.98px) {
  .container { padding: 0 12px; }
  .hero { padding: 24px 16px; margin: 16px 0; }
  .hero__title { font-size: 24px; }
  .hero__stats { gap: 16px; }
  .hero__stat strong { font-size: 22px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 20px; }
  .auth-card__title { font-size: 22px; }
  .new-members { grid-template-columns: repeat(3, 1fr); }
  .server-grid, .product-grid, .blog-grid, .resource-grid, .ad-package-grid { grid-template-columns: 1fr; }
  .user-menu__name { display: none; }
}

@media print {
  .site-header, .site-footer, .ad-zone, .reply-editor, .bbcode-toolbar, .post__actions { display: none !important; }
  body { background: white !important; color: black !important; }
}

/* ============================================================================
   BANNER GRID — MC-TR tarzı ana sayfa reklam ızgarası
   ============================================================================ */
.banner-grid-section { margin: 20px 0; }
.banner-grid-section__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.banner-grid-section__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.banner-grid-section__title::before {
  content: '';
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  display: inline-block;
}
.banner-grid-section__link { color: var(--accent) !important; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.banner-grid-section__link:hover { color: var(--accent-2) !important; }

.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.banner-grid__item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.2s;
  text-decoration: none !important;
  position: relative;
  aspect-ratio: 728 / 90;
}
.banner-grid__item:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 6px 20px rgba(61, 214, 140, 0.15); }
.banner-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Boş slot — "Buraya Reklam Verebilirsiniz" */
.banner-grid__item--empty {
  background:
    linear-gradient(135deg, var(--accent-dim) 0%, var(--secondary-dim) 100%),
    var(--bg-card);
  border: 2px dashed rgba(61, 214, 140, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-grid__item--empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 214, 140, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 214, 140, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}
.banner-grid__item--empty:hover {
  border-color: var(--accent);
  background:
    linear-gradient(135deg, rgba(61, 214, 140, 0.18), rgba(91, 159, 255, 0.18)),
    var(--bg-card);
  transform: translateY(-2px);
}
.banner-grid__empty-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 12px;
}
.banner-grid__empty-icon { font-size: 28px; margin-bottom: 2px; }
.banner-grid__empty-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.banner-grid__empty-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .banner-grid { grid-template-columns: 1fr !important; }
  .banner-grid__empty-title { font-size: 13px; }
}

/* ============================================================================
   FUN ZONE — Misafir eğlence sistemleri
   ============================================================================ */
.fun-zone {
  margin: 24px 0;
}
.fun-zone__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.fun-zone__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fun-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 991.98px) { .fun-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .fun-grid { grid-template-columns: 1fr; } }

.fun-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none !important;
  color: var(--text) !important;
  transition: all 0.2s;
  overflow: hidden;
}
.fun-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 214, 140, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 214, 140, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}
.fun-card > * { position: relative; z-index: 1; }
.fun-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(61, 214, 140, 0.18); color: var(--text) !important; }

.fun-card__icon-wrap {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 14px;
  font-size: 30px;
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(61, 214, 140, 0.35);
}
.fun-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 6px;
}
.fun-card__desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.fun-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 6px 14px;
  background: var(--accent-dim);
  color: var(--accent) !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.fun-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold);
  color: #0A0E13 !important;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  z-index: 2;
}

/* ============================================================================
   TOOL PAGE LAYOUT (sunucu pinger, isim üretici, skin viewer)
   ============================================================================ */
.tool-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}
.tool-page__head {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, var(--accent-dim), var(--secondary-dim));
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.tool-page__head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 214, 140, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 214, 140, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}
.tool-page__head > * { position: relative; z-index: 1; }
.tool-page__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 16px;
  font-size: 32px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(61, 214, 140, 0.4);
}
.tool-page__title {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 8px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.tool-page__desc { color: var(--text-muted); font-size: 15px; max-width: 540px; margin: 0 auto; }
.tool-page__body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

/* Pinger result */
.pinger-result {
  margin-top: 20px;
  padding: 20px;
  background: var(--bg-deep);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.pinger-result__head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 14px;
}
.pinger-result__favicon { width: 56px; height: 56px; border-radius: 10px; image-rendering: pixelated; }
.pinger-result__motd { font-family: var(--font-mono); font-size: 13px; line-height: 1.5; }
.pinger-result__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.pinger-result__stat {
  background: var(--bg-surface);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
}
.pinger-result__stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.pinger-result__stat-value { font-family: var(--font-display); font-size: 18px; color: var(--accent); font-weight: 700; }

/* Username Generator */
.name-gen-output {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.name-gen-card {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.15s;
}
.name-gen-card:hover { border-color: var(--accent); }
.name-gen-card__name { font-family: var(--font-mono); font-weight: 600; color: var(--text); font-size: 14px; }
.name-gen-card__copy {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.15s;
}
.name-gen-card__copy:hover { background: var(--accent); color: #0A0E13; border-color: var(--accent); }

/* Skin Viewer */
.skin-viewer-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-top: 20px;
  align-items: start;
}
@media (max-width: 767.98px) { .skin-viewer-wrap { grid-template-columns: 1fr; } }
.skin-viewer-canvas {
  background:
    radial-gradient(circle at center, rgba(61, 214, 140, 0.12), transparent 70%),
    var(--bg-deep);
  border-radius: 14px;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.skin-viewer-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 214, 140, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 214, 140, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.skin-viewer-canvas img { max-width: 60%; max-height: 80%; image-rendering: pixelated; image-rendering: crisp-edges; position: relative; z-index: 1; }
.skin-viewer-info { padding: 0; }
.skin-viewer-info h3 { font-family: var(--font-display); margin: 0 0 10px; }
.skin-viewer-info__uuid {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--accent);
  display: block;
  word-break: break-all;
  margin: 10px 0;
}
.skin-viewer-info__downloads { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }


/* ============================================================================
   BANNER REKLAM GRID (MC-TR tarzı)
   ============================================================================ */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0 30px;
}
.banner-card {
  position: relative;
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 970 / 120;
  transition: all 0.2s;
  text-decoration: none !important;
}
.banner-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0A0E13;
  z-index: 2;
}
.banner-card__badge--gold { background: linear-gradient(135deg, #F5B642, #C8881E); }
.banner-card__badge--platinum {
  background: linear-gradient(135deg, #E5E5E5, #B0B0B0);
  color: #0A0E13;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.banner-card--gold { border-color: rgba(245, 182, 66, 0.4); }
.banner-card--platinum {
  border: 2px solid;
  border-image: linear-gradient(135deg, #F5B642, #5B9FFF, #3DD68C) 1;
}

/* Boş slot — Reklamınız Burada */
.banner-card--empty {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(61, 214, 140, 0.03) 10px, rgba(61, 214, 140, 0.03) 20px),
    linear-gradient(135deg, var(--bg-deep), var(--bg-card));
  border: 2px dashed var(--border-strong);
}
.banner-card--empty:hover {
  border-color: var(--accent);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(61, 214, 140, 0.05) 10px, rgba(61, 214, 140, 0.05) 20px),
    linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
}
.banner-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  text-align: center;
}
.banner-card__icon {
  font-size: 28px;
  font-style: normal;
  filter: grayscale(0.3);
}
.banner-card__placeholder strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.banner-card__placeholder span {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 991.98px) {
  .banner-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ============================================================================
   LIVE TICKER
   ============================================================================ */
.live-ticker {
  background: linear-gradient(90deg, var(--bg-deep), var(--bg-surface), var(--bg-deep));
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  overflow: hidden;
  font-size: 12px;
  color: var(--text-muted);
}
.live-ticker__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.live-ticker__item { display: inline-flex; align-items: center; gap: 6px; }
.live-ticker__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.live-ticker__item strong { color: var(--text); font-weight: 700; }

/* ============================================================================
   DISCORD WIDGET (sağ alt köşe)
   ============================================================================ */
.discord-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.discord-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.5);
  color: white !important;
}
.discord-widget__icon { font-size: 20px; }
.discord-widget__online {
  background: #3DD68C;
  color: #0A0E13;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
@media (max-width: 600px) {
  .discord-widget { bottom: 12px; right: 12px; padding: 10px 14px; font-size: 13px; }
}

/* ============================================================================
   ARAÇLAR (TOOLS) — misafir eğlence sayfaları
   ============================================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.tool-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  text-decoration: none !important;
  color: var(--text);
  transition: all 0.2s;
  overflow: hidden;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.tool-card__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(61, 214, 140, 0.15), transparent 60%);
  z-index: 0;
}
.tool-card__inner { position: relative; z-index: 1; }
.tool-card__icon {
  font-size: 56px;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(61, 214, 140, 0.4));
}
.tool-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text);
}
.tool-card__desc { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.tool-card__badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

/* Tool page UI */
.tool-page { max-width: 800px; margin: 0 auto; }
.tool-page__header {
  text-align: center;
  padding: 32px 16px;
  margin-bottom: 24px;
}
.tool-page__icon {
  font-size: 72px;
  margin-bottom: 12px;
  filter: drop-shadow(0 6px 16px rgba(61, 214, 140, 0.4));
}
.tool-page__title { font-size: 36px; margin: 0 0 12px; font-family: var(--font-display); }
.tool-page__desc { color: var(--text-muted); font-size: 16px; }

.tool-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}
.tool-result {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px var(--accent-glow);
}

/* Server pinger result */
.pinger-result {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}
.pinger-result__icon { width: 80px; height: 80px; border-radius: 12px; }
.pinger-result__name { font-size: 22px; margin: 0 0 4px; font-family: var(--font-display); }
.pinger-result__ip { font-family: var(--font-mono); color: var(--accent); font-size: 14px; }
.pinger-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 16px 0; }
.pinger-stat { background: var(--bg-deep); border-radius: 10px; padding: 12px; text-align: center; }
.pinger-stat__label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.pinger-stat__value { font-size: 22px; font-weight: 800; color: var(--accent); font-family: var(--font-display); margin-top: 4px; }
.pinger-motd {
  background: var(--bg-deep);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  margin: 12px 0;
  white-space: pre-wrap;
  color: var(--text);
}

/* Name generator */
.name-gen-result {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.name-gen-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.name-gen-pill:hover { border-color: var(--accent); color: var(--accent); }
.name-gen-pill__copy { font-size: 12px; opacity: 0.6; }

/* Skin viewer */
.skin-viewer-wrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
#skin-canvas {
  width: 300px;
  height: 400px;
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-surface));
  border-radius: 14px;
  display: block;
  margin: 0 auto;
}
.skin-info { flex: 1; min-width: 200px; }
.skin-info h3 { margin: 0 0 12px; }
.skin-info__row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.skin-info__row span { color: var(--text-muted); }

/* ============================================================================
   USER PATCH — başlık ve üye ismi boyut ayarı (kullanıcı talebi)
   ============================================================================ */

/* Hero başlık az küçült (52px → 42px max) */
.hero__title {
  font-size: clamp(24px, 4vw, 42px) !important;
  letter-spacing: -0.025em;
}
.hero__subtitle { font-size: 15px; }

/* Üye kartı isim küçült */
.member-card { padding: 18px 14px; }
.member-card__name {
  font-size: 14px !important;
  margin: 8px 0 4px !important;
  font-weight: 600;
}
.member-card__avatar { width: 72px; height: 72px; }
.member-card__stats { font-size: 11px; gap: 6px; }

/* ============================================================================
   PROFILE HERO (yeni modern)
   ============================================================================ */
.profile-hero {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  margin: 20px 0;
}
.profile-hero__cover {
  height: 180px;
  background:
    radial-gradient(circle at 30% 60%, rgba(61, 214, 140, 0.25), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(91, 159, 255, 0.2), transparent 60%),
    linear-gradient(135deg, var(--bg-deep), var(--bg-surface));
  background-size: cover;
  background-position: center;
  position: relative;
}
.profile-hero__cover::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.profile-hero__inner {
  padding: 0 28px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: end;
  position: relative;
}
.profile-hero__avatar {
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 5px solid var(--bg-card);
  margin-top: -65px;
  background: var(--bg-deep);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.profile-hero__info { padding-top: 12px; min-width: 0; }
.profile-hero__name {
  font-size: 28px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--secondary), #4D8FE6);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(91, 159, 255, 0.4);
}
.profile-hero__roles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.profile-hero__bio {
  color: var(--text-muted);
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.5;
}
.profile-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.profile-hero__meta a { color: var(--secondary); }
.profile-hero__actions { padding-top: 12px; align-self: end; }

/* Stat grid */
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.profile-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  transition: all 0.15s;
}
.profile-stat-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.profile-stat-card__icon { font-size: 26px; margin-bottom: 6px; }
.profile-stat-card__value {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-display);
  line-height: 1;
}
.profile-stat-card__label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  font-weight: 600;
}
.profile-stat-card--seller .profile-stat-card__value { color: var(--gold); }

@media (max-width: 767.98px) {
  .profile-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 16px 20px;
  }
  .profile-hero__avatar { width: 100px; height: 100px; margin: -50px auto 0; }
  .profile-hero__roles, .profile-hero__meta { justify-content: center; }
  .profile-hero__name { justify-content: center; font-size: 22px; }
  .profile-stat-card__value { font-size: 18px; }
}

/* ============================================================================
   ADMIN PANEL — daha profesyonel görünüm
   ============================================================================ */
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
}
.admin-table thead {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-surface));
}
.admin-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr {
  transition: background 0.15s;
}
.admin-table tbody tr:hover { background: var(--bg-hover); }
.admin-table .row-actions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

/* Admin filter bar */
.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.admin-filter-bar form {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.admin-filter-bar .form-control {
  flex: 1;
  min-width: 200px;
}

.admin-empty-state {
  padding: 60px 20px;
  text-align: center;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  color: var(--text-muted);
}
.admin-empty-state__icon { font-size: 48px; opacity: 0.4; margin-bottom: 12px; }
.admin-empty-state__title { font-size: 18px; color: var(--text); margin: 0 0 6px; }
.admin-empty-state__desc { font-size: 13px; }

/* Status badges in admin tables */
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-dot--active { background: var(--accent); box-shadow: 0 0 0 2px var(--accent-dim); }
.status-dot--pending { background: var(--gold); }
.status-dot--inactive { background: var(--text-dim); }
.status-dot--danger { background: var(--danger); }

/* ============================================================================
   MARKETPLACE / PAZAR
   ============================================================================ */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
  position: relative;
}
.market-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.market-card__image {
  aspect-ratio: 16/9;
  background: var(--bg-deep);
  overflow: hidden;
  position: relative;
}
.market-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.market-card__image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  opacity: 0.3;
}
.market-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: #0A0E13;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}
.market-card__featured {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--gold), #D69919);
  color: #0A0E13;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(245, 182, 66, 0.4);
}
.market-card__body { padding: 14px; }
.market-card__cat {
  font-size: 10px;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.market-card__title {
  margin: 6px 0;
  font-size: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
}
.market-card__title a { color: var(--text) !important; }
.market-card__title a:hover { color: var(--accent) !important; }
.market-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 6px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.market-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid var(--border-soft);
}
.market-card__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-display);
  line-height: 1;
}
.market-card__seller {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none !important;
}
.market-card__seller img { width: 22px; height: 22px; border-radius: 50%; }
.market-card__seller-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px; height: 14px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
}

/* Marketplace detail */
.market-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  margin: 20px 0;
}
.market-product__title {
  font-size: 28px;
  margin: 0 0 12px;
  font-family: var(--font-display);
}
.market-product__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.market-product__gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--border);
}
.market-buy-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 90px;
}
.market-buy-box__price {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-display);
  margin: 0 0 8px;
}
.market-buy-box__commission {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.market-seller-box {
  background: var(--bg-deep);
  border-radius: 10px;
  padding: 12px;
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.market-seller-box img { width: 40px; height: 40px; border-radius: 50%; }
.market-seller-box__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin: 0;
}
.market-seller-box__name a { color: var(--text) !important; }
.market-seller-box__level {
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 767.98px) {
  .market-detail-grid { grid-template-columns: 1fr; }
  .market-buy-box { position: relative; top: 0; }
}

/* ============================================================================
   FIX — Hero başlığı az küçültüldü
   ============================================================================ */
.hero__title { font-size: clamp(24px, 4vw, 40px) !important; line-height: 1.1 !important; }
.hero__subtitle { font-size: 15px !important; }

/* ============================================================================
   FIX — Üyeler sayfası isim font küçültme
   ============================================================================ */
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  transition: all 0.2s;
}
.member-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.member-card__avatar { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 6px; display: block; object-fit: cover; }
.member-card__name { font-size: 13px !important; font-weight: 700; margin: 4px 0 2px; font-family: var(--font-display); }
.member-card__name a { color: var(--text) !important; text-decoration: none !important; }
.member-card__name a:hover { color: var(--accent) !important; }
.member-card__role { font-size: 10px; padding: 2px 6px; border-radius: 5px; display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.member-card__stats { font-size: 10px; color: var(--text-muted); margin-top: 6px; display: flex; justify-content: center; gap: 8px; }
.member-card__joined { font-size: 10px; color: var(--text-dim); margin-top: 4px; }

/* Üyeler liste varsa */
.members-list .topic-row__avatar img { width: 32px; height: 32px; }
.members-list .topic-row__title { font-size: 13px !important; }

/* ============================================================================
   FIX — Admin panel görünümü daha profesyonel
   ============================================================================ */
.admin-main { padding: 24px 28px !important; }
.admin-topbar {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
}
.admin-topbar__title { font-size: 20px !important; font-weight: 700; }

/* Tablolar — daha profesyonel */
.admin-table {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-surface)) !important;
  padding: 12px 14px !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border) !important;
  text-align: left;
}
.admin-table td {
  padding: 12px 14px !important;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}
.admin-table tbody tr { transition: background 0.15s; }
.admin-table tbody tr:hover { background: rgba(61, 214, 140, 0.04); }
.admin-table tbody tr:last-child td { border-bottom: 0; }

/* Status badges — admin */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.status-badge--success, .status-badge--active, .status-badge--approved, .status-badge--published,
.status-badge--delivered, .status-badge--paid { background: var(--accent-dim); color: var(--accent); }
.status-badge--warning, .status-badge--pending { background: var(--gold-dim); color: var(--gold); }
.status-badge--danger, .status-badge--rejected, .status-badge--cancelled, .status-badge--inactive,
.status-badge--refunded { background: var(--danger-dim); color: var(--danger); }
.status-badge--info, .status-badge--processing { background: var(--secondary-dim); color: var(--secondary); }
.status-badge--neutral { background: var(--bg-hover); color: var(--text-muted); }

/* Filtre / search bar */
.admin-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  align-items: center;
}
.admin-filter-bar .form-control { padding: 8px 12px !important; font-size: 13px !important; min-width: 180px; }
.admin-filter-bar__label { font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* Boş veri ekranı */
.admin-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 12px;
  margin: 16px 0;
}
.admin-empty__icon { font-size: 48px; opacity: 0.3; margin-bottom: 12px; }
.admin-empty__title { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
.admin-empty__desc { color: var(--text-muted); font-size: 13px; }

/* Admin action buttons */
.admin-table .btn-icon-group { display: inline-flex; gap: 4px; }
.btn-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-hover);
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s;
}
.btn-icon-action:hover { transform: translateY(-1px); }
.btn-icon-action--edit { color: var(--secondary); }
.btn-icon-action--edit:hover { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.btn-icon-action--approve { color: var(--accent); }
.btn-icon-action--approve:hover { background: var(--accent); color: #0A0E13; border-color: var(--accent); }
.btn-icon-action--reject, .btn-icon-action--delete { color: var(--danger); }
.btn-icon-action--reject:hover, .btn-icon-action--delete:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

/* Admin stats — daha şık */
.admin-stat {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated)) !important;
  border-left: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.admin-stat:nth-child(2) { border-left-color: var(--secondary); }
.admin-stat:nth-child(3) { border-left-color: var(--gold); }
.admin-stat:nth-child(4) { border-left-color: var(--danger); }
.admin-stat::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-dim);
  opacity: 0.3;
}

/* ============================================================================
   PROFİL KARTI iyileştirme
   ============================================================================ */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}
.profile-card__cover {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(61, 214, 140, 0.25), rgba(91, 159, 255, 0.25)),
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(61, 214, 140, 0.05) 30px, rgba(61, 214, 140, 0.05) 60px);
  background-size: cover;
}
.profile-card__body { padding: 0 28px 24px; position: relative; }
.profile-card__avatar-wrap {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: -50px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.profile-card__avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
  background: var(--bg-deep);
  flex-shrink: 0;
  object-fit: cover;
}
.profile-card__main { flex: 1; min-width: 200px; padding-bottom: 8px; }
.profile-card__name {
  font-size: 26px;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-card__online-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.profile-card__role {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0A0E13;
}
.profile-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-deep);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.profile-badge--verified {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0A0E13;
  box-shadow: 0 2px 8px rgba(61, 214, 140, 0.4);
}
.profile-badge--seller {
  background: linear-gradient(135deg, var(--gold), #C8881E);
  color: #0A0E13;
}
.profile-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 8px;
}
.profile-card__bio {
  background: var(--bg-deep);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 12px 0;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.profile-stats__item {
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  transition: all 0.15s;
}
.profile-stats__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.profile-stats__item strong {
  display: block;
  font-size: 22px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 2px;
}
.profile-stats__item span {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.profile-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.profile-meta__item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-deep);
  border-radius: 8px;
  font-size: 13px;
}
.profile-meta__icon { font-size: 18px; opacity: 0.8; }
.profile-meta__label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.profile-meta__value { font-weight: 600; color: var(--text); }
.profile-meta__value a { color: var(--accent) !important; }

.profile-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin: 16px 0 0;
  flex-wrap: wrap;
  padding: 0;
}
.profile-tab {
  padding: 10px 18px;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
}
.profile-tab:hover { color: var(--text) !important; }
.profile-tab.is-active { color: var(--accent) !important; border-bottom-color: var(--accent); }

@media (max-width: 600px) {
  .profile-card__cover { height: 120px; }
  .profile-card__avatar { width: 80px; height: 80px; margin-top: -40px; }
  .profile-card__name { font-size: 20px; }
  .profile-stats__item strong { font-size: 18px; }
}

/* ============================================================================
   MARKETPLACE — Mağaza yeni sistem
   ============================================================================ */
.mp-hero {
  background:
    radial-gradient(circle at 20% 50%, rgba(245, 182, 66, 0.15), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(61, 214, 140, 0.1), transparent 50%),
    linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  margin-bottom: 24px;
  text-align: center;
}
.mp-hero__title { font-size: clamp(24px, 4vw, 36px); margin: 0 0 8px; font-family: var(--font-display); }
.mp-hero__sub { color: var(--text-muted); font-size: 15px; margin: 0 0 16px; }
.mp-hero__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.mp-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
.mp-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  text-decoration: none !important;
  color: var(--text);
  transition: all 0.15s;
}
.mp-cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.mp-cat-card__icon { font-size: 36px; display: block; margin-bottom: 8px; }
.mp-cat-card__title { font-size: 13px; font-weight: 700; font-family: var(--font-display); margin: 0; }
.mp-cat-card__count { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.mp-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mp-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.mp-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.mp-product-card--featured { border: 2px solid var(--gold); }
.mp-product-card__image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-surface));
  position: relative;
  overflow: hidden;
}
.mp-product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.mp-product-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; opacity: 0.3;
}
.mp-product-card__featured-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--gold);
  color: #0A0E13;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.mp-product-card__category {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.mp-product-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.mp-product-card__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.mp-product-card__title a { color: var(--text) !important; text-decoration: none !important; }
.mp-product-card__title a:hover { color: var(--accent) !important; }
.mp-product-card__desc {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.mp-product-card__seller {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
  font-size: 12px;
}
.mp-product-card__seller img { width: 22px; height: 22px; border-radius: 50%; }
.mp-product-card__seller a { color: var(--text) !important; font-weight: 600; }
.mp-product-card__verified-icon { color: var(--accent); font-size: 12px; }
.mp-product-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}
.mp-product-card__price {
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
}
.mp-product-card__rating { font-size: 12px; color: var(--gold); }

.mp-product-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
@media (max-width: 900px) { .mp-product-detail { grid-template-columns: 1fr; } }
.mp-product-gallery {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.mp-product-gallery__main {
  aspect-ratio: 16/10;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mp-product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.mp-product-gallery__thumbs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; }
.mp-product-gallery__thumb {
  width: 70px; height: 50px;
  border-radius: 6px;
  background: var(--bg-deep);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
}
.mp-product-gallery__thumb.is-active { border-color: var(--accent); }
.mp-product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.mp-product-info { background: var(--bg-card); border-radius: 14px; padding: 22px; border: 1px solid var(--border); }
.mp-product-info__title { font-size: 24px; margin: 0 0 8px; font-family: var(--font-display); }
.mp-product-info__price {
  font-size: 36px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  margin: 16px 0;
}
.mp-product-info__seller-box {
  background: var(--bg-deep);
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
  display: flex;
  gap: 12px;
  align-items: center;
}
.mp-product-info__seller-box img { width: 44px; height: 44px; border-radius: 50%; }

.mp-commission-info {
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--accent);
  margin: 10px 0;
}

/* Satıcı paneli */
.seller-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

/* ==========================================================
   MAIN CONTENT — TAM GENİŞLİK
   ========================================================== */
.main-content--full {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* ==========================================================
   🛒 MAĞAZA TANITIM BLOĞU (Index)
   ========================================================== */
.mp-promo {
  margin: 26px 0;
  padding: 0;
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.08) 0%, rgba(91, 159, 255, 0.06) 50%, rgba(245, 182, 66, 0.06) 100%);
  border: 1px solid rgba(61, 214, 140, 0.25);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.mp-promo::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(61, 214, 140, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.mp-promo__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  padding: 32px;
}
@media (max-width: 900px) {
  .mp-promo__inner { grid-template-columns: 1fr; padding: 24px; }
}
.mp-promo__badge {
  display: inline-block;
  background: var(--accent);
  color: #0A0E13;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.mp-promo__title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mp-promo__subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 18px;
  line-height: 1.55;
}
.mp-promo__features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
@media (max-width: 600px) {
  .mp-promo__features { grid-template-columns: 1fr; }
}
.mp-promo__features li {
  font-size: 13px;
  color: var(--text);
  padding: 4px 0;
}
.mp-promo__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.mp-promo__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.mp-promo__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
}
.mp-promo__stat span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mp-promo__products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mp-promo__product {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
  display: block;
  position: relative;
}
.mp-promo__product:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.mp-promo__product--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 6px 20px rgba(245, 182, 66, 0.2);
}
.mp-promo__product-star {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--gold);
  color: #0A0E13;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 2;
  letter-spacing: 0.5px;
}
.mp-promo__product-img {
  aspect-ratio: 16/10;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-promo__product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.mp-promo__product-placeholder {
  font-size: 36px;
  opacity: 0.4;
}
.mp-promo__product-info {
  padding: 10px 12px;
}
.mp-promo__product-info h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.mp-promo__product-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.mp-promo__empty {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
}
.mp-promo__empty-icon { font-size: 48px; opacity: 0.4; margin-bottom: 10px; }

/* ==========================================================
   FİYAT HESAPLAYICI (Ürün ekle/düzenle)
   ========================================================== */
.price-calculator {
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.1) 0%, rgba(61, 214, 140, 0.04) 100%);
  border: 1px solid rgba(61, 214, 140, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 8px;
}
.price-calculator__row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
}
.price-calculator__row span { color: var(--text-muted); }
.price-calculator__row strong { color: var(--text); font-weight: 600; }
.price-calculator__net {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(61, 214, 140, 0.2);
  font-size: 16px;
  font-weight: 700;
}
.price-calculator__net strong { color: var(--accent); font-size: 18px; }

/* ==========================================================
   VİTRİN PAKETLERİ (Featured)
   ========================================================== */
.featured-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.featured-package {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  position: relative;
}
.featured-package:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.featured-package input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.featured-package input[type="radio"]:checked + .featured-package__inner {
  /* styled via wrapping */
}
.featured-package--selected {
  border-color: var(--gold);
  background: rgba(245, 182, 66, 0.08);
  box-shadow: 0 0 0 1px var(--gold);
}
.featured-package__days {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}
.featured-package__label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.featured-package__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.featured-package__badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background: var(--gold);
  color: #0A0E13;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 800;
}

/* ==========================================================
   BAKİYE KARTI
   ========================================================== */
.balance-card {
  background: linear-gradient(135deg, var(--accent) 0%, #2BA86B 100%);
  color: #0A0E13;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.balance-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}
.balance-card__amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin: 4px 0;
}
.balance-card__actions a {
  background: rgba(0,0,0,0.2);
  color: #0A0E13;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.balance-card__actions a:hover { background: rgba(0,0,0,0.35); }

/* Btn varyantı: gold */
.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #E0A435 100%);
  color: #0A0E13;
  border: none;
}
.btn--gold:hover {
  background: linear-gradient(135deg, #E0A435 0%, var(--gold) 100%);
  color: #0A0E13;
}

/* Mağaza vitrin bölümü */
.mp-featured-section {
  margin: 26px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(245, 182, 66, 0.06) 0%, rgba(245, 182, 66, 0.02) 100%);
  border: 1px solid rgba(245, 182, 66, 0.25);
  border-radius: 16px;
}
.mp-featured-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.mp-featured-section__title {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0;
  color: var(--gold);
}
.mp-featured-section__badge {
  background: var(--gold);
  color: #0A0E13;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

/* Hero versiyonu — daha büyük ve etkileyici */
.mp-promo--hero {
  margin: 16px 0 26px;
  background: 
    radial-gradient(ellipse at top right, rgba(245, 182, 66, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(91, 159, 255, 0.10) 0%, transparent 50%),
    linear-gradient(135deg, rgba(61, 214, 140, 0.10) 0%, rgba(91, 159, 255, 0.08) 50%, rgba(245, 182, 66, 0.08) 100%);
  border: 1px solid rgba(61, 214, 140, 0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.mp-promo--hero .mp-promo__inner { padding: 40px; }
.mp-promo--hero .mp-promo__title { font-size: 46px; line-height: 1.05; }
.mp-promo--hero .mp-promo__subtitle { font-size: 16px; }
.mp-promo--hero .mp-promo__stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .mp-promo--hero .mp-promo__inner { padding: 24px; }
  .mp-promo--hero .mp-promo__title { font-size: 32px; }
  .mp-promo--hero .mp-promo__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   ÜYELER SAYFASI — YENİLENMİŞ
   ========================================================== */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.members-grid .member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 14px 14px;
  text-align: center;
  transition: all 0.25s;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.members-grid .member-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.member-card__avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}
.members-grid .member-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  border: 2px solid var(--border);
}
.member-card__online {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3DD68C;
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 2px rgba(61, 214, 140, 0.4);
}
.member-card__verified {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 14px;
  background: var(--bg-card);
  border-radius: 50%;
  padding: 2px;
  line-height: 1;
}
.members-grid .member-card__name {
  font-size: 14px !important;
  margin: 4px 0 4px;
  color: var(--text);
}
.member-card__bio {
  font-size: 11px;
  color: var(--text-muted);
  margin: 4px 0 8px;
  min-height: 28px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.members-grid .member-card__stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin: 6px 0 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
  width: 100%;
}
.members-grid .member-card__joined {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 6px;
}

/* ==========================================================
   ADMIN DASHBOARD — YENİ TASARIM
   ========================================================== */

/* Welcome header */
.dash-welcome {
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.08) 0%, rgba(91, 159, 255, 0.06) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.dash-welcome__title {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}
.dash-welcome__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.dash-welcome__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 4-stat grid */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.dash-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.dash-stat:hover { transform: translateY(-2px); }
.dash-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, currentColor 0%, transparent 50%);
  opacity: 0.06;
  pointer-events: none;
}
.dash-stat--accent { color: var(--accent); border-color: rgba(61, 214, 140, 0.3); }
.dash-stat--blue { color: var(--secondary); border-color: rgba(91, 159, 255, 0.3); }
.dash-stat--gold { color: var(--gold); border-color: rgba(245, 182, 66, 0.3); }
.dash-stat--purple { color: #9D4EDD; border-color: rgba(157, 78, 221, 0.3); }
.dash-stat__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: currentColor;
  opacity: 0.15;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  position: relative;
}
.dash-stat__icon::after {
  content: attr(data-emoji);
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 6;
}
/* Emoji direkt görünsün */
.dash-stat__icon { color: inherit; }
.dash-stat__body { flex: 1; min-width: 0; }
.dash-stat__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  font-weight: 700;
}
.dash-stat__value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin: 4px 0;
}
.dash-stat__trend {
  font-size: 12px;
  color: currentColor;
  font-weight: 600;
}

/* Icon arka plan + iç emoji düzeltme */
.dash-stat__icon {
  background: rgba(255,255,255,0.08);
  color: currentColor !important;
  opacity: 1;
}
.dash-stat--accent .dash-stat__icon { background: rgba(61, 214, 140, 0.15); }
.dash-stat--blue   .dash-stat__icon { background: rgba(91, 159, 255, 0.15); }
.dash-stat--gold   .dash-stat__icon { background: rgba(245, 182, 66, 0.15); }
.dash-stat--purple .dash-stat__icon { background: rgba(157, 78, 221, 0.15); }

/* ALERTS */
.dash-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.dash-alert {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  transition: transform 0.2s, border-color 0.2s;
}
.dash-alert:hover { transform: translateY(-2px); }
.dash-alert--warning { border-color: rgba(245, 182, 66, 0.4); background: rgba(245, 182, 66, 0.06); }
.dash-alert--danger { border-color: rgba(239, 71, 111, 0.4); background: rgba(239, 71, 111, 0.06); }
.dash-alert--info { border-color: rgba(91, 159, 255, 0.4); background: rgba(91, 159, 255, 0.06); }
.dash-alert--gold { border-color: rgba(245, 182, 66, 0.4); background: rgba(245, 182, 66, 0.06); }
.dash-alert__icon { font-size: 22px; }
.dash-alert strong { font-size: 18px; color: var(--text); }

/* Card wrapper */
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.dash-card--mp {
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.04) 0%, transparent 100%);
}
.dash-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.dash-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}
.dash-card__link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.dash-card__link:hover { text-decoration: underline; }
.dash-card__legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
}
.legend-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 5px;
}
.legend-dot--accent { background: var(--accent); }
.legend-dot--blue { background: var(--secondary); }
.legend-dot--gold { background: var(--gold); }

/* MP Grid */
.dash-mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.dash-mp-stat {
  background: var(--bg-deep);
  border-radius: 10px;
  padding: 14px;
  border-left: 3px solid var(--border);
}
.dash-mp-stat--accent { border-left-color: var(--accent); }
.dash-mp-stat--warning { border-left-color: var(--gold); background: rgba(245, 182, 66, 0.05); }
.dash-mp-stat__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 700;
}
.dash-mp-stat__value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.dash-mp-stat--accent .dash-mp-stat__value { color: var(--accent); }

/* Chart */
.dash-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  align-items: flex-end;
  height: 240px;
  padding: 14px 0;
}
.dash-chart__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.dash-chart__bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 100%;
  width: 100%;
  justify-content: center;
}
.dash-chart__bar {
  flex: 1;
  max-width: 22px;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: opacity 0.2s;
  cursor: help;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.dash-chart__bar:hover { opacity: 0.85; }
.dash-chart__bar span {
  position: absolute;
  top: -16px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}
.dash-chart__bar--accent { background: linear-gradient(180deg, var(--accent) 0%, #2BA86B 100%); }
.dash-chart__bar--blue { background: linear-gradient(180deg, var(--secondary) 0%, #3A7FD8 100%); }
.dash-chart__bar--gold { background: linear-gradient(180deg, var(--gold) 0%, #D49A2C 100%); }
.dash-chart__label {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}
.dash-chart__label strong { display: block; color: var(--text); font-size: 12px; }

/* İkili row */
.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 900px) { .dash-row { grid-template-columns: 1fr; } }

/* List */
.dash-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}
.dash-list__item:hover { background: var(--bg-deep); }
.dash-list__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.dash-list__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.dash-list__main {
  flex: 1;
  min-width: 0;
}
.dash-list__main strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-list__main small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.dash-list__meta {
  text-align: right;
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.dash-list__meta small { display: block; margin-top: 2px; }
.dash-list__empty {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ==========================================================
   BLOG SAYFASI
   ========================================================== */
.blog-hero {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 24px; margin: 14px 0 22px;
  background: linear-gradient(135deg, rgba(91, 159, 255, 0.08), rgba(61, 214, 140, 0.06));
  border: 1px solid var(--border); border-radius: 14px;
  flex-wrap: wrap;
}
.blog-hero__title { margin: 0 0 6px; font-family: var(--font-display); font-size: 28px; }
.blog-hero__subtitle { margin: 0; color: var(--text-muted); font-size: 14px; }

.blog-filters {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 22px; flex-wrap: wrap;
}
.blog-search { display: flex; gap: 6px; flex: 1; min-width: 220px; }
.blog-search .form-control { flex: 1; }
.blog-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.blog-cat {
  padding: 6px 14px; border-radius: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 13px; color: var(--text); text-decoration: none;
  transition: all 0.2s;
}
.blog-cat:hover { border-color: var(--accent); }
.blog-cat.is-active { background: var(--accent); color: #0A0E13; border-color: var(--accent); font-weight: 600; }

.blog-featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
  min-height: 400px;
}
.blog-feature-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  text-decoration: none; color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
}
.blog-feature-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.blog-feature-card--big { grid-row: span 2; }
.blog-feature-card__img {
  background-size: cover; background-position: center;
  min-height: 140px; flex-shrink: 0;
}
.blog-feature-card--big .blog-feature-card__img { min-height: 260px; }
.blog-feature-card__img--placeholder {
  background: var(--bg-deep); display: flex; align-items: center;
  justify-content: center; font-size: 48px; color: var(--text-dim);
}
.blog-feature-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-feature-card__cat {
  display: inline-block; align-self: flex-start;
  padding: 3px 10px; border-radius: 12px; color: #0A0E13;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.blog-feature-card--big .blog-feature-card__title { font-size: 22px; }
.blog-feature-card__title { margin: 0; font-family: var(--font-display); font-size: 16px; line-height: 1.3; }
.blog-feature-card__excerpt { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin: 0; }
.blog-feature-card__meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-dim); margin-top: auto;
}
.blog-feature-card__meta img { width: 22px; height: 22px; border-radius: 50%; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin: 22px 0;
}
.blog-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  text-decoration: none; color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
}
.blog-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.blog-card__img { min-height: 150px; background-size: cover; background-position: center; }
.blog-card__img--placeholder { background: var(--bg-deep); display: flex; align-items: center; justify-content: center; font-size: 36px; color: var(--text-dim); }
.blog-card__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.blog-card__cat {
  display: inline-block; align-self: flex-start;
  padding: 2px 8px; border-radius: 10px; color: #0A0E13;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
}
.blog-card__title { margin: 0; font-family: var(--font-display); font-size: 15px; line-height: 1.3; }
.blog-card__excerpt { color: var(--text-muted); font-size: 12px; line-height: 1.5; margin: 0; }
.blog-card__meta {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-dim); margin-top: auto;
}
.blog-card__meta img { width: 18px; height: 18px; border-radius: 50%; }

/* Blog yazı detay */
.blog-article {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; margin: 20px 0;
}
.blog-article__cover { height: 320px; background-size: cover; background-position: center; }
.blog-article__head { padding: 26px 28px 18px; border-bottom: 1px solid var(--border); }
.blog-article__cat {
  display: inline-block; padding: 4px 12px; border-radius: 14px;
  color: #0A0E13; font-size: 11px; font-weight: 700;
  text-transform: uppercase; text-decoration: none; margin-bottom: 12px;
}
.blog-article__title {
  margin: 0 0 10px; font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px); line-height: 1.2;
}
.blog-article__excerpt {
  margin: 0 0 16px; font-size: 16px; color: var(--text-muted);
  line-height: 1.6;
}
.blog-article__meta {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.blog-article__author {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.blog-article__author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.blog-article__author small { color: var(--text-muted); font-size: 11px; }
.blog-article__meta-info {
  display: flex; gap: 12px; font-size: 13px; color: var(--text-muted);
}
.blog-article__body {
  padding: 28px; font-size: 15px; line-height: 1.7;
}
.blog-article__body h2 { font-family: var(--font-display); margin: 26px 0 12px; font-size: 22px; }
.blog-article__body h3 { font-family: var(--font-display); margin: 20px 0 10px; font-size: 18px; }
.blog-article__body p { margin: 0 0 14px; }
.blog-article__body img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; }
.blog-article__body iframe { max-width: 100%; border-radius: 10px; }
.blog-article__body blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 14px; margin: 14px 0;
  background: var(--bg-deep); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--text-muted);
}
.blog-article__body code {
  background: var(--bg-deep); padding: 2px 6px;
  border-radius: 4px; font-family: monospace; font-size: 0.9em;
}
.blog-article__body pre {
  background: var(--bg-deep); padding: 14px;
  border-radius: 10px; overflow-x: auto;
}
.blog-article__body pre code { background: 0; padding: 0; }
.blog-article__body ul, .blog-article__body ol { padding-left: 22px; margin: 0 0 14px; }
.blog-article__body li { margin: 4px 0; }
.blog-article__tags,
.blog-article__share {
  padding: 14px 28px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.blog-tag {
  display: inline-block; padding: 4px 10px;
  background: var(--bg-deep); border-radius: 10px;
  font-size: 12px; color: var(--text-muted);
}

@media (max-width: 700px) {
  .blog-featured { grid-template-columns: 1fr; grid-template-rows: auto; }
  .blog-feature-card--big { grid-row: auto; }
}

/* ==========================================================
   WYSIWYG EDİTÖR
   ========================================================== */
.editor-toolbar {
  display: flex; gap: 4px; flex-wrap: wrap;
  padding: 10px 12px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
}
.editor-btn {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); padding: 6px 10px; border-radius: 6px;
  font-size: 13px; cursor: pointer; transition: all 0.15s;
  min-width: 32px;
}
.editor-btn:hover { background: var(--accent); color: #0A0E13; border-color: var(--accent); }
.editor-sep { width: 1px; background: var(--border); margin: 4px 4px; }
.editor-content {
  min-height: 350px; padding: 18px 20px;
  font-size: 15px; line-height: 1.6;
  outline: none; color: var(--text);
}
.editor-content:empty::before {
  content: attr(data-placeholder);
  color: var(--text-dim); pointer-events: none;
}
.editor-content h2 { font-family: var(--font-display); margin: 20px 0 10px; font-size: 22px; }
.editor-content h3 { font-family: var(--font-display); margin: 16px 0 8px; font-size: 18px; }
.editor-content p { margin: 0 0 10px; }
.editor-content blockquote { border-left: 3px solid var(--accent); padding-left: 14px; margin: 10px 0; font-style: italic; color: var(--text-muted); }
.editor-content img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.editor-content ul, .editor-content ol { padding-left: 22px; }
.editor-content a { color: var(--accent); }

.blog-editor-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
}
@media (max-width: 900px) {
  .blog-editor-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   XP & LEVEL & ACHIEVEMENTS (Profil)
   ========================================================== */
.xp-card {
  background: linear-gradient(135deg, rgba(245, 182, 66, 0.12), rgba(61, 214, 140, 0.08));
  border: 1px solid rgba(245, 182, 66, 0.3);
  border-radius: 14px; padding: 18px 20px; margin: 18px 0;
}
.xp-card__head {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 12px;
}
.xp-card__level { display: flex; flex-direction: column; gap: 4px; }
.xp-card__level-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 28px; color: var(--gold);
  line-height: 1;
}
.xp-card__level-label {
  font-size: 13px; color: var(--text-muted); font-weight: 600;
}
.xp-card__xp { text-align: right; }
.xp-card__xp strong { font-family: var(--font-display); font-size: 22px; color: var(--accent); display: block; }
.xp-card__xp small { font-size: 11px; color: var(--text-muted); text-transform: uppercase; }

.xp-bar {
  background: var(--bg-deep);
  height: 22px;
  border-radius: 11px;
  overflow: hidden;
  position: relative;
}
.xp-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 0.4s;
  border-radius: 11px;
}
.xp-bar__text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--text);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.achievements-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px; margin: 18px 0;
}
.achievements-card__head {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 14px;
}
.achievements-card__count {
  background: var(--accent); color: #0A0E13;
  padding: 4px 12px; border-radius: 14px;
  font-weight: 700; font-size: 13px;
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.achievement {
  background: var(--bg-deep); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 10px;
  text-align: center; transition: transform 0.2s;
  position: relative;
}
.achievement:hover { transform: translateY(-2px); }
.achievement--unlocked { border-color: var(--accent); background: linear-gradient(135deg, rgba(61, 214, 140, 0.15), var(--bg-deep)); }
.achievement--locked { opacity: 0.55; filter: grayscale(60%); }
.achievement__icon { font-size: 32px; margin-bottom: 6px; }
.achievement__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; margin-bottom: 4px;
}
.achievement__desc { font-size: 10px; color: var(--text-muted); margin-bottom: 6px; line-height: 1.3; }
.achievement__progress {
  height: 4px; background: var(--bg-card); border-radius: 2px; overflow: hidden;
  margin-top: 4px;
}
.achievement__progress-fill { height: 100%; background: var(--accent); transition: width 0.3s; }
.achievement__badge {
  background: var(--accent); color: #0A0E13;
  padding: 2px 6px; border-radius: 8px;
  font-size: 9px; font-weight: 800; text-transform: uppercase;
  display: inline-block; margin-top: 4px;
}

.xp-history-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px; margin: 18px 0;
}
.xp-history { list-style: none; padding: 0; margin: 0; }
.xp-history li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
}
.xp-history li:last-child { border: 0; }
.xp-history small { color: var(--text-dim); font-size: 11px; }

/* ==========================================================
   DUYURU SİDEBAR KARTLARI (Index)
   ========================================================== */
.ann-stack {
  display: flex; flex-direction: column; gap: 10px;
  margin: 14px 0 22px;
}
.ann-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.ann-card--info, .ann-card--primary { border-left: 4px solid var(--secondary); background: rgba(91, 159, 255, 0.05); }
.ann-card--success { border-left: 4px solid var(--accent); background: rgba(61, 214, 140, 0.05); }
.ann-card--warning { border-left: 4px solid var(--gold); background: rgba(245, 182, 66, 0.05); }
.ann-card--danger { border-left: 4px solid var(--danger); background: rgba(239, 71, 111, 0.05); }
.ann-card__icon { font-size: 26px; flex-shrink: 0; }
.ann-card__body { flex: 1; }
.ann-card__title { display: block; font-family: var(--font-display); margin: 0 0 4px; font-size: 15px; }
.ann-card__text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================
   LİDERLİK — YENİ TASARIM
   ========================================================== */
.leaderboard-hero {
  background: linear-gradient(135deg, rgba(245, 182, 66, 0.15), rgba(255, 165, 0, 0.08));
  border: 1px solid rgba(245, 182, 66, 0.4);
  border-radius: 16px; padding: 24px 28px; margin: 14px 0 22px;
}
.leaderboard-hero__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.leaderboard-hero__title {
  font-family: var(--font-display); font-size: 30px; margin: 0 0 6px;
  background: linear-gradient(90deg, var(--gold), #FFA500);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.leaderboard-hero__subtitle { margin: 0; color: var(--text-muted); font-size: 14px; }
.leaderboard-hero__reward {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: rgba(245, 182, 66, 0.12);
  border: 1px solid rgba(245, 182, 66, 0.3);
  border-radius: 12px; max-width: 480px;
}
.leaderboard-hero__reward-emoji { font-size: 38px; }
.leaderboard-hero__reward strong { display: block; font-size: 15px; color: var(--gold); margin-bottom: 4px; }
.leaderboard-hero__reward small { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.month-champion {
  background: linear-gradient(135deg, #1a1410 0%, #2a1f15 100%);
  border: 2px solid var(--gold);
  border-radius: 14px; padding: 18px 22px; margin-bottom: 22px;
  position: relative; overflow: hidden;
}
.month-champion::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(245, 182, 66, 0.15), transparent 60%);
  pointer-events: none;
}
.month-champion__inner {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; position: relative;
}
.month-champion__crown { font-size: 48px; }
.month-champion__user {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--text);
  flex: 1; min-width: 220px;
}
.month-champion__user img {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--gold);
}
.month-champion__label {
  display: block; font-size: 11px; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.6px;
  font-weight: 800;
}
.month-champion__name {
  display: block; font-family: var(--font-display);
  font-size: 22px; margin: 2px 0;
}
.month-champion__stats { display: block; font-size: 12px; color: var(--text-muted); }
.month-champion__prize {
  text-align: center; padding: 10px 18px;
  background: rgba(245, 182, 66, 0.18);
  border-radius: 10px; min-width: 100px;
}
.month-champion__prize strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--gold); }
.month-champion__prize small { display: block; font-size: 11px; color: var(--text-muted); }

.leaderboards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.leaderboard { padding: 0 !important; overflow: hidden; }
.leaderboard__head {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-deep);
}
.leaderboard__head--gold { background: linear-gradient(90deg, rgba(245, 182, 66, 0.2), transparent); border-bottom-color: rgba(245, 182, 66, 0.3); }
.leaderboard__head--accent { background: linear-gradient(90deg, rgba(61, 214, 140, 0.2), transparent); border-bottom-color: rgba(61, 214, 140, 0.3); }
.leaderboard__head--blue { background: linear-gradient(90deg, rgba(91, 159, 255, 0.2), transparent); border-bottom-color: rgba(91, 159, 255, 0.3); }
.leaderboard__head--purple { background: linear-gradient(90deg, rgba(157, 78, 221, 0.2), transparent); border-bottom-color: rgba(157, 78, 221, 0.3); }
.leaderboard__title { margin: 0; font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.leaderboard__head small { color: var(--text-muted); font-size: 11px; text-transform: uppercase; }
.leaderboard__list { list-style: none; padding: 0; margin: 0; }
.leaderboard__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--border-soft);
  transition: background 0.15s;
}
.leaderboard__item:hover { background: var(--bg-deep); }
.leaderboard__item:last-child { border: 0; }
.leaderboard__item--rank-1 { background: linear-gradient(90deg, rgba(245, 182, 66, 0.12), transparent); }
.leaderboard__item--rank-2 { background: linear-gradient(90deg, rgba(192, 192, 192, 0.10), transparent); }
.leaderboard__item--rank-3 { background: linear-gradient(90deg, rgba(205, 127, 50, 0.10), transparent); }
.leaderboard__rank {
  font-family: var(--font-display); font-weight: 800;
  font-size: 16px; min-width: 30px; text-align: center;
  color: var(--text-muted);
}
.leaderboard__item--rank-1 .leaderboard__rank,
.leaderboard__item--rank-2 .leaderboard__rank,
.leaderboard__item--rank-3 .leaderboard__rank { font-size: 22px; }
.leaderboard__user {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); flex: 1; min-width: 0;
}
.leaderboard__user img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.leaderboard__user span { display: flex; flex-direction: column; min-width: 0; }
.leaderboard__user strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leaderboard__user small { font-size: 10px; color: var(--text-muted); }
.leaderboard__value {
  font-family: var(--font-display); font-weight: 700;
  text-align: right; font-size: 14px;
}
.leaderboard__value small { color: var(--text-muted); font-size: 10px; font-weight: 400; }

/* ==========================================================
   SHOP PACKAGE (Reklam-Başvur — VIP/Premium kart)
   ========================================================== */
.shop-package-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 18px;
}
.shop-package {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.shop-package:hover { transform: translateY(-3px); border-color: var(--accent); }
.shop-package--featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(245, 182, 66, 0.08), var(--bg-card));
}
.shop-package__badge {
  position: absolute; top: -10px; right: 14px;
  background: var(--gold); color: #0A0E13;
  padding: 4px 12px; border-radius: 12px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
}
.shop-package__head { text-align: center; }
.shop-package__icon { font-size: 40px; margin-bottom: 6px; }
.shop-package__name { margin: 0 0 4px; font-family: var(--font-display); font-size: 18px; }
.shop-package__type {
  display: inline-block; padding: 2px 8px;
  background: var(--bg-deep); border-radius: 8px;
  font-size: 10px; color: var(--text-muted); text-transform: uppercase;
}
.shop-package__price {
  text-align: center; font-family: var(--font-display);
  font-size: 26px; color: var(--accent); font-weight: 800;
  padding: 8px 0; border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.shop-package__price span { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; }
.shop-package__desc { font-size: 12px; color: var(--text-muted); margin: 0; min-height: 30px; }
.shop-package__features {
  list-style: none; padding: 0; margin: 0;
  font-size: 12px; color: var(--text-muted);
}
.shop-package__features li { padding: 3px 0; border-bottom: 1px dashed var(--border-soft); }
.shop-package__features li:last-child { border: 0; }

/* Balance card (editör) */
.balance-card {
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.15), rgba(91, 159, 255, 0.08));
  border: 1px solid rgba(61, 214, 140, 0.3);
  border-radius: 14px; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  margin: 16px 0; flex-wrap: wrap; gap: 12px;
}
.balance-card__label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.balance-card__amount {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  color: var(--accent); margin: 4px 0;
}
.balance-card__actions a { color: var(--accent); text-decoration: none; font-weight: 600; }

/* Editör CTA bandı (index üstü) */
.editor-cta {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(90deg, rgba(245, 182, 66, 0.12), rgba(61, 214, 140, 0.06));
  border: 1px solid rgba(245, 182, 66, 0.3);
  border-radius: 12px; padding: 14px 18px;
  margin: 14px 0 20px;
  flex-wrap: wrap;
}
.editor-cta__icon { font-size: 32px; }
.editor-cta__body { flex: 1; min-width: 220px; }
.editor-cta__title {
  display: block; font-family: var(--font-display);
  font-size: 15px; color: var(--gold); margin-bottom: 2px;
}
.editor-cta__text { font-size: 13px; color: var(--text-muted); }

/* ==========================================================
   SUNUCU LİSTESİ + OYLAMA
   ========================================================== */
.server-hero {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 22px 24px; margin: 14px 0 22px;
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.10), rgba(91, 159, 255, 0.06));
  border: 1px solid var(--border); border-radius: 14px;
  flex-wrap: wrap;
}
.server-hero__title { margin: 0 0 4px; font-family: var(--font-display); font-size: 26px; }
.server-hero__subtitle { margin: 0; color: var(--text-muted); font-size: 13px; }
.server-hero__prizes {
  padding: 12px 16px;
  background: rgba(245, 182, 66, 0.10);
  border: 1px solid rgba(245, 182, 66, 0.3);
  border-radius: 12px;
  flex: 0 1 360px;
}
.server-hero__prizes > strong {
  display: block; font-size: 13px; color: var(--gold); margin-bottom: 6px;
}
.server-hero__prize-list {
  display: flex; gap: 16px; flex-wrap: wrap; margin: 6px 0;
  font-size: 13px;
}
.server-hero__prizes small { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }

/* Podium */
.podium { margin-bottom: 24px; }
.podium__title { font-family: var(--font-display); margin: 0 0 14px; font-size: 18px; }
.podium__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .podium__grid { grid-template-columns: 1fr; } }
.podium__item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px; text-align: center;
  position: relative;
}
.podium__item--1 { border-color: var(--gold); background: linear-gradient(135deg, rgba(245, 182, 66, 0.10), var(--bg-card)); }
.podium__item--2 { border-color: rgba(192, 192, 192, 0.5); background: linear-gradient(135deg, rgba(192, 192, 192, 0.08), var(--bg-card)); }
.podium__item--3 { border-color: rgba(205, 127, 50, 0.5); background: linear-gradient(135deg, rgba(205, 127, 50, 0.08), var(--bg-card)); }
.podium__medal { font-size: 36px; margin-bottom: 6px; }
.podium__rank { font-family: var(--font-display); font-size: 22px; color: var(--text-muted); margin-bottom: 6px; }
.podium__logo { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; margin: 0 auto 8px; display: block; }
.podium__name { display: block; font-size: 15px; font-family: var(--font-display); }
.podium__ip { display: block; font-size: 11px; color: var(--text-muted); margin: 4px 0; font-family: monospace; }
.podium__votes {
  display: inline-block;
  background: var(--accent); color: #0A0E13;
  padding: 4px 12px; border-radius: 10px;
  font-weight: 700; font-size: 13px; margin: 8px 0;
}
.podium__prize { font-size: 11px; color: var(--text-muted); }
.podium__prize strong { color: var(--gold); }

/* Server list (büyük kart) */
.server-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.server-card {
  display: grid;
  grid-template-columns: 50px 72px 1fr auto;
  gap: 14px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.server-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.server-card--sponsored { border-color: var(--gold); background: linear-gradient(90deg, rgba(245, 182, 66, 0.05), var(--bg-card)); }
.server-card__rank {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--text-muted); text-align: center;
}
.server-card__logo {
  width: 72px; height: 72px; border-radius: 12px; object-fit: cover;
}
.server-card__logo--placeholder {
  background: var(--bg-deep); display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--text-dim);
}
.server-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.server-card__name { font-family: var(--font-display); margin: 0; font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.server-card__sponsor-badge {
  background: var(--gold); color: #0A0E13;
  padding: 2px 8px; border-radius: 8px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.5px;
}
.server-card__type {
  display: inline-block; padding: 3px 10px; border-radius: 10px;
  color: #0A0E13; font-size: 10px; font-weight: 700; text-transform: uppercase;
}
.server-card__ip {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0;
}
.server-card__ip code {
  background: var(--bg-deep); padding: 4px 10px; border-radius: 6px;
  font-family: monospace; font-size: 13px; color: var(--accent);
}
.server-card__copy {
  background: none; border: 1px solid var(--border); color: var(--text-muted);
  padding: 2px 6px; border-radius: 4px; cursor: pointer; font-size: 12px;
}
.server-card__copy:hover { background: var(--accent); color: #0A0E13; }
.server-card__version { font-size: 11px; color: var(--text-muted); padding: 2px 8px; background: var(--bg-deep); border-radius: 6px; }
.server-card__desc { color: var(--text-muted); font-size: 13px; margin: 6px 0; }
.server-card__meta {
  display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px;
  color: var(--text-muted);
}
.server-card__meta a { color: var(--secondary); text-decoration: none; }
.server-card__meta a:hover { text-decoration: underline; }
.server-card__votes {
  text-align: center; min-width: 100px;
  padding: 8px 12px;
  background: var(--bg-deep); border-radius: 10px;
}
.server-card__vote-count strong {
  display: block; font-family: var(--font-display);
  font-size: 22px; color: var(--accent); font-weight: 800;
}
.server-card__vote-count small {
  display: block; font-size: 10px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.4px;
}
.server-card__votes form { margin-top: 8px; }

@media (max-width: 700px) {
  .server-card {
    grid-template-columns: 50px 60px 1fr;
    grid-template-areas: "rank logo main" ". votes votes";
  }
  .server-card__rank { grid-area: rank; }
  .server-card__logo { grid-area: logo; width: 60px; height: 60px; }
  .server-card__main { grid-area: main; }
  .server-card__votes { grid-area: votes; margin-top: 10px; }
}

/* Mini sunucu kart (index'te) */
.server-grid-mini {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.server-mini {
  display: grid;
  grid-template-columns: 40px 52px 1fr auto;
  gap: 10px; align-items: center;
  padding: 12px 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px;
  text-decoration: none; color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.server-mini:hover { border-color: var(--accent); transform: translateY(-2px); }
.server-mini__rank { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--text-muted); text-align: center; }
.server-mini__logo { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.server-mini__logo--placeholder { background: var(--bg-deep); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.server-mini__body { min-width: 0; }
.server-mini__name { display: block; font-size: 13px; font-family: var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.server-mini__ip { display: block; font-size: 10px; color: var(--text-muted); font-family: monospace; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.server-mini__type {
  display: inline-block; padding: 1px 6px; border-radius: 6px;
  color: #0A0E13; font-size: 8px; font-weight: 700; text-transform: uppercase;
}
.server-mini__votes { text-align: center; }
.server-mini__votes strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--accent); }
.server-mini__votes small { font-size: 9px; color: var(--text-muted); text-transform: uppercase; }

.btn--success {
  background: var(--accent);
  color: #0A0E13;
  font-weight: 700;
  border: 0;
}
.btn--success:hover { background: #2BA86B; }

/* ==========================================================
   ARKADAŞ SİSTEMİ
   ========================================================== */
.friend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.friend-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 12px;
  text-align: center;
}
.friend-card__avatar {
  width: 70px; height: 70px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 8px; display: block;
}
.friend-card__online {
  position: absolute; bottom: 6px; right: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #3DD68C; border: 2px solid var(--bg-card);
}
.friend-card__name { margin: 4px 0 2px; font-size: 14px; font-family: var(--font-display); }
.friend-card__actions {
  display: flex; gap: 4px; margin-top: 10px;
  justify-content: center;
}
.friend-card__actions .btn { font-size: 11px; padding: 4px 8px; }

.friend-list { display: flex; flex-direction: column; gap: 8px; }
.friend-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px;
}
.friend-row__avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
}
.friend-row__body { flex: 1; min-width: 0; }
.friend-row__body strong { display: block; font-size: 14px; }

/* ==========================================================
   SOHBET
   ========================================================== */
.chat-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  height: 70vh;
  min-height: 500px;
  margin: 14px 0;
}
@media (max-width: 800px) {
  .chat-layout { grid-template-columns: 1fr; height: auto; }
  .chat-sidebar { max-height: 240px; }
}

.chat-sidebar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; display: flex; flex-direction: column;
  overflow: hidden;
}
.chat-sidebar__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.chat-conversations {
  flex: 1; overflow-y: auto;
}
.chat-conv-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; text-decoration: none;
  color: var(--text); border-bottom: 1px solid var(--border-soft);
  transition: background 0.15s;
}
.chat-conv-item:hover { background: var(--bg-deep); }
.chat-conv-item.is-active { background: rgba(61, 214, 140, 0.10); border-left: 3px solid var(--accent); padding-left: 11px; }
.chat-conv-item__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat-conv-item__body { flex: 1; min-width: 0; }
.chat-conv-item__body strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-conv-item__body small { display: block; font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-conv-item__badge {
  background: var(--accent); color: #0A0E13;
  border-radius: 10px; padding: 2px 7px;
  font-size: 11px; font-weight: 700;
}

.chat-main {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; display: flex; flex-direction: column;
  overflow: hidden;
}
.chat-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 40px;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--border);
}
.chat-header__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.chat-msg {
  display: flex; gap: 8px; max-width: 75%;
  align-items: flex-end;
}
.chat-msg--mine { margin-left: auto; flex-direction: row-reverse; }
.chat-msg__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chat-msg__bubble {
  background: var(--bg-deep); padding: 8px 12px;
  border-radius: 14px; font-size: 14px;
  position: relative; word-wrap: break-word;
}
.chat-msg--mine .chat-msg__bubble {
  background: var(--accent); color: #0A0E13;
}
.chat-msg__time {
  display: block; font-size: 10px; opacity: 0.6;
  margin-top: 2px;
}

.chat-form {
  display: flex; gap: 8px;
  padding: 12px; border-top: 1px solid var(--border);
}
.chat-form textarea {
  flex: 1; background: var(--bg-deep);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); padding: 10px 14px;
  font-family: inherit; resize: none;
}
.chat-form textarea:focus { outline: none; border-color: var(--accent); }
.chat-form button { padding: 0 18px; font-size: 18px; }

/* ==========================================================
   SEPET
   ========================================================== */
.cart-grid {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 18px;
}
@media (max-width: 800px) { .cart-grid { grid-template-columns: 1fr; } }

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px; align-items: center;
  padding: 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 10px;
}
.cart-item__img {
  width: 80px; height: 80px; border-radius: 10px; object-fit: cover;
}
.cart-item__img--placeholder {
  background: var(--bg-deep); display: flex;
  align-items: center; justify-content: center;
  font-size: 30px; color: var(--text-dim);
}
.cart-item__title {
  display: block; color: var(--text);
  font-family: var(--font-display); font-size: 15px;
  text-decoration: none;
}
.cart-item__title:hover { color: var(--accent); }
.cart-item__price {
  display: block; font-family: var(--font-display);
  font-size: 18px; color: var(--accent); margin-top: 6px;
}
.cart-item__actions {
  display: flex; flex-direction: column; gap: 6px;
}

.cart-summary {
  position: sticky; top: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
  align-self: start;
}
.cart-summary__row {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border-soft);
}
.cart-summary__row:last-child { border: 0; }
.cart-summary__total {
  font-size: 22px; color: var(--accent);
  font-family: var(--font-display);
}

/* ==========================================================
   ÜRÜN KARTI (favorilerim için)
   ========================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.product-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.product-card__img {
  width: 100%; height: 160px; object-fit: cover; display: block;
}
.product-card__img--placeholder {
  background: var(--bg-deep); display: flex;
  align-items: center; justify-content: center;
  font-size: 40px; color: var(--text-dim);
}
.product-card__body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.product-card__title {
  display: block; color: var(--text);
  font-family: var(--font-display); font-size: 14px;
  text-decoration: none; margin-bottom: 4px;
  line-height: 1.3;
}
.product-card__price {
  display: block; font-family: var(--font-display);
  font-size: 18px; color: var(--accent);
  margin: 6px 0; font-weight: 800;
}

/* ==========================================================
   GÖREV SİSTEMİ
   ========================================================== */
.mission-hero {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; padding: 24px; margin: 14px 0 22px;
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.10), rgba(91, 159, 255, 0.06));
  border: 1px solid rgba(61, 214, 140, 0.3); border-radius: 14px;
  flex-wrap: wrap;
}
.mission-hero__title { margin: 0; font-family: var(--font-display); font-size: 28px; }
.mission-hero__subtitle { margin: 6px 0 0; color: var(--text-muted); font-size: 14px; }
.mission-hero__stats {
  display: flex; gap: 16px;
}
.mission-hero__stats > div { text-align: center; min-width: 80px; }
.mission-hero__stats strong { display: block; font-family: var(--font-display); font-size: 24px; color: var(--accent); }
.mission-hero__stats small { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.mission-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.mission-card--ready {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.08), var(--bg-card));
  animation: missionPulse 2s ease-in-out infinite;
}
@keyframes missionPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(61, 214, 140, 0); }
}
.mission-card--claimed {
  opacity: 0.6;
  border-color: var(--accent);
}
.mission-card__head {
  display: flex; align-items: center; gap: 10px;
}
.mission-card__icon { font-size: 32px; }
.mission-card__name { margin: 0; font-family: var(--font-display); font-size: 15px; }
.mission-card__period { color: var(--text-muted); font-size: 10px; text-transform: uppercase; }
.mission-card__desc {
  margin: 0; color: var(--text-muted); font-size: 13px;
  line-height: 1.4;
}
.mission-card__progress-wrap {
  display: flex; flex-direction: column; gap: 4px;
}
.mission-card__progress-bar {
  background: var(--bg-deep); height: 12px;
  border-radius: 6px; overflow: hidden;
}
.mission-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 0.4s;
}
.mission-card__progress-text {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-muted);
}
.mission-card__progress-text strong { color: var(--text); }
.mission-card__rewards {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.mission-card__reward {
  padding: 4px 10px; border-radius: 10px;
  font-size: 12px; font-weight: 700;
}
.mission-card__reward--money { background: rgba(61, 214, 140, 0.15); color: var(--accent); }
.mission-card__reward--xp { background: rgba(245, 182, 66, 0.15); color: var(--gold); }

/* ==========================================================
   ÇEKİLİŞ
   ========================================================== */
.giveaway-hero {
  padding: 22px 24px; margin: 14px 0 22px;
  background: linear-gradient(135deg, rgba(245, 182, 66, 0.15), rgba(157, 78, 221, 0.08));
  border: 1px solid rgba(245, 182, 66, 0.3); border-radius: 14px;
}
.giveaway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.giveaway-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.giveaway-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.giveaway-card--past { opacity: 0.85; }
.giveaway-card__img {
  height: 160px; background-size: cover; background-position: center;
}
.giveaway-card__img--placeholder {
  background: linear-gradient(135deg, var(--bg-deep), rgba(245,182,66,0.10));
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.giveaway-card__body {
  padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.giveaway-card__title { margin: 0; font-family: var(--font-display); font-size: 16px; }
.giveaway-card__desc { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.4; }
.giveaway-card__prize {
  background: rgba(245, 182, 66, 0.10); padding: 8px 12px;
  border-radius: 8px; font-size: 13px;
  border-left: 3px solid var(--gold);
}
.giveaway-card__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 6px; text-align: center; padding: 8px 0;
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
}
.giveaway-card__stats strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--accent); }
.giveaway-card__stats small { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.giveaway-card__countdown {
  background: rgba(239, 68, 68, 0.08); color: #EF4444;
  padding: 6px 10px; border-radius: 8px; font-size: 13px; text-align: center;
}
.giveaway-card__price {
  text-align: center; font-family: var(--font-display);
  font-size: 18px; color: var(--gold); font-weight: 800;
}

/* ==========================================================
   REFERANS SİSTEMİ
   ========================================================== */
.referral-hero {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; padding: 24px; margin: 14px 0 22px;
  background: linear-gradient(135deg, rgba(91, 159, 255, 0.10), rgba(61, 214, 140, 0.06));
  border: 1px solid rgba(91, 159, 255, 0.3); border-radius: 14px;
  flex-wrap: wrap;
}
.referral-hero__stats { display: flex; gap: 16px; }
.referral-hero__stats > div { text-align: center; min-width: 80px; }
.referral-hero__stats strong { display: block; font-family: var(--font-display); font-size: 24px; color: var(--accent); }
.referral-hero__stats small { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; }

.referral-how {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin: 18px 0;
}
@media (max-width: 700px) { .referral-how { grid-template-columns: 1fr; } }
.referral-how__step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; text-align: center;
}
.referral-how__num { font-size: 36px; display: block; margin-bottom: 6px; }
.referral-how__step strong { display: block; font-family: var(--font-display); font-size: 14px; margin-bottom: 4px; }
.referral-how__step small { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ==========================================================
   RÜTBE LİSTESİ
   ========================================================== */
.rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.2s;
}
.rank-card:hover { transform: translateX(4px); }
.rank-card--achieved { background: linear-gradient(90deg, rgba(61,214,140,0.04), var(--bg-card)); }
.rank-card__head {
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.rank-card__body {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border-soft);
}

/* ==========================================================
   QUICK BANNERS (index üstü)
   ========================================================== */
.quick-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px; margin: 14px 0 20px;
}
.quick-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px;
  text-decoration: none; color: var(--text);
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}
.quick-banner:hover { transform: translateY(-2px); }
.quick-banner--gold { border-color: rgba(245, 182, 66, 0.4); background: rgba(245, 182, 66, 0.05); }
.quick-banner--accent { border-color: rgba(61, 214, 140, 0.4); background: rgba(61, 214, 140, 0.05); }
.quick-banner--blue { border-color: rgba(91, 159, 255, 0.4); background: rgba(91, 159, 255, 0.05); }
.quick-banner__icon { font-size: 28px; }
.quick-banner strong { display: block; font-family: var(--font-display); font-size: 14px; }
.quick-banner small { display: block; font-size: 11px; color: var(--text-muted); }

/* ==========================================================
   HEADER İYİLEŞTİRMELERİ (badge, user menu separator)
   ========================================================== */
.header-icon__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  border-radius: 10px;
  font-size: 9px;
  padding: 1px 5px;
  font-weight: 700;
  line-height: 1.2;
  min-width: 14px;
  text-align: center;
}
.header-icon__badge--danger {
  background: var(--danger, #EF4444);
  color: white;
}
.header-icon__badge--accent {
  background: var(--accent, #3DD68C);
  color: #0A0E13;
}

/* User menu separator */
.user-menu__sep {
  height: 1px;
  background: var(--border, rgba(255,255,255,0.08));
  margin: 6px 0;
}

/* Vurgulanan menü öğeleri */
.user-menu__dd a.highlight-gold {
  color: var(--gold, #F5B642) !important;
  font-weight: 600;
}
.user-menu__dd a.highlight-accent {
  color: var(--accent, #3DD68C) !important;
  font-weight: 600;
}

/* Admin sidebar daha düzenli grup başlığı */
.admin-sidebar__group {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted, rgba(255,255,255,0.45));
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 16px 6px;
  margin-top: 4px;
  border-top: 1px solid var(--border-soft, rgba(255,255,255,0.04));
}
.admin-sidebar__group:first-of-type {
  border-top: 0;
}

/* Admin tablo tutarlılık */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.admin-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, rgba(255,255,255,0.55));
  padding: 12px 14px;
  border-bottom: 2px solid var(--border, rgba(255,255,255,0.08));
  background: var(--bg-deep, rgba(0,0,0,0.2));
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft, rgba(255,255,255,0.04));
  vertical-align: middle;
}
.admin-table tr:hover td {
  background: rgba(255,255,255,0.02);
}
.admin-table tr:last-child td { border-bottom: 0; }

/* Breadcrumb tutarlılık */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin: 10px 0 16px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { opacity: 0.5; }

/* Admin sayfa başlığı standardı */
.admin-page-head {
  margin: 14px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.admin-page-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

/* ==========================================================
   HEADER YENİ TASARIM (override eski stiller)
   ========================================================== */
.site-header {
  background: rgba(11, 15, 22, 0.92) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 0 !important;
  height: 64px;
  display: flex;
  align-items: center;
}
.site-header__inner {
  display: flex !important;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap !important;
  width: 100%;
  height: 100%;
}

/* Logo */
.logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: var(--text) !important;
  flex-shrink: 0;
}
.logo__cube {
  width: 32px !important;
  height: 32px !important;
}
.logo__main {
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}
.logo__tag {
  font-size: 9px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Ana Nav */
.site-nav {
  display: flex !important;
  align-items: center;
  gap: 2px !important;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}
.site-nav__link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 12px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  transition: all 0.15s ease;
  white-space: nowrap;
  background: transparent !important;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.site-nav__link:hover {
  color: var(--text, #FFF) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.site-nav__link.is-active {
  color: var(--accent, #3DD68C) !important;
  background: rgba(61, 214, 140, 0.10) !important;
}
.site-nav__icon { font-size: 14px; opacity: 0.9; }
.site-nav__label { }

/* More menu (Daha Fazla dropdown) */
.more-menu { position: relative; }
.more-menu__btn { cursor: pointer; }
.more-menu__dd {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: rgba(20, 26, 35, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04);
  display: none;
  z-index: 1100;
}
.more-menu.is-open .more-menu__dd { display: block; animation: ddSlide 0.15s ease-out; }
.more-menu__dd a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  border-radius: 7px;
  transition: all 0.1s;
}
.more-menu__dd a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent, #3DD68C) !important;
}
.more-menu__dd a.is-active {
  background: rgba(61, 214, 140, 0.10);
  color: var(--accent) !important;
}

@keyframes ddSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header sağ aksiyonlar */
.site-header__actions {
  display: flex !important;
  align-items: center;
  gap: 4px !important;
  flex-shrink: 0;
}
.header-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75) !important;
  background: transparent !important;
  border-radius: 8px;
  text-decoration: none !important;
  position: relative;
  cursor: pointer;
  border: 0;
  transition: all 0.15s;
}
.header-icon:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text, #FFF) !important;
}
.header-icon__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  letter-spacing: -0.02em;
}
.header-icon__badge--danger { background: #EF4444; color: white; box-shadow: 0 0 0 2px rgba(11,15,22,0.92); }
.header-icon__badge--accent { background: var(--accent, #3DD68C); color: #0A0E13; box-shadow: 0 0 0 2px rgba(11,15,22,0.92); }

/* User Menu Btn */
.user-menu { position: relative; margin-left: 8px; }
.user-menu__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
}
.user-menu__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.user-menu__avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  object-fit: cover;
}
.user-menu__name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu__arrow { font-size: 9px; opacity: 0.5; }

/* User dropdown */
.user-menu__dd {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  max-width: 320px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: rgba(20, 26, 35, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 1100;
}
.user-menu__dd.is-open { display: block; animation: ddSlide 0.15s ease-out; }

.user-menu__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.08), rgba(91, 159, 255, 0.04));
  margin-bottom: 6px;
}
.user-menu__profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.user-menu__profile strong { display: block; font-size: 14px; }
.user-menu__profile small { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.user-menu__group-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--text-muted);
  padding: 10px 12px 4px;
  opacity: 0.6;
}

.user-menu__dd a, .user-menu__logout {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.1s;
  margin: 0 !important;
}
.user-menu__dd a:hover, .user-menu__logout:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--text, #FFF) !important;
}
.user-menu__icon {
  display: inline-flex;
  width: 18px;
  font-size: 14px;
  flex-shrink: 0;
}
.user-menu__sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 6px 4px !important;
  border: 0;
}
.user-menu__logout { color: #EF4444 !important; }
.user-menu__logout:hover { background: rgba(239, 68, 68, 0.1) !important; }

a.highlight-gold { color: #F5B642 !important; font-weight: 700; }
a.highlight-accent { color: var(--accent) !important; font-weight: 700; }

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
}
.search-overlay.is-open { display: flex; animation: ddSlide 0.2s ease-out; }
.search-overlay__form {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 600px;
  margin: 0 20px;
  padding: 14px;
  background: rgba(20, 26, 35, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.search-overlay__form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}
.search-overlay__form input:focus {
  outline: none;
  border-color: var(--accent);
}
.search-overlay__form button {
  padding: 12px 18px;
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  color: #0A0E13;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.search-overlay__close {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none !important;
  background: transparent !important;
  border: 0;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 22, 0.98);
  backdrop-filter: blur(20px);
  z-index: 9998;
  flex-direction: column;
  overflow-y: auto;
}
body.mobile-menu-open .mobile-menu { display: flex; }
.mobile-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-menu__head button {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}
.mobile-menu__body { padding: 12px 8px; flex: 1; }
.mobile-menu__body a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
}
.mobile-menu__body a:hover { background: rgba(255, 255, 255, 0.04); }
.mobile-menu__sep { height: 1px; background: rgba(255, 255, 255, 0.06); margin: 10px 16px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .site-nav__label { display: none; }
  .site-nav__link { padding: 8px 10px !important; }
}
@media (max-width: 900px) {
  .user-menu__name { display: none; }
}
@media (max-width: 768px) {
  .site-nav { display: none !important; }
  .mobile-menu-btn { display: inline-flex !important; }
  .header-icon[title="Favoriler"] { display: none; }
  .logo__tag { display: none; }
}
@media (max-width: 480px) {
  .site-header { height: 56px; }
  .logo__main { font-size: 15px !important; }
  .logo__cube { width: 26px !important; height: 26px !important; }
  .user-menu__btn { padding: 3px 6px 3px 3px; }
  .user-menu__btn .user-menu__arrow { display: none; }
}

/* Live ticker — daha sade */
.live-ticker {
  background: rgba(15, 20, 28, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 12px;
}


/* ==========================================================
   FOOTER — Temiz & Modern
   ========================================================== */
.site-footer {
  background: rgba(8, 12, 18, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 80px;
  color: var(--text-muted);
}

/* Üst istatistik şeridi */
.footer-stats-bar {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 18px 0;
}
.footer-stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.footer-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
}
.footer-stat__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: rgba(61, 214, 140, 0.08);
  border-radius: 10px;
  font-size: 18px;
  flex-shrink: 0;
}
.footer-stat strong {
  display: block;
  font-family: var(--font-display, sans-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.footer-stat small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1px;
}
@media (max-width: 700px) {
  .footer-stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
}

/* Ana 4 kolon */
.site-footer__inner {
  display: grid !important;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr !important;
  gap: 50px !important;
  padding: 44px 0 32px !important;
  margin: 0 !important;
  border: 0 !important;
}
@media (max-width: 960px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
}
@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.site-footer__col--brand { padding-right: 20px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: var(--text) !important;
  margin-bottom: 14px;
}
.footer-logo strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.footer-logo small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-footer__desc {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.site-footer__title {
  margin: 0 0 14px;
  font-family: var(--font-display, sans-serif);
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-footer__col a {
  display: inline-block;
  padding: 5px 0;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: color 0.15s, padding-left 0.15s;
  line-height: 1.5;
}
.site-footer__col a:hover {
  color: var(--accent, #3DD68C) !important;
  padding-left: 4px;
}

/* Sosyal */
.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  color: var(--text) !important;
  text-decoration: none !important;
  padding: 0 !important;
  transition: all 0.15s;
}
.footer-social a:hover {
  background: var(--accent, #3DD68C) !important;
  border-color: var(--accent, #3DD68C) !important;
  color: #0A0E13 !important;
  transform: translateY(-2px) !important;
  padding-left: 0 !important;
}

/* Alt copyright */
.site-footer__bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.15);
}
.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}
.site-footer__copy { opacity: 0.8; }
.site-footer__bottom-right {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.site-footer__bottom-right a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
}
.site-footer__bottom-right a:hover { color: var(--accent); }
@media (max-width: 560px) {
  .site-footer__bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  line-height: 1;
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* ==========================================================
   ÜYE KARTI — Arkadaş ekle butonlu yeni yapı
   ========================================================== */
.members-grid .member-card {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
}
.member-card__main {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px 14px;
  text-decoration: none !important;
  color: var(--text) !important;
  flex: 1;
  width: 100%;
}
.member-card__main:hover { background: rgba(255,255,255,0.02); }

.member-card__actions {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--border, rgba(255,255,255,0.06));
  background: rgba(0, 0, 0, 0.15);
  justify-content: center;
}
.member-card__actions .btn {
  padding: 5px 10px !important;
  font-size: 13px !important;
  min-width: 36px;
  text-align: center;
}
.member-card__actions form { margin: 0; }

/* ==========================================================
   BİLDİRİM POPUP DROPDOWN
   ========================================================== */
.notif-menu { position: relative; }
.notif-menu__dd {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-width: 92vw;
  background: rgba(18, 24, 33, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  display: none;
  z-index: 1100;
  overflow: hidden;
  font-size: 13.5px;
}
.notif-menu__dd.is-open { display: block; animation: ddSlide 0.15s ease-out; }

.notif-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.08), rgba(91, 159, 255, 0.04));
}
.notif-menu__head strong {
  font-family: var(--font-display, sans-serif);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.notif-menu__mark-read {
  background: transparent;
  border: 0;
  color: var(--accent, #3DD68C);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}
.notif-menu__mark-read:hover { background: rgba(61, 214, 140, 0.08); }

.notif-menu__list {
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.notif-menu__list::-webkit-scrollbar { width: 6px; }
.notif-menu__list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.notif-menu__empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
}
.notif-menu__empty small { font-size: 12px; }

.notif-menu__item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none !important;
  color: var(--text, #FFF) !important;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.12s;
}
.notif-menu__item:hover { background: rgba(255, 255, 255, 0.04); }
.notif-menu__item:last-child { border-bottom: 0; }
.notif-menu__item.is-unread { background: rgba(61, 214, 140, 0.04); }
.notif-menu__item.is-unread:hover { background: rgba(61, 214, 140, 0.08); }

.notif-menu__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  flex-shrink: 0;
}
.notif-menu__item.is-unread .notif-menu__item-icon {
  background: rgba(61, 214, 140, 0.12);
}

.notif-menu__item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.notif-menu__item-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  display: block;
  /* HTML <strong> ve <em> görünsün */
}
.notif-menu__item-text strong { color: var(--accent, #3DD68C); font-weight: 700; }
.notif-menu__item-text em { color: var(--text); font-style: normal; font-weight: 600; }
.notif-menu__item-text small { color: var(--text-muted); }

.notif-menu__item-time {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.notif-menu__unread-dot {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #3DD68C);
  box-shadow: 0 0 0 3px rgba(61, 214, 140, 0.2);
}

.notif-menu__foot {
  display: block;
  text-align: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent, #3DD68C) !important;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: background 0.15s;
}
.notif-menu__foot:hover { background: rgba(61, 214, 140, 0.08); }

@media (max-width: 480px) {
  .notif-menu__dd {
    width: calc(100vw - 24px);
    right: -8px;
  }
}

/* ==========================================================
   LIGHT MODE — Override'lar
   ========================================================== */
:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid #E1E5EB !important;
}
:root[data-theme="light"] .site-nav__link {
  color: #5C6571 !important;
}
:root[data-theme="light"] .site-nav__link:hover {
  background: #F1F3F5 !important;
  color: #1A222D !important;
}
:root[data-theme="light"] .site-nav__link.is-active {
  background: rgba(61, 214, 140, 0.12) !important;
  color: #1A8856 !important;
}
:root[data-theme="light"] .header-icon {
  color: #5C6571 !important;
}
:root[data-theme="light"] .header-icon:hover {
  background: #F1F3F5 !important;
  color: #1A222D !important;
}
:root[data-theme="light"] .user-menu__btn {
  background: #F8F9FA;
  border-color: #E1E5EB;
}
:root[data-theme="light"] .user-menu__btn:hover {
  background: #F1F3F5;
}
:root[data-theme="light"] .user-menu__dd,
:root[data-theme="light"] .more-menu__dd,
:root[data-theme="light"] .notif-menu__dd {
  background: #FFFFFF;
  border-color: #E1E5EB;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
:root[data-theme="light"] .user-menu__dd a,
:root[data-theme="light"] .notif-menu__item {
  color: #1A222D !important;
}
:root[data-theme="light"] .user-menu__dd a:hover,
:root[data-theme="light"] .notif-menu__item:hover {
  background: #F1F3F5 !important;
}
:root[data-theme="light"] .user-menu__sep,
:root[data-theme="light"] .notif-menu__item {
  border-color: #E1E5EB;
}
:root[data-theme="light"] .live-ticker {
  background: rgba(248, 249, 250, 0.95);
  border-bottom: 1px solid #E1E5EB;
}

:root[data-theme="light"] .site-footer {
  background: #ECEEF2;
  border-top: 1px solid #E1E5EB;
  color: #5C6571;
}
:root[data-theme="light"] .footer-stats-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #E1E5EB;
}
:root[data-theme="light"] .footer-stat strong,
:root[data-theme="light"] .site-footer__title,
:root[data-theme="light"] .footer-logo strong {
  color: #1A222D;
}
:root[data-theme="light"] .site-footer__col a {
  color: #5C6571 !important;
}
:root[data-theme="light"] .footer-stat__icon {
  background: rgba(61, 214, 140, 0.12);
}
:root[data-theme="light"] .site-footer__bottom {
  background: #FFFFFF;
  border-top: 1px solid #E1E5EB;
}
:root[data-theme="light"] .footer-social a {
  background: #F1F3F5;
  border-color: #E1E5EB;
}

/* Search overlay */
:root[data-theme="light"] .search-overlay {
  background: rgba(0, 0, 0, 0.4);
}
:root[data-theme="light"] .search-overlay__form {
  background: #FFFFFF;
  border-color: #E1E5EB;
}
:root[data-theme="light"] .search-overlay__form input {
  background: #F8F9FA;
  color: #1A222D;
}

/* Mobile menu */
:root[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
}
:root[data-theme="light"] .mobile-menu__body a {
  color: #1A222D;
}
:root[data-theme="light"] .mobile-menu__body a:hover {
  background: #F1F3F5;
}

/* Admin sidebar */
:root[data-theme="light"] .admin-sidebar {
  background: #FFFFFF;
  border-right: 1px solid #E1E5EB;
}
:root[data-theme="light"] .admin-sidebar__nav a {
  color: #5C6571;
}
:root[data-theme="light"] .admin-sidebar__nav a:hover {
  background: #F1F3F5;
  color: #1A222D;
}
:root[data-theme="light"] .admin-sidebar__nav a.is-active {
  background: rgba(61, 214, 140, 0.12);
  color: #1A8856;
}
:root[data-theme="light"] .admin-sidebar__group {
  color: #8B95A1;
  border-top-color: #EDEFF2;
}

/* Buttons */
:root[data-theme="light"] .btn--ghost {
  background: #FFFFFF;
  border-color: #E1E5EB;
  color: #1A222D;
}
:root[data-theme="light"] .btn--ghost:hover {
  background: #F1F3F5;
}

/* Forms */
:root[data-theme="light"] .form-control,
:root[data-theme="light"] input[type="text"],
:root[data-theme="light"] input[type="email"],
:root[data-theme="light"] input[type="password"],
:root[data-theme="light"] input[type="number"],
:root[data-theme="light"] input[type="search"],
:root[data-theme="light"] input[type="date"],
:root[data-theme="light"] select,
:root[data-theme="light"] textarea {
  background: #FFFFFF !important;
  border-color: #E1E5EB !important;
  color: #1A222D !important;
}

/* Tables */
:root[data-theme="light"] .admin-table th {
  background: #F8F9FA;
  color: #5C6571;
  border-bottom-color: #E1E5EB;
}
:root[data-theme="light"] .admin-table td {
  border-bottom-color: #EDEFF2;
}
:root[data-theme="light"] .admin-table tr:hover td {
  background: #F8F9FA;
}

/* Code */
:root[data-theme="light"] code {
  background: #F1F3F5;
  color: #1A8856;
}

/* Alerts */
:root[data-theme="light"] .alert--info {
  background: rgba(91, 159, 255, 0.08);
  border-color: rgba(91, 159, 255, 0.2);
  color: #1A222D;
}
:root[data-theme="light"] .alert--warning {
  background: rgba(245, 182, 66, 0.1);
  border-color: rgba(245, 182, 66, 0.3);
  color: #92590E;
}

/* ==========================================================
   MOBİL İYİLEŞTİRMELERİ
   ========================================================== */
@media (max-width: 768px) {
  .container { padding: 0 14px !important; }
  body { font-size: 14px; }
  h1 { font-size: 22px !important; }
  h2 { font-size: 19px !important; }
  h3 { font-size: 16px !important; }

  /* Tablo scroll */
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 8px 10px !important; }

  /* Member card grid */
  .members-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; gap: 10px !important; }
  .members-grid .member-card__avatar { width: 56px !important; height: 56px !important; }

  /* Form */
  .form-row { grid-template-columns: 1fr !important; }
  .form-control { font-size: 16px !important; } /* iOS zoom önle */

  /* Cards padding */
  .card { padding: 14px !important; }

  /* Page heads */
  .page-head, .admin-page-head { padding: 10px 0 !important; }
  .breadcrumb { font-size: 12px !important; }

  /* Forum toolbar — yatay scroll */
  .forum-toolbar__sort {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap !important;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .forum-toolbar__sort a {
    flex-shrink: 0;
  }

  /* Admin stats */
  .admin-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Buttons */
  .btn--lg { padding: 12px 18px !important; font-size: 14px !important; }

  /* Hide some columns in tables on mobile */
  .hide-mobile { display: none !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 10px !important; }
  .card { padding: 12px !important; }
  .members-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .admin-stats { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .admin-stat__value { font-size: 18px !important; }
  .admin-stat__label { font-size: 10px !important; }
  .btn { padding: 8px 12px; font-size: 13px; }
  .btn--sm { padding: 5px 9px; font-size: 12px; }

  /* User dropdown daha küçük */
  .user-menu__dd { min-width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .notif-menu__dd { width: calc(100vw - 24px); right: -8px; }
}

/* Touch target boyutu */
@media (hover: none) {
  .btn, .header-icon, .user-menu__btn, a.site-nav__link {
    min-height: 40px;
  }
}



/* ==========================================================
   v1.0.4 — Footer hizalama + responsive düzeltmeleri
   ========================================================== */

/* === Container — daha geniş ve fluid === */
:root {
  --container-w: 1640px;
}
.container {
  width: 100%;
  margin: 0 auto;
  padding-left: clamp(14px, 3vw, 28px) !important;
  padding-right: clamp(14px, 3vw, 28px) !important;
}

@media (min-width: 1440px) {
  :root { --container-w: 1500px; }
}
@media (min-width: 1920px) {
  :root { --container-w: 1720px; }
}
@media (min-width: 2560px) {
  :root { --container-w: 1920px; }
}

/* === Footer stats — 4 eşit kolon, ortalı === */
.footer-stats-bar__inner {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
}
.footer-stat {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

@media (max-width: 900px) {
  .footer-stats-bar__inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 420px) {
  .footer-stats-bar__inner {
    grid-template-columns: 1fr !important;
  }
}

/* === Footer ana grid — 4 kolon === */
.site-footer__inner {
  display: grid !important;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr !important;
  gap: clamp(24px, 3vw, 50px) !important;
  padding: 44px 0 32px !important;
  margin: 0 auto !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: var(--container-w, 1640px) !important;
}

@media (max-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
  .site-footer__col--brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .site-footer__col--brand {
    grid-column: auto !important;
  }
}

/* Footer kolonları — link dikey hiza */
.site-footer__col {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
.site-footer__col a {
  display: block !important;
  padding: 5px 0 !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  transition: color .15s !important;
}
.site-footer__col a:hover {
  color: var(--accent) !important;
}
.site-footer__title {
  margin: 0 0 12px !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--text) !important;
  font-weight: 700 !important;
}

/* Logo ve açıklama */
.footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  margin-bottom: 12px !important;
}
.footer-logo strong {
  font-size: 20px !important;
  color: var(--text) !important;
  display: block !important;
}
.site-footer__desc {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--text-muted) !important;
  margin: 0 0 14px !important;
  max-width: 360px !important;
}

/* Social butonlar */
.footer-social {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.footer-social a {
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--border, rgba(255,255,255,0.06)) !important;
  border-radius: 10px !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: all .15s !important;
  font-size: 16px !important;
  padding: 0 !important;
}
.footer-social a:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #000 !important;
  transform: translateY(-2px) !important;
}

/* Alt şerit */
.site-footer__bottom {
  border-top: 1px solid var(--border, rgba(255,255,255,0.06)) !important;
  background: rgba(0,0,0,0.15) !important;
  padding: 16px 0 !important;
}
.site-footer__bottom-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 14px !important;
  font-size: 13px !important;
  color: var(--text-muted) !important;
  flex-wrap: wrap !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: var(--container-w, 1640px) !important;
}
.site-footer__bottom-right {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
.site-footer__bottom-right a {
  color: var(--text-muted) !important;
  text-decoration: none !important;
}
.site-footer__bottom-right a:hover {
  color: var(--accent) !important;
}

@media (max-width: 640px) {
  .site-footer__bottom-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }
}

/* Header inner aynı genişlik */
.site-header__inner {
  max-width: var(--container-w, 1640px) !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Print friendly */
@media print {
  .site-header, .site-footer, .admin-sidebar { display: none !important; }
  .container { max-width: 100% !important; padding: 0 !important; }
}

/* ==========================================================
   v1.0.6 — Modern logo + Lucide icon + spacing fixes
   ========================================================== */

/* ===== LUCIDE ICON BASE ===== */
.lucide-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* SVG default — düzgün boyutlanma */
i[data-lucide] svg,
i[data-lucide].lucide-icon svg {
  width: inherit;
  height: inherit;
  stroke-width: inherit;
  display: inline-block;
}

/* ===== LOGO (HEADER) — Yeniden tasarım ===== */
.logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: var(--text) !important;
  flex-shrink: 0;
  padding-right: 8px;
}
.logo__img {
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 2px 8px rgba(61, 214, 140, 0.3));
  transition: transform 0.3s, filter 0.3s;
}
.logo:hover .logo__img {
  transform: scale(1.05) rotate(-3deg);
  filter: drop-shadow(0 4px 12px rgba(61, 214, 140, 0.5));
}
.logo__text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.1 !important;
  gap: 2px;
  min-width: 0;
}
.logo__main {
  font-family: var(--font-display, 'Sora', sans-serif) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  background: linear-gradient(135deg, #3DD68C 0%, #5B9FFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.logo__tag {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: var(--text-muted) !important;
  opacity: 0.8;
}

/* Light tema logo */
:root[data-theme="light"] .logo__main {
  background: linear-gradient(135deg, #1A8856 0%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== FOOTER LOGO ===== */
.footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: var(--text) !important;
  margin-bottom: 12px !important;
}
.footer-logo__img {
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
}
.footer-logo__text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.15 !important;
  gap: 1px;
}
.footer-logo__text strong {
  font-family: var(--font-display, 'Sora', sans-serif) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  letter-spacing: -0.3px !important;
}
.footer-logo__text small {
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  color: var(--text-muted) !important;
  opacity: 0.75;
}

/* ===== HEADER — Logo ile nav arası boşluk ===== */
.site-header__inner {
  display: flex !important;
  align-items: center !important;
  gap: clamp(16px, 2vw, 28px) !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin-left: 8px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ===== HEADER ICONS — Lucide ile uyumlu ===== */
.header-icon {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0 !important;
  font-size: 0; /* eski emoji boyutunu sıfırla */
}
.header-icon .lucide-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.header-icon:hover {
  background: rgba(61, 214, 140, 0.1);
  color: var(--accent);
  border-color: rgba(61, 214, 140, 0.2);
}

/* Mobile menu button — sadece mobilde görünür */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}
.mobile-menu-btn .lucide-icon {
  width: 22px;
  height: 22px;
}

@media (max-width: 991.98px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* ===== FOOTER STAT ICONS ===== */
.footer-stat__icon {
  width: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.15), rgba(91, 159, 255, 0.08)) !important;
  border: 1px solid rgba(61, 214, 140, 0.15) !important;
  border-radius: 12px !important;
  flex-shrink: 0 !important;
  color: var(--accent) !important;
  font-size: 0 !important; /* eski emoji */
}
.footer-stat__icon .lucide-icon {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 2.2;
}

/* ===== FOOTER SOCIAL BUTONS ===== */
.footer-social a {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border, rgba(255,255,255,0.08)) !important;
  border-radius: 10px !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
  font-size: 0 !important;
}
.footer-social a .lucide-icon {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2;
}
.footer-social a:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #0A0E13 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(61, 214, 140, 0.25);
}

/* ===== DISCORD WIDGET (sticky) ===== */
.discord-widget .lucide-icon {
  width: 18px;
  height: 18px;
}
.discord-widget__icon {
  display: none; /* eski emoji span — gizle */
}

/* ===== THEME TOGGLE BUTON ===== */
.theme-toggle {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border, rgba(255,255,255,0.08)) !important;
  border-radius: 8px !important;
  width: 34px;
  height: 34px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--text-muted) !important;
  cursor: pointer;
  font-size: 0 !important;
  padding: 0 !important;
  transition: all 0.15s;
}
.theme-toggle .lucide-icon {
  width: 16px;
  height: 16px;
}
.theme-toggle:hover {
  background: rgba(61, 214, 140, 0.1) !important;
  color: var(--accent) !important;
}

/* ===== USER MENU AVATARDA SPACING ===== */
.user-menu__btn {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 12px 6px 6px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid transparent !important;
  border-radius: 22px !important;
  cursor: pointer;
  color: var(--text) !important;
  font-size: 14px;
  transition: all 0.15s;
}
.user-menu__btn:hover {
  background: rgba(61, 214, 140, 0.08) !important;
  border-color: rgba(61, 214, 140, 0.15) !important;
}
.user-menu__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}

@media (max-width: 991.98px) {
  .site-nav { display: none; }
  .user-menu__name { display: none; }
  .header-icon { width: 38px; height: 38px; }
}

@media (max-width: 640px) {
  .logo__main { font-size: 18px !important; }
  .logo__tag { display: none !important; }
  .logo__img { width: 36px !important; height: 36px !important; }
  .site-header__actions { gap: 4px; }
  .header-icon { width: 36px; height: 36px; }
  .user-menu__btn { padding: 4px !important; }
}

/* ==========================================================
   v1.0.6 — Eski emoji'ler için fallback
   ========================================================== */

/* Eğer eski sayfalarda hala emoji span'ler varsa, header-icon içinde gizle */
.header-icon > span:not(.header-icon__badge):not(.lucide-icon) {
  display: none;
}


/* ==========================================================
   v1.6.0 — KONU SAYFASI CANLI POST TASARIMI
   ========================================================== */

/* ===== TOPIC VIEW WRAPPER ===== */
.topic-view {
  background: transparent !important;
  border: 0 !important;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== POST ENHANCED ===== */
.post--enhanced {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--bg-card, #1A2230);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.post--enhanced:hover {
  border-color: rgba(61, 214, 140, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* OP rozeti */
.post--op {
  border-color: rgba(91, 159, 255, 0.25);
}
.post__op-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #5B9FFF, #3D6FBF);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(91, 159, 255, 0.3);
  z-index: 2;
}

/* En iyi cevap */
.post--best {
  border: 1px solid rgba(61, 214, 140, 0.4) !important;
  box-shadow: 0 0 0 1px rgba(61, 214, 140, 0.15), 0 8px 24px rgba(61, 214, 140, 0.08);
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.04), transparent 50%);
}
.post__best-badge {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, #3DD68C, #2BA968);
  color: #0A0E13;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== YAZAR PANELI ===== */
.post__author--v2 {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-right: 1px solid var(--border-soft, rgba(255,255,255,0.04));
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Avatar */
.post__avatar-wrap {
  position: relative;
  margin-bottom: 12px;
}
.post__avatar-link {
  position: relative;
  display: block;
  width: 86px;
  height: 86px;
}
.post__avatar {
  width: 86px !important;
  height: 86px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid var(--bg-card, #1A2230);
  margin: 0 !important;
  transition: transform 0.25s;
  position: relative;
  z-index: 2;
}
.post__avatar-link:hover .post__avatar {
  transform: scale(1.05);
}
.post__avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3DD68C, #5B9FFF);
  z-index: 1;
  animation: pulse-ring 3s ease-in-out infinite;
}
.post__avatar-ring--pro {
  background: linear-gradient(135deg, #F5B642, #EF4444, #9D4EDD);
  background-size: 200% 200%;
  animation: pulse-ring 3s ease infinite, gradient-flow 5s linear infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.85; }
}
@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.post__lvl-chip {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3DD68C, #2BA968);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  border: 2px solid var(--bg-card, #1A2230);
  letter-spacing: 0.5px;
  z-index: 3;
  white-space: nowrap;
}

/* Username */
.post__author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #E8EEF5) !important;
  text-decoration: none !important;
  margin-bottom: 6px;
  display: inline-block;
  transition: color 0.15s;
  word-break: break-word;
}
.post__author-name:hover {
  color: #3DD68C !important;
}

/* Role badge */
.post__role-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  color: #0A0E13;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* XP Progress Bar */
.post__xp-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
}
.post__xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #3DD68C, #5B9FFF);
  border-radius: 4px;
  transition: width 0.4s;
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.4);
}

/* Stats */
.post__author-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  font-size: 11px;
  color: var(--text-muted, #9AA8BB);
  text-align: left;
}
.post__stat {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  transition: background 0.15s;
}
.post__stat:hover {
  background: rgba(255, 255, 255, 0.04);
}
.post__stat-icon {
  font-size: 12px;
  opacity: 0.7;
}
.post__stat-val {
  font-weight: 700;
  color: var(--text, #E8EEF5);
}
.post__stat-lbl {
  font-size: 10px;
  color: var(--text-muted, #9AA8BB);
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ===== POST GÖVDE ===== */
.post__body {
  padding: 20px 24px;
  min-width: 0; /* grid overflow için */
}

/* Head bar */
.post__head-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft, rgba(255,255,255,0.04));
  font-size: 12px;
  color: var(--text-muted, #9AA8BB);
}
.post__head-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.post__date, .post__edited {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.post__edited {
  color: var(--text-dim, #6B7889);
  font-style: italic;
}
.post__num {
  font-size: 12px;
  color: var(--text-dim, #6B7889);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 10px;
  border-radius: 12px;
}

/* Content */
.post__content {
  font-size: 15px;
  line-height: 1.7;
  word-wrap: break-word;
  color: var(--text, #E8EEF5);
  min-height: 30px;
}
.post__content blockquote {
  border-left: 3px solid #3DD68C;
  margin: 14px 0;
  padding: 12px 18px;
  background: var(--bg-deep, #0F1419);
  border-radius: 0 10px 10px 0;
  color: var(--text-muted, #9AA8BB);
  font-style: italic;
}
.post__content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 8px 0;
}
.post__content code {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: #3DD68C;
}
.post__content pre {
  background: var(--bg-deep, #0F1419);
  padding: 14px 18px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 12px 0;
  border: 1px solid var(--border, rgba(255,255,255,0.06));
}

/* Signature */
.post__signature {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border, rgba(255,255,255,0.08));
  font-size: 12px;
  color: var(--text-muted, #9AA8BB);
  line-height: 1.5;
  opacity: 0.85;
}

/* ===== REACTION SUMMARY ===== */
.post__reactions-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft, rgba(255,255,255,0.04));
}
.post__reaction-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(61, 214, 140, 0.08);
  border: 1px solid rgba(61, 214, 140, 0.15);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text, #E8EEF5);
  transition: all 0.15s;
  cursor: default;
}
.post__reaction-chip:hover {
  background: rgba(61, 214, 140, 0.15);
  transform: translateY(-1px);
}
.post__reaction-emoji {
  font-size: 14px;
  line-height: 1;
}
.post__reaction-num {
  font-weight: 700;
}
.post__reaction-total {
  font-size: 11px;
  color: var(--text-muted, #9AA8BB);
  margin-left: 4px;
}

/* ===== AKSIYONLAR ===== */
.post__actions--v2 {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.post__action {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: transparent;
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  border-radius: 9px;
  color: var(--text-muted, #9AA8BB) !important;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.15s;
  font-family: inherit;
}
.post__action:hover {
  background: rgba(61, 214, 140, 0.06);
  color: #3DD68C !important;
  border-color: rgba(61, 214, 140, 0.25);
  transform: translateY(-1px);
}
.post__action.is-active {
  background: rgba(61, 214, 140, 0.1);
  color: #3DD68C !important;
  border-color: rgba(61, 214, 140, 0.3);
}
.post__action-emoji {
  font-size: 16px;
  line-height: 1;
}

/* Pulse animation feedback */
.post__pulse {
  animation: pulse-feedback 0.5s ease;
}
@keyframes pulse-feedback {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ===== REACTION PICKER ===== */
.post__reaction-picker {
  position: relative;
}

.post__reaction-pop {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  display: flex;
  gap: 4px;
  padding: 6px;
  background: rgba(20, 26, 36, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.92);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  white-space: nowrap;
}

.post__reaction-picker:hover .post__reaction-pop,
.post__reaction-picker.is-open .post__reaction-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Hover'da picker'in altında "boşluk" görünmesin diye picker yüzeyini büyüt */
.post__reaction-picker::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.post__reaction-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0;
}

.post__reaction-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.4) translateY(-4px);
}

.post__reaction-btn.is-active {
  background: rgba(61, 214, 140, 0.15);
  box-shadow: 0 0 0 2px rgba(61, 214, 140, 0.3);
}

/* Login prompt */
.post__login-prompt {
  font-size: 13px;
  color: var(--text-muted, #9AA8BB);
  padding: 8px 12px;
  background: rgba(91, 159, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(91, 159, 255, 0.1);
}
.post__login-prompt a {
  color: #3DD68C;
  font-weight: 600;
}

/* ===== LIGHT TEMA ===== */
:root[data-theme="light"] .post--enhanced {
  background: #FFFFFF;
  border-color: #E3E8EE;
}
:root[data-theme="light"] .post--enhanced:hover {
  border-color: rgba(22, 164, 103, 0.3);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
:root[data-theme="light"] .post__author--v2 {
  background: linear-gradient(180deg, #F8FAFC, transparent);
  border-right-color: #EEF1F5;
}
:root[data-theme="light"] .post__avatar {
  border-color: #FFFFFF;
}
:root[data-theme="light"] .post__lvl-chip {
  border-color: #FFFFFF;
}
:root[data-theme="light"] .post__author-name { color: #1A2230 !important; }
:root[data-theme="light"] .post__author-name:hover { color: #16A467 !important; }
:root[data-theme="light"] .post__stat { background: #F8FAFC; }
:root[data-theme="light"] .post__stat:hover { background: #F1F4F8; }
:root[data-theme="light"] .post__xp-bar { background: #EEF1F5; }
:root[data-theme="light"] .post__head-bar { border-bottom-color: #EEF1F5; }
:root[data-theme="light"] .post__num { background: #F8FAFC; }
:root[data-theme="light"] .post__signature { border-top-color: #E3E8EE; }
:root[data-theme="light"] .post__action {
  border-color: #E3E8EE;
  color: #5A6478 !important;
}
:root[data-theme="light"] .post__action:hover {
  background: rgba(22, 164, 103, 0.06);
  color: #16A467 !important;
  border-color: rgba(22, 164, 103, 0.3);
}
:root[data-theme="light"] .post__action.is-active {
  background: rgba(22, 164, 103, 0.1);
  color: #16A467 !important;
}
:root[data-theme="light"] .post__reactions-summary { border-top-color: #EEF1F5; }
:root[data-theme="light"] .post__reaction-chip {
  background: rgba(22, 164, 103, 0.08);
  border-color: rgba(22, 164, 103, 0.15);
  color: #1A2230;
}
:root[data-theme="light"] .post__reaction-pop {
  background: rgba(255, 255, 255, 0.98);
  border-color: #E3E8EE;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
:root[data-theme="light"] .post__reaction-btn:hover {
  background: #F1F4F8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .post--enhanced {
    grid-template-columns: 1fr;
  }
  .post__author--v2 {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--border-soft, rgba(255,255,255,0.04));
    padding: 14px 16px;
    flex-wrap: wrap;
  }
  .post__avatar-link, .post__avatar-wrap {
    width: 64px;
    flex-shrink: 0;
  }
  .post__avatar {
    width: 64px !important;
    height: 64px !important;
  }
  .post__lvl-chip {
    font-size: 9px;
    padding: 2px 7px;
  }
  .post__author-name {
    margin-bottom: 2px;
  }
  .post__role-badge {
    margin-bottom: 0;
  }
  .post__xp-bar {
    width: 100%;
    flex-basis: 100%;
    margin-bottom: 0;
    margin-top: 4px;
  }
  .post__author-stats {
    flex-direction: row;
    flex-basis: 100%;
    gap: 4px;
    flex-wrap: wrap;
  }
  .post__stat {
    flex: 1;
    min-width: 90px;
    flex-direction: column;
    text-align: center;
    padding: 6px 4px;
    gap: 2px;
  }
  .post__stat-lbl {
    margin-left: 0;
  }
  .post__body {
    padding: 16px;
  }
  .post__reaction-pop {
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.92);
  }
  .post__reaction-picker:hover .post__reaction-pop,
  .post__reaction-picker.is-open .post__reaction-pop {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .post__action span:not(.post__action-emoji) {
    display: none;
  }
  .post__action {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }
  .post__action--like {
    width: auto;
    padding: 7px 14px;
  }
  .post__action--like span:not(.post__action-emoji) {
    display: inline;
  }
}


/* ==========================================================
   v1.7.0 — HERO + EMPTY STATE'LER
   ========================================================== */

/* === HERO V2 === */
.hero-v2 {
  position: relative;
  margin: 0 calc(-1 * clamp(14px, 3vw, 28px)) 30px;
  padding: 60px 24px 50px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(135deg, rgba(15, 20, 25, 0.95), rgba(20, 30, 45, 0.95));
}

.hero-v2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-v2__grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(61, 214, 140, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 214, 140, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}
.hero-v2__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-v2__glow--green {
  top: -60px; left: -40px;
  width: 320px; height: 320px;
  background: #3DD68C;
}
.hero-v2__glow--blue {
  bottom: -80px; right: -60px;
  width: 380px; height: 380px;
  background: #5B9FFF;
  opacity: 0.25;
}

.hero-v2__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-v2__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(61, 214, 140, 0.08);
  border: 1px solid rgba(61, 214, 140, 0.2);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: #3DD68C;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero-v2__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3DD68C;
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.6);
  animation: pulse-dot 2s ease infinite;
}

.hero-v2__title {
  margin: 0 0 18px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
}
.hero-v2__title-line {
  display: block;
}
.hero-v2__title-gradient {
  background: linear-gradient(135deg, #3DD68C 0%, #5B9FFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-v2__subtitle {
  margin: 0 auto 32px;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
}

.hero-v2__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-v2__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.hero-v2__btn--primary {
  background: linear-gradient(135deg, #3DD68C, #2BA968);
  color: #0A0E13;
  box-shadow: 0 8px 24px rgba(61, 214, 140, 0.3);
}
.hero-v2__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(61, 214, 140, 0.4);
}
.hero-v2__btn--secondary {
  background: rgba(91, 159, 255, 0.12);
  color: #5B9FFF;
  border: 1px solid rgba(91, 159, 255, 0.25);
}
.hero-v2__btn--secondary:hover {
  background: rgba(91, 159, 255, 0.2);
  transform: translateY(-2px);
}
.hero-v2__btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-v2__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-v2__stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-v2__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
.hero-v2__stat-icon { font-size: 22px; }
.hero-v2__stat-val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-v2__stat-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-v2__features {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-v2__feature {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
}

/* Light tema hero */
:root[data-theme="light"] .hero-v2 {
  background: linear-gradient(135deg, #F8FAFC, #EEF4FF);
}
:root[data-theme="light"] .hero-v2__title { color: #1A2230; }
:root[data-theme="light"] .hero-v2__subtitle { color: #5A6478; }
:root[data-theme="light"] .hero-v2__btn--ghost {
  background: #fff;
  color: #1A2230;
  border-color: #E3E8EE;
}
:root[data-theme="light"] .hero-v2__stat {
  background: #fff;
  border-color: #E3E8EE;
}
:root[data-theme="light"] .hero-v2__stat-val { color: #1A2230; }
:root[data-theme="light"] .hero-v2__feature {
  background: #fff;
  color: #5A6478;
}

@media (max-width: 640px) {
  .hero-v2 {
    padding: 40px 18px 36px;
    border-radius: 0 0 18px 18px;
  }
  .hero-v2__btn { padding: 11px 16px; font-size: 13px; }
}

/* ==========================================================
   PROFESYONEL EMPTY STATE'LER
   ========================================================== */
.empty-state-v2 {
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-card, #1A2230);
  border: 1px dashed var(--border, rgba(255,255,255,0.1));
  border-radius: 16px;
  max-width: 600px;
  margin: 30px auto;
}
.empty-state-v2__icon {
  font-size: 56px;
  margin-bottom: 14px;
  opacity: 0.7;
}
.empty-state-v2__title {
  margin: 0 0 8px;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text, #E8EEF5);
}
.empty-state-v2__desc {
  margin: 0 auto 22px;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted, #9AA8BB);
}
.empty-state-v2__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.empty-state-v2__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s;
  background: linear-gradient(135deg, #3DD68C, #2BA968);
  color: #0A0E13;
}
.empty-state-v2__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(61, 214, 140, 0.3);
}
.empty-state-v2__btn--ghost {
  background: transparent;
  color: var(--text-muted, #9AA8BB);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
}
.empty-state-v2__btn--ghost:hover {
  background: var(--bg-hover, rgba(255,255,255,0.05));
  color: var(--text);
}
