:root {
  --black: #050403;
  --obsidian: #0b0908;
  --charcoal: #171211;
  --panel: rgba(19, 15, 13, 0.82);
  --panel-strong: rgba(30, 23, 19, 0.94);
  --gold: #d7a849;
  --gold-bright: #ffdc7a;
  --gold-dark: #7a5422;
  --red: #9b221d;
  --red-deep: #350b0b;
  --metal: #69717a;
  --soft-white: #f2eadc;
  --muted: #b9ad9c;
  --line: rgba(255, 220, 122, 0.25);
  --line-strong: rgba(255, 220, 122, 0.58);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(155, 34, 29, 0.28), transparent 32rem),
    radial-gradient(circle at 82% 0%, rgba(255, 220, 122, 0.12), transparent 28rem),
    radial-gradient(circle at 50% 100%, rgba(155, 34, 29, 0.16), transparent 36rem),
    linear-gradient(180deg, #050403 0%, #120d0c 45%, #050403 100%);
  color: var(--soft-white);
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 220, 122, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 220, 122, 0.018) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    repeating-linear-gradient(116deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 22px),
    radial-gradient(ellipse at center, transparent 18%, rgba(0, 0, 0, 0.42) 72%);
  opacity: 0.8;
}

.magic-dust {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.dust-particle {
  position: absolute;
  display: block;
  width: var(--dust-size, 3px);
  height: var(--dust-size, 3px);
  border-radius: 50%;
  background: var(--dust-color, rgba(255, 220, 122, 0.8));
  box-shadow:
    0 0 8px var(--dust-color, rgba(255, 220, 122, 0.8)),
    0 0 18px var(--dust-color, rgba(255, 220, 122, 0.45));
  opacity: 0.36;
  animation:
    dustFloat var(--dust-duration, 18s) ease-in-out infinite,
    dustBlink var(--dust-blink, 5s) ease-in-out infinite;
  animation-delay: var(--dust-delay, 0s), var(--dust-delay, 0s);
}

body {
  background:
    radial-gradient(circle at 10% 18%, rgba(155, 34, 29, 0.24), transparent 26rem),
    radial-gradient(circle at 68% 34%, rgba(255, 164, 24, 0.14), transparent 32rem),
    radial-gradient(circle at 92% 70%, rgba(255, 220, 122, 0.1), transparent 28rem),
    linear-gradient(180deg, #030302 0%, #0c0907 52%, #030302 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255, 220, 122, 0.22);
  background:
    linear-gradient(90deg, rgba(155, 34, 29, 0.12), rgba(5, 4, 3, 0.68), rgba(255, 220, 122, 0.06)),
    rgba(5, 4, 3, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22), 0 1px 24px rgba(255, 220, 122, 0.08);
  transition: background 220ms ease, box-shadow 220ms ease, min-height 220ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background:
    linear-gradient(90deg, rgba(155, 34, 29, 0.14), rgba(5, 4, 3, 0.94), rgba(255, 220, 122, 0.08)),
    rgba(5, 4, 3, 0.96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48), 0 2px 28px rgba(255, 220, 122, 0.1);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
}

.brand {
  color: var(--soft-white);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 220, 122, 0.16);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(145deg, rgba(155, 34, 29, 0.92), rgba(255, 220, 122, 0.12)),
    var(--charcoal);
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow:
    0 0 16px rgba(255, 220, 122, 0.26),
    0 0 34px rgba(155, 34, 29, 0.18);
}

.mx-emblem {
  position: relative;
  isolation: isolate;
  animation:
    mxGlow 3.4s ease-in-out infinite,
    mxTilt 5.2s ease-in-out infinite;
}

.mx-emblem::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border: 1px solid transparent;
  background: conic-gradient(from 0deg, transparent, var(--gold-bright), var(--red), transparent, var(--gold)) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.72;
  animation: mxBorder 4s linear infinite;
}

.mx-emblem::after {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -2;
  background: radial-gradient(circle, rgba(255, 220, 122, 0.28), transparent 68%);
  opacity: 0.65;
  filter: blur(8px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.72rem, 1.7vw, 1.35rem);
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold-bright);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 7.5rem 1.2rem 3.2rem;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -7;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(1.08) contrast(1.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -5;
  background:
    linear-gradient(rgba(5, 4, 3, 0.5), rgba(5, 4, 3, 0.9)),
    radial-gradient(circle at 50% 34%, rgba(255, 220, 122, 0.18), transparent 22rem),
    radial-gradient(circle at 50% 66%, rgba(155, 34, 29, 0.58), transparent 38rem),
    linear-gradient(135deg, rgba(5, 4, 3, 0.28), rgba(53, 11, 11, 0.46));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, transparent, rgba(255, 220, 122, 0.08), transparent),
    radial-gradient(ellipse at center, transparent 20%, rgba(0, 0, 0, 0.78) 74%);
}

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

.smoke {
  position: absolute;
  width: 34rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(210, 202, 184, 0.12), transparent 66%);
  filter: blur(22px);
  opacity: 0.48;
  animation: smokeDrift 14s ease-in-out infinite;
}

.smoke-one {
  left: -8rem;
  top: 18%;
}

.smoke-two {
  right: -10rem;
  top: 36%;
  animation-delay: 3s;
}

.smoke-three {
  left: 28%;
  bottom: 4%;
  animation-delay: 6s;
}

.ember {
  position: absolute;
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 30px rgba(255, 220, 122, 0.88);
  opacity: 0.55;
  animation: emberDrift 8s ease-in-out infinite;
}

.ember-one { left: 14%; bottom: 18%; }
.ember-two { left: 76%; bottom: 28%; animation-delay: 1.5s; }
.ember-three { left: 32%; top: 25%; animation-delay: 2.8s; }
.ember-four { right: 16%; top: 22%; animation-delay: 4.1s; }
.ember-five { right: 38%; bottom: 16%; animation-delay: 5.3s; }

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(860px, 100%);
  text-align: center;
}

.logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(410px, 76vw);
  aspect-ratio: 1 / 1;
  padding: clamp(0.75rem, 1.8vw, 1.1rem);
  margin-bottom: 1.35rem;
  border: 2px solid rgba(255, 220, 122, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012)),
    linear-gradient(180deg, rgba(34, 28, 24, 0.98), rgba(8, 7, 6, 0.98));
  box-shadow:
    0 0 0 8px rgba(255, 220, 122, 0.04),
    0 0 70px rgba(255, 220, 122, 0.22),
    0 22px 70px rgba(0, 0, 0, 0.65);
  transform: translateZ(0);
  animation: heroLogoBreathe 4.8s ease-in-out infinite;
}

.logo-frame::before,
.logo-frame::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: var(--gold-bright);
  border-style: solid;
  opacity: 0.9;
}

.logo-frame::before {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.logo-frame::after {
  right: 12px;
  bottom: 12px;
  border-width: 0 2px 2px 0;
}

.logo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 24px rgba(255, 220, 122, 0.32))
    drop-shadow(0 0 36px rgba(155, 34, 29, 0.18));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

.hero-kicker,
.eyebrow {
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-kicker {
  margin: 0.2rem 0 1.8rem;
}

.hero h1 {
  color: var(--soft-white);
  font-size: clamp(3.1rem, 8vw, 7rem);
  font-weight: 900;
  text-shadow:
    0 0 22px rgba(255, 220, 122, 0.28),
    0 10px 30px rgba(0, 0, 0, 0.78);
}

.hero-subtitle {
  margin: 0.85rem 0 0;
  color: var(--gold-bright);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.84rem 1.35rem;
  overflow: hidden;
  border: 1px solid transparent;
  color: var(--soft-white);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.2), transparent 80%);
  transform: translateX(-130%);
  transition: transform 480ms ease;
}

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

.button:hover::before {
  transform: translateX(130%);
}

.button-primary {
  border-color: rgba(255, 220, 122, 0.38);
  background: linear-gradient(135deg, #741713, #bd3c29 58%, #6a1715);
  box-shadow: 0 18px 44px rgba(155, 34, 29, 0.4);
}

.button-discord {
  border-color: var(--line-strong);
  background:
    linear-gradient(135deg, rgba(255, 220, 122, 0.12), rgba(105, 113, 122, 0.22)),
    rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
}

.button-large {
  min-height: 56px;
  padding-inline: 1.7rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 0.8rem;
  width: min(820px, 100%);
  margin-top: 2rem;
}

.hero-stats article,
.clan-metrics article,
.clan-pillars article,
.activity-card,
.event-card,
.leader-card,
.forum-card,
.discord-panel,
.recruitment-form,
.forum-form,
.report-form {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 220, 122, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(35, 27, 23, 0.88), rgba(11, 9, 8, 0.92));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.36);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.hero-stats article {
  display: grid;
  gap: 0.15rem;
  min-height: 92px;
  padding: 1rem;
  place-items: center;
}

.hero-stats strong,
.clan-metrics strong {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.hero-stats span,
.clan-metrics span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  width: 30px;
  height: 46px;
  border: 1px solid rgba(255, 220, 122, 0.44);
}

.scroll-cue::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 9px;
  background: var(--gold-bright);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease infinite;
}

.section {
  position: relative;
  padding: clamp(4.8rem, 8vw, 7.2rem) 5vw;
}

.section::before {
  content: "";
  position: absolute;
  left: 5vw;
  right: 5vw;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 122, 0.28), transparent);
}

.section-heading {
  width: min(var(--max-width), 100%);
  margin: 0 auto 2.5rem;
}

.section-heading h2 {
  color: var(--soft-white);
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.section-heading p {
  max-width: 720px;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.clan-grid,
.activity-grid,
.event-grid,
.leadership-grid,
.forum-grid,
.gallery-grid,
.recruitment-form,
.forum-form,
.report-form {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.clan-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.2rem;
  align-items: stretch;
}

.lore-panel {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-left: 3px solid var(--gold-bright);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 220, 122, 0.09), transparent 18rem),
    linear-gradient(90deg, rgba(155, 34, 29, 0.16), rgba(255, 255, 255, 0.02));
}

.lore-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.lore-panel p + p {
  margin-top: 1.05rem;
}

.clan-metrics {
  display: grid;
  gap: 0.9rem;
}

.clan-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.clan-metrics article {
  display: grid;
  align-content: center;
  min-height: 118px;
  padding: 1.25rem;
}

.clan-pillars article {
  display: grid;
  gap: 0.45rem;
  align-content: center;
  min-height: 148px;
  padding: 1.15rem;
}

.hero-stats article:hover,
.clan-metrics article:hover,
.clan-pillars article:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255, 220, 122, 0.13), rgba(155, 34, 29, 0.12) 58%, transparent),
    linear-gradient(180deg, rgba(43, 31, 25, 0.92), rgba(13, 9, 8, 0.95));
  box-shadow:
    0 26px 72px rgba(0, 0, 0, 0.48),
    0 0 32px rgba(255, 220, 122, 0.2),
    0 0 26px rgba(155, 34, 29, 0.18);
}

.hero-stats article:hover strong,
.clan-metrics article:hover strong,
.clan-pillars article:hover strong {
  color: #ffe8a0;
  text-shadow: 0 0 18px rgba(255, 220, 122, 0.42);
}

.clan-pillars strong {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.clan-pillars span {
  color: var(--muted);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.activity-card,
.event-card,
.leader-card,
.forum-card {
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.activity-card::before,
.event-card::before,
.leader-card::before,
.forum-card::before,
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold-bright), transparent 34%, rgba(155, 34, 29, 0.7), transparent 74%, var(--gold)) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.activity-card {
  min-height: 230px;
  padding: 1.35rem;
}

.activity-card:hover,
.event-card:hover,
.leader-card:hover,
.forum-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255, 220, 122, 0.14), rgba(155, 34, 29, 0.16) 58%, transparent),
    linear-gradient(180deg, rgba(43, 31, 25, 0.94), rgba(12, 8, 7, 0.96));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.52),
    0 0 36px rgba(255, 220, 122, 0.2),
    0 0 30px rgba(155, 34, 29, 0.22);
}

.activity-card:hover::before,
.event-card:hover::before,
.leader-card:hover::before,
.forum-card:hover::before,
.gallery-item:hover::before {
  opacity: 1;
}

.activity-card:hover h3,
.event-card:hover h3,
.leader-card:hover h3,
.forum-card:hover h3 {
  color: #ffe8a0;
  text-shadow: 0 0 18px rgba(255, 220, 122, 0.34);
}

.activity-icon,
.event-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 220, 122, 0.08);
  color: var(--gold-bright);
  font-size: 1.25rem;
  box-shadow: 0 0 24px rgba(255, 220, 122, 0.12);
}

.activity-card h3,
.event-card h3,
.leader-card h3 {
  margin-bottom: 0.7rem;
  color: var(--soft-white);
  font-size: 1.18rem;
}

.activity-card p,
.event-card p,
.leader-card p {
  margin: 0;
  color: var(--muted);
}

.events-section,
.discord-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(155, 34, 29, 0.18), transparent 26rem),
    radial-gradient(circle at 84% 70%, rgba(255, 220, 122, 0.08), transparent 24rem);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.event-card {
  min-height: 270px;
  padding: 1.25rem;
  isolation: isolate;
  border-color: var(--event-border, rgba(255, 178, 38, 0.42));
  background:
    radial-gradient(circle at 18% 12%, var(--event-bg-2, rgba(255, 220, 122, 0.1)), transparent 42%),
    linear-gradient(145deg, var(--event-bg-1, rgba(28, 16, 11, 0.86)), rgba(6, 5, 4, 0.92));
  box-shadow:
    inset 0 0 34px rgba(255, 178, 38, 0.03),
    0 22px 64px rgba(0, 0, 0, 0.4),
    0 0 22px var(--event-glow, rgba(255, 178, 38, 0.08));
}

.event-card.raid-clean {
  --event-bg-1: rgba(120, 20, 15, 0.55);
  --event-bg-2: rgba(214, 170, 74, 0.16);
  --event-glow: rgba(255, 92, 32, 0.28);
  --event-border: rgba(255, 170, 64, 0.55);
}

.event-card.training {
  --event-bg-1: rgba(15, 46, 84, 0.55);
  --event-bg-2: rgba(69, 210, 232, 0.14);
  --event-glow: rgba(69, 210, 232, 0.24);
  --event-border: rgba(96, 220, 240, 0.5);
}

.event-card.strikes {
  --event-bg-1: rgba(54, 25, 92, 0.56);
  --event-bg-2: rgba(179, 101, 255, 0.16);
  --event-glow: rgba(179, 101, 255, 0.24);
  --event-border: rgba(190, 132, 255, 0.52);
}

.event-card.meta-train {
  --event-bg-1: rgba(18, 77, 43, 0.56);
  --event-bg-2: rgba(73, 224, 137, 0.14);
  --event-glow: rgba(73, 224, 137, 0.24);
  --event-border: rgba(99, 228, 151, 0.5);
}

.event-card.raids {
  --event-bg-1: rgba(109, 49, 12, 0.58);
  --event-bg-2: rgba(255, 177, 54, 0.17);
  --event-glow: rgba(255, 155, 42, 0.26);
  --event-border: rgba(255, 188, 72, 0.54);
}

.event-card.wvw {
  --event-bg-1: rgba(83, 7, 13, 0.6);
  --event-bg-2: rgba(0, 0, 0, 0.28);
  --event-glow: rgba(210, 28, 34, 0.24);
  --event-border: rgba(230, 69, 54, 0.52);
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background:
    radial-gradient(circle at 18% 28%, var(--event-border, rgba(255, 178, 38, 0.5)) 0 1px, transparent 3px),
    radial-gradient(circle at 70% 18%, rgba(255, 240, 190, 0.58) 0 1px, transparent 3px),
    radial-gradient(circle at 82% 72%, var(--event-glow, rgba(255, 178, 38, 0.24)) 0 1px, transparent 3px),
    radial-gradient(circle at 38% 82%, rgba(255, 255, 255, 0.22) 0 1px, transparent 3px);
  background-size: 120px 120px, 150px 150px, 130px 130px, 180px 180px;
  opacity: 0.28;
  mask: none;
  -webkit-mask: none;
  animation: eventParticleDrift 7s ease-in-out infinite, eventParticleBlink 5s ease-in-out infinite;
  pointer-events: none;
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.38)),
    radial-gradient(circle at 50% 0%, var(--event-bg-2, rgba(255, 220, 122, 0.1)), transparent 58%);
  opacity: 0.68;
  transition: opacity 220ms ease, background 220ms ease;
  pointer-events: none;
}

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

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--event-border, var(--line-strong));
  background:
    radial-gradient(circle at 18% 12%, var(--event-bg-2, rgba(255, 220, 122, 0.18)), transparent 46%),
    linear-gradient(145deg, var(--event-bg-1, rgba(43, 31, 25, 0.94)), rgba(12, 8, 7, 0.96));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.52),
    0 0 44px var(--event-glow, rgba(255, 178, 38, 0.26)),
    0 0 28px rgba(255, 220, 122, 0.08);
}

.event-card:hover::before {
  opacity: 0.48;
}

.event-card:hover::after {
  opacity: 0.86;
}

.event-day {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card dl {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.event-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 220, 122, 0.12);
  padding-top: 0.55rem;
}

.event-card dt,
.event-card dd {
  margin: 0;
}

.event-card dt {
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card dd {
  color: var(--muted);
  text-align: right;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.leader-card {
  min-height: 300px;
  padding: 1.35rem;
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 220, 122, 0.22), rgba(155, 34, 29, 0.2) 58%, rgba(7, 6, 5, 0.9));
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 0 34px rgba(255, 220, 122, 0.16);
}

.leader-card span {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.forum-section,
.report-section {
  background:
    radial-gradient(circle at 12% 28%, rgba(155, 34, 29, 0.16), transparent 28rem),
    radial-gradient(circle at 86% 24%, rgba(255, 220, 122, 0.08), transparent 24rem);
}

.forum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.forum-card {
  min-height: 255px;
  padding: 1.25rem;
}

.forum-card h3 {
  color: var(--soft-white);
  font-size: 1.12rem;
}

.forum-card p {
  margin: 0.75rem 0 1rem;
  color: var(--muted);
}

.forum-card span {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 800;
}

.button-ghost {
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--gold-bright);
}

.forum-form,
.report-form {
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

.forum-form h3 {
  margin-bottom: 1rem;
  color: var(--soft-white);
  font-size: 1.35rem;
}

.report-form {
  background:
    radial-gradient(circle at 0% 0%, rgba(155, 34, 29, 0.24), transparent 24rem),
    linear-gradient(180deg, rgba(35, 27, 23, 0.9), rgba(8, 7, 6, 0.94));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  display: grid;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 220, 122, 0.16), transparent 35%),
    linear-gradient(145deg, rgba(155, 34, 29, 0.28), rgba(105, 113, 122, 0.12)),
    rgba(15, 12, 10, 0.86);
  transition: transform 220ms ease, border-color 220ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.78)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 14px);
  transform: scale(1);
  transition: transform 320ms ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(255, 220, 122, 0.18),
    0 0 28px rgba(155, 34, 29, 0.22);
}

.gallery-item:hover::after {
  transform: scale(1.06);
}

.gallery-item span {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 1.2rem;
  color: var(--soft-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
}

.discord-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(155, 34, 29, 0.28), rgba(18, 14, 12, 0.96));
}

.discord-panel h2 {
  color: var(--soft-white);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.discord-panel p {
  max-width: 680px;
  margin: 1rem auto 1.6rem;
  color: var(--muted);
}

.recruitment-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(155, 34, 29, 0.22), transparent 30rem),
    radial-gradient(circle at 90% 80%, rgba(255, 220, 122, 0.1), transparent 26rem);
}

.recruitment-form {
  padding: clamp(1.35rem, 3vw, 2.4rem);
}

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

label {
  display: grid;
  gap: 0.55rem;
  color: var(--gold-bright);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 220, 122, 0.24);
  background: rgba(4, 4, 4, 0.58);
  color: var(--soft-white);
  padding: 0.92rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

select option {
  background: #110d0b;
  color: var(--soft-white);
}

textarea {
  margin-top: 1rem;
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 800;
}

.checkbox-label input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--red);
}

.checkbox-label span {
  color: var(--muted);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-bright);
  background: rgba(4, 4, 4, 0.76);
  box-shadow: 0 0 0 4px rgba(255, 220, 122, 0.1);
}

.field-error {
  border-color: #ff7668;
  box-shadow: 0 0 0 4px rgba(255, 118, 104, 0.12);
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0;
  color: #ffb1a8;
  font-weight: 800;
}

.form-status.is-success {
  color: var(--gold-bright);
}

.cf-turnstile {
  display: flex;
  justify-content: center;
  margin: 1rem 0 1.2rem;
  min-height: 65px;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.2rem 5vw;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(155, 34, 29, 0.16), transparent, rgba(255, 220, 122, 0.06)),
    #050403;
  color: var(--muted);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.footer-brand strong {
  display: block;
  color: var(--soft-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease;
}

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

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms ease;
}

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

@keyframes emberDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.28;
  }
  50% {
    transform: translate3d(24px, -68px, 0) scale(1.7);
    opacity: 0.76;
  }
}

@keyframes smokeDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(38px, -18px, 0) scale(1.08);
  }
}

@keyframes scrollDot {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 18px);
    opacity: 0;
  }
}

@keyframes mxGlow {
  0%,
  100% {
    box-shadow:
      0 0 14px rgba(255, 220, 122, 0.22),
      0 0 28px rgba(155, 34, 29, 0.16);
    filter: brightness(1);
  }
  50% {
    box-shadow:
      0 0 22px rgba(255, 220, 122, 0.48),
      0 0 46px rgba(155, 34, 29, 0.28);
    filter: brightness(1.18);
  }
}

@keyframes mxTilt {
  0%,
  100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@keyframes mxBorder {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroLogoBreathe {
  0%,
  100% {
    box-shadow:
      0 0 0 8px rgba(255, 220, 122, 0.04),
      0 0 64px rgba(255, 220, 122, 0.2),
      0 22px 70px rgba(0, 0, 0, 0.65);
    filter: brightness(1);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(255, 220, 122, 0.07),
      0 0 92px rgba(255, 220, 122, 0.34),
      0 26px 76px rgba(0, 0, 0, 0.7);
    filter: brightness(1.08);
  }
}

@keyframes dustFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(var(--dust-drift-x, 18px), var(--dust-drift-y, -42px), 0);
  }
}

@keyframes dustBlink {
  0%,
  100% {
    opacity: 0.18;
  }
  45%,
  60% {
    opacity: 0.68;
  }
}

@keyframes fireGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 7px rgba(255, 68, 28, 0.42)) brightness(1);
    text-shadow:
      0 0 8px rgba(255, 74, 28, 0.42),
      0 0 18px rgba(255, 139, 50, 0.26),
      0 1px 0 rgba(255, 226, 142, 0.25);
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(255, 95, 32, 0.58)) brightness(1.2);
    text-shadow:
      0 0 10px rgba(255, 74, 28, 0.58),
      0 0 24px rgba(255, 139, 50, 0.38),
      0 1px 0 rgba(255, 226, 142, 0.34);
  }
}

@keyframes emberRise {
  0% {
    transform: translate(-50%, 0) scale(0.75);
  }
  55% {
    transform: translate(calc(-50% + 2px), -0.5em) scale(1);
  }
  100% {
    transform: translate(calc(-50% - 1px), -0.85em) scale(0.72);
  }
}

@keyframes sparkBlink {
  0%,
  100% {
    opacity: 0;
  }
  22%,
  62% {
    opacity: 0.72;
  }
}

@keyframes eventParticleDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(8px, -10px, 0);
  }
}

@keyframes eventParticleBlink {
  0%,
  100% {
    opacity: 0.2;
  }
  45%,
  65% {
    opacity: 0.42;
  }
}

/* Visual pass inspired by fantasy guild dashboards. */
.site-header {
  min-height: 68px;
  padding: 0 3.8vw;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.84), rgba(5, 4, 3, 0.62), rgba(5, 4, 3, 0.88)),
    rgba(5, 4, 3, 0.78);
  border-bottom-color: rgba(255, 190, 58, 0.32);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 3.8vw;
  right: 3.8vw;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 202, 68, 0.72), transparent);
  box-shadow: 0 0 18px rgba(255, 177, 32, 0.34);
}

.brand {
  gap: 1rem;
}

.brand > span:last-child {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  letter-spacing: 0.03em;
}

.site-nav a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.79rem;
  color: rgba(242, 234, 220, 0.9);
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--gold-bright);
  text-shadow: 0 0 14px rgba(255, 202, 68, 0.5);
}

.brand-mark {
  width: 54px;
  height: 54px;
  font-size: 1.22rem;
  border-color: rgba(255, 178, 38, 0.88);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 220, 122, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(92, 19, 13, 0.92), rgba(12, 7, 4, 0.95));
  box-shadow:
    0 0 0 1px rgba(255, 220, 122, 0.22),
    0 0 26px rgba(255, 178, 38, 0.45),
    0 0 46px rgba(155, 34, 29, 0.22);
}

.clan-section {
  min-height: 100vh;
  padding-top: clamp(6.8rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 83% 28%, rgba(255, 152, 15, 0.16), transparent 26rem),
    radial-gradient(circle at 8% 78%, rgba(255, 54, 26, 0.16), transparent 24rem),
    linear-gradient(135deg, rgba(255, 220, 122, 0.04), transparent 34%),
    rgba(0, 0, 0, 0.16);
}

.clan-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 34% 30%, rgba(220, 196, 140, 0.08), transparent 18rem),
    radial-gradient(ellipse at 70% 58%, rgba(255, 178, 38, 0.08), transparent 22rem),
    repeating-linear-gradient(118deg, rgba(255, 220, 122, 0.018) 0 1px, transparent 1px 20px);
  opacity: 0.9;
}

.clan-brand-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.8rem;
  align-items: center;
  width: min(var(--max-width), 100%);
  margin: 0 auto 2.2rem;
}

.clan-big-mark {
  display: grid;
  place-items: center;
  width: clamp(112px, 12vw, 156px);
  height: clamp(112px, 12vw, 156px);
  border: 1px solid rgba(255, 178, 38, 0.95);
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 220, 122, 0.26), transparent 34%),
    linear-gradient(145deg, rgba(90, 17, 12, 0.9), rgba(7, 5, 4, 0.96));
  color: #ffe9ad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  text-shadow: 0 0 22px rgba(255, 220, 122, 0.5);
  box-shadow:
    inset 0 0 28px rgba(255, 220, 122, 0.18),
    0 0 28px rgba(255, 178, 38, 0.5),
    0 0 60px rgba(255, 88, 24, 0.22);
}

.clan-brand-block strong {
  display: block;
  color: var(--soft-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 220, 122, 0.22);
}

.clan-brand-block span:not(.clan-big-mark) {
  display: block;
  margin-top: 0.55rem;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.clan-grid {
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.6rem, 3vw, 2.2rem);
  align-items: center;
}

.section-heading-local {
  width: 100%;
  margin: 0 0 2rem;
}

.section-heading-local .eyebrow {
  position: relative;
  padding-right: 5rem;
  color: #ffd95f;
  letter-spacing: 0.08em;
}

.section-heading-local .eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}

.section-heading-local h2 {
  margin-top: 0.6rem;
  font-size: clamp(3.4rem, 7vw, 5.7rem);
  text-shadow:
    0 0 28px rgba(255, 220, 122, 0.24),
    0 12px 30px rgba(0, 0, 0, 0.78);
}

.section-heading-local p {
  max-width: 660px;
  color: rgba(242, 234, 220, 0.8);
  font-size: 1.05rem;
}

.lore-panel {
  border: 1px solid rgba(255, 178, 38, 0.46);
  border-left: 1px solid rgba(255, 178, 38, 0.46);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 44, 22, 0.16), transparent 20rem),
    linear-gradient(145deg, rgba(23, 13, 8, 0.78), rgba(4, 4, 3, 0.76));
  box-shadow:
    inset 0 0 40px rgba(255, 178, 38, 0.035),
    0 0 0 1px rgba(255, 220, 122, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.42);
}

.lore-panel > p {
  padding: 1rem 0;
  color: rgba(242, 234, 220, 0.78);
}

.lore-panel > p + p {
  border-top: 1px solid rgba(255, 220, 122, 0.14);
}

.clan-panel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 1.6rem;
  border-top: 1px solid rgba(255, 220, 122, 0.14);
}

.clan-panel-stats article {
  display: grid;
  place-items: center;
  min-height: 115px;
  padding: 1rem 0.7rem;
  text-align: center;
}

.clan-panel-stats article + article {
  border-left: 1px solid rgba(255, 220, 122, 0.16);
}

.stat-icon,
.pillar-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #ffe08b;
  font-size: 1.45rem;
  filter: drop-shadow(0 0 12px rgba(255, 178, 38, 0.58));
}

.clan-panel-stats strong {
  color: #ff4636;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.1;
  text-shadow: 0 0 14px rgba(255, 64, 32, 0.38);
}

.clan-panel-stats .stat-fire,
.status-card .stat-fire {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: #ff4636;
  background: linear-gradient(180deg, #ffe0a0 0%, #ff8b32 24%, #ff4636 52%, #9f170d 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 7px rgba(255, 68, 28, 0.44));
  text-shadow:
    0 0 8px rgba(255, 74, 28, 0.45),
    0 0 18px rgba(255, 139, 50, 0.28),
    0 1px 0 rgba(255, 226, 142, 0.28);
  animation: fireGlow 5.2s ease-in-out infinite;
}

.clan-panel-stats .stat-fire::before,
.clan-panel-stats .stat-fire::after,
.status-card .stat-fire::before,
.status-card .stat-fire::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.08em;
  z-index: -1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 186, 58, 0.9);
  box-shadow:
    -1.2em -0.18em 0 -1px rgba(255, 91, 28, 0.8),
    -0.56em 0.04em 0 -1px rgba(255, 213, 91, 0.95),
    0.48em -0.12em 0 -1px rgba(255, 117, 36, 0.82),
    1.08em 0.02em 0 -1px rgba(255, 210, 88, 0.7);
  opacity: 0;
  animation:
    emberRise 4.8s ease-in-out infinite,
    sparkBlink 4.8s ease-in-out infinite;
}

.clan-panel-stats .stat-fire::after,
.status-card .stat-fire::after {
  width: 3px;
  height: 3px;
  animation-delay: 1.3s;
  box-shadow:
    -0.95em 0.02em 0 -1px rgba(255, 196, 73, 0.86),
    -0.2em -0.16em 0 -1px rgba(255, 82, 24, 0.8),
    0.78em 0.06em 0 -1px rgba(255, 218, 112, 0.72);
}

.clan-panel-stats span:last-child {
  color: rgba(242, 234, 220, 0.78);
  font-size: 0.9rem;
}

.clan-pillars {
  gap: 1.45rem;
}

.clan-pillars article {
  place-items: center;
  align-content: center;
  min-height: clamp(220px, 22vw, 275px);
  padding: 1.7rem;
  text-align: center;
  border-color: rgba(255, 178, 38, 0.52);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.09), transparent 46%),
    linear-gradient(145deg, rgba(30, 17, 11, 0.82), rgba(5, 5, 4, 0.88));
  box-shadow:
    inset 0 0 42px rgba(255, 178, 38, 0.035),
    0 0 0 1px rgba(255, 220, 122, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.34);
}

.clan-pillars article:first-child {
  border-color: rgba(255, 220, 122, 0.9);
  box-shadow:
    inset 0 0 46px rgba(255, 220, 122, 0.07),
    0 0 0 1px rgba(255, 220, 122, 0.2),
    0 0 42px rgba(255, 178, 38, 0.38),
    0 24px 70px rgba(0, 0, 0, 0.4);
}

.clan-pillars strong {
  max-width: 230px;
  color: #ffe08b;
  font-size: 1.22rem;
  line-height: 1.2;
  text-shadow: 0 0 14px rgba(255, 220, 122, 0.26);
}

.clan-pillars strong::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, transparent, #ff3a28, var(--gold-bright), transparent);
  box-shadow: 0 0 12px rgba(255, 64, 32, 0.5);
}

.clan-pillars span:not(.pillar-icon) {
  max-width: 230px;
  color: rgba(242, 234, 220, 0.74);
}

.activity-card,
.event-card,
.leader-card,
.forum-card,
.gallery-item,
.status-card,
.donation-card,
.discord-panel,
.recruitment-form,
.forum-form,
.report-form {
  border-color: rgba(255, 178, 38, 0.42);
  box-shadow:
    inset 0 0 34px rgba(255, 178, 38, 0.03),
    0 22px 64px rgba(0, 0, 0, 0.4);
}

.clan-status-section,
.clan-events-section,
.motd-section,
.donation-section,
.poster-section,
.status-grid,
.donation-grid {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

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

.status-card {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 1.4rem;
  text-align: center;
  border: 1px solid rgba(255, 178, 38, 0.46);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(30, 17, 11, 0.82), rgba(5, 5, 4, 0.9));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.status-card:hover,
.donation-card:hover,
.donation-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(255, 178, 38, 0.22),
    0 0 30px rgba(155, 34, 29, 0.22);
}

.status-card span,
.donation-card span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--gold-bright);
  font-size: 1.55rem;
  filter: drop-shadow(0 0 14px rgba(255, 178, 38, 0.52));
}

.status-card strong {
  color: #ffe08b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  text-shadow: 0 0 18px rgba(255, 220, 122, 0.28);
}

.status-card p,
.donation-card p {
  margin: 0;
  color: rgba(242, 234, 220, 0.76);
}

.donation-card h3 {
  color: #ffe08b;
  font-size: 1.25rem;
  text-shadow: 0 0 14px rgba(255, 220, 122, 0.24);
}

.message-panel,
.event-poster {
  width: min(var(--max-width), 100%);
  margin: 1.2rem auto 0;
  border: 1px solid rgba(255, 178, 38, 0.52);
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 44, 22, 0.14), transparent 24rem),
    linear-gradient(145deg, rgba(23, 13, 8, 0.84), rgba(4, 4, 3, 0.86));
  box-shadow:
    inset 0 0 44px rgba(255, 178, 38, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.42);
}

.poster-columns ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.poster-columns li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(242, 234, 220, 0.8);
}

.poster-columns li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold-bright);
  font-size: 0.7rem;
}

.message-panel {
  padding: clamp(1.6rem, 4vw, 3rem);
}

.message-panel h2 {
  color: var(--soft-white);
  font-size: clamp(2rem, 5vw, 3.7rem);
}

.message-panel p {
  max-width: 880px;
  color: rgba(242, 234, 220, 0.78);
}

.suggested-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.suggested-items span {
  border: 1px solid rgba(255, 178, 38, 0.42);
  padding: 0.75rem 1rem;
  background: rgba(255, 220, 122, 0.06);
  color: var(--gold-bright);
  font-weight: 800;
}

.message-panel .note {
  border-left: 2px solid var(--gold-bright);
  padding-left: 1rem;
  color: rgba(242, 234, 220, 0.68);
}

.donation-grid {
  grid-template-columns: repeat(5, 1fr);
}

.donation-card {
  min-height: 220px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 178, 38, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.1), transparent 40%),
    linear-gradient(145deg, rgba(28, 16, 11, 0.86), rgba(6, 5, 4, 0.92));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.event-poster {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 3.4rem);
  text-align: center;
}

.event-poster::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 220, 122, 0.22);
  pointer-events: none;
}

.event-poster h2 {
  color: #ffe08b;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  text-shadow:
    0 0 24px rgba(255, 220, 122, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.76);
}

.poster-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.poster-meta span {
  border: 1px solid rgba(255, 178, 38, 0.35);
  padding: 0.85rem;
  color: rgba(242, 234, 220, 0.8);
  background: rgba(255, 220, 122, 0.04);
}

.poster-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  text-align: left;
}

.poster-columns > div {
  border: 1px solid rgba(255, 178, 38, 0.35);
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.22);
}

.poster-columns h3 {
  margin-bottom: 0.8rem;
  color: var(--gold-bright);
}

.message-panel {
  position: relative;
  overflow: hidden;
  animation: messageCardPulse 5.4s ease-in-out infinite;
}

.message-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: conic-gradient(
    from var(--message-border-angle, 0deg),
    transparent 0deg,
    transparent 52deg,
    rgba(255, 226, 126, 0.92) 74deg,
    rgba(255, 126, 34, 0.82) 92deg,
    transparent 122deg,
    transparent 360deg
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: neonBorderTravel 6s linear infinite;
}

.message-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.1), transparent 38%);
  opacity: 0.7;
  pointer-events: none;
}

.message-panel > * {
  position: relative;
  z-index: 1;
}

.item-tag {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  text-shadow: 0 0 12px currentColor;
}

.item-tag::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-130%);
  transition: transform 420ms ease;
}

.item-tag:hover::after {
  transform: translateX(130%);
}

.item-cilantro {
  border-color: rgba(170, 255, 78, 0.52) !important;
  background: rgba(104, 200, 40, 0.12) !important;
  color: #b9ff62 !important;
  box-shadow: 0 0 18px rgba(151, 255, 78, 0.18);
}

.item-mint {
  border-color: rgba(105, 255, 218, 0.52) !important;
  background: rgba(63, 219, 190, 0.12) !important;
  color: #8fffe2 !important;
  box-shadow: 0 0 18px rgba(105, 255, 218, 0.18);
}

.whatsapp-button {
  border-color: rgba(64, 255, 128, 0.55);
  background:
    linear-gradient(135deg, rgba(20, 145, 72, 0.92), rgba(29, 185, 84, 0.72)),
    rgba(4, 4, 4, 0.4);
  color: #ecfff4;
  box-shadow:
    0 18px 44px rgba(18, 140, 72, 0.25),
    0 0 24px rgba(64, 255, 128, 0.18);
}

.whatsapp-button svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.55rem;
  fill: currentColor;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.22));
}

.whatsapp-button:hover {
  border-color: rgba(116, 255, 166, 0.88);
  box-shadow:
    0 22px 54px rgba(18, 140, 72, 0.35),
    0 0 34px rgba(64, 255, 128, 0.28);
}

.donation-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: donationPulse 5.8s ease-in-out infinite;
}

.donation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 220, 122, 0.42) 0 1px, transparent 3px),
    radial-gradient(circle at 70% 20%, rgba(255, 142, 46, 0.34) 0 1px, transparent 3px),
    radial-gradient(circle at 82% 78%, rgba(255, 235, 170, 0.26) 0 1px, transparent 3px);
  background-size: 110px 110px, 150px 150px, 130px 130px;
  opacity: 0.24;
  animation: donationSparkFloat 6.2s ease-in-out infinite;
  pointer-events: none;
}

.donation-card > * {
  position: relative;
  z-index: 1;
}

.donation-card:hover {
  border-color: rgba(255, 220, 122, 0.76);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 178, 38, 0.28),
    0 0 30px rgba(155, 34, 29, 0.2);
}

.donation-card:hover::before {
  opacity: 0.44;
}

.event-poster {
  animation: eventHeartbeat 4.4s ease-in-out infinite;
  transform-origin: center;
}

@property --message-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes messageCardPulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 44px rgba(255, 178, 38, 0.04),
      0 24px 80px rgba(0, 0, 0, 0.42),
      0 0 18px rgba(255, 220, 122, 0.12);
  }
  50% {
    box-shadow:
      inset 0 0 52px rgba(255, 178, 38, 0.07),
      0 28px 86px rgba(0, 0, 0, 0.48),
      0 0 32px rgba(255, 220, 122, 0.22);
  }
}

@keyframes neonBorderTravel {
  to {
    --message-border-angle: 360deg;
  }
}

@keyframes donationPulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 34px rgba(255, 178, 38, 0.03),
      0 22px 64px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow:
      inset 0 0 42px rgba(255, 178, 38, 0.055),
      0 24px 70px rgba(0, 0, 0, 0.44),
      0 0 22px rgba(255, 178, 38, 0.12);
  }
}

@keyframes donationSparkFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.2;
  }
  50% {
    transform: translate3d(8px, -10px, 0);
    opacity: 0.38;
  }
}

@keyframes eventHeartbeat {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      inset 0 0 44px rgba(255, 178, 38, 0.04),
      0 24px 80px rgba(0, 0, 0, 0.42);
  }
  45% {
    transform: scale(1.008);
    box-shadow:
      inset 0 0 54px rgba(255, 178, 38, 0.07),
      0 28px 90px rgba(0, 0, 0, 0.5),
      0 0 36px rgba(255, 178, 38, 0.2),
      0 0 28px rgba(155, 34, 29, 0.18);
  }
  60% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.006);
  }
}

#liderazgo {
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 178, 38, 0.12), transparent 28rem),
    radial-gradient(circle at 84% 72%, rgba(155, 34, 29, 0.18), transparent 30rem),
    repeating-linear-gradient(118deg, rgba(255, 220, 122, 0.016) 0 1px, transparent 1px 22px);
}

#liderazgo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 42%, rgba(255, 220, 122, 0.08), transparent 18rem),
    radial-gradient(circle at 72% 28%, rgba(242, 234, 220, 0.045), transparent 16rem);
  opacity: 0.85;
}

#liderazgo .section-heading h2 {
  text-shadow:
    0 0 28px rgba(255, 220, 122, 0.24),
    0 12px 32px rgba(0, 0, 0, 0.74);
}

.leadership-grid {
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 1.1rem;
}

.leader-card {
  min-height: 390px;
  padding: 1.15rem;
  text-align: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.11), transparent 42%),
    linear-gradient(145deg, rgba(31, 18, 12, 0.9), rgba(5, 5, 4, 0.94));
  border-color: rgba(255, 178, 38, 0.42);
  animation: leaderBreath 6s ease-in-out infinite;
}

.leader-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 220, 122, 0.38) 0 1px, transparent 3px),
    radial-gradient(circle at 78% 28%, rgba(255, 119, 36, 0.26) 0 1px, transparent 3px),
    radial-gradient(circle at 68% 82%, rgba(242, 234, 220, 0.22) 0 1px, transparent 3px);
  background-size: 120px 120px, 160px 160px, 140px 140px;
  opacity: 0.18;
  animation: leaderParticles 7s ease-in-out infinite;
  pointer-events: none;
}

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

.leader-gm {
  grid-row: span 1;
  min-height: 430px;
  border-color: rgba(255, 220, 122, 0.78);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.18), transparent 46%),
    radial-gradient(circle at 20% 82%, rgba(155, 34, 29, 0.24), transparent 20rem),
    linear-gradient(145deg, rgba(50, 25, 12, 0.94), rgba(5, 5, 4, 0.96));
  box-shadow:
    inset 0 0 54px rgba(255, 178, 38, 0.06),
    0 32px 94px rgba(0, 0, 0, 0.54),
    0 0 46px rgba(255, 178, 38, 0.26);
}

.leader-portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: min(190px, 100%);
  aspect-ratio: 1 / 1.18;
  margin: 0 auto 1.2rem;
  border: 1px solid rgba(255, 220, 122, 0.5);
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 220, 122, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(36, 22, 15, 0.98), rgba(7, 6, 5, 0.98));
  box-shadow:
    inset 0 0 32px rgba(255, 220, 122, 0.06),
    0 0 28px rgba(255, 178, 38, 0.14);
}

.leader-portrait::before,
.leader-portrait::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  border-color: var(--gold-bright);
  border-style: solid;
  opacity: 0.76;
}

.leader-portrait::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.leader-portrait::after {
  right: 10px;
  bottom: 10px;
  border-width: 0 2px 2px 0;
}

.avatar-placeholder {
  width: 112px;
  height: 112px;
  margin: 0;
  border-radius: 50%;
  font-size: 1.55rem;
}

.leader-gm .avatar-placeholder {
  width: 136px;
  height: 136px;
  font-size: 1.8rem;
}

.leader-badge {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 220, 122, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 220, 122, 0.26), rgba(155, 34, 29, 0.2) 58%, rgba(7, 6, 5, 0.95));
  color: #ffe08b;
  font-size: 1.25rem;
  filter: drop-shadow(0 0 14px rgba(255, 178, 38, 0.5));
}

.leader-card h3 {
  color: #ffe08b;
  font-size: 1.25rem;
  text-shadow: 0 0 16px rgba(255, 220, 122, 0.26);
}

.leader-card span:not(.leader-badge) {
  color: #ffce63;
  letter-spacing: 0.04em;
}

.leader-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 220, 122, 0.82);
  box-shadow:
    0 34px 92px rgba(0, 0, 0, 0.56),
    0 0 46px rgba(255, 178, 38, 0.28),
    0 0 30px rgba(155, 34, 29, 0.22);
}

.leader-card:hover::before {
  opacity: 1;
}

.leader-card:hover::after {
  opacity: 0.42;
}

.leader-card:hover .leader-portrait {
  border-color: rgba(255, 220, 122, 0.9);
  box-shadow:
    inset 0 0 42px rgba(255, 220, 122, 0.08),
    0 0 38px rgba(255, 178, 38, 0.28);
}

@keyframes leaderBreath {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.06);
  }
}

@keyframes leaderParticles {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.16;
  }
  50% {
    transform: translate3d(8px, -10px, 0);
    opacity: 0.32;
  }
}

/* Activity cards only: image ambience in resting state, clean magic panel on hover. */
.activity-card {
  isolation: isolate;
}

.activity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: var(--activity-bg) center / cover no-repeat;
  mask: none;
  -webkit-mask: none;
  opacity: 0.48;
  filter: brightness(0.72) saturate(1.16);
  transform: scale(1);
  transition: opacity 250ms ease, transform 250ms ease, filter 250ms ease;
  pointer-events: none;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.72)),
    linear-gradient(135deg, rgba(143, 31, 31, 0.2), rgba(214, 170, 74, 0.06));
  transition: background 250ms ease;
  pointer-events: none;
}

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

.activity-card:hover::before {
  opacity: 0.06;
  transform: scale(1.05);
  filter: brightness(0.34) saturate(0.82);
}

.activity-card:hover::after {
  background:
    linear-gradient(145deg, rgba(155, 34, 29, 0.2), transparent 48%),
    linear-gradient(180deg, rgba(43, 31, 25, 0.94), rgba(12, 8, 7, 0.96));
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .magic-dust {
    display: none;
  }
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 0.75rem;
  }

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

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

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

  .status-grid,
  .donation-grid,
  .poster-meta {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 980px) {
  .site-header {
    min-height: 66px;
    padding: 0 1rem;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

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

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 0.8rem 1rem 1rem;
    background: rgba(5, 4, 3, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.82rem 0;
    border-bottom: 1px solid rgba(255, 220, 122, 0.12);
  }

  .hero {
    padding-top: 6.2rem;
  }

  .logo-frame {
    width: min(340px, 80vw);
  }

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

  .clan-brand-block {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .clan-grid,
  .clan-pillars,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-local {
    text-align: left;
  }

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

  .clan-panel-stats article:nth-child(3) {
    border-left: 0;
  }

  .clan-panel-stats article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 220, 122, 0.16);
  }

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

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section::before {
    left: 1rem;
    right: 1rem;
  }

  .hero h1 {
    font-size: 2.85rem;
  }

  .clan-big-mark {
    width: 108px;
    height: 108px;
    font-size: 2.8rem;
  }

  .clan-brand-block strong {
    font-size: 2rem;
  }

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

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

  .clan-panel-stats article + article {
    border-left: 0;
    border-top: 1px solid rgba(255, 220, 122, 0.16);
  }

  .hero-actions,
  .hero-actions .button,
  .recruitment-form .button {
    width: 100%;
  }

  .hero-stats,
  .status-grid,
  .activity-grid,
  .event-grid,
  .forum-grid,
  .donation-grid,
  .poster-meta,
  .leadership-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    min-height: 210px;
  }

  .dust-particle {
    opacity: 0.24;
  }
}

.leader-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

/* Imagen de fondo opcional */
.leader-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--leader-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: brightness(0.45) saturate(1.15);
  transform: scale(1.04);
  transition: opacity 260ms ease, transform 260ms ease;
  z-index: 0;
}

/* Capa oscura para que el texto se lea */
.leader-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 196, 87, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(10, 6, 4, 0.55), rgba(10, 6, 4, 0.94));
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
}

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

.leader-card:hover {
  border-color: rgba(255, 207, 99, 0.9);
  box-shadow:
    0 0 28px rgba(255, 166, 37, 0.35),
    0 0 70px rgba(148, 31, 18, 0.28);
}

.leader-card:hover::before {
  opacity: 0.28;
  transform: scale(1.1);
}

/* Brillo suave del retrato */
.leader-portrait {
  transition: transform 260ms ease, filter 260ms ease;
}

.leader-card:hover .leader-portrait {
  filter: drop-shadow(0 0 18px rgba(255, 199, 80, 0.55));
}

/* Partículas internas */
.leader-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffd36a;
  box-shadow: 0 0 12px #ffb347;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
  animation: leaderSpark 1.4s ease-out forwards;
}

@keyframes leaderSpark {
  0% {
    transform: translateY(0) scale(0.7);
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  100% {
    transform: translateY(-34px) scale(0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leader-card,
  .leader-card::before,
  .leader-portrait {
    transition: none;
  }

  .leader-spark {
    display: none;
  }
}

/* Leadership: capas reales para evitar conflictos con pseudo-elementos anteriores. */
#liderazgo .leader-card::before,
#liderazgo .leader-card::after {
  content: none !important;
}

#liderazgo .leader-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.13), transparent 42%),
    linear-gradient(145deg, rgba(31, 18, 12, 0.92), rgba(5, 5, 4, 0.96));
  border-color: rgba(255, 178, 38, 0.5);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    filter 260ms ease;
  will-change: transform;
}

#liderazgo .leader-bg,
#liderazgo .leader-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#liderazgo .leader-bg {
  z-index: 0;
  background-image: var(--leader-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: brightness(0.54) saturate(1.12) contrast(1.08);
  transform: scale(1.02);
  transition: opacity 260ms ease, transform 320ms ease, filter 260ms ease;
}

#liderazgo .leader-glow {
  z-index: 1;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 214, 117, 0.34), transparent 20%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(181, 42, 22, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(8, 5, 4, 0.35), rgba(8, 5, 4, 0.92));
  opacity: 0;
  transition: opacity 240ms ease;
  mix-blend-mode: screen;
}

#liderazgo .leader-card > :not(.leader-bg):not(.leader-glow) {
  position: relative;
  z-index: 2;
}

#liderazgo .leader-card:hover {
  border-color: rgba(255, 210, 95, 0.95);
  box-shadow:
    0 0 28px rgba(255, 180, 50, 0.45),
    0 0 80px rgba(150, 35, 20, 0.35),
    0 34px 92px rgba(0, 0, 0, 0.58);
}

#liderazgo .leader-card:hover .leader-bg {
  opacity: 0.34;
  transform: scale(1.08);
  filter: brightness(0.72) saturate(1.22) contrast(1.1);
}

#liderazgo .leader-card:hover .leader-glow {
  opacity: 1;
}

#liderazgo .leader-card:hover .leader-portrait {
  filter: drop-shadow(0 0 22px rgba(255, 205, 91, 0.7));
  transform: translateZ(28px);
}

#liderazgo .leader-card:hover .leader-badge {
  border-color: rgba(255, 229, 142, 0.98);
  box-shadow:
    0 0 20px rgba(255, 189, 61, 0.5),
    inset 0 0 18px rgba(255, 214, 117, 0.14);
}

/* Galería dinámica con imágenes reales. */
.dynamic-gallery .gallery-item {
  appearance: none;
  border-radius: 0;
  cursor: pointer;
  color: inherit;
  padding: 0;
  text-align: left;
  isolation: isolate;
}

.gallery-photo img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.58) saturate(1.08);
  transform: scale(1.02);
  transition: transform 360ms ease, filter 260ms ease, opacity 260ms ease;
}

.gallery-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 220, 122, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(4, 3, 2, 0.12), rgba(4, 3, 2, 0.86));
  opacity: 0.9;
  pointer-events: none;
}

.gallery-photo::after {
  z-index: 2;
}

.gallery-photo span {
  z-index: 3;
}

.gallery-photo:hover img,
.gallery-photo.is-focused img {
  filter: brightness(0.84) saturate(1.18);
  transform: scale(1.1);
}

.gallery-photo:hover::before,
.gallery-photo.is-focused::before {
  opacity: 0.62;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 178, 38, 0.12), transparent 28rem),
    rgba(0, 0, 0, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox img {
  max-width: min(1080px, 92vw);
  max-height: 78vh;
  border: 1px solid rgba(255, 220, 122, 0.62);
  object-fit: contain;
  box-shadow:
    0 0 34px rgba(255, 178, 38, 0.28),
    0 34px 120px rgba(0, 0, 0, 0.82);
}

.gallery-lightbox p {
  margin: 1rem 0 0;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 900;
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 220, 122, 0.55);
  background: rgba(12, 8, 6, 0.86);
  color: var(--soft-white);
  cursor: pointer;
  font-size: 1.8rem;
}

.gallery-lightbox-close:hover {
  border-color: rgba(255, 220, 122, 0.9);
  box-shadow: 0 0 22px rgba(255, 178, 38, 0.35);
}

/* Galería carrusel premium. */
#galeria .section-heading p {
  max-width: 680px;
}

.gallery-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "prev stage next"
    "thumbs thumbs thumbs";
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(0.85rem, 2.4vw, 1.35rem);
  border: 1px solid rgba(255, 220, 122, 0.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.12), transparent 22rem),
    radial-gradient(circle at 18% 82%, rgba(155, 34, 29, 0.2), transparent 20rem),
    linear-gradient(145deg, rgba(28, 18, 13, 0.88), rgba(5, 5, 4, 0.95));
  box-shadow:
    inset 0 0 44px rgba(255, 220, 122, 0.04),
    0 32px 96px rgba(0, 0, 0, 0.54);
  overflow: hidden;
  isolation: isolate;
}

.gallery-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 220, 122, 0.2) 0 1px, transparent 3px),
    radial-gradient(circle at 78% 24%, rgba(255, 100, 40, 0.18) 0 1px, transparent 3px),
    radial-gradient(circle at 62% 82%, rgba(242, 234, 220, 0.16) 0 1px, transparent 3px);
  background-size: 160px 160px, 220px 220px, 190px 190px;
  opacity: 0.34;
  animation: galleryDust 9s ease-in-out infinite;
}

.gallery-stage {
  position: relative;
  z-index: 1;
  grid-area: stage;
  min-height: clamp(360px, 58vw, 610px);
  overflow: hidden;
  border: 1px solid rgba(255, 220, 122, 0.58);
  background: rgba(8, 6, 5, 0.94);
  box-shadow:
    inset 0 0 48px rgba(0, 0, 0, 0.54),
    0 0 34px rgba(255, 178, 38, 0.18),
    0 28px 86px rgba(0, 0, 0, 0.58);
}

.gallery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 42%, rgba(0, 0, 0, 0.72) 100%),
    radial-gradient(circle at 50% 8%, rgba(255, 220, 122, 0.12), transparent 34%);
}

.gallery-main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.08) contrast(1.03);
  transform: scale(1.01);
  transition:
    opacity 260ms ease,
    transform 460ms ease,
    filter 300ms ease;
}

.gallery-carousel.is-changing .gallery-main-image {
  opacity: 0;
  transform: scale(1.045);
  filter: brightness(0.56) saturate(0.92);
}

.gallery-caption {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 1.7rem);
  z-index: 2;
  max-width: 680px;
  padding: clamp(1rem, 2.4vw, 1.45rem);
  border-left: 2px solid rgba(255, 220, 122, 0.78);
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.88), rgba(5, 4, 3, 0.58) 70%, transparent);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.82);
  transition: opacity 220ms ease, transform 260ms ease;
}

.gallery-carousel.is-changing .gallery-caption {
  opacity: 0;
  transform: translateY(10px);
}

.gallery-caption h3 {
  margin: 0 0 0.35rem;
  color: #ffe7a3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.gallery-caption p {
  max-width: 560px;
  margin: 0 0 0.6rem;
  color: var(--soft-white);
}

.gallery-caption span {
  color: var(--gold-bright);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.gallery-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(44px, 5vw, 58px);
  height: clamp(52px, 6vw, 72px);
  border: 1px solid rgba(255, 220, 122, 0.46);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.2), transparent 52%),
    linear-gradient(180deg, rgba(41, 22, 15, 0.92), rgba(8, 6, 5, 0.94));
  color: #ffe7a3;
  cursor: pointer;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 178, 38, 0.45);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-prev {
  grid-area: prev;
}

.gallery-next {
  grid-area: next;
}

.gallery-arrow:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 220, 122, 0.9);
  box-shadow:
    0 0 24px rgba(255, 178, 38, 0.3),
    0 0 36px rgba(155, 34, 29, 0.2);
}

.gallery-thumbs {
  position: relative;
  z-index: 2;
  grid-area: thumbs;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding-top: 0.25rem;
}

.gallery-thumb {
  flex: 0 0 clamp(74px, 8vw, 112px);
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 122, 0.24);
  background: rgba(8, 6, 5, 0.92);
  cursor: pointer;
  opacity: 0.55;
  transform: scale(1);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.95);
  transition: filter 180ms ease, transform 220ms ease;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  transform: scale(1.06);
  border-color: rgba(255, 220, 122, 0.94);
  box-shadow:
    0 0 18px rgba(255, 178, 38, 0.36),
    0 0 30px rgba(155, 34, 29, 0.18);
}

.gallery-thumb:hover img,
.gallery-thumb.is-active img {
  filter: brightness(0.95) saturate(1.12);
  transform: scale(1.08);
}

@keyframes galleryDust {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.28;
  }

  50% {
    transform: translate3d(0, -10px, 0);
    opacity: 0.46;
  }
}

@media (max-width: 900px) {
  .gallery-carousel {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "stage stage"
      "prev next"
      "thumbs thumbs";
  }

  .gallery-prev {
    justify-self: end;
  }

  .gallery-next {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .gallery-carousel {
    width: 100%;
    padding: 0.75rem;
  }

  .gallery-stage {
    min-height: 430px;
  }

  .gallery-caption {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .gallery-thumbs {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.35rem 0.15rem 0.55rem;
    scroll-snap-type: x proximity;
  }

  .gallery-thumb {
    flex-basis: 86px;
    scroll-snap-align: center;
  }
}

/* Galería cinematográfica: abierta, amplia y sin caja envolvente. */
#galeria {
  padding-left: clamp(0.8rem, 2vw, 2rem);
  padding-right: clamp(0.8rem, 2vw, 2rem);
  overflow: hidden;
}

#galeria .section-heading {
  width: min(94vw, var(--max-width));
}

.gallery-carousel {
  display: block;
  width: min(96vw, 1540px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.gallery-carousel::before {
  inset: -4rem -2rem 7rem;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 220, 122, 0.12), transparent 34rem),
    radial-gradient(circle at 18% 78%, rgba(155, 34, 29, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 68%, rgba(255, 100, 40, 0.12), transparent 24rem);
  background-size: auto;
  opacity: 0.78;
}

.gallery-stage {
  width: min(95vw, 1480px);
  min-height: clamp(520px, 58vw, 780px);
  margin: 0 auto;
  border: 1px solid rgba(255, 220, 122, 0.34);
  background: rgba(4, 4, 4, 0.72);
  box-shadow:
    0 0 42px rgba(255, 178, 38, 0.16),
    0 0 110px rgba(155, 34, 29, 0.22),
    0 38px 120px rgba(0, 0, 0, 0.68);
}

.gallery-stage::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 40%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.34)),
    radial-gradient(circle at 50% 6%, rgba(255, 220, 122, 0.14), transparent 38%);
}

.gallery-main-image {
  filter: brightness(0.82) saturate(1.1) contrast(1.05);
}

.gallery-caption {
  left: clamp(1rem, 5vw, 4rem);
  right: auto;
  bottom: clamp(1rem, 4vw, 3rem);
  width: min(640px, calc(100% - 2rem));
  padding: clamp(1.1rem, 2.2vw, 1.7rem) clamp(1.2rem, 2.8vw, 2rem);
  border-left: 2px solid rgba(255, 220, 122, 0.86);
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.86), rgba(3, 3, 3, 0.58) 72%, transparent);
  box-shadow: none;
}

.gallery-caption h3 {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
}

.gallery-caption p {
  max-width: 600px;
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: clamp(44px, 4.5vw, 64px);
  height: clamp(58px, 6vw, 88px);
  border-color: rgba(255, 220, 122, 0.48);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 220, 122, 0.14), transparent 62%),
    rgba(5, 4, 3, 0.48);
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 22px rgba(255, 178, 38, 0.18),
    0 18px 44px rgba(0, 0, 0, 0.45);
  transform: translateY(-50%);
}

.gallery-prev {
  left: clamp(0.75rem, 3vw, 2.4rem);
}

.gallery-next {
  right: clamp(0.75rem, 3vw, 2.4rem);
}

.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(255, 220, 122, 0.96);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 220, 122, 0.25), transparent 62%),
    rgba(7, 5, 4, 0.68);
  box-shadow:
    0 0 28px rgba(255, 178, 38, 0.42),
    0 0 46px rgba(155, 34, 29, 0.26),
    0 20px 54px rgba(0, 0, 0, 0.52);
}

.gallery-thumbs {
  width: min(92vw, 1320px);
  margin: 1.05rem auto 0;
  padding: 0.2rem 0.15rem 0.7rem;
  gap: clamp(0.5rem, 1.2vw, 0.9rem);
}

.gallery-thumb {
  flex-basis: clamp(84px, 7vw, 124px);
  border-color: rgba(255, 220, 122, 0.2);
  background: rgba(4, 4, 4, 0.52);
}

.gallery-thumb.is-active {
  transform: scale(1.08) translateY(-2px);
}

@media (max-width: 900px) {
  .gallery-carousel {
    display: block;
    grid-template-columns: none;
    grid-template-areas: none;
    width: min(96vw, 100%);
  }

  .gallery-stage {
    width: 100%;
    min-height: clamp(420px, 68vw, 620px);
  }

  .gallery-prev {
    left: 0.7rem;
    justify-self: auto;
  }

  .gallery-next {
    right: 0.7rem;
    justify-self: auto;
  }
}

@media (max-width: 620px) {
  #galeria {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .gallery-carousel {
    padding: 0;
  }

  .gallery-stage {
    min-height: 460px;
  }

  .gallery-caption {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.85rem;
    width: auto;
    padding: 1rem;
  }

  .gallery-arrow {
    top: 50%;
    width: 42px;
    height: 58px;
  }

  .gallery-thumbs {
    width: 100%;
    margin-top: 0.8rem;
  }
}

/* Discord: latido y led recorriendo el marco. */
.discord-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 220, 122, 0.38);
  animation: discordHeartbeat 5.4s ease-in-out infinite;
}

.discord-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  padding: 2px;
  background:
    conic-gradient(
      from var(--discord-led-angle, 0deg),
      transparent 0deg 42deg,
      rgba(255, 225, 128, 0.98) 54deg,
      rgba(255, 70, 33, 0.92) 72deg,
      transparent 96deg 360deg
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: discordLedSpin 4.8s linear infinite;
}

.discord-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 122, 0.18), transparent 20rem),
    radial-gradient(circle at 15% 80%, rgba(155, 34, 29, 0.2), transparent 18rem);
  opacity: 0.65;
  pointer-events: none;
}

.discord-panel > * {
  position: relative;
  z-index: 1;
}

@property --discord-led-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes discordLedSpin {
  to {
    --discord-led-angle: 360deg;
  }
}

@keyframes discordHeartbeat {
  0%,
  100% {
    box-shadow:
      0 0 22px rgba(255, 178, 38, 0.18),
      0 34px 100px rgba(0, 0, 0, 0.5);
    transform: scale(1);
  }

  45% {
    box-shadow:
      0 0 34px rgba(255, 178, 38, 0.34),
      0 0 58px rgba(155, 34, 29, 0.32),
      0 34px 100px rgba(0, 0, 0, 0.5);
    transform: scale(1.012);
  }

  58% {
    transform: scale(1.004);
  }
}

@media (prefers-reduced-motion: reduce) {
  #liderazgo .leader-card,
  #liderazgo .leader-bg,
  #liderazgo .leader-glow,
  .gallery-carousel::before,
  .gallery-main-image,
  .gallery-caption,
  .gallery-arrow,
  .gallery-thumb,
  .gallery-thumb img,
  .gallery-photo img,
  .gallery-lightbox,
  .discord-panel,
  .discord-panel::before {
    animation: none;
    transition: none;
  }
}
