:root {
  --bg: #0b0f14;
  --text: #e6edf3;
  --muted: #a9b2bd;
  --brand: #6ee7ff;
  --brand-2: #9a6bff;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.18);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1000px 600px at 80% -100%, #1d1b2e 0%, #0b0f14 35%), radial-gradient(800px 500px at -10% 0%, #052a30 0%, #0b0f14 45%), linear-gradient(160deg, #0b0f14 0%, #0b0f14 100%);
  background-attachment: fixed;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  background: linear-gradient(180deg, rgba(6,10,14,0.8), rgba(6,10,14,0.5));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.links {
  display: flex;
  align-items: center;
  column-gap: 18px;
  flex-wrap: nowrap;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}

.links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  transition: 160ms ease;
}
.links a:hover {
  background: rgba(255,255,255,0.06);
}
.links .cta {
  color: #04161a;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
}
.links .cta:hover {
  filter: brightness(1.05);
}

.nav-download-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 120px 20px 40px 20px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  max-width: 960px;
  padding: 36px;
  border-radius: 22px;
  text-align: center;
}
.hero h1 {
  font-size: 54px;
  line-height: 1.02;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto 26px auto;
  max-width: 820px;
}
.actions {
  display: inline-flex;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  border: 0;
  cursor: pointer;
}
.btn.primary {
  color: #031216;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.btn.primary.large {
  padding: 14px 22px;
  font-size: 18px;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(0,0,0,0.32);
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-decor .float {
  position: absolute;
  width: min(36vw, 420px);
  opacity: 0.45;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.45));
}
.hero-decor .left {
  left: 2%;
  bottom: 4%;
}
.hero-decor .right {
  right: 2%;
  bottom: 6%;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px 20px;
}
.section-head {
  text-align: center;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: 38px;
  margin: 0 0 8px 0;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  padding: 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-media {
  border-radius: 12px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.card h3 {
  margin: 0;
  font-size: 20px;
}
.card p {
  margin: 0;
  color: var(--muted);
}

.section-accent {
  position: relative;
}
.survival-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.survival-item {
  padding: 16px;
  border-radius: 18px;
}
.survival-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 12px;
}
.survival-item h3 {
  margin: 0 0 6px 0;
}
.survival-item p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.gallery-item {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.download {
  padding: 40px 20px 80px 20px;
}
.download-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  padding: 18px;
  border-radius: 22px;
}
.download-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.download-content h2 {
  font-size: 32px;
  margin: 0 0 10px 0;
}
.download-content p {
  margin: 0 0 14px 0;
  color: var(--muted);
}

.server-ip-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(9, 14, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  white-space: nowrap;
}

.server-ip-pill::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, var(--brand), var(--brand-2), var(--brand));
  opacity: 0.9;
  animation: ip-glow 6s linear infinite;
}

.server-ip-pill::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 55%), rgba(5,9,15,0.96);
}

.server-ip-label,
.server-ip-value {
  position: relative;
  z-index: 1;
}

.server-ip-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(230, 237, 243, 0.7);
}

.server-ip-value {
  font-weight: 600;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(3, 18, 22, 0.9);
  color: var(--text);
}

@keyframes ip-glow {
  0% { transform: translate3d(-30%, -30%, 0) rotate(0deg); }
  50% { transform: translate3d(0%, 0%, 0) rotate(180deg); }
  100% { transform: translate3d(30%, -30%, 0) rotate(360deg); }
}

.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(6,10,14,0.4), rgba(6,10,14,0.7));
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.brand img {
  height: 26px;
  width: auto;
}
.copy {
  color: var(--muted);
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.35);
}

@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .download-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .hero h1 {
    font-size: 40px;
  }
  .survival-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
