/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #0b0909;
  --bg-elevated: rgba(25, 17, 14, 0.84);
  --panel: rgba(36, 25, 20, 0.8);
  --panel-strong: rgba(46, 29, 21, 0.95);
  --text: #f7efe5;
  --muted: #d1bca9;
  --soft: #9f8775;
  --line: rgba(255, 191, 127, 0.14);
  --ember: #ff8f47;
  --gold: #ffc76b;
  --ember-bright: #ffd39a;
  --success: #78d19b;
  --danger: #ff9782;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --font-body: "Trebuchet MS", "Gill Sans", "Avenir Next", sans-serif;
  --font-display: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --site-background-image: url("/hero/emberfall-hero-bg.svg");
  --site-background-blur: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 136, 55, 0.24), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(255, 201, 92, 0.16), transparent 22%),
    radial-gradient(circle at 72% 72%, rgba(92, 154, 110, 0.12), transparent 28%),
    linear-gradient(180deg, #16100e 0%, #0b0909 48%, #090807 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.site-shell,
.legal-shell,
.admin-shell,
.admin-auth-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 6, 6, 0.18), rgba(7, 6, 6, 0.52)),
    var(--site-background-image);
  background-position: center;
  background-size: cover;
  filter: blur(var(--site-background-blur)) saturate(1.18) brightness(0.46);
  transform: scale(1.08);
}

.site-shell::before,
.admin-auth-shell::before,
.legal-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 142, 64, 0.2), transparent 18%),
    radial-gradient(circle at 84% 15%, rgba(255, 201, 107, 0.13), transparent 18%),
    radial-gradient(circle at 72% 78%, rgba(101, 160, 118, 0.11), transparent 24%),
    radial-gradient(circle at 50% 120%, rgba(255, 132, 58, 0.14), transparent 32%);
  pointer-events: none;
}

.site-header,
.hero-section,
.content-section,
.join-early-section,
.site-footer,
.admin-topbar,
.admin-grid,
.admin-savebar,
.legal-card,
.admin-auth-card {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.95rem 1.35rem;
  margin-top: 1rem;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  background:
    linear-gradient(180deg, rgba(26, 19, 18, 0.9), rgba(14, 11, 10, 0.82));
  border: 1px solid rgba(255, 208, 158, 0.16);
  border-radius: 999px;
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 239, 216, 0.06);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-lockup span,
.site-footer h2,
.site-header h1,
.hero-copy h1,
.section-heading h2,
.join-early-copy h2,
.modal-card h2,
.admin-topbar h1,
.legal-card h1 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.brand-lockup span {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-lockup small {
  color: var(--soft);
  display: block;
  max-width: 34ch;
}

.site-nav,
.header-actions,
.hero-actions,
.hero-pill-row,
.status-grid,
.footer-link-list,
.admin-topbar-actions,
.inline-actions,
.play-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-nav a,
.footer-link-list a {
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a {
  padding: 0.62rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #ead2b6;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 243, 224, 0.03);
}

.site-nav a:hover,
.footer-link-list a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.site-nav a:hover {
  border-color: rgba(255, 211, 163, 0.12);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.92rem 1.35rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 191, 127, 0.34);
  filter: saturate(1.03);
}

.button-primary {
  background: linear-gradient(135deg, var(--ember), var(--gold));
  color: #20130f;
  border-color: rgba(255, 209, 153, 0.45);
  box-shadow: 0 14px 30px rgba(255, 131, 50, 0.22);
}

.button-secondary {
  background: rgba(255, 169, 100, 0.08);
}

.button-discord {
  background: linear-gradient(135deg, #ff9d50, #ffd173);
  color: #20130f;
  border-color: rgba(255, 223, 170, 0.45);
  box-shadow:
    0 20px 42px rgba(255, 138, 53, 0.3),
    0 0 22px rgba(255, 166, 79, 0.12),
    inset 0 1px 0 rgba(255, 244, 220, 0.36);
}

.button-discord:hover {
  box-shadow:
    0 24px 52px rgba(255, 138, 53, 0.42),
    0 0 28px rgba(255, 166, 79, 0.2),
    0 0 0 1px rgba(255, 216, 160, 0.22);
}

.button-play {
  background: linear-gradient(135deg, #5db96b, #8ae38f);
  color: #102014;
  border-color: rgba(173, 245, 177, 0.4);
  box-shadow:
    0 14px 28px rgba(87, 190, 106, 0.2),
    inset 0 1px 0 rgba(235, 255, 237, 0.34);
}

.button-play:hover {
  box-shadow:
    0 18px 34px rgba(87, 190, 106, 0.26),
    0 0 0 1px rgba(185, 255, 194, 0.2);
}

.button-vote {
  background: linear-gradient(135deg, rgba(255, 197, 101, 0.2), rgba(255, 143, 71, 0.18));
  color: #ffe5ba;
  border-color: rgba(255, 208, 148, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 213, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

.button-vote:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 213, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 22px rgba(255, 172, 89, 0.12);
}

.button-ghost {
  background: transparent;
}

.mobile-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 165, 0.16);
  background: linear-gradient(180deg, rgba(48, 31, 25, 0.9), rgba(23, 17, 15, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 214, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  grid-gap: 2.6rem;
  gap: 2.6rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
  padding: 5.4rem 3rem 4.6rem;
  margin-top: 1.75rem;
  border: 1px solid rgba(255, 197, 133, 0.12);
  border-radius: 36px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 225, 193, 0.08);
}

.hero-background,
.hero-veil,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-background img {
  object-fit: cover;
  object-position: center;
  filter: blur(8px) saturate(1.28) brightness(0.8) contrast(1.08);
  transform: scale(1.12);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 7, 0.88) 0%, rgba(8, 7, 7, 0.44) 42%, rgba(8, 7, 7, 0.66) 100%),
    radial-gradient(circle at 18% 36%, rgba(255, 154, 74, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(10, 8, 8, 0.12) 0%, rgba(10, 8, 8, 0.62) 100%);
}

.hero-veil {
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 126, 62, 0.32), transparent 30%),
    radial-gradient(circle at 34% 72%, rgba(255, 88, 62, 0.14), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(255, 211, 108, 0.22), transparent 24%),
    radial-gradient(circle at 72% 82%, rgba(98, 163, 117, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(24, 15, 12, 0.1) 0%, rgba(9, 7, 7, 0.3) 100%);
  z-index: 0;
}

.hero-vignette {
  background:
    radial-gradient(circle at center, rgba(255, 170, 92, 0.03) 0%, transparent 38%, rgba(4, 3, 3, 0.42) 100%),
    linear-gradient(180deg, rgba(4, 3, 3, 0.03), rgba(4, 3, 3, 0.48));
  z-index: 0;
}

.hero-vignette::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: soft-light;
}

.hero-embers {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-embers span {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 214, 157, 0.95), rgba(255, 140, 61, 0.28));
  box-shadow: 0 0 22px rgba(255, 148, 74, 0.4);
  animation: emberFloat 8s linear infinite;
  opacity: 0;
}

.hero-embers span:nth-child(1) {
  left: 10%;
  bottom: 12%;
  animation-delay: 0s;
}

.hero-embers span:nth-child(2) {
  left: 24%;
  bottom: 18%;
  width: 6px;
  height: 6px;
  animation-delay: 1.4s;
}

.hero-embers span:nth-child(3) {
  right: 26%;
  bottom: 20%;
  width: 10px;
  height: 10px;
  animation-delay: 2.5s;
}

.hero-embers span:nth-child(4) {
  right: 14%;
  bottom: 12%;
  width: 7px;
  height: 7px;
  animation-delay: 3.6s;
}

.hero-embers span:nth-child(5) {
  left: 54%;
  bottom: 10%;
  width: 5px;
  height: 5px;
  animation-delay: 4.8s;
}

.hero-copy,
.hero-aside {
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: grid;
  grid-gap: 1.15rem;
  gap: 1.15rem;
  max-width: 720px;
  align-self: start;
  padding-top: 0;
  opacity: 0;
  animation: heroReveal 800ms ease forwards;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7.2vw, 6.35rem);
  line-height: 0.98;
  max-width: 11ch;
  text-wrap: balance;
  text-shadow:
    0 10px 42px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(255, 166, 92, 0.08);
}

.hero-subheading,
.lead-copy,
.site-footer p,
.modal-card p,
.legal-card p,
.admin-auth-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-subheading {
  display: grid;
  grid-gap: 0.55rem;
  gap: 0.55rem;
  max-width: 58ch;
  font-size: clamp(1.04rem, 1.25vw, 1.26rem);
  color: #f6dfc7;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.38);
}

.hero-subheading-secondary {
  color: #d8bea2;
  font-size: 0.95em;
}

.hero-actions {
  margin-top: 0.35rem;
}

.hero-join-cue {
  margin: -0.1rem 0 0;
  color: #f0cda4;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.section-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-pill-row span,
.status-grid div,
.feature-card,
.gallery-card,
.glow-card,
.join-early-section,
.site-footer,
.modal-card,
.lightbox-card,
.admin-card,
.legal-card,
.admin-auth-card,
.admin-notice {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(43, 29, 23, 0.88), rgba(16, 12, 11, 0.92));
  box-shadow: var(--shadow);
}

.hero-pill-row span {
  position: relative;
  padding: 0.8rem 1.08rem;
  border-radius: 999px;
  color: #fff0c8;
  background:
    linear-gradient(180deg, rgba(66, 38, 27, 0.78), rgba(33, 21, 18, 0.8));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-pill-row span:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 205, 146, 0.28);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.hero-panel,
.glow-card,
.feature-card,
.join-early-section,
.site-footer,
.modal-card,
.lightbox-card,
.admin-card,
.legal-card,
.admin-auth-card {
  border-radius: 28px;
}

.hero-panel {
  padding: 2.1rem;
}

.hero-actions .button-discord {
  min-width: 190px;
  box-shadow:
    0 20px 46px rgba(255, 128, 43, 0.36),
    inset 0 1px 0 rgba(255, 241, 217, 0.42);
}

.hero-actions .button-discord:hover {
  box-shadow:
    0 22px 52px rgba(255, 128, 43, 0.42),
    0 0 0 1px rgba(255, 216, 160, 0.2);
}

.hero-actions .button-play {
  min-width: 170px;
  opacity: 0.94;
  box-shadow:
    0 14px 26px rgba(87, 190, 106, 0.2),
    inset 0 1px 0 rgba(235, 255, 237, 0.34);
}

.hero-aside {
  opacity: 0;
  animation: heroReveal 880ms ease 140ms forwards;
}

.premium-info-panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(53, 33, 24, 0.84), rgba(16, 12, 11, 0.92));
  border: 1px solid rgba(255, 205, 146, 0.16);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 220, 0.08),
    0 28px 72px rgba(0, 0, 0, 0.42),
    0 0 60px rgba(255, 140, 66, 0.08);
}

.premium-info-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 218, 163, 0.34), transparent);
}

.premium-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.premium-panel-head h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
}

.status-signal {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 208, 148, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(255, 187, 87, 0.5);
}

.status-dot.live {
  background: var(--success);
  box-shadow: 0 0 18px rgba(120, 209, 155, 0.5);
}

.premium-panel-copy,
.premium-panel-note {
  color: #ecd0b0;
}

.premium-panel-copy {
  margin-bottom: 1.45rem;
}

.premium-status-grid {
  margin: 0 0 1.35rem;
}

.premium-status-grid div {
  background:
    linear-gradient(180deg, rgba(255, 196, 116, 0.09), rgba(255, 255, 255, 0.025));
}

.ip-card {
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 208, 148, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 184, 103, 0.12), rgba(255, 255, 255, 0.04));
  margin-bottom: 1rem;
}

.ip-card span {
  color: var(--soft);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ip-card strong {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: #fff0d5;
  overflow-wrap: anywhere;
}

.hero-copy-button {
  width: -moz-fit-content;
  width: fit-content;
}

.hero-copy-button.is-copied {
  background: linear-gradient(135deg, #67c978, #a0ef9e);
  border-color: rgba(196, 255, 200, 0.4);
  box-shadow:
    0 0 0 1px rgba(199, 255, 203, 0.18),
    0 18px 36px rgba(105, 207, 122, 0.26),
    0 0 24px rgba(126, 226, 133, 0.22);
  transform: translateY(-2px);
}

.status-grid {
  margin: 1.5rem 0;
}

.status-grid div {
  flex: 1 1 140px;
  padding: 1rem;
  border-radius: 18px;
}

.status-grid span,
.play-meta span {
  display: block;
  color: var(--soft);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.status-grid strong,
.play-meta strong {
  font-size: 1.1rem;
}

.online {
  color: var(--success);
}

.offline {
  color: var(--gold);
}

.content-section {
  padding: 3rem 0;
}

.content-section:nth-of-type(2n) {
  position: relative;
}

.content-section:nth-of-type(2n)::before {
  content: "";
  position: absolute;
  inset: 0.6rem -1rem;
  z-index: -1;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(56, 34, 26, 0.42), rgba(19, 14, 12, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 190, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.18);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2,
.join-early-copy h2,
.modal-card h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.lead-copy {
  font-size: 1.08rem;
}

.why-highlights,
.feature-grid,
.gallery-grid,
.admin-grid,
.stack-list,
.two-col {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.why-highlights {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.glow-card,
.feature-card {
  padding: 1.35rem;
}

.glow-card {
  background:
    linear-gradient(180deg, rgba(88, 58, 43, 0.82), rgba(30, 22, 18, 0.92));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card h3,
.glow-card h3,
.gallery-overlay strong {
  margin-top: 0;
  font-family: var(--font-display);
}

.feature-card p,
.glow-card p,
.gallery-overlay span,
.footer-muted {
  color: var(--muted);
  line-height: 1.6;
}

.feature-card {
  background:
    linear-gradient(180deg, rgba(112, 75, 53, 0.78), rgba(40, 29, 22, 0.92));
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.feature-card:hover,
.glow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 161, 0.22);
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.3),
    0 0 36px rgba(255, 145, 73, 0.08);
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.gallery-card img,
.lightbox-image-wrap img,
.gallery-admin-thumb img {
  object-fit: cover;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 170, 92, 0.04) 0%, transparent 26%, rgba(0, 0, 0, 0.76) 100%);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 155, 0.24);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.36),
    0 0 42px rgba(255, 145, 74, 0.08);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1rem;
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
  text-align: left;
}

.join-early-section {
  margin: 2rem auto 4rem;
  position: relative;
  padding: 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: stretch;
  grid-gap: 1.35rem;
  gap: 1.35rem;
  background:
    linear-gradient(180deg, rgba(118, 77, 52, 0.9), rgba(39, 27, 21, 0.95));
  overflow: hidden;
}

.join-early-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 28%, rgba(255, 172, 98, 0.18), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(255, 211, 120, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 46%);
  pointer-events: none;
}

.join-early-copy,
.join-early-cta {
  position: relative;
  z-index: 1;
}

.join-early-copy {
  display: grid;
  align-content: start;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  max-width: 700px;
}

.join-early-copy p:last-child {
  max-width: 58ch;
  margin: 0;
  color: #efd7bd;
  line-height: 1.75;
}

.join-early-cta {
  display: grid;
  align-content: center;
  grid-gap: 1rem;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 220, 173, 0.16);
  background:
    linear-gradient(180deg, rgba(77, 49, 36, 0.78), rgba(34, 24, 20, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 212, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.2);
}

.join-early-cta p {
  margin: 0;
  color: #f0d0ab;
  font-size: 0.98rem;
  line-height: 1.6;
}

.join-early-button {
  width: 100%;
  min-height: 58px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    0 24px 54px rgba(255, 138, 53, 0.34),
    0 0 28px rgba(255, 166, 79, 0.16),
    inset 0 1px 0 rgba(255, 244, 220, 0.38);
}

.vote-callout-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.1rem auto 2.5rem;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  grid-gap: 1.1rem;
  gap: 1.1rem;
  padding: 1.55rem 1.65rem;
  border: 1px solid rgba(255, 209, 154, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(87, 56, 39, 0.86), rgba(27, 21, 18, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 216, 0.05),
    0 22px 48px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.vote-callout-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 170, 86, 0.14), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(255, 214, 124, 0.09), transparent 26%);
  pointer-events: none;
}

.vote-callout-copy,
.vote-callout-cta {
  position: relative;
  z-index: 1;
}

.vote-callout-copy {
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  align-content: start;
}

.vote-callout-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.vote-callout-copy p:last-child {
  margin: 0;
  color: #ead0b0;
  line-height: 1.7;
  max-width: 60ch;
}

.vote-callout-cta {
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  align-content: center;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 212, 158, 0.14);
  background:
    linear-gradient(180deg, rgba(74, 48, 34, 0.78), rgba(30, 22, 19, 0.88));
}

.vote-callout-cta p {
  margin: 0;
  color: #efd4b1;
  line-height: 1.55;
}

.vote-callout-button {
  width: 100%;
  min-height: 54px;
  font-weight: 700;
}

.site-footer {
  margin-bottom: 2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  background:
    linear-gradient(180deg, rgba(92, 59, 44, 0.84), rgba(24, 19, 17, 0.94));
}

.why-visual {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  padding: 1rem;
}

.why-visual-image {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 24px;
  border: 1px dashed rgba(255, 218, 166, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 190, 114, 0.18), rgba(96, 156, 114, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  color: #f3dcc0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.why-visual-copy {
  display: grid;
  grid-gap: 0.55rem;
  gap: 0.55rem;
  padding: 0.25rem 0.35rem 0.1rem;
}

.why-visual-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.why-visual-copy p {
  margin: 0;
  color: #e3c8a9;
  line-height: 1.7;
}

.footer-link-list {
  flex-direction: column;
  align-items: flex-start;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow-y: auto;
  background: rgba(9, 7, 7, 0.7);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.modal-card,
.lightbox-card {
  position: relative;
  width: min(560px, 100%);
  padding: 1.6rem;
  max-height: min(88vh, 920px);
  overflow-y: auto;
}

.vote-modal {
  display: grid;
  grid-gap: 1.2rem;
  gap: 1.2rem;
}

.modal-card:has(.vote-modal) {
  width: min(920px, 100%);
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(59, 38, 27, 0.94), rgba(16, 12, 11, 0.96));
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.vote-card {
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 208, 148, 0.16);
  background:
    linear-gradient(180deg, rgba(93, 58, 40, 0.72), rgba(28, 20, 18, 0.9));
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.vote-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 216, 164, 0.28);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.24),
    0 0 34px rgba(255, 157, 78, 0.1);
}

.vote-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.vote-card-image img {
  object-fit: cover;
}

.vote-card-copy {
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
}

.vote-card-copy strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.vote-card-copy span {
  color: #ebcdad;
}

.vote-note {
  display: grid;
  grid-gap: 0.45rem;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 212, 158, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 189, 103, 0.08), rgba(255, 255, 255, 0.02));
}

.vote-note strong {
  color: #fff0d0;
}

.vote-note p {
  margin: 0;
  color: #e6c7a4;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 143, 130, 0.28);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffd7cf;
  background: linear-gradient(180deg, rgba(130, 39, 30, 0.92), rgba(88, 24, 20, 0.96));
  box-shadow:
    0 14px 28px rgba(92, 20, 17, 0.24),
    inset 0 1px 0 rgba(255, 218, 212, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.modal-close:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 165, 0.38);
  box-shadow:
    0 18px 34px rgba(92, 20, 17, 0.3),
    0 0 22px rgba(193, 58, 44, 0.16);
}

.modal-card code {
  display: block;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  color: var(--ember-bright);
  background: rgba(255, 255, 255, 0.04);
  overflow-wrap: anywhere;
}

.play-meta div {
  flex: 1 1 180px;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.play-steps {
  padding-left: 1.3rem;
  color: var(--muted);
  line-height: 1.7;
}

.lightbox-card {
  width: min(920px, 100%);
  padding: 1rem;
}

.lightbox-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
}

.lightbox-copy {
  padding: 1rem 0.35rem 0.35rem;
}

.admin-auth-shell,
.legal-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.admin-auth-card,
.legal-card {
  padding: 2rem;
}

.admin-auth-card {
  width: min(540px, calc(100% - 2rem));
}

.admin-auth-form,
.admin-card,
.gallery-admin-fields,
.repeater-card,
.legal-card,
.admin-card label {
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.admin-error {
  color: var(--danger);
  margin: 0;
}

.admin-shell {
  padding: 1.5rem 0 6rem;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(240px, 0.3fr) minmax(0, 0.7fr);
  grid-gap: 1rem;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.admin-sidebar {
  display: grid;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-content: start;
}

.admin-nav-card {
  text-align: left;
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 208, 148, 0.14);
  border-radius: 20px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(48, 32, 25, 0.88), rgba(18, 14, 13, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 216, 0.05),
    0 16px 34px rgba(0, 0, 0, 0.18);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.admin-nav-card strong {
  font-size: 1rem;
}

.admin-nav-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.admin-nav-card:hover,
.admin-nav-card.active {
  transform: translateY(-2px);
  border-color: rgba(255, 210, 155, 0.24);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(255, 150, 74, 0.08);
}

.admin-editor {
  min-width: 0;
}

.admin-editor-card {
  display: grid;
  grid-gap: 0.95rem;
  gap: 0.95rem;
  min-height: 720px;
}

.admin-card {
  padding: 1.4rem;
}

.admin-card-full {
  grid-column: 1 / -1;
}

.admin-accordion {
  padding: 0;
  overflow: hidden;
}

.admin-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  cursor: pointer;
}

.admin-accordion-summary::-webkit-details-marker {
  display: none;
}

.admin-accordion-summary h2 {
  margin: 0;
}

.admin-accordion-summary p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-accordion-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 208, 148, 0.16);
  color: #f6ddb8;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 180ms ease, background 180ms ease;
}

.admin-accordion[open] .admin-accordion-indicator {
  transform: rotate(45deg);
  background: rgba(255, 170, 94, 0.08);
}

.admin-accordion-body {
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
  padding: 0 1.35rem 1.35rem;
  border-top: 1px solid rgba(255, 208, 148, 0.1);
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-section-header p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.admin-section-header.compact {
  margin-top: 0.5rem;
}

.admin-section-subgroup {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.admin-card input,
.admin-card textarea,
.admin-auth-form input {
  width: 100%;
  border: 1px solid rgba(255, 191, 127, 0.18);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.stack-list {
  grid-template-columns: 1fr;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.repeater-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.gallery-admin-card {
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: start;
}

.gallery-admin-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
}

.upload-button {
  position: relative;
  overflow: hidden;
}

.upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.toggle-row {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
}

.toggle-row input {
  width: auto;
}

.background-preview-card {
  display: grid;
  grid-gap: 0.7rem;
  gap: 0.7rem;
  color: var(--muted);
}

.background-preview {
  height: 160px;
  border-radius: 20px;
  border: 1px solid rgba(255, 191, 127, 0.14);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.admin-notice {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
}

.admin-notice.success {
  color: var(--success);
}

.admin-notice.error {
  color: var(--danger);
}

.admin-savebar {
  position: fixed;
  inset: auto 0 1rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.admin-savebar .button {
  pointer-events: auto;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(-1.25%, -0.8%, 0);
  }
}

@keyframes emberFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.7);
  }

  20% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translate3d(18px, -150px, 0) scale(1.15);
  }
}

@media (max-width: 980px) {
  .hero-section,
  .why-layout,
  .feature-grid,
  .gallery-grid,
  .site-footer,
  .admin-grid,
  .admin-workspace,
  .two-col,
  .gallery-admin-card,
  .vote-callout-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .hero-section {
    min-height: auto;
    padding: 4.25rem 1.5rem 4.5rem;
    gap: 1.5rem;
  }

  .hero-copy {
    max-width: none;
  }

  .brand-lockup {
    min-width: 0;
  }

  .site-header {
    padding: 0.95rem 1rem;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 11, 10, 0.96);
    box-shadow: var(--shadow);
  }

  .site-header .site-nav.open {
    display: grid;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0.3rem;
    justify-self: end;
  }

  .site-header .site-nav:not(.open),
  .site-header .header-actions .button-vote,
  .site-header .header-actions .button-discord,
  .site-header .header-actions .button-play {
    display: none;
  }

  .header-actions {
    margin-left: 0;
    justify-self: end;
    width: auto;
  }

  .join-early-section {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .vote-callout-section {
    margin-top: 0.4rem;
  }

  .admin-editor-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero-section,
  .content-section,
  .join-early-section,
  .site-footer,
  .admin-topbar,
  .admin-grid,
  .admin-savebar,
  .legal-card,
  .admin-auth-card {
    width: min(100% - 1rem, 1180px);
  }

  .site-header {
    margin-top: 0.5rem;
  }

  .hero-section {
    padding-top: 3.5rem;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 11vw, 4.3rem);
  }

  .hero-subheading {
    max-width: none;
  }

  .hero-actions .button-discord,
  .hero-actions .button-play,
  .hero-copy-button,
  .vote-grid,
  .join-early-button,
  .vote-callout-button {
    width: 100%;
  }

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

  .modal-backdrop {
    place-items: start center;
    padding: 0.75rem;
  }

  .modal-card,
  .lightbox-card {
    max-height: none;
    min-height: calc(100dvh - 1.5rem);
    margin-block: 0;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .hero-actions,
  .header-actions {
    width: 100%;
  }
}

