:root {
  --bg: #0a0b0c;
  --bg2: #07a4dc;
  --fog: rgba(200, 200, 200, 0.08);
  --blood: #07a4dc;
  --blood-dark: #19067a;
  --blood-soft: #4ad8ff;
  --text: #e6e1dc;
  --muted: #b5b0aa;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 70% 10%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(10,10,10,0.4) 40%, rgba(0,0,0,0.85) 100%),
    linear-gradient(120deg, #0b0b0c 0%, #161617 50%, #0b0b0c 100%);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.95)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='900'><rect width='1600' height='900' fill='none'/><g fill='%23111111'><rect x='40' y='160' width='180' height='520'/><rect x='250' y='110' width='140' height='570'/><rect x='440' y='190' width='230' height='500'/><rect x='720' y='140' width='200' height='560'/><rect x='960' y='200' width='260' height='500'/><rect x='1280' y='150' width='200' height='550'/></g></svg>");
  background-size: cover;
  opacity: 0.55;
  filter: blur(1px);
  pointer-events: none;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 300px at 30% 80%, rgba(7, 164, 220, 0.18), transparent 60%),
    radial-gradient(600px 200px at 60% 30%, rgba(255, 255, 255, 0.07), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.08'/></svg>");
  background-size: cover, cover, 200px 200px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 6vw 10px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 1.8px;
  padding: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(7, 164, 220, 0.28));
}

.brand-text {
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 12px;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--blood);
  color: var(--text);
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.btn-solid {
  background: var(--blood);
  color: #fff;
  box-shadow: 0 10px 30px rgba(7, 164, 220, 0.25);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  padding: 8vh 6vw 10vh;
}

.hero-content {
  max-width: 680px;
  animation: rise 0.9s ease both;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blood);
  box-shadow: 0 0 10px rgba(7, 164, 220, 0.8);
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(52px, 8vw, 120px);
  letter-spacing: 6px;
  margin: 18px 0 14px;
}

.hero-title {
  color: #ffffff;
}

.hero-title .alpha {
  margin-left: 0;
  font-family: "Bebas Neue", sans-serif;
  text-shadow: 0 0 5.33854vw rgba(7, 164, 220, 0.35);
  background: linear-gradient(180deg, #07a4dc 0%, rgba(233, 10, 10, 0) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .rp {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
}

.actions {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-credits {
  margin-top: 16vh;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 1.1s ease both;
  animation-delay: 0.2s;
}

.stat .value {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-top: 6px;
}

.divider {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,0.1);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 18px 6vw 8px;
  }

  .nav-links {
    font-size: 12px;
  }

  .hero {
    padding-top: 6vh;
  }

  .divider {
    display: none;
  }
}

.rules-page .hero,
.rules-page .hero-credits {
  display: none;
}

.rules {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 100px);
  padding: 6vh 12vw 8vh;
  text-align: center;
}

.rules h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(46px, 7vw, 90px);
  letter-spacing: 5px;
  margin: 10px 0 8px;
}

.rules-subtitle {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 4px;
  margin: 40px 0 18px;
}

.rules-intro {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.accordion {
  max-width: 900px;
  margin: 0 auto 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blood-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.accordion summary::marker {
  display: none;
}

.accordion summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.accordion details[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--blood-soft);
}

.accordion summary.danger {
  color: var(--blood-soft);
}

.accordion .panel {
  padding: 0 22px 22px;
  color: var(--muted);
  text-align: left;
}

.rules-raw {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  color: var(--muted);
  line-height: 1.65;
}

.team-grid {
  width: min(1200px, 100%);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: center;
}

.team-card {
  padding: 32px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px;
}

.team-card-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.team-card-role {
  color: var(--blood-soft);
  font-family: "Bebas Neue", sans-serif;
  font-size: 34px;
  letter-spacing: 3px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.team-card-name {
  margin-top: 10px;
  color: var(--text);
  font-family: "Bebas Neue", sans-serif;
  font-size: 54px;
  letter-spacing: 4px;
  flex-shrink: 0;
}

.team-card-center {
  justify-self: center;
}

.rules-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blood-soft);
}

@media (max-width: 900px) {
  .rules {
    padding: 6vh 8vw 8vh;
  }

    .team-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    max-width:1400px;
    margin:0 auto;
}

  .rules-footer {
    justify-content: center;
    text-align: center;
  }
}

/* Futuristic SAVARO CITY redesign */
:root {
  --bg: #030712;
  --bg2: #071827;
  --fog: rgba(74, 216, 255, 0.08);
  --blood: #07a4dc;
  --blood-dark: #1026d8;
  --blood-soft: #4ad8ff;
  --text: #f5fbff;
  --muted: #a8bed0;
  --panel: rgba(5, 18, 33, 0.72);
  --line: rgba(74, 216, 255, 0.24);
}

body {
  background: #030712;
}

.page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(7, 164, 220, 0.28), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(16, 38, 216, 0.24), transparent 34%),
    radial-gradient(circle at 70% 78%, rgba(74, 216, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #030712 0%, #06111f 48%, #02040b 100%);
}

.page::before {
  background-image:
    linear-gradient(180deg, rgba(3, 7, 18, 0.1), rgba(3, 7, 18, 0.86)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='900'><g fill='none' stroke='%2307a4dc' stroke-opacity='.16'><path d='M0 680h1600M0 620h1600M0 560h1600M0 500h1600M200 900 720 0M520 900 900 0M920 900 1040 0M1280 900 1180 0'/></g><g fill='%2307a4dc' fill-opacity='.08'><rect x='80' y='210' width='190' height='460'/><rect x='330' y='150' width='150' height='520'/><rect x='590' y='260' width='210' height='410'/><rect x='910' y='180' width='250' height='490'/><rect x='1240' y='230' width='180' height='440'/></g></svg>");
  opacity: 0.78;
  filter: none;
}

.page::after {
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(700px 260px at 50% 0%, rgba(74,216,255,.16), transparent 70%);
  background-size: 54px 54px, 54px 54px, cover;
  mix-blend-mode: screen;
  opacity: .9;
}

.cyber-grid {
  position: absolute;
  inset: auto -20% 0;
  height: 42vh;
  z-index: 0;
  background:
    linear-gradient(rgba(7,164,220,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,164,220,.14) 1px, transparent 1px);
  background-size: 70px 38px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: bottom;
  opacity: .42;
  pointer-events: none;
}

.glass-nav,
.nav {
  margin: 18px 4vw 0;
  padding: 14px 18px;
  border: 1px solid rgba(74, 216, 255, 0.16);
  border-radius: 22px;
  background: rgba(3, 10, 22, 0.58);
  box-shadow: 0 20px 70px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
}

.brand {
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  filter: drop-shadow(0 0 20px rgba(74,216,255,.56));
}

.brand-sub {
  margin-top: 5px;
  color: var(--blood-soft);
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 8px 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood-soft), transparent);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.btn {
  border-radius: 999px;
}

.neon-btn,
.btn-outline {
  border-color: rgba(74,216,255,.55);
  box-shadow: inset 0 0 18px rgba(7,164,220,.08), 0 0 24px rgba(7,164,220,.14);
}

.btn-solid {
  color: #00101a;
  background: linear-gradient(135deg, #4ad8ff 0%, #07a4dc 48%, #7be9ff 100%);
  box-shadow: 0 16px 44px rgba(7, 164, 220, 0.35);
}

.hero-future {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  min-height: calc(100vh - 128px);
}

.hero-title {
  line-height: .9;
  text-shadow: 0 0 46px rgba(7,164,220,.32);
}

.hero-title .alpha {
  background: linear-gradient(180deg, #f6fdff 0%, #4ad8ff 42%, rgba(7,164,220,.1) 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.server-panel {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 31, 52, .82), rgba(3, 10, 22, .72));
  box-shadow: 0 28px 90px rgba(0,0,0,.42), 0 0 60px rgba(7,164,220,.12);
  backdrop-filter: blur(18px);
  animation: rise 1s ease both .08s;
}

.server-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(74,216,255,.7), transparent 28%, rgba(16,38,216,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
}

.panel-header strong {
  color: #7dffdc;
  text-shadow: 0 0 18px rgba(125,255,220,.6);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(74,216,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.stat-label {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.4px;
}

.stat-number {
  display: block;
  margin: 12px 0 4px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(42px, 5vw, 66px);
  line-height: .9;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 28px rgba(74,216,255,.38);
}

.stat-card small,
.server-note {
  color: var(--muted);
}

.server-note {
  margin-top: 16px;
  font-size: 13px;
}

.feature-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 6vw 8vh;
}

.feature-strip article,
.team-card,
.accordion details {
  border: 1px solid rgba(74,216,255,.16);
  border-radius: 22px;
  background: rgba(3,10,22,.58);
  box-shadow: 0 18px 60px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}

.feature-strip article {
  padding: 24px;
}

.feature-strip span {
  color: var(--blood-soft);
  font-weight: 700;
  letter-spacing: 2px;
}

.feature-strip h2 {
  margin: 12px 0 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
}

.feature-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .glass-nav,
  .nav {
    align-items: stretch;
  }

  .hero-future {
    grid-template-columns: 1fr;
  }

  .server-panel {
    max-width: 680px;
  }
}

@media (max-width: 720px) {
  .glass-nav,
  .nav {
    margin: 12px 4vw 0;
    border-radius: 18px;
  }

  .stats-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    padding-inline: 6vw;
  }
}

/* Extra conversion sections */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-badges span,
.mini-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(74,216,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.btn-copy {
  border: 1px solid rgba(74,216,255,.36);
  color: var(--text);
  background: rgba(255,255,255,.045);
  cursor: pointer;
  font-family: inherit;
}

.join-section,
.showcase-section,
.faq-section {
  position: relative;
  z-index: 1;
  padding: 2vh 6vw 8vh;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.eyebrow {
  color: var(--blood-soft);
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 12px;
  font-weight: 700;
}

.section-heading h2,
.showcase-card h2,
.discord-card h2,
.step-card h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 2.5px;
  margin: 8px 0 10px;
  color: #fff;
}

.section-heading h2,
.showcase-card h2,
.discord-card h2 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: .95;
}

.section-heading p,
.step-card p,
.showcase-card p,
.discord-card p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.steps-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card,
.showcase-card,
.discord-card,
.faq-grid details {
  border: 1px solid rgba(74,216,255,.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10,31,52,.68), rgba(3,10,22,.58));
  box-shadow: 0 20px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(14px);
}

.step-card {
  padding: 26px;
}

.step-card strong {
  color: var(--blood-soft);
  letter-spacing: 2px;
}

.step-card h3 {
  font-size: 34px;
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
  gap: 16px;
}

.showcase-card,
.discord-card {
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
}

.showcase-card.wide {
  min-height: 320px;
  background:
    radial-gradient(circle at 84% 20%, rgba(74,216,255,.24), transparent 30%),
    linear-gradient(180deg, rgba(10,31,52,.72), rgba(3,10,22,.62));
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.discord-card {
  position: relative;
}

.pulse-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #7dffdc;
  box-shadow: 0 0 0 0 rgba(125,255,220,.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 18px rgba(125,255,220,0); }
  100% { box-shadow: 0 0 0 0 rgba(125,255,220,0); }
}

.faq-grid details {
  padding: 20px 22px;
}

.faq-grid summary {
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  letter-spacing: .6px;
}

.error-page .hero-future {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.error-page .hero-content {
  max-width: 760px;
}

.error-code {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(96px, 18vw, 220px);
  line-height: .75;
  letter-spacing: 8px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(74,216,255,.82);
  text-shadow: 0 0 44px rgba(74,216,255,.3);
}

@media (max-width: 900px) {
  .steps-grid,
  .faq-grid,
  .showcase-section {
    grid-template-columns: 1fr;
  }
}
