:root {
  --bg: #071313;
  --panel: rgba(8, 18, 18, 0.78);
  --panel-strong: rgba(8, 18, 18, 0.88);
  --line: rgba(202, 215, 215, 0.22);
  --text: #eef3f2;
  --muted: #b6c5c3;
  --accent: #d8e3e1;
  --accent-dark: #8ea8a4;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

.site-background,
.background-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-background {
  background:
    linear-gradient(rgba(5, 14, 14, 0.84), rgba(5, 14, 14, 0.9)),
    url('assets/logo.png') center/cover no-repeat;
  transform: scale(1.04);
}

.background-overlay {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 20%, rgba(255,255,255,0.03) 70%, rgba(0,0,0,0.15));
}

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

.section {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(4, 10, 10, 0.74);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-shell {
  width: min(1280px, calc(100% - 24px));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-group a,
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
  position: relative;
}

.nav-group a::after,
.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-group a:hover::after,
.mobile-menu a:hover::after {
  transform: scaleX(1);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  text-decoration: none;
  color: white;
}

.logo-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 0 0 5px rgba(255,255,255,0.04);
}

.logo-text {
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.98rem;
  font-weight: 800;
}

.mobile-menu-btn {
  display: none;
  justify-self: end;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: white;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 1.15rem;
}

.mobile-menu {
  display: none;
  padding: 0 16px 16px;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu.open {
  display: flex;
}

.hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  padding: 60px 0 40px;
}

.hero-content {
  position: relative;
  padding: 120px 0 90px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.94;
  max-width: 780px;
  text-shadow: 0 6px 22px rgba(0,0,0,0.45);
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 24px 0 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  background: rgba(255,255,255,0.92);
  color: #071010;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--text);
}





@keyframes swoop {
  0% {
    transform: translate(-10vw, -14vh) rotate(-10deg) scale(0.6);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  55% {
    transform: translate(58vw, 2vh) rotate(7deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(130vw, -18vh) rotate(13deg) scale(1.14);
    opacity: 0;
  }
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -30px;
  padding-bottom: 24px;
}

.info-card,
.goal-panel,
.join-card,
.discord-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.info-card {
  padding: 24px;
}

.card-tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.info-card h2,
.goal-panel h3,
.join-card h3,
.discord-panel h3 {
  margin: 16px 0 10px;
  font-family: "Orbitron", sans-serif;
}

.info-card p,
.goal-panel p,
.goal-panel li,
.join-card p,
.discord-panel p,
.section-heading p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.goal,
.gallery,
.join {
  padding: 72px 0;
}

.goal-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.goal-panel {
  padding: 28px;
}

.goal-panel.strong {
  background: var(--panel-strong);
}

.goal-panel ul {
  padding-left: 18px;
  margin: 0;
}

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

.gallery-card {
  position: relative;
  min-height: 260px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  background-color: #102020;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 32%),
    linear-gradient(0deg, rgba(0,0,0,0.62), rgba(0,0,0,0.08));
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.gallery-a10::after {
  background-image: url("assets/a10.webp");
}
.gallery-f18::after {
  background-image: url("assets/f18.jpg");
}
.gallery-abrams::after {
  background-image: url("assets/m1abrams.jpg");
}
.gallery-bradley::after {
  background-image: url("assets/m3a3.jpg");
}
.gallery-stryker::after {
  background-image: url("assets/m1128.jpg");
}
.gallery-b52::after {
  background-image: url("assets/b52.jpg");
}

.gallery-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  z-index: 1;
}

.gallery-overlay span {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
}

.gallery-overlay p {
  margin: 0;
  color: #d4dcdb;
}

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

.join-card {
  padding: 24px;
}

.discord-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 18px 16px 34px;
  text-align: center;
}

@media (max-width: 1024px) {
  .info-grid,
  .gallery-grid,
  .join-layout,
  .goal-layout {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid .gallery-card:last-child {
    grid-column: span 2;
  }

  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .nav-group {
    display: none;
  }

  .logo-wrap {
    justify-self: center;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .hero-content {
    padding: 90px 0 48px;
  }

  .logo-text {
    display: none;
  }

  .info-grid,
  .gallery-grid,
  .join-layout,
  .goal-layout,
  .gallery-grid .gallery-card:last-child {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .discord-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  
}
