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

:root {
  --bg: #060d17;
  --bg2: #0a1524;
  --panel: rgba(13, 29, 48, .85);
  --panel-solid: #0d1d30;
  --line: rgba(126, 194, 255, .14);
  --text: #eff7ff;
  --muted: #8fa8bd;
  --blue: #4bb7ff;
  --blue2: #0b80db;
  --cyan: #80dcff;
  --primary: #148de0;
  --primary-glow: rgba(20, 141, 224, 0.45);
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

/* Smooth Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

.sky {
  position: fixed; inset: 0; pointer-events: none; z-index: -4;
  background:
    linear-gradient(rgba(6, 13, 23, 0.8), rgba(5, 11, 19, 0.95)),
    url('assets/bg.png') center / cover no-repeat fixed;
}

.topo-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -3;
  opacity: 0.42;
}

.terrain-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -3;
}

.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(128, 195, 255, .1);
  background: rgba(4, 10, 18, .82);
  backdrop-filter: blur(18px);
}
.nav-inner { height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; gap: 12px; align-items: center; margin-right: auto; }
.brand-img {
  height: 46px;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 140, 255, .35));
  transition: transform .2s ease;
}
.brand-img:hover { transform: scale(1.03); }

.nav-links { display: flex; gap: 25px; color: #b6c8da; font-size: 14px; font-weight: 500; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: #ffffff; text-shadow: 0 0 12px rgba(120, 200, 255, .6); }
.mobile-only-link { display: none; }
.menu-toggle { display: none; background: none; border: 0; color: white; font-size: 24px; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 700; font-size: 14px; border: 1px solid transparent;
  color: #ffffff; cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #1693e5, #085fa8);
  box-shadow: 0 10px 25px rgba(16, 126, 216, .35);
  border: 1px solid rgba(120, 200, 255, .3);
}
.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(16, 126, 216, .55);
}
.btn-ghost {
  color: #ffffff !important;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(130, 200, 255, .28);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(130, 200, 255, .55);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 100, 200, .2);
}
.btn-small { min-height: 40px; padding: 0 16px; font-size: 13px; }
.btn-discord {
  background: rgba(88, 101, 242, 0.22) !important;
  border: 1px solid rgba(88, 101, 242, 0.5) !important;
  color: #eff3ff !important;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.25) !important;
}
.btn-discord:hover {
  background: #5865F2 !important;
  border-color: #7983f5 !important;
  color: #ffffff !important;
  box-shadow: 0 0 22px rgba(88, 101, 242, 0.6) !important;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 750px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 13, 23, 0.45) 0%, rgba(6, 13, 23, 0.72) 65%, #060d17 100%),
    url('assets/bgnew.png') center top / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: auto 0 0; height: 180px;
  background: linear-gradient(to top, #060d17, transparent);
  pointer-events: none;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  padding: 85px 0 115px;
}
.hero-scene {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: -18px -42px -12px -12px;
  pointer-events: none;
}
.hero-scene img {
  display: block;
  width: min(122%, 650px);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .32));
  animation: floatCityCrew 5s ease-in-out infinite;
}
@keyframes floatCityCrew {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero-layout.has-ataturk .hero-scene { display: none; }
.hero-layout.has-ataturk {
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
}
.hero-content { position: relative; z-index: 2; }
.hero-ataturk {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.ataturk-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(220, 35, 35, .22), transparent 70%),
              rgba(11, 23, 38, .75);
  border: 1px solid rgba(255, 80, 80, .32);
  border-radius: 24px;
  padding: 24px 20px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6), 0 0 35px rgba(220, 40, 40, .2);
  backdrop-filter: blur(14px);
  max-width: 320px;
  width: 100%;
  animation: floatAtaturk 4s ease-in-out infinite;
}
@keyframes floatAtaturk {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.ataturk-img-wrap {
  width: 210px;
  height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ataturk-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, .75)) drop-shadow(0 0 20px rgba(255, 50, 50, .35));
}
.ataturk-badge {
  margin-top: 14px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(200, 30, 30, .22);
  border: 1px solid rgba(255, 90, 90, .4);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
}
.ataturk-flag {
  font-size: 24px;
  line-height: 1;
}
.ataturk-text strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  font-family: 'Oxanium', sans-serif;
}
.ataturk-text p {
  margin: 1px 0 0;
  font-size: 11px;
  color: #ffc4c4;
}

/* Anma ve Matem Modu (10 Kasım vb.) */
.ataturk-frame.is-mourning {
  background: radial-gradient(circle at 50% 35%, rgba(70, 70, 80, .35), transparent 70%),
              rgba(8, 10, 15, .88);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .85), 0 0 30px rgba(0, 0, 0, .6);
}
.ataturk-frame.is-mourning .ataturk-img {
  filter: grayscale(100%) contrast(1.1) drop-shadow(0 12px 25px rgba(0, 0, 0, .95)) drop-shadow(0 0 15px rgba(255, 255, 255, .15));
}
.ataturk-frame.is-mourning .ataturk-badge {
  background: rgba(18, 20, 26, .9);
  border: 1px solid rgba(255, 255, 255, .16);
}
.ataturk-frame.is-mourning .ataturk-text strong {
  color: #f1f5f9;
}
.ataturk-frame.is-mourning .ataturk-text p {
  color: #94a3b8;
}

.status-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px;
  border: 1px solid rgba(97, 196, 255, .2); border-radius: 999px;
  background: rgba(20, 80, 130, .2); color: #c0dcf4;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  backdrop-filter: blur(8px);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3de28a; box-shadow: 0 0 16px #3de28a; }
.hero h1 {
  max-width: 800px; margin: 24px 0 18px;
  font: 800 clamp(44px, 8vw, 86px)/.96 'Oxanium', sans-serif;
  letter-spacing: -.03em;
}
.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(120, 213, 255, .9);
}
.hero p { max-width: 650px; color: #9db2c7; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 46px; margin-top: 48px; }
.hero-stats strong { display: block; font: 800 28px 'Oxanium', sans-serif; color: #eaf4ff; }
.hero-stats span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }

.city-grid {
  position: absolute; inset: 18% 0 0; opacity: .45; transform: perspective(500px) rotateX(56deg) scale(1.35);
  transform-origin: bottom;
  background:
    linear-gradient(rgba(78, 167, 232, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 167, 232, .11) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, black 34%, black);
}

/* Section Headings */
.section { padding: 90px 0; }
.section-alt { background: rgba(5, 14, 25, .55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 40px; }
.section-heading.text-center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font: 700 11px 'Oxanium', sans-serif; color: var(--cyan); letter-spacing: .2em; text-transform: uppercase;
}
.section-heading h2 { margin: 10px 0 10px; font: 800 clamp(30px, 4vw, 42px) 'Oxanium', sans-serif; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; }

/* LAUNCHER SECTION (CENTERED & MODERN) */
.launcher-section {
  position: relative;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 50% 30%, rgba(18, 55, 95, .35), transparent 70%),
              linear-gradient(180deg, rgba(8, 20, 34, .7), rgba(5, 12, 21, .9));
}
.launcher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.launcher-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.feat-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(10, 24, 40, .6);
  border: 1px solid rgba(80, 180, 255, .15);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feat-box:hover {
  transform: translateX(4px);
  border-color: rgba(90, 190, 255, .35);
  background: rgba(13, 31, 52, .75);
}
.feat-icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20, 110, 220, 0.25), rgba(10, 50, 100, 0.15));
  border: 1px solid rgba(80, 180, 255, 0.25);
  color: #58c0ff;
  font-size: 18px;
}
.feat-box strong { display: block; font-size: 15px; color: #e5f1fb; margin-bottom: 3px; }
.feat-box p { margin: 0; font-size: 13px; color: #8fa6bd; line-height: 1.5; }

/* Launcher Device Showcase */
.launcher-device {
  background: #091524;
  border: 1px solid rgba(100, 200, 255, .28);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55), 0 0 35px rgba(20, 120, 220, .15);
  text-align: center;
}
.device-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #060e19;
  border-bottom: 1px solid var(--line);
}
.device-dots { display: flex; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.device-tag { font-size: 12px; color: #7f99b2; font-family: 'Oxanium', sans-serif; display: flex; align-items: center; gap: 6px; }

.device-body {
  padding: 34px 28px;
  background: radial-gradient(circle at 50% 20%, rgba(20, 90, 180, .28), transparent 70%);
}
.device-logo-wrap {
  margin-bottom: 18px;
}
.device-logo {
  max-height: 95px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 140, 255, .45));
  animation: floatLogo 3.5s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.device-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14, 32, 52, .85);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: #b7cee4;
  margin-bottom: 24px;
}
.device-status strong { color: #52e69a; font-family: 'Oxanium', monospace; }

/* 3-Step Bar */
.device-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}
.d-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.step-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: #8da4bc;
  font-size: 14px;
  transition: all .2s ease;
}
.d-step.active .step-circle {
  background: linear-gradient(135deg, #1da1f2, #0b78cf);
  color: #ffffff;
  border-color: rgba(120, 200, 255, .6);
  box-shadow: 0 0 18px rgba(20, 150, 255, .45);
}
.step-label { font-size: 12px; font-weight: 600; color: #a1b7cc; }
.step-line {
  width: 32px; height: 2px;
  background: rgba(120, 190, 255, .2);
  margin-bottom: 18px;
}

.device-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.device-play-btn {
  width: 100%;
  padding: 14px;
  font: 800 15px 'Oxanium', sans-serif;
  letter-spacing: .06em;
  box-shadow: 0 8px 25px rgba(20, 140, 240, .45);
}

/* Server Panel */
.server-panel {
  display: grid; grid-template-columns: 1.4fr 1fr;
  border: 1px solid var(--line); border-radius: 20px;
  background: rgba(9, 23, 38, .75); backdrop-filter: blur(12px);
  box-shadow: var(--shadow); overflow: hidden;
}
.server-main { padding: 30px; display: flex; align-items: center; gap: 20px; }
.server-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, rgba(20, 110, 220, 0.3), rgba(10, 50, 100, 0.2));
  border: 1px solid rgba(80, 180, 255, 0.3);
  color: #58c0ff; font-size: 22px;
}
.server-main h3 { margin: 4px 0 0; font: 700 22px 'Oxanium', sans-serif; color: #eaf4ff; }
.copy-btn {
  margin-left: auto; border: 1px solid var(--line); background: #081625; color: #c7dbed;
  padding: 11px 16px; border-radius: 10px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px;
  transition: all .2s ease;
}
.copy-btn:hover { background: #0d2238; border-color: rgba(120, 200, 255, .4); color: white; }

.server-details { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--line); }
.server-details div { padding: 22px; display: flex; flex-direction: column; gap: 3px; border-bottom: 1px solid var(--line); }
.server-details div:nth-child(2n) { border-left: 1px solid var(--line); }
.server-details span { color: #6f88a0; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.server-details strong { font-size: 13px; }
.online { color: #52e69a; }
.offline { color: #ff5c5c; }

/* Info & Job Cards */
.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.info-card, .job-card {
  padding: 26px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(9, 22, 36, .68); backdrop-filter: blur(10px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.info-card:hover, .job-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 197, 255, .35);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .35);
}
.card-icon {
  width: 48px; height: 48px; display: inline-grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20, 110, 220, 0.22), rgba(10, 50, 100, 0.15));
  border: 1px solid rgba(80, 180, 255, 0.25);
  color: #58c0ff; font-size: 20px;
}
.info-card h3, .job-card h3 { margin: 16px 0 6px; font-size: 18px; font-family: 'Oxanium', sans-serif; }
.info-card p, .job-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Rules */
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rule {
  display: flex; gap: 16px; padding: 22px; border-radius: 16px;
  background: rgba(9, 22, 36, .6); border: 1px solid var(--line);
}
.rule b {
  font: 800 24px 'Oxanium', sans-serif; color: var(--blue); opacity: .7;
}
.rule h3 { margin: 0 0 4px; font-size: 16px; font-family: 'Oxanium', sans-serif; }
.rule p { margin: 0; color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-section { border-top: 1px solid var(--line); }
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
details {
  background: rgba(9, 22, 36, .65); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; transition: border-color .2s ease;
}
details[open] { border-color: rgba(100, 197, 255, .3); }
summary { font-weight: 700; cursor: pointer; color: #dbeefd; }
details p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
details .faq-answer p { margin-top: 8px; }

/* Join Section */
.join-section { padding-bottom: 90px; }
.discord-widget {
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  border: 1px solid rgba(126, 194, 255, .15);
}
.join-box {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: 44px; border-radius: 22px;
  background: radial-gradient(circle at 80% 30%, rgba(34, 146, 221, .2), transparent 40%),
              linear-gradient(135deg, #0d253b, #091624);
  border: 1px solid rgba(80, 180, 255, .25);
  box-shadow: var(--shadow);
}
.join-box h2 { margin: 7px 0; font: 700 36px 'Oxanium'; }
.join-box p { color: var(--muted); margin: 0; font-size: 15px; }
.join-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; background: #050a12; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-inner strong { font: 700 15px 'Oxanium'; letter-spacing: .08em; }
.footer-inner p { color: #647b91; font-size: 12px; margin: 5px 0 0; }
.footer-links { display: flex; gap: 22px; color: #8299ad; font-size: 13px; }
.footer-links a:hover { color: white; }

/* Page Loader (ilk yükleme) */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060d17;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease;
}
.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.page-loader-logo {
  height: 80px;
  max-width: 240px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 140, 255, .4));
  animation: pulseLogo 1.5s ease-in-out infinite;
}
@keyframes pulseLogo {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .8; transform: scale(.98); }
}
.page-loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(126, 194, 255, .15);
  border-radius: 999px;
  overflow: hidden;
}
.page-loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #148de0, #4bb7ff);
  border-radius: 999px;
  animation: loadingBar 1.2s ease-in-out infinite;
}
@keyframes loadingBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
.page-loader-text {
  color: #8fa8bd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  margin: 0;
}

/* Turnstile gate (site açılış doğrulaması) */
.site-shell {
  transition: opacity .3s ease;
}
body.locked {
  overflow: hidden;
}
.site-shell.locked {
  filter: blur(4px);
  user-select: none;
}
.turnstile-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 13, 23, .85);
  backdrop-filter: blur(12px);
}
.turnstile-gate.show { display: flex; }
.turnstile-gate-card {
  position: relative;
  background: #0d1d30;
  border: 1px solid rgba(75, 183, 255, .3);
  border-radius: 20px;
  padding: 34px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
  animation: modalIn .25s ease-out;
}
.turnstile-gate-logo {
  max-height: 70px;
  max-width: 160px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 14px rgba(0, 140, 255, .35));
}
.turnstile-gate-card h3 {
  font: 800 20px 'Oxanium', sans-serif;
  color: #eaf4ff;
  margin: 0 0 10px;
}
.turnstile-gate-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.turnstile-gate-wrap {
  margin-top: 20px;
}
.turnstile-gate-error {
  margin-top: 14px;
  color: #ff5c5c;
  font-size: 13px;
  min-height: 18px;
}

/* Toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translate(-50%, 20px);
  opacity: 0; pointer-events: none; padding: 12px 24px; border-radius: 12px;
  background: rgba(9, 23, 40, .96); color: #52e69a; font-weight: 700; font-size: 13px;
  border: 1px solid rgba(82, 230, 154, .4);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .8), 0 0 25px rgba(82, 230, 154, .25);
  transition: all .25s cubic-bezier(.16, 1, .3, 1);
  z-index: 2147483647 !important;
  text-align: center;
  max-width: min(90vw, 440px);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.toast.show {
  opacity: 1 !important;
  transform: translate(-50%, 0) !important;
  pointer-events: auto !important;
  display: flex !important;
  visibility: visible !important;
}
body.has-cookie-banner .toast { bottom: 95px; }

/* Spinner (generic) */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: none;
  flex-shrink: 0;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Button loading state */
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-text,
.btn.loading > i { opacity: .6; }
.btn:disabled, .btn.loading {
  cursor: not-allowed;
  filter: brightness(.85);
}

/* Section loading fade */
section.loading-section .reveal {
  opacity: 0 !important;
  transform: translateY(12px) !important;
}

/* Cookie / Privacy Consent Banner */
.cookie-consent,
.sc-consent-banner {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2147483640 !important;
  background: rgba(8, 18, 32, .98) !important;
  border-top: 1px solid rgba(126, 194, 255, .3) !important;
  box-shadow: 0 -10px 45px rgba(0, 0, 0, .8) !important;
  backdrop-filter: blur(16px) !important;
  padding: 16px 20px !important;
  display: none;
}
.cookie-consent.show,
.sc-consent-banner.show {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  animation: cookieSlideUp .35s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}
.cookie-consent-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.cookie-consent-text > i {
  color: var(--cyan);
  font-size: 16px;
  flex-shrink: 0;
}
.cookie-policy-link {
  background: none;
  border: 0;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.cookie-policy-link:hover { color: var(--cyan); }
.cookie-consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-consent-accept {
  background: linear-gradient(135deg, #148de0, #0b80db);
  border: 1px solid rgba(126, 194, 255, .3);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}
.cookie-consent-accept:hover {
  background: linear-gradient(135deg, #1da1f2, #148de0);
  box-shadow: 0 0 16px rgba(20, 141, 224, .4);
  transform: translateY(-1px);
}
.cookie-consent-reject {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(126, 194, 255, .2);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}
.cookie-consent-reject:hover {
  background: rgba(255, 255, 255, .12);
  color: #c0d6e8;
  border-color: rgba(126, 194, 255, .4);
}
.cookie-consent-settings {
  background: rgba(20, 141, 224, .12);
  border: 1px solid rgba(126, 194, 255, .3);
  color: #7ec2ff;
  font-weight: 600;
  font-size: 13px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}
.cookie-consent-settings:hover {
  background: rgba(20, 141, 224, .25);
  color: #ffffff;
  border-color: #4bb7ff;
}

/* Cookie Modal */
.cookie-modal-overlay,
.sc-consent-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483645 !important;
  background: rgba(3, 8, 16, .85) !important;
  backdrop-filter: blur(10px) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}
.cookie-modal-overlay.open,
.sc-consent-modal.open {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.cookie-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #091728;
  border: 1px solid rgba(100, 200, 255, .3);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .8);
  animation: modalIn .2s ease-out;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: 0;
  color: #829cb3;
  font-size: 26px;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.cookie-modal-close:hover {
  background: rgba(255, 255, 255, .08);
  color: white;
}
.cookie-modal-title {
  margin: 0 0 14px;
  font: 800 18px 'Oxanium', sans-serif;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal-title i { color: #4bb7ff; }
.cookie-modal-body {
  max-height: 50vh;
  overflow-y: auto;
  font-size: 13px;
  color: #8da4b8;
  line-height: 1.7;
  margin-bottom: 18px;
}
.cookie-modal-body h4 {
  margin: 14px 0 6px;
  font-size: 13px;
  color: #c0dcf4;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
}
.cookie-modal-body h4:first-child { margin-top: 0; }
.cookie-modal-body ul {
  margin: 4px 0 8px;
  padding-left: 18px;
}
.cookie-modal-body li {
  margin-bottom: 3px;
  padding-left: 4px;
}
.cookie-modal-body p { margin: 0 0 8px; }
.cookie-modal-body strong { color: #dbeefd; }
.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cookie-modal-btn {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  font: 700 13px 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  border: 1px solid rgba(120, 200, 255, .3);
  background: linear-gradient(135deg, #148de0, #0b80db);
  color: #fff;
  transition: all .2s;
}
.cookie-modal-btn:hover {
  background: linear-gradient(135deg, #1da1f2, #148de0);
  box-shadow: 0 0 14px rgba(20, 141, 224, .4);
}
.cookie-modal-btn.secondary {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(126, 194, 255, .25);
  color: #c0d6e8;
}
.cookie-modal-btn.secondary:hover {
  background: rgba(255, 255, 255, .12);
  box-shadow: none;
}
.cookie-modal-btn.tertiary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--muted);
}
.cookie-modal-btn.tertiary:hover {
  background: rgba(255, 255, 255, .05);
  box-shadow: none;
}
.cookie-modal-btn.active-choice {
  border-color: #52e69a !important;
  box-shadow: 0 0 16px rgba(82, 230, 154, .35) !important;
  outline: 2px solid rgba(82, 230, 154, .4);
}
.cookie-modal-btn-link {
  background: none;
  border: 0;
  color: #7ec2ff;
  font: 600 12px 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  padding: 8px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color .2s;
  margin-top: 4px;
}
.cookie-modal-btn-link:hover {
  color: #ffffff;
}

/* Footer cookie manage button */
.cookie-manage-btn {
  background: none;
  border: 0;
  color: #8299ad;
  font: 600 13px 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  padding: 0;
  transition: color .2s;
}
.cookie-manage-btn:hover {
  color: var(--blue);
}

/* AdBlock Warning Overlay */
.adblock-warning {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 10, 18, .92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.adblock-card {
  background: linear-gradient(145deg, rgba(20, 10, 10, .95), rgba(10, 15, 25, .98));
  border: 1px solid rgba(255, 80, 80, .3);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .8), 0 0 40px rgba(255, 50, 50, .15);
  animation: adblockIn .3s ease-out;
}
@keyframes adblockIn {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.adblock-card h3 {
  margin: 18px 0 10px;
  font: 800 22px 'Oxanium', sans-serif;
  color: #ffffff;
}
.adblock-card p {
  margin: 0 0 16px;
  color: #b0c2d4;
  font-size: 14px;
  line-height: 1.7;
}
.adblock-sign {
  color: #8fa8bd;
  font-size: 12px;
  font-style: italic;
  margin-bottom: 22px;
}
.adblock-dismiss {
  background: linear-gradient(135deg, #ff5c5c, #c73030);
  border: 1px solid rgba(255, 100, 100, .35);
  color: #fff;
  font: 700 14px 'Plus Jakarta Sans', sans-serif;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.adblock-dismiss:hover {
  background: linear-gradient(135deg, #ff7070, #e04040);
  box-shadow: 0 0 18px rgba(255, 80, 80, .4);
}

/* Modal */
.launcher-modal {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(3, 8, 15, .82);
  backdrop-filter: blur(8px);
  display: none;
  place-items: center;
  padding: 20px;
}
.launcher-modal.show { display: grid; }
.launcher-modal-content {
  position: relative;
  background: #091728;
  border: 1px solid rgba(100, 200, 255, .3);
  border-radius: 20px;
  padding: 34px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .7);
  animation: modalIn .2s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.93); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: 0; color: #829cb3; font-size: 26px; cursor: pointer;
}
.modal-icon { font-size: 40px; margin-bottom: 12px; color: #58c0ff; }
.launcher-modal-content h3 {
  font: 800 22px 'Oxanium', sans-serif; margin: 0 0 10px; color: white;
}
.modal-ip-info {
  background: rgba(14, 34, 56, .7);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  color: #9cb2c7;
  margin: 14px 0 18px;
}
.modal-ip-info strong {
  color: #52e69a;
  font-family: 'Oxanium', monospace;
  font-size: 15px;
}
.modal-help p { font-size: 13px; color: #809bb4; margin: 0 0 6px; }

/* Responsive */
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 850px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .nav-inner { gap: 14px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn-discord { padding: 7px 11px; font-size: 12px; }
  .nav-actions .download-launcher-btn { padding: 7px 11px; font-size: 12px; }
  .nav-inner.open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; padding: 20px;
    background: rgba(4, 10, 18, .97); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 16px;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-inner.open .mobile-only-link { display: inline-flex !important; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); gap: 0; }
  .hero-layout.has-ataturk { grid-template-columns: 1fr; gap: 40px; }
  .hero-scene { margin: 0 auto; text-align: center; overflow: hidden; }
  .hero-scene img { width: min(100%, 460px); height: auto; }
  .hero-ataturk { margin-top: 20px; }
  .launcher-grid { grid-template-columns: 1fr; }
  .server-panel { grid-template-columns: 1fr; }
  .server-details { border-left: 0; border-top: 1px solid var(--line); }
  .cards.three, .jobs-grid { grid-template-columns: 1fr 1fr; }
  .join-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 24px, 1140px); }
  .nav-inner { height: 64px; gap: 8px; }
  .brand-img { height: 38px; max-width: 120px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-discord,
  .nav-actions .download-launcher-btn { display: none !important; }
  .nav-actions .btn-auth { padding: 7px 12px; font-size: 12px; }
  .nav-user-name { max-width: 70px; font-size: 12px; }
  .nav-user .account-link { display: none; }
  .nav-inner.open .nav-links { top: 64px; max-height: calc(100vh - 64px); overflow-y: auto; }

  .hero-layout, .hero-layout.has-ataturk { grid-template-columns: 1fr; gap: 0; padding: 30px 0 60px; }
  .hero-content { padding: 20px 0 0; }
  .hero h1 { font-size: clamp(34px, 8vw, 48px); margin: 18px 0 14px; }
  .hero-scene { grid-row: 2; margin: 15px auto 0; max-width: 100%; text-align: center; overflow: hidden; }
  .hero-scene img { width: 100%; max-width: 380px; height: auto; object-fit: contain; }
  .hero p { font-size: 15px; }
  .hero-actions, .join-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn, .join-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; flex-wrap: wrap; margin-top: 32px; }
  .server-main { flex-wrap: wrap; padding: 22px; }
  .copy-btn { margin-left: 0; width: 100%; justify-content: center; }
  .server-details { grid-template-columns: 1fr; }
  .server-details div:nth-child(2n) { border-left: 0; }
  .cards.three, .jobs-grid, .rules-grid { grid-template-columns: 1fr; }
  .join-box { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
}


