/* ============================================================
   KINGDOM · Comunidad, descarga, registro (El Juramento), footer y modal
   ============================================================ */
.section-community {
  background:
    linear-gradient(180deg, var(--bg-0), transparent 14%, transparent 86%, var(--bg-0)),
    radial-gradient(70% 50% at 50% 0%, #241a1033, transparent 70%);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 28px;
}

/* ============================================================
   CAMPAMENTO DEL CLAN / TABERNA (DISCORD)
   ============================================================ */
.discord-card {
  position: relative;
  overflow: hidden;
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #1c140d 0%, #110c07 60%, #0a0704 100%);
  border: 1px solid rgba(200, 162, 74, 0.45);
  outline: 1px solid rgba(42, 31, 16, 0.85);
  outline-offset: -5px;
  border-radius: 4px;
  min-height: 380px;
  box-shadow: 0 24px 50px -20px #000, 0 0 25px -8px rgba(200, 162, 74, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.8);
}

.discord-card .corner {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 3;
  color: var(--gold);
  opacity: .7;
  pointer-events: none;
  transition: opacity .3s, color .3s;
}

.discord-card .corner.tl { top: 7px; left: 7px; }
.discord-card .corner.br { bottom: 7px; right: 7px; transform: rotate(180deg); }

.discord-card:hover .corner {
  opacity: 1;
  color: var(--gold-bright);
}

.discord-card .banner-art {
  position: absolute;
  inset: 0;
  background: url("../assets/images/courtyard.webp") center/cover;
  filter: brightness(0.42) contrast(1.15) saturate(0.85);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}

.discord-card:hover .banner-art {
  transform: scale(1.05);
  filter: brightness(0.52) contrast(1.2) saturate(0.95);
}

.discord-card .banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(24, 17, 11, 0.95) 0%, rgba(16, 11, 7, 0.82) 50%, rgba(10, 7, 4, 0.96) 100%);
}

.discord-card > * {
  position: relative;
  z-index: 2;
}

.discord-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 18px;
  border: 2px solid var(--gold);
  background: radial-gradient(circle at 45% 35%, #382918, #140d07 70%, #080503);
  box-shadow: 0 0 24px -4px rgba(200, 162, 74, 0.5), inset 0 0 14px #000;
  color: var(--gold-bright);
}

.discord-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.discord-card h3 {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f4dc94 50%, #c8a24a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
}

.discord-card p {
  color: var(--parch-2);
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 0 24px;
  text-shadow: 0 1px 4px #000;
}

.discord-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.discord-stats span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px;
  border-radius: 3px;
  background: rgba(10, 7, 5, 0.65);
  border: 1px solid rgba(138, 106, 36, 0.35);
  box-shadow: inset 0 2px 6px #000;
}

.discord-stats strong {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--gold-bright);
  line-height: 1.1;
}

.discord-stats em {
  font-family: var(--f-display);
  font-style: normal;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--parch-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#discordOnline + em::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27ae60;
  box-shadow: 0 0 8px #2ecc71;
  animation: pulseDot 2s infinite;
}

#discordMembers + em::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold-bright);
}

.discord-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ============================================================
   DESCARGA — GUÍA DEL AVENTURERO (QUEST LOG)
   ============================================================ */
.download-card {
  position: relative;
  overflow: hidden;
  padding: 40px 38px 34px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #18120b 0%, #110c08 55%, #0b0704 100%);
  border: 1px solid rgba(200, 162, 74, 0.45);
  outline: 1px solid rgba(42, 31, 16, 0.85);
  outline-offset: -5px;
  border-radius: 4px;
  box-shadow: 0 24px 50px -20px #000, 0 0 25px -8px rgba(200, 162, 74, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.8);
}

.download-card .corner {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 3;
  color: var(--gold);
  opacity: .7;
  pointer-events: none;
  transition: opacity .3s, color .3s;
}

.download-card .corner.tl { top: 7px; left: 7px; }
.download-card .corner.br { bottom: 7px; right: 7px; transform: rotate(180deg); }

.download-card:hover .corner {
  opacity: 1;
  color: var(--gold-bright);
}

.download-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 0 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4dc94 50%, #c8a24a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
}

.download-card h3 .icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(244, 220, 148, 0.5));
}

.download-steps {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  counter-reset: step;
}

.download-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 0 20px 52px;
  counter-increment: step;
  font-size: .92rem;
  color: var(--parch-dim);
  line-height: 1.45;
}

.download-steps li::before {
  content: counter(step, upper-roman);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: .84rem;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, #3a2b1a, #140d07 70%, #080503);
  box-shadow: inset 0 0 10px #000, 0 0 14px -4px rgba(200, 162, 74, 0.5);
}

.download-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 40px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(138, 106, 36, 0.2) 100%);
}

.download-steps strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--parch-bright);
  line-height: 1.3;
}

#downloadBtn {
  width: 100%;
  padding: 16px 28px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: .94rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #99241b, #5a110c);
  border: 1px solid #d94b3f;
  box-shadow: 0 8px 24px -6px rgba(163, 39, 31, 0.7), 0 0 18px -4px rgba(217, 75, 63, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all .25s var(--ease);
}

#downloadBtn:hover {
  background: linear-gradient(180deg, #b82d22, #701610);
  box-shadow: 0 10px 28px -6px rgba(163, 39, 31, 0.85), 0 0 24px -2px rgba(217, 75, 63, 0.7);
  transform: translateY(-2px);
}

.download-note {
  font-size: .84rem;
  color: var(--parch-dim);
  font-style: italic;
  text-align: center;
  margin: 16px 0 0;
}

/* ============================================================
   REGISTRO — EL JURAMENTO DE ADEN (Losa de Piedra Sagrada)
   ============================================================ */
.register-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 2px solid rgba(138, 106, 36, 0.55);
  outline: 1px solid rgba(42, 31, 16, 0.85);
  outline-offset: -6px;
  box-shadow: 0 32px 70px -25px #000, 0 0 35px -8px rgba(200, 162, 74, 0.25), inset 0 0 60px rgba(0, 0, 0, 0.85);
}

.register-wrap .corner {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 3;
  color: var(--gold);
  opacity: .7;
  pointer-events: none;
  transition: opacity .3s, color .3s;
}

.register-wrap .corner.tl { top: 7px; left: 7px; }
.register-wrap .corner.br { bottom: 7px; right: 7px; transform: rotate(180deg); }

.register-wrap:hover .corner {
  opacity: 1;
  color: var(--gold-bright);
}

.register-info {
  position: relative;
  padding: 44px 42px;
  color: var(--parch-2);
  background: linear-gradient(160deg, #1c140d 0%, #130d08 60%, #0c0805 100%);
  border-right: 1px solid rgba(138, 106, 36, 0.35);
}

.register-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: .08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.register-info > * {
  position: relative;
}

.register-info h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 0 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f4dc94 50%, #c8a24a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
}

.register-info h3 .icon {
  width: 28px;
  height: 28px;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 8px rgba(244, 220, 148, 0.5));
}

.register-info p {
  color: var(--parch-2);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

.register-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.register-perks li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: .98rem;
  color: var(--parch-bright);
  line-height: 1.45;
}

.register-perks .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-bright);
  flex: none;
  margin-top: 1px;
  filter: drop-shadow(0 0 6px rgba(244, 220, 148, 0.45));
}

/* Sello de lacre ceremonial */
.wax-seal {
  position: absolute;
  right: 28px;
  bottom: 26px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b8281e 0%, #70140e 65%, #3c0905 100%);
  border: 2px solid rgba(244, 220, 148, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8), 0 0 18px rgba(184, 40, 30, 0.4), inset 0 0 14px rgba(0, 0, 0, 0.7);
  display: grid;
  place-items: center;
  color: #f4dc94;
  transform: rotate(-8deg);
  transition: transform .3s var(--ease), box-shadow .3s;
}

.wax-seal:hover {
  transform: rotate(0deg) scale(1.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.9), 0 0 22px rgba(244, 220, 148, 0.5);
}

.wax-seal svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 4px #000);
}

/* Formulario Altar */
.register-form {
  position: relative;
  padding: 44px 42px;
  background: linear-gradient(180deg, #140e08 0%, #0c0805 100%);
}

.register-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.form-fields {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e6c87a;
}

.field input {
  padding: 13px 16px;
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--parch-bright);
  background: #080604;
  border: 1px solid rgba(138, 106, 36, 0.4);
  border-radius: 3px;
  box-shadow: inset 0 2px 8px #000;
  outline: none;
  transition: all .25s var(--ease);
}

.field input:focus {
  border-color: var(--gold);
  box-shadow: inset 0 2px 8px #000, 0 0 14px -3px rgba(244, 220, 148, 0.4);
}

.field input.is-invalid {
  border-color: #d94b3f;
  box-shadow: inset 0 2px 8px #000, 0 0 12px rgba(217, 75, 63, 0.35);
}

.field input.is-valid {
  border-color: #27ae60;
}

.field-error {
  font-size: .8rem;
  color: #f06a5d;
  font-style: italic;
  min-height: 1.2em;
  line-height: 1.3;
}

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--parch-2);
  cursor: pointer;
}

.field-check input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex: none;
  cursor: pointer;
}

.form-demo {
  font-size: .8rem;
  color: var(--parch-dim);
  font-style: italic;
  text-align: center;
  margin: 4px 0 0;
}

#regSubmit {
  padding: 16px 28px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #9a7328, #5a4316);
  border: 1px solid #f4dc94;
  color: #fff3d0;
  border-radius: 3px;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.8), 0 0 22px -4px rgba(244, 220, 148, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all .25s var(--ease);
}

#regSubmit:hover {
  background: linear-gradient(180deg, #b88a32, #6a4f1a);
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.9), 0 0 28px -2px rgba(244, 220, 148, 0.6);
  transform: translateY(-2px);
}

.form-success {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-bright);
  border: 2px solid var(--gold);
  background: radial-gradient(circle at 45% 35%, #3a2b1a, #140d07 70%, #080503);
  box-shadow: 0 0 30px rgba(244, 220, 148, 0.5), inset 0 0 12px #000;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h4 {
  font-family: var(--f-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold-bright);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.form-success p {
  color: var(--parch-2);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   MODAL PERGAMINO / CÓDICE IMPERIAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9992;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 3, 2, 0.88);
  backdrop-filter: blur(6px);
  animation: fadeIn .3s;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  position: relative;
  width: min(620px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 0;
  border-radius: 4px;
  background: linear-gradient(160deg, #241a12 0%, #16100a 60%, #0d0805 100%);
  border: 2px solid #8a6a24;
  outline: 1px solid #3a2c14;
  outline-offset: -5px;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.9), 0 35px 80px -20px #000, 0 0 30px -10px rgba(200, 162, 74, 0.3);
  animation: modalIn .4s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: .1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.modal-body {
  position: relative;
  padding: 0;
  color: var(--parch-2);
}

.modal-news-banner {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(138, 106, 36, 0.5);
  display: flex;
  align-items: flex-end;
  padding: 20px 28px;
}

.modal-news-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 4, 0.15) 0%, rgba(13, 8, 5, 0.7) 60%, #140e08 100%);
}

.modal-news-banner .modal-meta {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.modal-news-content {
  padding: 26px 34px 34px;
}

.modal-body:not(:has(.modal-news-banner)) {
  padding: 36px 38px;
}

.modal-body h3 {
  font-family: var(--f-display);
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f4dc94 48%, #c8a24a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
}

.modal-divider {
  display: flex;
  justify-content: center;
  margin: 12px 0 18px;
  color: var(--gold-deep);
  opacity: .8;
}

.modal-divider svg {
  width: 220px;
  height: 16px;
}

.modal-body-text,
.modal-body p {
  color: #e2d2b0;
  font-size: 1.04rem;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  margin: 0 0 18px;
}

.modal-body-text::first-letter {
  font-family: var(--f-display);
  font-size: 2.6rem;
  float: left;
  margin: 2px 10px 0 0;
  line-height: .85;
  color: var(--gold-bright);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.modal-body ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-body li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2d2b0;
  font-size: .98rem;
}

.modal-body li .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-bright);
  flex: none;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: linear-gradient(180deg, #2b1f13, #150f09);
  color: #fff3d0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 12px -2px rgba(200, 162, 74, 0.4);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}

.modal-close:hover {
  background: linear-gradient(180deg, #442f1b, #20150b);
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.9), 0 0 20px -2px rgba(244, 220, 148, 0.6);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #f4dc94;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* ============================================================
   FOOTER DE PIEDRA Y HIERRO FORJADO
   ============================================================ */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--bg-0), #050302);
  border-top: 1px solid var(--gold-shadow);
  padding: 64px 0 0;
  margin-top: 40px;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep) 25%, var(--gold) 50%, var(--gold-deep) 75%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--parch-dim);
  font-size: .96rem;
  margin: 16px 0 20px;
  max-width: 300px;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(138, 106, 36, 0.4);
  border-radius: 3px;
  background: linear-gradient(180deg, #1e170e, #120d08);
  color: var(--parch-dim);
  transition: all .25s var(--ease);
}

.footer-social a:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  box-shadow: 0 0 14px -3px rgba(244, 220, 148, 0.4);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-col h4 {
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.footer-col a {
  display: block;
  color: var(--parch-dim);
  font-size: .96rem;
  padding: 6px 0;
  transition: color .2s;
}

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

.footer-lang {
  margin-bottom: 18px;
}

.footer-uptime {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--parch-dim);
}

.footer-uptime strong {
  color: var(--gold-bright);
  font-family: var(--f-display);
}

.footer-bottom {
  border-top: 1px solid #241b10;
  padding: 22px 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  margin: 0;
  font-size: .84rem;
  color: var(--parch-dim);
}

.footer-disclaimer {
  font-size: .76rem;
  font-style: italic;
  opacity: .8;
}

/* ============================================================
   RESPONSIVE DESIGN (360px - 900px)
   ============================================================ */
@media(max-width: 900px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .register-wrap {
    grid-template-columns: 1fr;
  }
  .register-info {
    border-right: 0;
    border-bottom: 1px solid rgba(138, 106, 36, 0.35);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media(max-width: 560px) {
  .discord-card,
  .download-card {
    padding: 30px 22px;
  }
  .register-info {
    padding: 30px 22px 54px;
  }
  .register-form {
    padding: 30px 22px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .modal-body:not(:has(.modal-news-banner)) {
    padding: 30px 22px;
  }
  .modal-news-content {
    padding: 22px 20px 26px;
  }
  .wax-seal {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 10px;
  }
  .wax-seal svg {
    width: 26px;
    height: 26px;
  }
}
