/* OVERSWARM Official Game Website — Aenrox Studios */
:root {
  --bg-deep: #040d1e;
  --bg-mid: #0a1d3d;
  --cyan: #22d3ee;
  --blue: #0284c7;
  --gold: #fde047;
  --gold-dark: #ca8a04;
  --orange: #f97316;
  --green: #22c55e;
  --card-bg: rgba(11, 27, 56, 0.82);
  --border-glow: rgba(34, 211, 238, 0.36);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top center, #0e2d5c 0%, #071631 48%, #040c1a 100%);
  color: #ffffff;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ----- STICKY NAVBAR ----- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 13, 30, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(34, 211, 238, 0.28);
  padding: 12px 24px;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid var(--cyan);
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.38);
}

.nav-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.8px;
  background: linear-gradient(180deg, #ffffff 20%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-studio {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: #fde047;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: #dbeafe;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.2s, transform 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
  transform: translateY(-1px);
}

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

/* ----- GLOSSY 3D ARCADE BUTTONS ----- */
.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 900;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 15px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35), inset 0 3px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.14s, box-shadow 0.14s, filter 0.14s;
  cursor: pointer;
}

.btn-3d:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-3d:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.btn-cyan {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 65%, #0369a1 100%);
  box-shadow: 0 6px 0 #0c4a6e, 0 12px 28px rgba(34, 211, 238, 0.42), inset 0 3px 0 rgba(255,255,255,0.5);
}

.btn-gold {
  background: linear-gradient(180deg, #fef08a 0%, #eab308 70%, #ca8a04 100%);
  color: #3f1d06;
  box-shadow: 0 6px 0 #854d0e, 0 12px 26px rgba(234, 179, 8, 0.4), inset 0 3px 0 rgba(255,255,255,0.75);
}

.btn-dark {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 5px 0 #020617, inset 0 2px 0 rgba(255,255,255,0.2);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ----- HERO SECTION ----- */
.hero {
  position: relative;
  padding: 68px 24px 86px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 13, 30, 0.72) 0%, rgba(7, 22, 49, 0.88) 72%, #040d1e 100%),
    url('img/hero_overswarm.jpg') center/cover no-repeat;
  border-bottom: 2px solid rgba(34, 211, 238, 0.25);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.16);
  border: 1.5px solid rgba(34, 211, 238, 0.55);
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 18px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.hero h1 span {
  background: linear-gradient(180deg, #67e8f9 15%, #fde047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: #dbeafe;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-chip {
  background: rgba(6, 17, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #fde047;
}

.hero-showcase {
  position: relative;
  border-radius: 26px;
  padding: 8px;
  background: linear-gradient(135deg, #22d3ee, #0284c7, #fde047);
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.4), 0 22px 46px rgba(0, 0, 0, 0.6);
  animation: floatSlow 4.5s ease-in-out infinite;
}

.hero-showcase img.key-art {
  width: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hero-badge-icon {
  position: absolute;
  bottom: -24px;
  right: -18px;
  width: 94px;
  height: 94px;
  border-radius: 22px;
  border: 3px solid #fde047;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.55);
  object-fit: cover;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ----- SECTIONS ----- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 900;
  margin-bottom: 10px;
}

.section-head p {
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto;
}

/* ----- 4 ARENAS GRID ----- */
.realms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.realm-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 290px;
  border: 2px solid rgba(34, 211, 238, 0.34);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s, border-color 0.25s;
}

.realm-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.realm-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.realm-card:hover .realm-bg { transform: scale(1.06); }

.realm-scrim {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 13, 30, 0.86) 45%, rgba(4, 13, 30, 0.98) 100%);
}

.realm-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  background: rgba(34, 211, 238, 0.2);
  color: #67e8f9;
  border: 1px solid rgba(34, 211, 238, 0.5);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.realm-scrim h3 { font-size: 20px; font-weight: 900; margin-bottom: 4px; }
.realm-scrim p { font-size: 13px; color: #cbd5e1; }

/* ----- ARSENAL GRID ----- */
.features-band {
  background: rgba(4, 12, 26, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.arsenal-card {
  background: var(--card-bg);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.arsenal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 224, 71, 0.65);
}

.arsenal-ico {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(250, 204, 21, 0.18));
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.arsenal-card h3 {
  font-size: 17px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 6px;
}

.arsenal-card p { font-size: 13px; color: #cbd5e1; }

/* ----- STUDIO CALLOUT ----- */
.cloud-box {
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.45), rgba(15, 23, 42, 0.92));
  border: 2px solid var(--border-glow);
  border-radius: 28px;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.cloud-list {
  list-style: none;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.cloud-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.cloud-preview {
  background: rgba(5, 13, 28, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  padding: 24px;
  text-align: center;
}

/* ----- FAQ ----- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 20px;
}

.faq-item h4 { color: var(--gold); font-size: 16px; font-weight: 900; margin-bottom: 6px; }
.faq-item p { color: #cbd5e1; font-size: 14px; }

/* ----- FOOTER ----- */
.footer {
  background: #020814;
  border-top: 2px solid rgba(34, 211, 238, 0.24);
  padding: 48px 24px 28px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer h5 {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}

.footer a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 900px) {
  .hero-inner, .cloud-box { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge-icon { right: 8px; bottom: -18px; width: 76px; height: 76px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-dark { display: none; }
}
