*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-primary: #010201;
  --bg-surface: #060907;
  --text-main: #d7d2b7;
  --text-muted: #838977;
  --accent: #839820;
  --accent-strong: #abc539;
  --border: #1d211a;
  --panel-border: #262a20;
  --glow: 0 10px 28px rgba(0, 0, 0, 0.7);
  --font-heading: "Teko", "Oswald", Inter, Arial, sans-serif;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 50% -40%, rgba(164, 183, 53, 0.12), transparent 40%),
    linear-gradient(180deg, #050706 0%, #020403 48%, #010201 100%);
  line-height: 1.3;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.28;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(3, 4, 3, 0.86), rgba(2, 3, 2, 0.94));
}

.page-shell::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 100px;
  left: 50%;
  width: min(1320px, 100vw);
  height: min(460px, 42vw);
  max-height: 520px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(2, 2, 2, 0.04) 0%, transparent 36%, rgba(4, 4, 4, 0.38) 100%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.02) 0%, rgba(3, 3, 3, 0.10) 48%, rgba(2, 2, 2, 0.93) 100%),
    url("../images/plaguebase-hero-bg.jpg?v=2603") 10% 25% / auto 108% no-repeat;
}

.page-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #010201, rgba(1, 2, 1, 0.02) 9%, rgba(1, 2, 1, 0.02) 91%, #010201),
    linear-gradient(
      180deg,
      rgba(2, 3, 2, 0.45),
      transparent 108px,
      rgba(2, 3, 2, 0.04) 300px,
      #0b0b0b calc(98px + min(460px, 42vw)),
      #0b0b0b 100%
    );
}

.site-header,
.page-content,
.site-footer,
.mobile-bottom-nav {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-content {
  padding: 7px 0 10px;
}

/* Hidden by default, shown only on mobile via media query */
.mobile-bottom-nav {
  display: none;
}

.mobile-menu-btn {
  display: none;
}

.mobile-user-btn {
  display: none;
}

.mobile-nav-drawer {
  display: none;
}

.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 32%),
    linear-gradient(180deg, rgba(8, 10, 10, 0.94), rgba(3, 4, 4, 0.97));
  border: 1px solid rgba(37, 40, 35, 0.95);
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.88),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 8px 20px rgba(0, 0, 0, 0.6);
}

.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  border: 1px solid transparent;
  padding: 7px 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 46%),
    linear-gradient(180deg, #b7cb3e, #6f8610);
  border-color: #b8cc45 #7b9220 #3a4c08;
  color: #161a08;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 0 14px rgba(157, 184, 40, 0.18);
}

.btn-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 48%),
    linear-gradient(180deg, #171b15, #0a0c0b);
  border-color: #444b33 #2a2f23 #171b14;
  color: var(--text-main);
}
