/* ═══════════════════════════════════════════════════════════
   real-theme.css — Project Real esintili monokrom tema
   Ana sayfa dışındaki tüm sayfalarda kullanılır.
   Sohbet ve forum sayfaları bu dosyayı YÜKLEMEZ.
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&display=swap');

/* ─── Tokenlar ────────────────────────────────────────────── */
:root {
  --clr-bg:            #000000;
  --clr-bg-secondary:  #060606;
  --clr-bg-card:       #0c0c0c;
  --clr-surface:       rgba(255, 255, 255, 0.04);
  --clr-surface-hover: rgba(255, 255, 255, 0.07);
  --clr-border:        rgba(255, 255, 255, 0.08);
  --clr-border-focus:  rgba(255, 255, 255, 0.22);

  --clr-primary:       #ffffff;
  --clr-primary-dim:   rgba(255, 255, 255, 0.08);
  --clr-primary-glow:  rgba(255, 255, 255, 0.16);
  --clr-accent:        #ffffff;
  --clr-accent-dim:    rgba(255, 255, 255, 0.08);

  --clr-text:          #f5f5f7;
  --clr-text-muted:    rgba(245, 245, 247, 0.62);
  --clr-text-faint:    rgba(245, 245, 247, 0.3);

  --grad-warm:         linear-gradient(to bottom, #ffffff, #f1f1ee, #deded9);
  --grad-primary:      linear-gradient(135deg, #ffffff, #d9d9d4);
  --grad-cta:          linear-gradient(135deg, #ffffff, #d9d9d4);
  --grad-text:         linear-gradient(90deg, #ffffff, #a1a1a6);

  --shadow-glow:       0 0 32px rgba(255, 255, 255, 0.06);
  --shadow-glow-sm:    0 0 18px rgba(255, 255, 255, 0.05);
  --shadow-accent:     0 24px 60px rgba(0, 0, 0, 0.55);

  --aurora-1: radial-gradient(640px 420px at 12% -8%, rgba(255, 255, 255, 0.035), transparent 60%);
  --aurora-2: radial-gradient(720px 520px at 95% 6%, rgba(255, 255, 255, 0.025), transparent 60%);
  --aurora-3: radial-gradient(680px 520px at 50% 115%, rgba(255, 255, 255, 0.02), transparent 62%);

  --font-ui:      'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Geist', 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Zemin ve tipografi ──────────────────────────────────── */
html,
body {
  background: #000;
}

body {
  color: var(--clr-text);
  background-color: #000;
  background-image:
    radial-gradient(ellipse 80% 36% at 50% -8%, rgba(255, 255, 255, 0.045), transparent 62%),
    radial-gradient(ellipse 46% 26% at 12% 14%, rgba(120, 126, 138, 0.035), transparent 68%),
    radial-gradient(ellipse 46% 26% at 88% 22%, rgba(255, 255, 255, 0.025), transparent 68%);
  background-attachment: scroll;
}

body::after {
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.015) 40%,
    transparent 70%);
}

body::before {
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

::selection {
  background: #fff;
  color: #000;
}

/* Ana sayfadaki gibi bölümler observer beklemeden görünür olsun */
.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.container {
  max-width: 1280px;
}

h1, h2, h3, h4 {
  color: #fff;
}

a {
  color: #fff;
}

a:hover {
  color: rgba(255, 255, 255, 0.68);
}

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar {
  height: 64px;
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.navbar.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.navbar__inner {
  max-width: 1280px;
  height: 64px;
}

.navbar__logo {
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.navbar__logo img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.navbar__logo span {
  color: #fff !important;
}

.navbar__nav {
  gap: 2px;
}

.navbar__link {
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.62);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: transparent;
  transition: color 160ms ease, background 160ms ease;
}

.navbar__link:hover,
.navbar__link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.navbar__hamburger {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar__hamburger span {
  background: #f5f5f7;
}

.navbar__mobile {
  background: rgba(0, 0, 0, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.navbar__mobile .navbar__link {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}

/* ─── Butonlar ────────────────────────────────────────────── */
.btn {
  height: 44px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: #111;
  box-shadow: none;
  text-shadow: none;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    color 180ms ease;
}

.btn::before,
.btn::after {
  display: none !important;
}

.btn--sm {
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
}

.btn--lg {
  height: 48px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 18px;
  font-size: 16px;
}

.btn--icon {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 12px;
}

.btn--primary {
  background: linear-gradient(to bottom, #ffffff, #f1f1ee, #deded9);
  color: #111;
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(to bottom, #ffffff, #f7f7f4, #e7e7e2);
  color: #000;
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  animation: none;
}

.btn--ghost,
.btn--secondary {
  background: rgba(255, 255, 255, 0.075);
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover,
.btn--ghost:focus-visible,
.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn--danger {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.28);
}

.btn--danger:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.btn--discord {
  background: #ffffff;
  color: #111;
  border-color: transparent;
}

.btn--discord:hover {
  background: #f1f1ee;
  color: #111;
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98) !important;
}

.filter-btn.active,
.density-btn.active,
.sc-tab.active,
.pt-tab.active {
  background: rgba(255, 255, 255, 0.13) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

/* ─── Formlar ─────────────────────────────────────────────── */
.form-input,
.form-select,
.form-textarea,
.input,
.search-bar input,
.search-input,
textarea,
select {
  background-color: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px;
  color: #f5f5f7 !important;
  font-family: var(--font-ui);
  box-shadow: none;
}

.form-input::placeholder,
.form-textarea::placeholder,
.input::placeholder,
.search-bar input::placeholder,
textarea::placeholder {
  color: rgba(245, 245, 247, 0.34);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.input:focus,
.search-bar input:focus,
.search-input:focus,
textarea:focus,
select:focus {
  background-color: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
  outline: none;
}

select option {
  background: #0c0c0c;
  color: #f5f5f7;
}

.form-label,
.search-bar label {
  color: rgba(245, 245, 247, 0.46);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.password-toggle {
  color: rgba(245, 245, 247, 0.35);
}

.password-toggle:hover {
  color: rgba(245, 245, 247, 0.7);
}

/* ─── Kartlar / yüzeyler ─────────────────────────────────── */
.card,
.settings-card,
.auth-card,
.stat-box,
.announce-item,
.maintenance-card,
.wizard,
.user-card,
.info-card,
.access-card,
.activity-row,
.admin-modal,
.dash-modal-panel {
  background: #0c0c0c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px;
  box-shadow: none !important;
}

.card {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease, border-color 180ms ease;
}

.card:hover,
.card--interactive:hover,
.cheat-card:hover,
.user-card:hover,
.stat-box:hover,
.announce-item:hover {
  background: #111 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4) !important;
}

.card__header,
.card__footer,
.settings-card__header,
.announce-item,
.admin-modal__head,
.admin-modal__foot {
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.settings-card__header {
  background: rgba(255, 255, 255, 0.02) !important;
}

.card.skeleton,
.skeleton {
  background: #0c0c0c !important;
  border-color: transparent !important;
}

.cheat-card {
  background: #0c0c0c !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.cheat-card__title,
.card__title,
.settings-card strong,
.user-name {
  color: #fff !important;
}

.cheat-card__desc,
.card__desc,
.user-meta {
  color: rgba(245, 245, 247, 0.52) !important;
}

/* ─── Başlıklar ───────────────────────────────────────────── */
.page-title,
.section-title,
.game-hero h1,
.detail-hero h1,
.announce-header h1,
.profile-username,
.auth-title,
.maintenance-title,
.about-page h1,
.about-page h2,
.about-page h3,
.admin-section-title,
.stat-card__value,
.stat-value {
  font-family: var(--font-display) !important;
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
}

.section-title::before {
  background: #fff !important;
}

.page-title span {
  color: #fff !important;
}

.text-grad {
  background: linear-gradient(90deg, #ffffff, #a1a1a6) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* ─── Sayfa başlıkları / hero alanları ───────────────────── */
.game-hero,
.detail-hero,
.announce-header,
.profile-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
}

.game-hero::before {
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.055), transparent 60%) !important;
}

.game-hero__logo {
  filter: none !important;
}

.hero__tag,
.announce-badge {
  color: rgba(245, 245, 247, 0.62) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.announce-badge.maintenance {
  color: #fbbf24 !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
}

.announce-badge.live {
  color: #22c55e !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
}

/* ─── Auth sayfaları ──────────────────────────────────────── */
.auth-page {
  background: transparent !important;
}

.auth-logo {
  color: #fff !important;
  text-shadow: none !important;
}

.auth-title {
  font-size: clamp(26px, 3vw, 32px);
}

.auth-subtitle {
  color: rgba(245, 245, 247, 0.52) !important;
}

.auth-bg-glow::before {
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06) 0%, transparent 65%) !important;
}

.auth-bg-glow::after {
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.035) 0%, transparent 65%) !important;
}

.auth-card .card__header,
.auth-card .card__footer {
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.auth-banner {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 247, 0.7);
}

/* ─── Profil ──────────────────────────────────────────────── */
:root {
  --profile-bg: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
  --profile-accent: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.profile-banner {
  background: var(--profile-accent) !important;
  opacity: 0.6 !important;
}

.profile-avatar-big {
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
  color: #fff !important;
}

.profile-joined {
  color: rgba(245, 245, 247, 0.62) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.tab-btn {
  color: rgba(245, 245, 247, 0.52) !important;
}

.tab-btn:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.tab-btn.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.settings-card {
  overflow: hidden;
}

.settings-card__body {
  color: rgba(245, 245, 247, 0.62);
}

/* ─── İçerik detay ───────────────────────────────────────── */
.detail-img,
.detail-img-placeholder,
.gallery-main,
.gallery-main-placeholder {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: #0c0c0c !important;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.gallery-thumb.active {
  border-color: #fff !important;
}

.comment-reply {
  border-left-color: rgba(255, 255, 255, 0.14) !important;
}

.warning-box {
  background: rgba(245, 158, 11, 0.055) !important;
  border-color: rgba(245, 158, 11, 0.18) !important;
}

/* ─── Wizard / dropdown ──────────────────────────────────── */
.wizard {
  border-radius: 20px;
}

.wizard::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent) !important;
}

.wizard__opt {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.wizard__opt:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.wizard__opt.selected {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}

.wizard__opt-icon,
.step-num {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

.wizard__dot.done {
  background: rgba(255, 255, 255, 0.4) !important;
}

.wizard__dot.active {
  background: #fff !important;
}

.wizard__back:hover {
  color: #fff !important;
}

.exec-dd__btn,
.exec-dd__menu {
  background: #0c0c0c !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f5f5f7 !important;
}

.exec-dd__opt:hover,
.exec-dd__opt.is-selected {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
}

/* ─── Admin ──────────────────────────────────────────────── */
.admin-sidebar {
  background: #000 !important;
  border-right-color: rgba(255, 255, 255, 0.07) !important;
}

.sidebar-brand-title,
.sidebar-section-label,
.stat-card__label,
.stat-label {
  color: rgba(245, 245, 247, 0.32) !important;
}

.admin-nav-item {
  color: rgba(245, 245, 247, 0.56) !important;
}

.admin-nav-item:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.admin-nav-item.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-left-color: #fff !important;
}

.admin-main,
.admin-content,
.admin-layout {
  background: #000 !important;
}

.admin-sidebar .sidebar-footer {
  border-top-color: rgba(255, 255, 255, 0.07) !important;
}

.stat-card {
  background: #0c0c0c !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
  transform: translateY(-2px);
}

.data-table th,
.leaderboard-table th {
  color: rgba(245, 245, 247, 0.36) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.data-table td,
.leaderboard-table td {
  border-bottom-color: rgba(255, 255, 255, 0.045) !important;
}

.data-table tr:hover td,
.leaderboard-table tr:hover td {
  background: rgba(255, 255, 255, 0.025) !important;
}

.search-bar input {
  height: 38px;
}

.admin-modal-overlay,
.wizard-overlay,
.maintenance-overlay {
  background: rgba(0, 0, 0, 0.84) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.admin-modal {
  border-radius: 18px;
}

.admin-modal__head,
.admin-modal__foot {
  border-color: rgba(255, 255, 255, 0.07) !important;
}

/* ─── Tablolar / listeler ────────────────────────────────── */
.data-table,
.leaderboard-table {
  color: rgba(245, 245, 247, 0.72);
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: #000;
  border-top-color: rgba(255, 255, 255, 0.07);
  color: rgba(245, 245, 247, 0.45);
}

.footer span {
  color: #fff;
}

.ys-footer {
  margin-top: clamp(72px, 8vw, 110px);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #000;
}

.ys-footer__brand b {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.ys-footer__brand b span {
  color: #fff !important;
}

.ys-footer p,
.ys-footer ul a {
  color: rgba(245, 245, 247, 0.48);
  font-family: var(--font-ui);
  font-size: 13.5px;
}

.ys-footer h4 {
  color: rgba(245, 245, 247, 0.34);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ys-footer ul a:hover {
  color: #fff;
}

.ys-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(245, 245, 247, 0.32);
}

/* ─── Küçük detaylar ─────────────────────────────────────── */
.badge,
.chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 247, 0.72);
}

.badge--primary {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

.spinner {
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: #fff;
}

.empty-state,
.empty-state__title,
.empty-state__text {
  color: rgba(245, 245, 247, 0.52);
}

.divider {
  border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .navbar__link {
    padding: 10px 12px;
  }

  .page-title,
  .game-hero h1,
  .detail-hero h1,
  .announce-header h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .admin-main {
    padding: 22px 18px;
  }

  .data-table {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .card,
  .stat-box,
  .wizard__opt {
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .stat-box:hover,
  .wizard__opt:hover {
    transform: none;
  }
}
