/* Bros Before Hoes SMP — concept site */

:root {
  --bg: #0b1220;
  --bg-alt: #101a2e;
  --surface: #16233a;
  --surface-hover: #1c2d49;
  --border: #24395c;
  --blue: #3d7bff;
  --blue-deep: #2456c4;
  --gold: #e8a53a;
  --text: #e8eef8;
  --text-muted: #93a5c0;
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-discord {
  background: #5865f2;
  color: #fff;
}

.btn-discord:hover {
  background: #4752c4;
}

.btn-nav {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--blue-deep);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 0 88px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61, 123, 255, 0.14), transparent),
    var(--bg);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hero-crossfade 18s infinite;
}

.hero-bg img:nth-child(2) {
  animation-delay: 6s;
}

.hero-bg img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes hero-crossfade {
  0% { opacity: 0; }
  8% { opacity: 0.25; }
  33% { opacity: 0.25; }
  41% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-logo {
  width: 280px;
  margin: 0 auto 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--gold);
}

.hero .tagline {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 560px;
  margin: 12px auto 32px;
}

.server-ip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 22px;
  margin-bottom: 28px;
  font-family: Consolas, monospace;
  font-size: 1.15rem;
  color: var(--gold);
  user-select: all;
}

.server-ip .label {
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  user-select: none;
}

.whitelist-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: -12px 0 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section {
  padding: 72px 0;
}

section:nth-of-type(even) {
  background: var(--bg-alt);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ---------- About cards ---------- */

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--blue);
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ---------- Screenshots ---------- */

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

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.15s, border-color 0.15s;
}

.gallery img:hover {
  transform: scale(1.02);
  border-color: var(--blue);
}

/* ---------- Events ---------- */

.events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.event {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: background 0.15s;
}

.event:hover {
  background: var(--surface-hover);
}

.event .icon {
  font-size: 1.8rem;
  line-height: 1;
  padding-top: 4px;
}

.event h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.event .when {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

/* ---------- Join CTA ---------- */

.join-cta {
  text-align: center;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--blue);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer p + p {
  margin-top: 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .cards,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .events {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none; /* hamburger menu comes with multi-page version */
  }
}

@media (max-width: 560px) {
  .cards,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: 210px;
  }
}
