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

:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --text-dim: #94a3b8;
  --accent: #c4b5fd;
  --accent-strong: #a78bfa;
  --green: #4ade80;
  --red: #fb7185;
}

/* Hava paleti — gövde tonu */
body[data-weather="clear"] {
  --sky-a: #1e293b;
  --sky-b: #0f172a;
  --accent-live: #fde68a;
  --glow-live: rgba(253, 230, 138, 0.25);
}
body[data-weather="cloud"] {
  --sky-a: #1e293b;
  --sky-b: #0c1220;
  --accent-live: #cbd5e1;
  --glow-live: rgba(148, 163, 184, 0.2);
}
body[data-weather="rain"] {
  --sky-a: #0f172a;
  --sky-b: #020617;
  --accent-live: #7dd3fc;
  --glow-live: rgba(125, 211, 252, 0.2);
}
body[data-weather="snow"] {
  --sky-a: #1e293b;
  --sky-b: #0f172a;
  --accent-live: #e2e8f0;
  --glow-live: rgba(226, 232, 240, 0.25);
}
body[data-weather="fog"] {
  --sky-a: #334155;
  --sky-b: #1e293b;
  --accent-live: #cbd5e1;
  --glow-live: rgba(203, 213, 225, 0.15);
}
body[data-weather="storm"] {
  --sky-a: #0f0a1a;
  --sky-b: #020205;
  --accent-live: #a5b4fc;
  --glow-live: rgba(165, 180, 252, 0.3);
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

::selection {
  background: rgba(167, 139, 250, 0.35);
  color: #fff;
}

body {
  font-family: var(--font-ui);
  background: var(--sky-b);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background 1.2s var(--ease);
  -webkit-font-smoothing: antialiased;
}

body.intro-active { overflow: hidden; height: 100vh; }
body.site-revealed {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  height: auto;
}
body.dragging { cursor: grabbing !important; user-select: none; }

/* ========== Gökyüzü / hava katmanları ========== */
.sky-system {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sky-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, var(--sky-a), var(--sky-b));
  transition: background 1.2s var(--ease);
}

.sky-aurora {
  position: absolute;
  inset: -20%;
  opacity: 0;
  background:
    radial-gradient(ellipse 40% 30% at 20% 30%, rgba(167, 139, 250, 0.15), transparent),
    radial-gradient(ellipse 35% 25% at 80% 20%, rgba(56, 189, 248, 0.12), transparent);
  animation: auroraDrift 18s ease-in-out infinite;
}
body[data-weather="clear"] .sky-aurora,
body[data-weather="storm"] .sky-aurora {
  opacity: 1;
}

@keyframes auroraDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(2%, 3%) rotate(2deg); }
}

.sky-stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 30% 8%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 70% 15%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 90% 25%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 15% 45%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 55% 40%, rgba(255,255,255,0.25), transparent),
    radial-gradient(1px 1px at 85% 50%, rgba(255,255,255,0.35), transparent);
  background-size: 100% 100%;
  animation: starTwinkle 5s ease-in-out infinite;
}
body[data-weather="clear"] .sky-stars { opacity: 0.55; }

@keyframes starTwinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.85; }
}

.sky-sun {
  position: absolute;
  top: -8%;
  right: 8%;
  width: min(45vw, 320px);
  height: min(45vw, 320px);
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(253, 230, 138, 0.35) 0%, transparent 65%);
  filter: blur(4px);
  animation: sunPulse 6s ease-in-out infinite;
}
body[data-weather="clear"] .sky-sun { opacity: 1; }

@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.05); opacity: 1; }
}

.sky-clouds {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(ellipse 50% 20% at 20% 25%, rgba(255,255,255,0.06), transparent),
    radial-gradient(ellipse 40% 18% at 60% 18%, rgba(255,255,255,0.05), transparent),
    radial-gradient(ellipse 45% 22% at 85% 30%, rgba(255,255,255,0.04), transparent);
  animation: cloudMove 40s linear infinite;
}
body[data-weather="cloud"] .sky-clouds,
body[data-weather="rain"] .sky-clouds,
body[data-weather="snow"] .sky-clouds,
body[data-weather="storm"] .sky-clouds {
  opacity: 1;
}

@keyframes cloudMove {
  from { transform: translateX(0); }
  to { transform: translateX(-8%); }
}

.sky-rain {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: repeating-linear-gradient(
    100deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.04) 3px,
    rgba(255, 255, 255, 0.04) 4px
  );
  background-size: 120px 120px;
  animation: rainFall 0.7s linear infinite;
}
body[data-weather="rain"] .sky-rain,
body[data-weather="storm"] .sky-rain {
  opacity: 1;
}

@keyframes rainFall {
  from { background-position: 0 0; }
  to { background-position: 60px 120px; }
}

.sky-rain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    105deg,
    transparent,
    transparent 5px,
    rgba(125, 211, 252, 0.06) 5px,
    rgba(125, 211, 252, 0.06) 6px
  );
  background-size: 80px 160px;
  animation: rainFall2 0.55s linear infinite;
  opacity: 0.7;
}

@keyframes rainFall2 {
  from { background-position: 0 0; }
  to { background-position: 40px 160px; }
}

.sky-snow {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
body[data-weather="snow"] .sky-snow { opacity: 1; }

.snowflake {
  position: absolute;
  top: -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  animation: snowFall linear infinite;
  opacity: 0.9;
}

@keyframes snowFall {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  5% { opacity: 0.9; }
  100% { transform: translateY(110vh) translateX(24px) rotate(360deg); opacity: 0.4; }
}

.sky-fog {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    180deg,
    rgba(226, 232, 240, 0.08) 0%,
    transparent 40%,
    rgba(226, 232, 240, 0.12) 100%
  );
  backdrop-filter: blur(2px);
  animation: fogShift 25s ease-in-out infinite;
}
body[data-weather="fog"] .sky-fog { opacity: 1; }

@keyframes fogShift {
  0%, 100% { opacity: 0.85; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(2%); }
}

.sky-lightning {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  animation: none;
}
body[data-weather="storm"] .sky-lightning {
  animation: lightning 5s infinite;
}

@keyframes lightning {
  0%, 100%, 98% { opacity: 0; }
  98.5% { opacity: 0.7; }
  98.7% { opacity: 0; }
  99.2% { opacity: 0.4; }
  99.4% { opacity: 0; }
}

.sky-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

/* ========== Intro ========== */
.intro-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s step-end;
}
.intro-layer.intro-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.intro-skip {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.intro-skip:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 24px var(--glow-live);
}
.intro-skip:active { transform: scale(0.97); }

.site-root {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  pointer-events: none;
}
body.site-revealed .site-root {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.page-wrap {
  position: relative;
  z-index: 1;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
}

/* ========== Üst bar — menü tam ortada ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, 4vw);
  margin: 12px max(16px, 3vw) 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  z-index: 2;
}

.brand-ring {
  padding: 3px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-strong), rgba(255, 255, 255, 0.2));
  animation: ringGlow 4s ease-in-out infinite;
}

@keyframes ringGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.25); }
  50% { box-shadow: 0 0 24px 4px var(--glow-live); }
}

.brand-img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.3);
}

.brand-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

.topbar-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: max-content;
  max-width: min(420px, calc(100vw - 200px));
  pointer-events: none;
}

.topbar-center .nav,
.topbar-center .nav-links,
.topbar-center a {
  pointer-events: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  justify-content: center;
  flex-wrap: nowrap;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s, background 0.25s;
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav-links a.active {
  color: var(--text);
  background: rgba(167, 139, 250, 0.18);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.25);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  z-index: 2;
  margin-left: auto;
}

.weather-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-live);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.weather-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px var(--glow-live);
}
.weather-ico { font-size: 16px; line-height: 1; }

.lunx-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(167, 139, 250, 0.1);
}
.lunx-glow {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 12px var(--accent-strong);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  padding: 48px max(20px, 4vw) 72px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  margin: 0 max(12px, 2vw);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  transform: scale(1.03);
  animation: heroPhoto 30s ease-in-out infinite alternate;
}
@keyframes heroPhoto {
  from { transform: scale(1.03) translate(0, 0); }
  to { transform: scale(1.08) translate(-1%, 0.5%); }
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 45%, transparent 100%),
    linear-gradient(180deg, transparent 30%, var(--sky-b) 95%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-live);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  margin: 0 auto 20px;
}
.float-soft {
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-live);
  box-shadow: 0 0 12px var(--glow-live);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-heading {
  margin-bottom: 18px;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-mark {
  width: clamp(52px, 14vw, 64px);
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-name {
  background: linear-gradient(135deg, #f8fafc, var(--accent-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  display: block;
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.line-reveal {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: lineReveal 0.85s var(--ease-out) forwards;
}
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.2s; }

@keyframes lineReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 36em;
  margin: 0 auto 32px;
  padding: 0 8px;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.35s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 auto 22px;
  justify-content: center;
  align-items: stretch;
  max-width: 560px;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.48s forwards;
}

.ip-card {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 100%;
  text-align: left;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
}
.tilt-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px var(--glow-live);
}
.ip-card-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.ip-card-value {
  font-family: ui-monospace, monospace;
  font-size: 15px;
  font-weight: 600;
}

.btn-magnetic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  min-height: 56px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, var(--accent-strong), #ddd6fe);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 12px 32px rgba(167, 139, 250, 0.35);
}
.btn-magnetic:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(167, 139, 250, 0.45);
}
.btn-magnetic:active { transform: translateY(0) scale(0.98); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 28px;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.58s forwards;
}
.tag {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
}
.tag-glow {
  color: var(--accent-strong);
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.12);
}

.scroll-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  border: none;
  background: none;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.68s forwards;
  transition: color 0.2s;
}
.scroll-cta:hover { color: var(--accent-strong); }
.scroll-cta-line {
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
  animation: linePulse 2s ease-in-out infinite;
}
@keyframes linePulse {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(1.4); opacity: 0.6; }
}

/* ========== Sekmeler ========== */
.main { padding-bottom: 100px; }

.tabs-wrap {
  position: sticky;
  top: 92px;
  z-index: 90;
  margin: 0 max(16px, 3vw) 0;
  padding: 8px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.tabs-rail {
  position: relative;
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-rail::-webkit-scrollbar { display: none; }

.tab-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: #0f172a; }

.tab-glider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #e9d5ff, #c4b5fd);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), width 0.4s var(--ease-out);
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.35);
}

.tab-btn:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px max(20px, 4vw) 0;
}

.panels-stack {
  display: grid;
  min-height: 360px;
}

.panels-stack > .panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease-out), visibility 0.4s step-end;
  pointer-events: none;
}

.panels-stack > .panel.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  z-index: 1;
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease-out), visibility 0s;
}

.block-head { margin-bottom: 24px; }
.block-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.block-lead { font-size: 15px; color: var(--text-dim); }

.glass-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ========== Durum ========== */
.status-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 36px 28px 44px;
}

.orb-wrap { flex-shrink: 0; }

.sorb {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sorb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: spin 14s linear infinite;
}
.sr1 { width: 180px; height: 180px; }
.sr2 {
  width: 132px;
  height: 132px;
  animation-duration: 9s;
  animation-direction: reverse;
  border-color: rgba(167, 139, 250, 0.25);
}
.sr3 {
  width: 86px;
  height: 86px;
  animation-duration: 5s;
  border-style: dashed;
  opacity: 0.45;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.sorb-core {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--text-dim);
  z-index: 2;
  transition: background 0.4s, box-shadow 0.4s;
}
.sorb-core.online {
  background: var(--green);
  box-shadow: 0 0 32px rgba(74, 222, 128, 0.45);
}
.sorb-core.offline {
  background: var(--red);
  box-shadow: 0 0 28px rgba(251, 113, 133, 0.4);
}

.status-copy { flex: 1; min-width: 260px; }

.status-main-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.status-main-text.is-online { color: var(--green); }
.status-main-text.is-offline { color: var(--red); }
.status-main-text.is-unknown { color: var(--text-dim); }

.status-ip-line {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.status-players {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dim);
  min-height: 26px;
  margin-bottom: 22px;
}

.sinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 12px;
}

.sinfo-card {
  padding: 18px 12px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
.sinfo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.35);
}

.pop-in {
  opacity: 0;
  animation: popIn 0.55s var(--ease-out) forwards;
  animation-delay: calc(var(--st) * 0.08s);
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.sinfo-icon { font-size: 22px; margin-bottom: 6px; }
.sinfo-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.sinfo-val { font-size: 14px; font-weight: 700; }
.sinfo-lunx { color: var(--accent-strong); font-size: 15px; }
.sinfo-ip { font-family: ui-monospace, monospace; font-size: 11px; color: var(--text-dim); }

/* ========== Oyunlar ========== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gcard {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.35s;
  opacity: 0;
  animation: cardIn 0.6s var(--ease-out) forwards;
  animation-delay: calc(var(--gi) * 0.07s);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.gcard:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}
.gcard-bg {
  position: absolute;
  inset: 0;
  background: url("image.png") center / cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.gcard-shine {
  position: absolute;
  top: -50%;
  left: -80%;
  width: 60%;
  height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(12deg);
  transition: left 0.65s var(--ease-out);
  pointer-events: none;
}
.gcard:hover .gcard-shine { left: 120%; }

.gcard-icon { position: relative; font-size: 34px; margin-bottom: 10px; }
.gcard-name {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.gcard-desc {
  position: relative;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 12px;
}
.gtag {
  position: relative;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.gtag-on {
  color: var(--green);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.gtag-soon {
  color: var(--text-dim);
  border: 1px solid var(--glass-border);
}

/* ========== Duyurular ========== */
.updates-wrap { max-width: 640px; margin: 0 auto; }
.updates-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-dim);
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius);
}

.uitem {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 18px;
  margin-bottom: 18px;
  opacity: 0;
  animation: cardIn 0.5s var(--ease-out) forwards;
  animation-delay: calc(var(--ui) * 0.07s);
}
.uitem-line {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-strong), rgba(167, 139, 250, 0.2));
}
.uitem-body {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.uitem-body:hover {
  border-color: rgba(167, 139, 250, 0.3);
  transform: translateX(4px);
}
.uver {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-strong);
  margin-bottom: 6px;
  display: inline-block;
}
.udate { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.utitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.udesc { font-size: 14px; color: var(--text-dim); line-height: 1.55; margin-bottom: 10px; }
.utags { display: flex; flex-wrap: wrap; gap: 8px; }
.ut {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}
.ut-new { color: var(--green); background: rgba(74, 222, 128, 0.1); }
.ut-fix { color: var(--red); background: rgba(251, 113, 133, 0.1); }
.ut-improve { color: var(--text-dim); background: rgba(255, 255, 255, 0.05); }

/* ========== Katıl ========== */
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.jcard {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  animation: cardIn 0.55s var(--ease-out) forwards;
  animation-delay: calc(var(--ji) * 0.06s);
  transition: transform 0.3s var(--ease-out), border-color 0.25s;
}
.jcard:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, 0.3);
}
.jstep {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
}
.jstep-l {
  background: rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.4);
  color: var(--accent-strong);
}
.jcard h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.jcard p { font-size: 14px; color: var(--text-dim); line-height: 1.55; }
.jcard strong { color: var(--text); }
.soon-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: var(--accent-strong);
}
.jcard-launcher { border-style: dashed; }

.lunx-banner {
  position: relative;
  height: 190px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lunx-banner-gif {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.lunx-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.95) 0%, transparent 70%);
}
.lunx-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px max(20px, 4vw);
}
.lunx-banner-icon { font-size: 28px; margin-bottom: 6px; }
.lunx-banner-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 6px;
}
.lunx-banner-text p { font-size: 14px; color: var(--text-dim); max-width: 340px; }

/* ========== Footer ========== */
.footer {
  margin: 48px max(16px, 3vw) 32px;
  padding: 28px max(24px, 4vw);
  border-radius: var(--radius-lg);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-note { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.footer-ip {
  font-size: 13px;
  color: var(--text-dim);
}
.footer-ip code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--text);
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 2147482000;
  transform: translateX(-50%) translateY(120px);
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #e9d5ff, #c4b5fd);
  box-shadow: 0 16px 40px rgba(167, 139, 250, 0.4);
  pointer-events: none;
  transition: transform 0.45s var(--ease-out);
}
.toast.show { transform: translateX(-50%) translateY(0); }

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--sky-b); }
::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.35);
  border-radius: 999px;
}

@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    position: relative;
  }
  .brand { justify-content: center; }
  .topbar-center {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    pointer-events: auto;
    order: 0;
  }
  .topbar-right {
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    width: 100%;
  }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .tabs-wrap { top: auto; position: relative; margin-top: 8px; }
  .tabs-rail { flex-wrap: nowrap; }
  .tab-btn { font-size: 13px; padding: 12px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sky-aurora,
  .sky-stars,
  .sky-sun,
  .sky-clouds,
  .sky-rain,
  .sky-rain::after,
  .sky-fog,
  .sky-lightning,
  .hero-photo,
  .float-soft,
  .dot-pulse,
  .line-reveal,
  .scroll-cta-line,
  .sorb-ring,
  .brand-ring {
    animation: none !important;
  }
  .line-reveal { opacity: 1; transform: none; }
  .hero-sub,
  .hero-actions,
  .hero-tags,
  .scroll-cta { opacity: 1; animation: none; }
  .gcard,
  .uitem,
  .jcard,
  .pop-in { animation: none; opacity: 1; }
  .site-root { transition-duration: 0.01ms; }
}
