/* FRONT Phoenix - static copy */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Poppins:wght@400;600&display=swap');

:root {
  --maxw: 1200px;
  --gutter: 24px;
  --bg: #0a0a0a;
  --panel: #101010;
  --panel-2: #161616;
  --panel-glass: rgba(16, 16, 16, 0.88);
  --panel-glass-strong: rgba(18, 18, 18, 0.92);
  --accent-start: #4b1b0b;
  --accent-mid: #7d2c0e;
  --accent-end: #2a0c07;
  --gold: #e5be5e;
  --soft-gold: #f2d68f;
  --card-border: rgba(229, 190, 94, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font: 16px/1.65 "Poppins", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color: #f1f1f1;
  background: #000;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 140, 0, 0.06), rgba(0, 0, 0, 0) 60%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.22) 0,
      rgba(255, 255, 255, 0.22) 1px,
      rgba(0, 0, 0, 0.28) 1px,
      rgba(0, 0, 0, 0.28) 4px,
      rgba(0, 0, 0, 0) 4px,
      rgba(0, 0, 0, 0) 8px
    );
  mix-blend-mode: screen;
  opacity: 0.82;
  pointer-events: none;
}

.video-background {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-toggle {
  border: 1px solid rgba(229, 190, 94, 0.6);
  background: rgba(10, 10, 10, 0.82);
  color: var(--gold);
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  font: 600 0.82rem/1 "Poppins", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
}

.video-toggle:hover {
  background: rgba(18, 18, 18, 0.92);
  color: #fff;
}

body.video-disabled .video-background {
  opacity: 0;
}

body.video-disabled::after {
  opacity: 0.18;
}

body.video-mobile-lite::after {
  opacity: 0.28;
}

a {
  color: #e0862b;
}

a:visited {
  color: var(--soft-gold);
}

h1,
h2,
h3,
h4,
.nav-bar a {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1rem;
}

h3 {
  margin-top: 2rem;
}

p,
li {
  max-width: 75ch;
}

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 190, 94, 0.5), transparent);
  margin: 2rem 0;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header .container {
  text-align: left;
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 14px !important;
}

.logo img {
  height: 180px;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.65));
}

.logo-title {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.header-side-image {
  height: 180px;
  width: auto;
  display: block;
  margin: 28px 0 14px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.nav-wrap {
  width: calc(100% - (var(--gutter) * 2));
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.nav-topline,
.nav-bottomline {
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.nav-bar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 22%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.62) 0%, rgba(18, 18, 18, 0.74) 50%, rgba(10, 10, 10, 0.62) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-bar .container {
  display: flex;
  justify-content: center;
}

.mod-menu {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.mod-menu a {
  display: block;
  padding: 14px 12px;
  color: var(--gold);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.mod-menu a:hover,
.mod-menu a[aria-current="page"] {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-1px);
}

.site-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px var(--gutter) 34px;
  align-items: start;
}

.site-main--wide {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1320px;
}

.site-main--aligned {
  max-width: 1320px;
}

.site-main--wide .content {
  width: 100%;
}

.site-main--wide .page-body p,
.site-main--wide .page-body li {
  max-width: 100ch;
}

.card {
  background: var(--panel-glass);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(229, 190, 94, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 24px;
}

.hero {
  position: relative;
  background:
    radial-gradient(500px 220px at 50% -40px, rgba(255, 140, 0, 0.06), rgba(0, 0, 0, 0) 70%),
    rgba(22, 22, 22, 0.78);
    font-weight: 200;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.18);
  border-radius: 16px;
  pointer-events: none;
}

.content .page-body,
.sidebar .contact-card {
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

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

.sidebar h1 {
  font-size: 1.8rem;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 22%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.44) 0%, rgba(18, 18, 18, 0.56) 50%, rgba(10, 10, 10, 0.44) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  text-align: center;
  width: calc(100% - (var(--gutter) * 2));
  max-width: 1320px;
  padding: 20px 0;
  margin: 28px auto 0;
  border-top: 1px solid var(--card-border);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.site-footer .container {
  max-width: none;
  width: 100%;
  padding: 0 var(--gutter);
}

.site-footer p {
  margin: 0;
  text-align: center;
  line-height: 1.7;
  max-width: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.lede {
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0 0 1rem;
}

.contact-card a {
  overflow-wrap: anywhere;
}

.kills-widget {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-subtitle {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.kill-item + .kill-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kill-item p {
  margin: 0;
}

.kill-meta,
.kill-detail {
  color: rgba(241, 241, 241, 0.7);
  font-size: 0.92rem;
}

.kill-detail {
  margin-top: 0.2rem;
}

.kill-value {
  margin-top: 0.35rem !important;
  color: var(--soft-gold);
  font-weight: 600;
}

.join-callout {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gold);
  border-radius: 12px;
  background: rgba(120, 0, 0, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.join-callout p {
  margin: 0;
}

.join-callout a,
.join-callout a:visited {
  color: #fff0a8;
}

@media (max-width: 980px) {
  .header-brand {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
  }

  .site-main {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 150px;
  }

  .header-side-image {
    display: none !important;
  }

  .site-footer p {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 16px;
  }

  body {
    font-size: 15px;
    line-height: 1.58;
  }

  body::before {
    background:
      radial-gradient(900px 420px at 50% -5%, rgba(255, 140, 0, 0.04), rgba(0, 0, 0, 0) 60%),
      linear-gradient(120deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.6));
  }

  .site-header .container {
    padding-top: 10px;
    padding-bottom: 4px;
  }

  .header-brand {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    gap: 8px !important;
  }

  .logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 8px 0 6px !important;
    width: 100%;
    text-align: center;
  }

  .logo img {
    height: 72px !important;
  }

  .logo-title {
    display: block !important;
    width: 100%;
    max-width: 18ch;
    margin: 0 auto;
    font-size: 0.88rem !important;
    letter-spacing: 0.03em !important;
    white-space: normal !important;
    line-height: 1.15;
    text-align: center !important;
    overflow-wrap: anywhere;
  }

  .header-side-image {
    display: none;
  }

  .nav-wrap {
    width: calc(100% - (var(--gutter) * 2));
    margin-top: 6px;
  }

  .nav-bar .container {
    justify-content: stretch;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .mod-menu {
    width: 100%;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .mod-menu li {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .mod-menu a,
  .video-toggle {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0.9rem;
  }

  .site-main,
  .site-main--aligned,
  .site-main--wide {
    max-width: none;
    gap: 18px;
    padding: 18px var(--gutter) 24px;
  }

  .card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .content .page-body,
  .sidebar .contact-card {
    padding: 0;
  }

  .page-body p,
  .page-body li,
  .site-main--wide .page-body p,
  .site-main--wide .page-body li {
    max-width: none;
  }

  h1 {
    margin-bottom: 0.75rem;
  }

  h3 {
    margin-top: 1.5rem;
  }

  hr {
    margin: 1.5rem 0;
  }

  .join-callout {
    padding: 0.9rem 1rem;
  }

  .site-footer {
    width: calc(100% - (var(--gutter) * 2));
    margin-top: 18px;
    border-radius: 12px 12px 0 0;
  }

  .site-footer p {
    font-size: 0.88rem;
  }
}

@media (max-width: 640px) {
  .logo img {
    height: 64px !important;
  }

  .logo-title {
    max-width: 16ch;
    font-size: 0.8rem !important;
    letter-spacing: 0.02em !important;
  }

  .nav-wrap {
    border-radius: 12px;
  }

  .video-toggle {
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
  }

  .mod-menu a,
  .video-toggle {
    width: 100%;
  }

  .mod-menu a {
    padding-inline: 0.75rem;
  }

  .card {
    padding: 22px 18px;
  }

  .content .page-body,
  .sidebar .contact-card {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    opacity: 0.2;
  }

  .video-background {
    opacity: 0;
  }
}
