/* ============================================================
   TürkSunucuGame — Crystal Realm CSS
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #08090b;
  --bg2:          #0d0f12;
  --surface:      rgba(14, 16, 20, 0.75);
  --surface-bd:   rgba(255,255,255,0.08);
  --surface-bd2:  rgba(255,255,255,0.13);
  --text:         #f5f5f4;
  --text-mu:      #a1a1aa;
  --text-dim:     #71717a;
  --accent:       oklch(0.72 0.18 142);
  --accent-bright:oklch(0.82 0.18 142);
  --accent-soft:  oklch(0.72 0.18 142 / 0.12);
  --accent-line:  oklch(0.72 0.18 142 / 0.35);
  --gold:         #d4a857;
  --red:          #ef4444;
  --blue:         #3b82f6;

  /* rütbe renkleri (eski) */
  --color-oyuncu: #9ca3af;
  --color-vip:    #fbbf24;
  --color-mod:    #06b6d4;
  --color-admin:  #ef4444;
  --color-kurucu: #d946ef;

  --radius:       14px;
  --radius-lg:    22px;
  --radius-xl:    28px;
  --shadow:       0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg:    0 24px 60px rgba(0,0,0,0.7);
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --font-main:    'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* compat aliases */
  --bg-dark:    var(--bg);
  --bg-card:    var(--surface);
  --bg-card2:   var(--bg2);
  --border:     var(--surface-bd2);
  --text-muted: var(--text-mu);
  --green:      var(--accent);
  --emerald:    var(--accent);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-bd2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-line); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 72px; }

/* ── Glassmorphism Utility ──────────────────────────────────── */
.glass {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-bd);
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,0.04),
    0 1px 2px rgba(0,0,0,0.4),
    0 20px 48px -20px rgba(0,0,0,0.5);
}

/* Background gradient orbs */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: -1;
}
body::before {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: oklch(0.55 0.2 142 / 0.35);
}
body::after {
  width: 500px; height: 500px;
  top: 200px; right: -100px;
  background: oklch(0.55 0.2 202 / 0.2);
}

/* ── Loader ──────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .5s, visibility .5s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo { display: block; margin-bottom: 1.5rem; animation: v3float 2s ease-in-out infinite alternate; }
.loader-text {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.loader-bar {
  width: 200px; height: 3px;
  background: var(--surface-bd2);
  border-radius: 2px;
  overflow: hidden; margin: 0 auto;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  width: 0;
  animation: loadBar 1.5s ease-out forwards;
  border-radius: 2px;
}

/* ── Auth Modal ──────────────────────────────────────────── */
.auth-overlay {
  position: fixed; inset: 0;
  background: rgba(8,9,11,.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn .3s ease;
  backdrop-filter: blur(12px);
}
.auth-overlay.hidden { display: none; }

.auth-modal {
  background: var(--surface);
  border: 1px solid var(--surface-bd2);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  width: 100%; max-width: 440px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, var(--shadow-lg);
  animation: slideUp .35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px);
}

.auth-modal-header { text-align: center; margin-bottom: 1.5rem; }
.auth-logo { margin-bottom: .75rem; }
.auth-logo-img {
  width: 80px; height: 80px;
  object-fit: contain;
  display: block; margin: 0 auto;
  filter: drop-shadow(0 0 16px oklch(0.72 0.18 142 / 0.5));
  animation: v3float 3s ease-in-out infinite alternate;
}
.auth-title {
  font-size: 1.3rem; font-weight: 700;
  color: var(--text);
  margin-bottom: .3rem;
  letter-spacing: -0.02em;
}
.auth-subtitle { color: var(--text-mu); font-size: .9rem; }

.auth-tabs {
  display: flex; gap: 6px; margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.04);
  border-radius: 100px;
  padding: 4px;
  border: 1px solid var(--surface-bd);
}
.auth-tab {
  flex: 1; padding: .6rem .8rem;
  border: none; border-radius: 100px;
  background: transparent; color: var(--text-mu);
  font-family: var(--font-main); font-weight: 600; font-size: .88rem;
  cursor: pointer; transition: all .25s;
}
.auth-tab.active {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #061008;
}
.auth-tab:hover:not(.active) { color: var(--text); }

.auth-forms-mask { overflow: hidden; width: 100%; position: relative; }
.auth-forms-slider {
  display: flex; width: 200%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-form { width: 50%; flex-shrink: 0; padding: 4px; }

.auth-message {
  padding: .75rem 1rem; border-radius: var(--radius);
  margin-bottom: 1.2rem; font-weight: 600; font-size: .88rem;
  text-align: center; border: 1px solid transparent;
}
.auth-message.success {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-line);
}
.auth-message.error {
  background: rgba(239,68,68,.1);
  color: #f87171;
  border-color: rgba(239,68,68,.3);
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-weight: 600; font-size: .85rem;
  margin-bottom: .4rem; color: var(--text-mu);
}
.form-group small { color: var(--text-dim); font-size: .75rem; margin-top: .25rem; display: block; }
.form-group input {
  width: 100%; padding: .75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--surface-bd2);
  border-radius: var(--radius);
  color: var(--text); font-family: var(--font-main); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: rgba(255,255,255,0.06);
}

.auth-footer-note {
  text-align: center; margin-top: 1.2rem;
  font-size: .8rem; color: var(--text-dim);
}
.server-ip-copy {
  color: var(--accent); cursor: pointer;
  font-family: var(--font-mono); font-size: .85rem;
  transition: opacity .2s;
}
.server-ip-copy:hover { opacity: .8; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--font-main); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  border: none; text-decoration: none; border-radius: 100px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #061008;
  box-shadow: 0 8px 20px -8px var(--accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px var(--accent); }
.btn-primary:active { transform: translateY(0); }

.btn-full { width: 100%; }

.btn-register {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--font-main); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: transform .2s; border: none; border-radius: 100px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #0a0c08;
}
.btn-register:hover { transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--font-main); font-weight: 500; font-size: .95rem;
  cursor: pointer; transition: background .2s, border-color .2s;
  border: 1px solid var(--surface-bd2); border-radius: 100px;
  background: transparent; color: var(--text); text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }

.btn-copy {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.2rem; font-size: .85rem; font-weight: 600;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #061008; border: none; border-radius: 100px;
  cursor: pointer; transition: transform .2s; white-space: nowrap;
  font-family: var(--font-main);
}
.btn-copy:hover { transform: translateY(-1px); }
.btn-copy.copied { background: linear-gradient(135deg, #fbbf24, #d97706); }

.btn-nav-login {
  padding: .5rem 1.2rem;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #061008; border: none; border-radius: 100px;
  font-family: var(--font-main); font-weight: 600; font-size: .88rem;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 16px -6px var(--accent);
}
.btn-nav-login:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -6px var(--accent); }

.btn-logout {
  padding: .4rem .9rem;
  background: rgba(239,68,68,.1); color: #f87171;
  border: 1px solid rgba(239,68,68,.3); border-radius: 100px;
  font-weight: 500; font-size: .8rem; transition: all .2s;
  cursor: pointer;
}
.btn-logout:hover { background: rgba(239,68,68,.2); }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  /* announcement bar is 38px tall — JS adds .has-announcement to body to shift */
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(8,9,11,.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-bd);
}

.nav-container {
  max-width: 1320px; margin: 0 auto;
  padding: 20px 72px;
  display: flex; align-items: center; gap: 1.5rem;
}

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 1rem;
  color: var(--text); white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand-badge {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #061008; font-weight: 700; font-size: .78rem;
  letter-spacing: 0; box-shadow: 0 6px 16px -6px var(--accent);
  flex-shrink: 0;
}
.nav-logo-img { display: none; }
.nav-name { font-size: .95rem; font-weight: 600; letter-spacing: -0.01em; }

/* Pill nav */
.nav-menu {
  display: flex; list-style: none; gap: 3px; margin: 0 auto;
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-bd);
  border-radius: 100px;
  padding: 5px;
}
.nav-link {
  display: block; padding: .5rem 1.1rem;
  border-radius: 100px;
  font-weight: 500; font-size: .875rem; color: var(--text-mu);
  transition: all .2s; white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-link.active {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #061008;
}

.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-user {
  display: flex; align-items: center; gap: .5rem;
  padding: .35rem .9rem;
  background: var(--surface);
  border: 1px solid var(--surface-bd2);
  border-radius: 100px;
  font-size: .85rem;
}
.nav-avatar { font-size: 1rem; }
.nav-username { font-weight: 600; color: var(--text); }

.rank-badge {
  display: inline-block; padding: .15rem .55rem;
  border-radius: 100px; font-size: .68rem; font-weight: 700;
  white-space: nowrap;
}

.theme-toggle {
  display: none; /* Crystal Realm is always dark */
}

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Announcement Bar ────────────────────────────────────── */
.announcement-bar {
  position: fixed; top: 70px; left: 0; right: 0; z-index: 850;
  background: linear-gradient(90deg, oklch(0.55 0.18 142 / 0.9), oklch(0.45 0.18 142 / 0.9));
  backdrop-filter: blur(16px);
  color: var(--text);
  padding: .55rem 1.5rem;
  display: flex; align-items: center; gap: .75rem;
  font-weight: 500; font-size: .85rem;
  border-bottom: 1px solid var(--accent-line);
}
.announcement-icon { font-size: 1rem; flex-shrink: 0; }
.announcement-close {
  margin-left: auto; background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--text); opacity: .7; flex-shrink: 0;
  transition: opacity .2s;
}
.announcement-close:hover { opacity: 1; }

/* ── Section Common ──────────────────────────────────────── */
.section { padding: 100px 0; }
.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05;
  font-weight: 600; letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: .75rem;
}
.section-subtitle, .section-desc {
  text-align: center; color: var(--text-mu);
  font-size: 1.05rem; margin-bottom: 3rem; line-height: 1.6;
}

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.15em;
  margin-bottom: .75rem;
  display: block;
}

/* Section header row */
.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem; gap: 2rem;
}
.section-header-row .section-title { text-align: left; margin-bottom: 0; }
.section-header-row .section-desc { text-align: left; margin-bottom: 0; max-width: 520px; }

/* ── Home Section ────────────────────────────────────────── */
.section-home { padding: 0; }

.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 72px 80px;
  position: relative; overflow: hidden;
  width: 100%;
}

.hero-particles { display: none; } /* Crystal Realm uses CSS orbs */

.hero-inner {
  max-width: 1320px; width: 100%;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--surface);
  border: 1px solid var(--surface-bd2);
  color: var(--text-mu);
  padding: .45rem 1.1rem; border-radius: 100px;
  font-weight: 500; font-size: .85rem; margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.hero-badge-online {
  border-color: var(--accent-line);
  color: var(--text-mu);
}
.hero-badge-online::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  display: inline-block;
  flex-shrink: 0;
}
.hero-badge-offline {
  border-color: rgba(239,68,68,.3);
  color: #f87171;
}
.hero-badge-offline::before {
  content: '';
  width: 7px; height: 7px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.hero-player-list {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-bottom: 1.25rem; margin-top: -.5rem;
}
.hero-player {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--surface);
  border: 1px solid var(--surface-bd);
  border-radius: 100px;
  padding: .2rem .7rem .2rem .35rem;
  font-size: .78rem; font-weight: 500; color: var(--text-mu);
  backdrop-filter: blur(8px);
}
.hero-player img {
  width: 16px; height: 16px;
  border-radius: 3px; image-rendering: pixelated;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic; font-weight: 400;
  display: block;
}
.hero-title strong {
  font-weight: 700; display: block;
}
.hero-title .accent { color: var(--accent); }

.hero-subtitle {
  font-size: 1.15rem; font-weight: 500; color: var(--text);
  margin-bottom: .5rem;
}
.hero-desc {
  font-size: 1.05rem; color: var(--text-mu); margin-bottom: 2.5rem; line-height: 1.6; max-width: 520px;
}

.hero-ip-box {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--surface);
  border: 1px solid var(--surface-bd2);
  border-radius: 100px; padding: 5px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(16px);
}
.hero-ip-label {
  font-family: var(--font-mono); font-size: .7rem;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.15em;
  padding: 0 .75rem 0 1rem;
}
.hero-ip {
  font-family: var(--font-mono); color: var(--text);
  font-weight: 500; font-size: .95rem;
  padding: 0 .5rem 0 0;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-hero { padding: .85rem 2rem; font-size: 1rem; }

/* Hero illustration */
.hero-illustration {
  position: relative; z-index: 1; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  height: 520px;
}
.mc-item-frame-wrap {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
/* ── 3D Spinning Cube ── */
.cube-glow {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.55 0.22 142 / 0.5), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
/* Drift wrapper: sağa-sola hareket */
.cube-drift {
  animation: cubeDrift 5s ease-in-out infinite alternate;
  position: relative; z-index: 1;
}
@keyframes cubeDrift {
  0%   { transform: translateX(-28px) translateY(0px); }
  50%  { transform: translateX(0px)   translateY(-12px); }
  100% { transform: translateX(28px)  translateY(0px); }
}
.cube-scene {
  width: 300px; height: 300px;
  perspective: 900px;
  perspective-origin: 50% 45%;
}
.cube {
  width: 300px; height: 300px;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeRotate 14s linear infinite;
}
@keyframes cubeRotate {
  0%   { transform: rotateX(-18deg) rotateY(0deg); }
  100% { transform: rotateX(-18deg) rotateY(360deg); }
}
.cube-face {
  position: absolute;
  width: 300px; height: 300px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid oklch(0.72 0.18 142 / 0.42);
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 36px, oklch(0.72 0.18 142 / 0.09) 36px, oklch(0.72 0.18 142 / 0.09) 37px),
    repeating-linear-gradient(90deg,  transparent, transparent 36px, oklch(0.72 0.18 142 / 0.09) 36px, oklch(0.72 0.18 142 / 0.09) 37px),
    linear-gradient(135deg, oklch(0.14 0.04 142), oklch(0.10 0.02 142));
  box-shadow: inset 0 0 30px oklch(0.72 0.18 142 / 0.08);
}
.cube-front  { transform: rotateY(  0deg) translateZ(150px); }
.cube-back   { transform: rotateY(180deg) translateZ(150px); }
.cube-right  { transform: rotateY( 90deg) translateZ(150px); }
.cube-left   { transform: rotateY(-90deg) translateZ(150px); }
.cube-top    { transform: rotateX( 90deg) translateZ(150px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(150px); }
/* Lighter top face */
.cube-top {
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 36px, oklch(0.72 0.18 142 / 0.13) 36px, oklch(0.72 0.18 142 / 0.13) 37px),
    repeating-linear-gradient(90deg,  transparent, transparent 36px, oklch(0.72 0.18 142 / 0.13) 36px, oklch(0.72 0.18 142 / 0.13) 37px),
    linear-gradient(135deg, oklch(0.20 0.06 142), oklch(0.14 0.04 142));
}
.cube-logo {
  width: 82%; height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px oklch(0.72 0.18 142 / 0.75)) brightness(1.1);
}
.cube-logo-sm { width: 58%; height: 58%; }

/* Legacy fallback – not used but keep selector alive */
.mc-item-frame { display: none; }
.hero-char-img  { display: none; }

/* Floating glass info cards */
.ore-float {
  position: absolute;
  backdrop-filter: blur(8px);
  background: var(--surface);
  border: 1px solid var(--surface-bd2);
  border-radius: 14px;
  padding: .75rem 1rem;
  font-size: .85rem; font-weight: 500;
  white-space: nowrap; color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: v3float 4s ease-in-out infinite alternate;
  pointer-events: none;
}
.ore-diamond  { top: 8%; left: -10%; animation-delay: 0s; }
.ore-gold     { top: 12%; right: -5%; animation-delay: 0.5s; }
.ore-redstone { bottom: 18%; left: -8%; animation-delay: 1s; }
.ore-emerald  { bottom: 12%; right: -5%; animation-delay: 1.5s; }

/* ── Ranks Section ───────────────────────────────────────── */
.ranks-section { padding: 100px 0; }

.ranks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.rank-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-bd);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.rank-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
/* tier orb glow */
.rank-card::after {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, var(--rank-color, #aaa) 0%, transparent 70%);
  opacity: 0.25;
  filter: blur(24px);
  pointer-events: none;
}
.rank-oyuncu { --rank-color: var(--color-oyuncu); }
.rank-vip    { --rank-color: var(--color-vip); }
.rank-mod    { --rank-color: var(--color-mod); }
.rank-admin  { --rank-color: var(--color-admin); }
.rank-kurucu { --rank-color: var(--color-kurucu); }

.rank-card:hover {
  transform: translateY(-6px);
  border-color: var(--rank-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--rank-color);
}

.rank-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--rank-color), color-mix(in oklch, var(--rank-color), #000 40%));
  box-shadow: 0 10px 20px -8px var(--rank-color);
  margin-bottom: 1.1rem; flex-shrink: 0;
  position: relative; z-index: 1;
}
.rank-header { margin-bottom: .6rem; }
.rank-tag-mono {
  font-family: var(--font-mono);
  font-size: .68rem; color: var(--text-dim);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: .3rem; display: block;
}
.rank-name {
  font-weight: 700; font-size: 1.15rem;
  color: var(--text); letter-spacing: -0.02em;
}
.rank-tag { display: none; }

.rank-desc {
  color: var(--text-mu); font-size: .85rem; line-height: 1.6;
  margin-bottom: 1.2rem; flex: 1;
}
.rank-perks { display: flex; flex-direction: column; gap: .45rem; }
.perk {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--text-mu);
}
.perk::before {
  content: '✓';
  color: var(--rank-color);
  font-size: .8rem;
  flex-shrink: 0;
}

/* ── User Profile Bar ────────────────────────────────────── */
.user-profile-bar {
  background: var(--bg2);
  border-top: 1px solid var(--surface-bd);
  border-bottom: 1px solid var(--surface-bd);
  padding: 1.5rem 0;
}
.user-profile-inner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.profile-avatar { font-size: 2.5rem; }
.profile-info h3 {
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: .3rem;
}
.profile-info small { color: var(--text-dim); font-size: .78rem; font-family: var(--font-mono); }
.profile-stats {
  margin-left: auto; display: flex; gap: 2rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value { display: block; font-weight: 700; font-size: 1.05rem; color: var(--accent); letter-spacing: -0.02em; }
.stat-label { font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); }
.btn-logout-profile {
  padding: .5rem 1.1rem;
  background: rgba(239,68,68,.1); color: #f87171;
  border: 1px solid rgba(239,68,68,.3); border-radius: 100px;
  font-weight: 500; font-size: .85rem; cursor: pointer; transition: all .2s;
  display: inline-block;
}
.btn-logout-profile:hover { background: rgba(239,68,68,.2); }

/* ── Videos Section ──────────────────────────────────────── */
.section-videos { background: var(--bg2); }

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

.video-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
  padding: .875rem;
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
}
.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius);
}
.video-wrapper iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.video-info { padding: 1rem .5rem .4rem; }
.video-title {
  font-weight: 600; font-size: 1rem;
  letter-spacing: -0.02em; margin-bottom: .4rem;
}
.video-desc { color: var(--text-mu); font-size: .85rem; line-height: 1.5; }

/* ── Rules Section ───────────────────────────────────────── */
.section-rules { }

.rules-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.rules-sticky {
  position: sticky; top: 100px;
}
.rules-warning-card {
  display: flex; gap: .875rem; align-items: flex-start;
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-bd2);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-top: 2rem;
}
.rules-warning-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #f87171, #b91c1c);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; font-weight: 700;
}
.rules-warning-text h4 {
  font-size: .95rem; font-weight: 600; margin-bottom: .3rem;
}
.rules-warning-text .mono-chain {
  font-family: var(--font-mono); font-size: .8rem; color: var(--text-mu);
}

.rules-grid { display: flex; flex-direction: column; gap: 0; }
.rule-card {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--surface-bd);
  display: grid; grid-template-columns: 60px 1fr;
  gap: 1.5rem; align-items: baseline;
  background: transparent !important;
  border-left: none !important; border-right: none !important; border-top: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: fadeSlideIn .5s ease both;
  animation-delay: var(--delay);
  transition: background .2s;
}
.rule-card:first-child { border-top: 1px solid var(--surface-bd); }
.rule-card:hover { background: rgba(255,255,255,0.02) !important; }
.rule-icon-num {
  font-family: var(--font-mono);
  font-size: .85rem; color: var(--accent);
  letter-spacing: 0.08em;
}
.rule-icon { display: none; }
.rule-content {}
.rule-title {
  font-weight: 600; font-size: 1.15rem;
  letter-spacing: -0.02em; margin-bottom: .5rem;
  color: var(--text) !important;
}
.rule-desc {
  color: var(--text-mu) !important; font-size: .9rem;
  line-height: 1.6; font-weight: 400 !important;
}

.rules-footer { display: none; }
.rules-warning { display: none; }

/* ── Events Section ──────────────────────────────────────── */
.section-events { }

.events-group-title {
  font-family: var(--font-mono); font-size: .75rem;
  color: var(--text-dim); text-transform: uppercase;
  letter-spacing: 0.15em; margin-bottom: 1.25rem;
}

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

.event-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-bd);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex; gap: 1.1rem; align-items: flex-start;
  position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.event-card:hover { transform: translateY(-4px); border-color: var(--surface-bd2); }
.event-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--event-color, var(--accent));
  border-radius: 3px 0 0 3px;
}

.event-date-badge {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--surface-bd2);
  border-radius: var(--radius);
  padding: .6rem .9rem; flex-shrink: 0;
  min-width: 52px;
}
.event-day { font-size: 1.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.event-month { font-family: var(--font-mono); font-size: .65rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-top: .15rem; }

.event-icon { font-size: 1.5rem; flex-shrink: 0; display: none; }
.event-body { flex: 1; }
.event-title { font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; margin-bottom: .35rem; }
.event-time { font-family: var(--font-mono); font-size: .75rem; color: var(--text-dim); }
.event-desc { color: var(--text-mu); font-size: .85rem; line-height: 1.5; margin-top: .5rem; }
.event-countdown-badge { font-size: .78rem; color: var(--accent); font-weight: 600; }
.event-status { display: none; }
.event-card-past { opacity: .55; }

/* ── Polls Section ───────────────────────────────────────── */
.section-polls { }

.poll-widget {
  max-width: 640px; margin: 0 auto;
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-bd2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.poll-question {
  margin-bottom: 2rem;
}
.poll-q-icon { display: none; }
.poll-question h3 {
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: -0.025em; margin-bottom: .6rem;
}
.poll-desc { color: var(--text-mu); font-size: .9rem; line-height: 1.55; }
.poll-deadline {
  margin-top: .75rem;
  font-family: var(--font-mono); font-size: .75rem;
  color: var(--text-dim);
}

.poll-form {}
.poll-option {
  display: flex; align-items: center; gap: .875rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--surface-bd);
  border-radius: var(--radius);
  cursor: pointer; margin-bottom: .75rem;
  transition: border-color .2s, background .2s;
}
.poll-option:hover { background: rgba(255,255,255,0.07); border-color: var(--surface-bd2); }
.poll-option input[type=radio] { accent-color: var(--accent); }
.poll-option-text { font-weight: 500; font-size: .95rem; }

.poll-submit-btn { width: 100%; padding: .9rem; margin-top: .5rem; }

.poll-result-row {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.poll-result-label { font-weight: 500; font-size: .9rem; }
.poll-result-bar-wrap {
  width: 120px; height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px; overflow: hidden;
}
.poll-result-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  border-radius: 3px; transition: width .6s ease;
}
.poll-result-pct { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); min-width: 36px; text-align: right; }
.poll-result-count { font-family: var(--font-mono); font-size: .75rem; color: var(--text-dim); min-width: 46px; text-align: right; }
.poll-total { margin-top: 1.25rem; font-size: .85rem; color: var(--text-mu); }
.poll-voted-msg { margin-top: .5rem; font-size: .85rem; color: var(--accent); }
.poll-msg { margin-top: .75rem; font-size: .85rem; text-align: center; color: var(--text-mu); }

/* ── Movies Section ──────────────────────────────────────── */
.section-movies { background: var(--bg2); }

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

.movie-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-bd);
  border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  transition: transform .3s, border-color .3s;
}
.movie-card:hover { transform: translateY(-6px); border-color: var(--surface-bd2); }

.movie-video-wrap { position: relative; overflow: hidden; }
.movie-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background .25s;
}
.movie-card:hover .movie-play-overlay { background: rgba(0,0,0,0.15); }
.movie-play-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #0c0d10;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}
.movie-card:hover .movie-play-btn { transform: scale(1.08); }
.movie-info { padding: 1.1rem 1.25rem; }
.movie-title { font-weight: 600; font-size: .95rem; letter-spacing: -0.02em; margin-bottom: .35rem; }
.movie-desc { color: var(--text-mu); font-size: .82rem; line-height: 1.5; }

/* Movie Lightbox */
.movie-lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.movie-lightbox.open, .movie-lightbox.active { opacity: 1; visibility: visible; }
.movie-lightbox-inner {
  background: var(--surface);
  border: 1px solid var(--surface-bd2);
  border-radius: var(--radius-lg);
  overflow: hidden; max-width: 900px; width: 100%;
}
.movie-lightbox-info {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 1.25rem;
}
.movie-lightbox-title { font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; }
.movie-lightbox-desc { font-size: .85rem; color: var(--text-mu); margin-top: .25rem; }
.movie-lightbox-close {
  background: rgba(255,255,255,0.08); border: 1px solid var(--surface-bd2);
  color: var(--text); border-radius: 100px;
  width: 36px; height: 36px; cursor: pointer; font-size: 1rem;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.movie-lightbox-close:hover { background: rgba(255,255,255,0.14); }

/* ── Founders Section ────────────────────────────────────── */
.section-founders { }
.founders-bg-glow { display: none; }

.founders-header {
  text-align: center; margin-bottom: 4rem;
}
.founders-crown { font-size: 2.5rem; margin-bottom: .75rem; }
.founders-title { margin-bottom: .75rem; }

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

.founder-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-bd);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
  animation: fadeSlideIn .6s ease both;
  animation-delay: var(--delay);
}
.founder-card:hover { transform: translateY(-8px); border-color: var(--surface-bd2); }

/* header area with avatar */
.founder-avatar {
  position: relative;
  aspect-ratio: 4/3;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, oklch(0.55 0.18 142 / 0.4), oklch(0.12 0.02 142) 70%);
}
.founder-avatar::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask: radial-gradient(ellipse at 50% 60%, black 30%, transparent 80%);
}
.founder-avatar img {
  width: 70%; object-fit: contain; position: relative; z-index: 1;
  image-rendering: pixelated;
  filter: drop-shadow(0 -8px 24px rgba(0,0,0,0.5));
}
.founder-avatar-ring { display: none; }
.founder-glow { display: none; }

/* founder role badge overlay */
.founder-crown-icon {
  position: absolute; top: 1.1rem; left: 1.1rem;
  background: rgba(0,0,0,.45); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; padding: .35rem .9rem;
  font-size: .8rem; font-weight: 600; color: var(--text);
  z-index: 2;
}

.founder-name {
  font-family: var(--font-mono); font-size: 1.1rem;
  font-weight: 500; letter-spacing: 0;
  margin-bottom: .2rem;
}
.founder-badge { display: none; }
.founder-desc {
  color: var(--text-mu); font-size: .875rem;
  line-height: 1.55; margin-top: .75rem;
}

/* founder card body */
.founder-card > .founder-name,
.founder-card > .founder-desc,
.founder-card > .founder-badge,
.founder-card > .founder-stats {
  padding: 0 1.75rem;
}
.founder-card > .founder-name { padding-top: 1.5rem; }
.founder-card > .founder-desc { }
.founder-card > .founder-stats {
  display: flex; gap: 0;
  padding-bottom: 1.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--surface-bd);
}
.founder-stat {
  flex: 1; padding: 0 1rem;
  border-left: 1px solid var(--surface-bd);
  font-size: .85rem; color: var(--text-mu);
}
.founder-stat:first-child { border-left: none; padding-left: 0; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--surface-bd);
  background: var(--bg);
  padding: 80px 0 60px;
}
.footer-logo-img { display: none; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: .875rem;
  font-size: 1rem; font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer-logo-badge {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #061008; font-weight: 700; font-size: .75rem;
}
.footer-brand p { font-size: .9rem; color: var(--text-mu); line-height: 1.5; max-width: 280px; }
.footer-ip {
  margin-top: 1.25rem; display: inline-block;
  font-family: var(--font-mono); font-size: .8rem;
  padding: .5rem .875rem;
  background: var(--surface);
  border: 1px solid var(--surface-bd2);
  border-radius: var(--radius);
  color: var(--text-mu);
}

.footer-links h4, .footer-info h4 {
  font-family: var(--font-mono); font-size: .68rem;
  color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.15em; margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; }
.footer-links a {
  color: var(--text-mu); font-size: .9rem;
  padding: .3rem 0; transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-info p { color: var(--text-mu); font-size: .88rem; padding: .25rem 0; }

.footer-bottom {
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid var(--surface-bd);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  color: var(--text-dim); font-size: .8rem;
}
.footer-bottom p:last-child {
  font-family: var(--font-mono); font-size: .72rem;
}

/* ── Back To Top ─────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--surface-bd2);
  color: var(--text); font-size: 1.1rem;
  backdrop-filter: blur(16px);
  cursor: pointer; z-index: 800;
  display: none; align-items: center; justify-content: center;
  transition: transform .2s, border-color .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: translateY(-3px); border-color: var(--accent-line); }

/* ── Empty State ─────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 3rem 1rem;
  color: var(--text-dim); font-size: .95rem;
  background: var(--surface);
  border: 1px solid var(--surface-bd);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes v3float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes v3spin {
  from { transform: rotateY(0deg) rotateX(15deg); }
  to   { transform: rotateY(360deg) rotateX(15deg); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loadBar {
  0%   { width: 0; }
  60%  { width: 75%; }
  100% { width: 100%; }
}
@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0); }
  10%  { opacity: .6; }
  90%  { opacity: .4; }
  100% { opacity: 0; transform: translateY(-80vh); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 4px var(--accent); }
  50%       { box-shadow: 0 0 12px var(--accent); }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .container { padding: 0 40px; }
  .hero { padding: 100px 40px 60px; }
  .nav-container { padding: 16px 40px; }
  .ranks-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-illustration { height: 260px; }
  .mc-item-frame { width: 180px; height: 180px; }
  .ranks-grid { grid-template-columns: repeat(2, 1fr); }
  .rules-layout { grid-template-columns: 1fr; gap: 40px; }
  .rules-sticky { position: static; }
  .founders-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .hero { padding: 100px 20px 50px; }
  .nav-container { padding: 14px 20px; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,9,11,.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-bd);
    padding: 12px; gap: 4px;
    border-radius: 0;
  }
  .nav-toggle { display: flex; }
  .nav-menu.open .nav-link { padding: .7rem 1rem; }
  .navbar { position: fixed; }
  .section { padding: 60px 0; }
  .ranks-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-ip-box { flex-wrap: wrap; border-radius: var(--radius); }
}

/* ── Creative Mode (light) kept for JS compat ──────────────── */
body.creative-mode { /* intentionally empty — Crystal Realm stays dark */ }
