:root {
  --black: #070604;
  --black-soft: #0d0b08;
  --panel: #12100c;
  --panel-light: #1a1610;
  --gold: #c68a24;
  --gold-bright: #e4b85d;
  --gold-dark: #765016;
  --cream: #f1e4cb;
  --paper: #d8c8aa;
  --muted: #a79b88;
  --brown: #4b2d17;
  --red: #9d3328;
  --green: #48bb59;
  --border: rgba(198, 138, 36, .36);
  --font-title: "Cinzel", Georgia, serif;
  --font-body: "Libre Franklin", Arial, sans-serif;
  --header-height: 78px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 20% 10%, rgba(128, 74, 19, .08), transparent 26rem),
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    #090806;
  background-size: auto, 100% 4px, auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--black);
  background: var(--gold-bright);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #080705;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-dark), var(--gold));
  border: 2px solid #080705;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 10000;
  padding: 10px 18px;
  color: var(--black);
  background: var(--gold-bright);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.wide-container {
  width: min(1440px, calc(100% - 32px));
}

.section {
  position: relative;
  padding: 105px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(50px, 1fr) auto minmax(50px, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto 18px;
  text-align: center;
}

.section-heading h2,
.story-copy h2,
.economy-header h2,
.whitelist-copy h2 {
  margin: 2px 0 0;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0;
  color: var(--gold-bright);
  font-family: var(--font-title);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 50px;
  color: var(--muted);
  text-align: center;
}

.ornament-line {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}

.ornament-line::after {
  content: "◆";
  position: absolute;
  top: 50%;
  right: -5px;
  color: var(--gold);
  font-size: 9px;
  transform: translateY(-50%) rotate(45deg);
}

.ornament-line.reverse {
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.ornament-line.reverse::after {
  right: auto;
  left: -5px;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}

.button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  color: #fff7e6;
  background: linear-gradient(135deg, #82530d, #c28720 55%, #9c6712);
  border-color: #d49a36;
  box-shadow: 0 10px 30px rgba(144, 87, 9, .28), inset 0 1px rgba(255,255,255,.18);
}

.button-gold:hover {
  background: linear-gradient(135deg, #a86d10, #dfa63c 55%, #b67813);
  box-shadow: 0 12px 36px rgba(191, 126, 29, .38);
}

.button-outline {
  color: var(--gold-bright);
  background: rgba(8, 7, 5, .64);
  border-color: var(--gold-dark);
}

.button-outline:hover {
  color: var(--black);
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--gold-bright);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-button span {
  transition: transform .2s ease;
}

.text-button:hover span {
  transform: translateX(5px);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(5, 4, 3, .92);
  border-bottom: 1px solid rgba(198, 138, 36, .25);
  backdrop-filter: blur(14px);
  transition: min-height .3s ease, box-shadow .3s ease, background .3s ease;
}

.site-header.scrolled {
  min-height: 68px;
  background: rgba(5, 4, 3, .98);
  box-shadow: 0 14px 35px rgba(0,0,0,.45);
}

.header-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18) 0 1px, transparent 1.5px);
  background-size: 5px 5px;
}

.header-inner {
  position: relative;
  display: flex;
  min-height: inherit;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--gold);
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.08rem;
  letter-spacing: .09em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: .52rem;
  letter-spacing: .22em;
  line-height: 1;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
}

.nav-link {
  position: relative;
  display: grid;
  padding: 0 11px;
  place-items: center;
  color: #e3dacb;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 14px;
  left: 10px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-bright);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-discord {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  font-size: .67rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--gold-bright);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 790px;
  padding: calc(var(--header-height) + 75px) 0 90px;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gold-dark);
}

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

.hero-bg {
  background-image: url("assets/images/hero-los-patrono.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(3,2,1,.88) 0%, rgba(5,4,2,.55) 39%, rgba(4,3,2,.16) 63%, rgba(3,2,1,.65) 100%),
    linear-gradient(0deg, #080705 0%, transparent 27%, rgba(0,0,0,.2) 100%),
    radial-gradient(circle at center, transparent 30%, rgba(0,0,0,.58) 100%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 72px;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-family: var(--font-title);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 55px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
  margin: 0;
  color: #eee4d1;
  font-family: var(--font-title);
  font-size: clamp(3.7rem, 8vw, 7.2rem);
  font-weight: 900;
  letter-spacing: .015em;
  line-height: .83;
  text-shadow: 0 5px 0 #332116, 0 16px 35px rgba(0,0,0,.75);
}

.hero h1 span {
  display: block;
}

.hero h1 strong {
  position: relative;
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-size: .54em;
  letter-spacing: .15em;
  text-shadow: 0 4px 0 #3c2409, 0 14px 28px rgba(0,0,0,.7);
}

.hero h1 strong::before,
.hero h1 strong::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 115px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero h1 strong::before {
  right: calc(100% + 24px);
}

.hero h1 strong::after {
  left: calc(100% + 18px);
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-slogan {
  margin: 20px 0 0;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: clamp(.95rem, 2vw, 1.25rem);
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 610px;
  margin: 20px auto 26px;
  color: #e0d7c8;
  font-size: 1rem;
  line-height: 1.75;
  text-shadow: 0 2px 4px rgba(0,0,0,.8);
}

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

.discord-store-notice {
  max-width: 610px;
  margin: 15px auto 0;
  padding: 10px 15px;
  color: #d8cdbb;
  background: rgba(7, 6, 4, .72);
  border: 1px solid rgba(198, 138, 36, .35);
  border-radius: 2px;
  font-size: .7rem;
  line-height: 1.55;
  letter-spacing: .02em;
}

.discord-store-notice strong {
  color: var(--gold-bright);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 26px;
  color: #bfb29f;
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-features i {
  color: var(--gold);
  font-style: normal;
}

.western-frame,
.western-panel {
  position: relative;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(255,255,255,.025), transparent 40%),
    rgba(10, 9, 6, .92);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 4px rgba(0,0,0,.45), var(--shadow);
}

.server-status {
  min-width: 0;
  padding: 24px 24px 22px;
  backdrop-filter: blur(8px);
}

.server-status::before,
.server-status::after {
  content: "◆";
  position: absolute;
  left: 50%;
  color: var(--gold-dark);
  font-size: 9px;
  transform: translateX(-50%) rotate(45deg);
}

.server-status::before {
  top: -6px;
}

.server-status::after {
  bottom: -6px;
}

.frame-corner {
  position: absolute;
  width: 25px;
  height: 25px;
  border-color: var(--gold);
}

.corner-tl { top: 5px; left: 5px; border-top: 1px solid; border-left: 1px solid; }
.corner-tr { top: 5px; right: 5px; border-top: 1px solid; border-right: 1px solid; }
.corner-bl { bottom: 5px; left: 5px; border-bottom: 1px solid; border-left: 1px solid; }
.corner-br { right: 5px; bottom: 5px; border-right: 1px solid; border-bottom: 1px solid; }

.server-status h2 {
  margin: 0 -8px;
  padding: 0 0 16px;
  color: var(--gold-bright);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.status-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  border-bottom: 1px solid rgba(198,138,36,.18);
}

.online-state {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #57d766;
}

.status-dot {
  width: 11px;
  height: 11px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(72,187,89,.12), 0 0 16px rgba(72,187,89,.7);
  animation: pulse 2s infinite;
}

.online-state.offline {
  color: #ce4a3e;
}

.players {
  padding-left: 18px;
  border-left: 1px solid var(--border);
  text-align: right;
}

.players strong,
.players span {
  display: block;
}

.players strong {
  color: var(--cream);
  font-family: var(--font-title);
  font-size: .9rem;
}

.players span {
  color: var(--muted);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status-details {
  margin: 0;
}

.status-details div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(198,138,36,.15);
}

.status-details dt {
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
}

.status-details dd {
  margin: 0;
  color: #e5dbca;
  font-size: .75rem;
}

.status-button {
  width: 100%;
  min-height: 42px;
  margin-top: 18px;
  padding: 9px 12px;
  font-size: .64rem;
}

.scroll-hint {
  position: absolute;
  bottom: 19px;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #b4a892;
  font-size: .56rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-hint i {
  width: 15px;
  height: 25px;
  border: 1px solid rgba(229,184,93,.7);
  border-radius: 10px;
}

.scroll-hint i::after {
  content: "";
  display: block;
  width: 2px;
  height: 5px;
  margin: 5px auto 0;
  background: var(--gold-bright);
  border-radius: 2px;
  animation: scrollDown 1.8s infinite;
}

.paths-section {
  padding-top: 72px;
  background:
    linear-gradient(180deg, rgba(58,34,12,.12), transparent 30%),
    #0a0907;
}

.profession-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.profession-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #11100d;
  border: 1px solid rgba(198,138,36,.38);
  border-radius: 3px;
  box-shadow: 0 15px 32px rgba(0,0,0,.25);
  transition: z-index .1s, transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.profession-card:hover {
  z-index: 3;
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(0,0,0,.55), 0 0 25px rgba(167,105,18,.15);
  transform: translateY(-8px);
}

.profession-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/profissoes-los-patrono.png");
  background-repeat: no-repeat;
  background-size: 400% 300%;
  transition: transform .6s ease, filter .6s ease;
}

.profession-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #080705 6%, rgba(8,7,5,.92) 28%, transparent 70%);
}

.profession-card:hover .profession-image {
  filter: saturate(1.15);
  transform: scale(1.04);
}

.sprite-1 { background-position: 0 0; }
.sprite-2 { background-position: 33.333% 0; }
.sprite-3 { background-position: 66.666% 0; }
.sprite-4 { background-position: 100% 0; }
.sprite-5 { background-position: 0 50%; }
.sprite-6 { background-position: 33.333% 50%; }
.sprite-7 { background-position: 66.666% 50%; }
.sprite-8 { background-position: 100% 50%; }
.sprite-9 { background-position: 0 100%; }
.sprite-10 { background-position: 33.333% 100%; }
.sprite-11 { background-position: 66.666% 100%; }

.profession-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 28px 14px 17px;
  text-align: center;
}

.profession-icon {
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0 auto 7px;
  place-items: center;
  color: var(--gold-bright);
  background: #0e0c09;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  font-family: Georgia, serif;
}

.profession-content h3 {
  margin: 0;
  color: var(--gold-bright);
  font-family: var(--font-title);
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.profession-content p {
  min-height: 57px;
  margin: 8px 0 12px;
  color: #d4cab8;
  font-size: .7rem;
  line-height: 1.55;
}

.profession-card:nth-child(1) h3 { color: #d84a4a; }
.profession-card:nth-child(2) h3 { color: #a2b94a; }
.profession-card:nth-child(4) h3 { color: #6aa3cd; }
.profession-card:nth-child(5) h3 { color: #e0702c; }
.profession-card:nth-child(6) h3 { color: #9b6cb5; }
.profession-card:nth-child(7) h3 { color: #62a5a3; }
.profession-card:nth-child(8) h3 { color: #d65345; }
.profession-card:nth-child(9) h3 { color: #65b9bb; }

.story-section {
  min-height: 660px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(198,138,36,.2);
  border-bottom: 1px solid rgba(198,138,36,.2);
}

.story-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,5,3,.98) 0%, rgba(8,7,5,.9) 46%, rgba(8,7,5,.43) 100%),
    url("assets/images/hero-los-patrono.png") center 56% / cover;
  filter: saturate(.55);
}

.story-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 290px minmax(0, 690px);
  align-items: center;
  gap: 70px;
}

.story-seal {
  position: relative;
  display: grid;
  width: 260px;
  height: 260px;
  place-content: center;
  color: var(--gold);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(198,138,36,.05), inset 0 0 0 10px var(--gold-dark), 0 0 80px rgba(198,138,36,.09);
  text-align: center;
}

.story-seal::before,
.story-seal::after {
  content: "✦";
  position: absolute;
  top: 50%;
  font-size: 1.2rem;
  transform: translateY(-50%);
}

.story-seal::before { left: 23px; }
.story-seal::after { right: 23px; }

.story-seal span {
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .35em;
}

.story-seal strong {
  display: block;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1;
  text-shadow: 3px 3px #3d260b;
}

.story-copy h2 {
  margin: 10px 0 24px;
  text-transform: none;
}

.story-copy > p:not(.section-kicker) {
  color: #c9beac;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.story-stats div {
  padding: 19px 15px;
  text-align: center;
}

.story-stats div + div {
  border-left: 1px solid var(--border);
}

.story-stats strong,
.story-stats span {
  display: block;
}

.story-stats strong {
  color: var(--gold-bright);
  font-family: var(--font-title);
  font-size: 1.6rem;
}

.story-stats span {
  color: var(--muted);
  font-size: .63rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.rules-section {
  background:
    radial-gradient(circle at 85% 35%, rgba(123,71,15,.12), transparent 30rem),
    #0b0907;
}

.rules-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
  align-items: stretch;
}

.rules-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.big-number {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  font-family: var(--font-title);
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
}

.rules-code p {
  color: var(--muted);
  font-size: .82rem;
}

.rules-code .button {
  margin-top: 10px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-grid li {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 16px;
  padding: 14px 19px;
  background: linear-gradient(90deg, rgba(198,138,36,.07), rgba(16,13,9,.8));
  border: 1px solid rgba(198,138,36,.17);
  transition: border-color .25s ease, transform .25s ease;
}

.rules-grid li:hover {
  border-color: var(--border);
  transform: translateX(4px);
}

.rules-grid span {
  color: var(--gold-dark);
  font-family: var(--font-title);
  font-size: 1.35rem;
}

.rules-grid p {
  margin: 0;
  color: #d7cdbb;
  font-size: .82rem;
}

.economy-section {
  background:
    linear-gradient(rgba(9,8,6,.93), rgba(9,8,6,.96)),
    url("assets/images/hero-los-patrono.png") center / cover fixed;
}

.economy-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}

.economy-header p:last-child {
  margin: 0;
  padding-left: 28px;
  color: var(--muted);
  border-left: 1px solid var(--gold-dark);
}

.economy-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.economy-feature {
  padding: 24px;
  background: rgba(14,12,8,.88);
  border: 1px solid rgba(198,138,36,.2);
}

.economy-feature > span {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 16px;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 1.2rem;
}

.economy-feature h3 {
  margin: 0 0 8px;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: .83rem;
  text-transform: uppercase;
}

.economy-feature p {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
}

.price-board {
  padding: 28px;
}

.board-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
}

.board-title span {
  color: var(--gold);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.board-title h3 {
  margin: 4px 0 0;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1.25rem;
}

.board-title p {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 730px;
  border-collapse: collapse;
  font-size: .76rem;
}

th,
td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(198,138,36,.14);
  text-align: left;
}

th {
  color: var(--gold-bright);
  background: rgba(198,138,36,.07);
  font-family: var(--font-title);
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

td {
  color: #cfc3b0;
}

td:first-child {
  color: var(--cream);
  font-weight: 600;
}

tbody tr {
  transition: background .2s ease;
}

tbody tr:hover {
  background: rgba(198,138,36,.05);
}

.gallery-section {
  background: #090806;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 250px;
  gap: 12px;
  margin-top: 45px;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid rgba(198,138,36,.32);
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(6) {
  grid-column: span 5;
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(5) {
  grid-column: span 3;
}

.gallery-card:nth-child(3),
.gallery-card:nth-child(4) {
  grid-column: span 4;
}

.gallery-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/galeria-los-patrono.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  transition: filter .5s ease, transform .7s ease;
}

.gallery-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,4,3,.92), transparent 55%);
}

.gallery-1 .gallery-image { background-position: 0 0; }
.gallery-2 .gallery-image { background-position: 50% 0; }
.gallery-3 .gallery-image { background-position: 100% 0; }
.gallery-4 .gallery-image { background-position: 0 100%; }
.gallery-5 .gallery-image { background-position: 50% 100%; }
.gallery-6 .gallery-image { background-position: 100% 100%; }

.gallery-card:hover .gallery-image {
  filter: saturate(1.2);
  transform: scale(1.06);
}

.gallery-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
}

.gallery-label span {
  color: var(--gold);
  font-family: var(--font-title);
  font-size: .65rem;
}

.gallery-label h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.news-section {
  background: linear-gradient(180deg, #0c0a07, #0a0907);
  border-top: 1px solid rgba(198,138,36,.15);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 45px;
}

.news-card {
  position: relative;
  min-height: 250px;
  padding: 30px 32px 26px 105px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(198,138,36,.06), rgba(15,13,9,.88) 60%);
  border: 1px solid rgba(198,138,36,.2);
  transition: border-color .3s ease, transform .3s ease;
}

.news-card:hover {
  border-color: rgba(198,138,36,.55);
  transform: translateY(-4px);
}

.news-featured {
  background:
    linear-gradient(90deg, rgba(10,8,5,.92), rgba(10,8,5,.5)),
    url("assets/images/hero-los-patrono.png") center / cover;
}

.news-date {
  position: absolute;
  top: 30px;
  left: 25px;
  text-align: center;
}

.news-date strong,
.news-date span {
  display: block;
}

.news-date strong {
  color: var(--gold-bright);
  font-family: var(--font-title);
  font-size: 2.2rem;
  line-height: 1;
}

.news-date span {
  margin-top: 5px;
  color: var(--muted);
  font-size: .58rem;
  letter-spacing: .08em;
  line-height: 1.35;
}

.news-tag {
  color: var(--gold);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 10px 0 12px;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1.15rem;
  line-height: 1.35;
}

.news-card p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.65;
}

.team-section {
  background:
    radial-gradient(circle at 50% 120%, rgba(128,74,19,.18), transparent 45%),
    #090806;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 45px;
}

.team-card {
  min-height: 275px;
  padding: 31px 22px;
  background: linear-gradient(180deg, rgba(198,138,36,.07), rgba(13,11,8,.95));
  border: 1px solid rgba(198,138,36,.23);
  text-align: center;
  transition: transform .3s ease, border-color .3s ease;
}

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

.team-symbol {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(198,138,36,.1);
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.team-card h3 {
  margin: 0 0 12px;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: .9rem;
  text-transform: uppercase;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.65;
}

.whitelist-section {
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(198,138,36,.25);
}

.whitelist-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,5,3,.97), rgba(6,5,3,.82) 45%, rgba(6,5,3,.67)),
    url("assets/images/hero-los-patrono.png") center / cover;
  filter: saturate(.65);
}

.whitelist-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 85px;
}

.whitelist-copy h2 {
  margin: 12px 0 23px;
}

.whitelist-copy > p:not(.section-kicker) {
  color: #cfc4b1;
}

.whitelist-steps {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.whitelist-steps li {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(198,138,36,.15);
}

.whitelist-steps li > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  font-family: var(--font-title);
}

.whitelist-steps strong {
  color: var(--cream);
  font-family: var(--font-title);
  font-size: .78rem;
  text-transform: uppercase;
}

.whitelist-steps p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: .73rem;
}

.whitelist-form {
  padding: 34px;
  backdrop-filter: blur(8px);
}

.form-heading {
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.form-heading span {
  color: var(--gold);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.form-heading h3 {
  margin: 4px 0 0;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.discord-auth-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 15px;
  background: rgba(3, 3, 2, .58);
  border: 1px solid rgba(198, 138, 36, .25);
}

.discord-auth-copy span,
.form-section-heading span {
  display: block;
  color: var(--gold);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.discord-auth-copy strong {
  display: block;
  margin-top: 3px;
  color: var(--paper);
  font-size: .72rem;
  overflow-wrap: anywhere;
}

.discord-auth-panel.connected {
  border-color: rgba(72, 187, 89, .45);
}

.discord-auth-panel.connected .discord-auth-copy strong {
  color: #bff0c4;
}

.discord-auth-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 13px;
  font-size: .62rem;
}

.whitelist-fields[aria-busy="true"] {
  min-height: 160px;
}

.whitelist-fields[aria-busy="true"]::before {
  content: "Carregando perguntas oficiais...";
  display: block;
  padding: 55px 20px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.whitelist-form-section + .whitelist-form-section {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.form-section-heading {
  margin-bottom: 18px;
}

.form-section-heading h4 {
  margin: 3px 0 0;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: .9rem;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 13px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #d9cdb9;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  color: var(--cream);
  background: rgba(3,3,2,.68);
  border: 1px solid rgba(198,138,36,.25);
  border-radius: 2px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input {
  height: 46px;
  padding: 0 13px;
}

.form-group textarea {
  min-height: 130px;
  padding: 12px 13px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198,138,36,.09);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #b9493f;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #685f52;
}

.field-error {
  display: block;
  min-height: 15px;
  margin-top: 4px;
  color: #e2786e;
  font-size: .62rem;
  line-height: 1.3;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.field-meta > span {
  margin-top: 4px;
  color: #776d5e;
  font-size: .59rem;
  white-space: nowrap;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: .68rem;
  line-height: 1.5;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-label input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.checkbox-error {
  margin-left: 25px;
}

.form-submit {
  width: 100%;
  margin-top: 7px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: .48;
  transform: none;
}

.form-message {
  display: none;
  margin-top: 15px;
  padding: 13px;
  color: #bff0c4;
  background: rgba(63,149,74,.12);
  border: 1px solid rgba(72,187,89,.34);
  font-size: .72rem;
  line-height: 1.55;
}

.form-message.visible {
  display: block;
}

.form-message.error {
  color: #f0c0bc;
  background: rgba(157, 51, 40, .14);
  border-color: rgba(185, 73, 63, .44);
}

.site-footer {
  position: relative;
  background: #050403;
  border-top: 1px solid var(--gold-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 60px;
  padding-top: 36px;
  padding-bottom: 30px;
}

.footer-top > p {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #c9beac;
  font-family: var(--font-title);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  color: #756b5e;
  border-top: 1px solid rgba(198,138,36,.12);
  font-size: .62rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 44px;
  height: 44px;
  color: var(--gold-bright);
  background: rgba(9,7,5,.92);
  border: 1px solid var(--gold-dark);
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--black);
  background: var(--gold-bright);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  padding: 22px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility .25s, opacity .25s ease;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(7px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  width: min(1080px, 100%);
  height: min(760px, calc(100vh - 44px));
  max-height: calc(100vh - 44px);
  overflow: hidden;
  transform: translateY(20px) scale(.98);
  transition: transform .3s ease;
}

.modal.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  color: var(--gold-bright);
  background: rgba(5,4,3,.8);
  border: 1px solid var(--gold-dark);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.modal-visual {
  min-height: 100%;
  background-image: url("assets/images/profissoes-los-patrono.png");
  background-repeat: no-repeat;
  background-size: 400% 300%;
}

.modal-copy {
  padding: 56px 42px 36px;
  overflow-y: auto;
  scrollbar-color: var(--gold-dark) rgba(3,3,2,.45);
  scrollbar-width: thin;
}

.modal-copy h2 {
  margin: 8px 0 18px;
  color: var(--cream);
  font-family: var(--font-title);
  font-size: 2rem;
  text-transform: uppercase;
}

.modal-rules {
  padding-right: 6px;
}

.modal-rule-section {
  padding: 20px 0;
  border-top: 1px solid rgba(198,138,36,.18);
}

.modal-rule-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.modal-rule-section h3 {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-family: var(--font-title);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.modal-rule-section p {
  margin: 0;
  color: #c9beac;
  font-size: .82rem;
  line-height: 1.75;
}

.modal-rule-section ul,
.modal-rule-section ol {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.modal-rule-section li {
  padding: 8px 0;
  color: #d4cab8;
  border-bottom: 1px solid rgba(198,138,36,.12);
  font-size: .8rem;
  line-height: 1.65;
}

.modal-rule-section li::marker {
  color: var(--gold);
  font-family: var(--font-title);
  font-weight: 700;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  padding-top: 24px;
  border-top: 1px solid rgba(198,138,36,.2);
}

.modal-actions .button {
  flex: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

@keyframes scrollDown {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(9px); }
}

@media (max-width: 1260px) {
  .container {
    width: min(1100px, calc(100% - 36px));
  }

  .header-inner {
    gap: 14px;
  }

  .nav-link {
    padding-inline: 7px;
    font-size: .61rem;
  }

  .header-discord {
    padding-inline: 12px;
  }

  .profession-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    backdrop-filter: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
    order: 3;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    z-index: 2;
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 25px;
    overflow-y: auto;
    background: #080705;
    border-left: 1px solid var(--gold-dark);
    box-shadow: -18px 0 40px rgba(0, 0, 0, .65);
    transform: translateX(105%);
    transition: transform .3s ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-link {
    display: block;
    min-height: auto;
    padding: 13px 6px;
    border-bottom: 1px solid rgba(198,138,36,.13);
    font-size: .75rem;
  }

  .nav-link::after {
    display: none;
  }

  .header-discord {
    margin-left: auto;
  }

  .hero {
    min-height: 850px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 760px;
    margin-inline: auto;
  }

  .server-status {
    width: min(650px, 100%);
    margin-inline: auto;
  }

  .status-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .status-details div:nth-child(odd) {
    padding-right: 20px;
  }

  .status-details div:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid rgba(198,138,36,.15);
  }

  .scroll-hint {
    display: none;
  }

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

  .story-layout {
    grid-template-columns: 220px 1fr;
    gap: 40px;
  }

  .story-seal {
    width: 210px;
    height: 210px;
  }

  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rules-code {
    min-height: 260px;
  }

  .economy-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .gallery-card,
  .gallery-card:nth-child(n) {
    grid-column: span 6;
  }

  .whitelist-layout {
    gap: 45px;
  }

  .footer-top {
    grid-template-columns: 1fr auto;
  }

  .footer-top > p {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 78px 0;
  }

  .container,
  .wide-container {
    width: min(100% - 26px, 650px);
  }

  .header-discord {
    display: none;
  }

  .main-nav {
    width: 100%;
    border-left: 0;
  }

  .brand strong {
    font-size: .94rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero-bg {
    background-position: 63% center;
  }

  .hero-vignette {
    background:
      linear-gradient(0deg, #080705 0%, rgba(4,3,2,.4) 40%, rgba(4,3,2,.35) 100%),
      rgba(3,2,1,.35);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 14vw, 4.4rem);
    overflow-wrap: anywhere;
  }

  .hero h1 strong::before,
  .hero h1 strong::after {
    width: 65px;
  }

  .hero-text {
    font-size: .91rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-features {
    flex-wrap: wrap;
    gap: 8px 17px;
  }

  .status-details {
    display: block;
  }

  .status-details div:nth-child(n) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .section-heading {
    grid-template-columns: 30px 1fr 30px;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

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

  .profession-card {
    min-height: 370px;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-seal {
    display: none;
  }

  .story-copy {
    text-align: center;
  }

  .story-stats span {
    font-size: .55rem;
  }

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

  .economy-header,
  .whitelist-layout {
    grid-template-columns: 1fr;
  }

  .economy-header {
    gap: 22px;
  }

  .economy-header p:last-child {
    padding-top: 15px;
    padding-left: 0;
    border-top: 1px solid var(--gold-dark);
    border-left: 0;
  }

  .economy-features {
    grid-template-columns: 1fr;
  }

  .price-board {
    padding: 18px 13px;
  }

  .board-title {
    display: block;
  }

  .board-title p {
    margin-top: 7px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-card,
  .gallery-card:nth-child(n) {
    grid-column: auto;
  }

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

  .news-card {
    min-height: 235px;
    padding-right: 22px;
  }

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

  .whitelist-layout {
    gap: 55px;
  }

  .whitelist-copy {
    text-align: center;
  }

  .whitelist-steps {
    text-align: left;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .modal-dialog {
    display: block;
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
  }

  .modal-visual {
    min-height: 190px;
    max-height: 190px;
    background-position-y: 20%;
  }

  .modal-copy {
    padding: 30px 25px;
    max-height: calc(100% - 190px);
  }

  .modal-copy h2 {
    padding-right: 30px;
    font-size: 1.45rem;
  }
}

@media (max-width: 480px) {
  .eyebrow span {
    width: 25px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.1rem);
  }

  .hero h1 strong::before,
  .hero h1 strong::after {
    width: 42px;
  }

  .hero-slogan {
    font-size: .78rem;
    letter-spacing: .17em;
  }

  .server-status {
    padding-inline: 18px;
  }

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

  .profession-card {
    min-height: 455px;
  }

  .profession-content p {
    min-height: auto;
  }

  .story-stats {
    grid-template-columns: 1fr;
  }

  .story-stats div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .whitelist-form {
    padding: 25px 18px;
  }

  .discord-auth-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .discord-auth-button {
    width: 100%;
  }

  .modal {
    padding: 8px;
  }

  .modal-dialog {
    height: calc(100vh - 16px);
    max-height: calc(100vh - 16px);
  }

  .modal-visual {
    min-height: 145px;
    max-height: 145px;
  }

  .modal-copy {
    max-height: calc(100% - 145px);
    padding: 28px 18px 22px;
  }

  .modal-rule-section p,
  .modal-rule-section li {
    font-size: .84rem;
  }

  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .field-meta {
    display: block;
  }

  .field-meta > span {
    display: block;
    text-align: right;
  }

  .footer-links {
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
