/* ------------------------------------------------------------------
   BRAZIL FORCE — Guilda PT-BR de Star Wars: The Old Republic
   Identidade visual original inspirada em sci-fi cinemático.
   Paleta: deep space blue, gold imperial, sith crimson, cyan neon.
------------------------------------------------------------------ */
:root {
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-scale: 1;
  --accent: #f5c452;
  --bg-0: #05070d;
  --bg-1: #0a0f1c;
  --bg-2: #111a2e;
  --bg-3: #182542;
  --line: rgba(180, 200, 255, 0.12);
  --line-bright: rgba(255, 195, 87, 0.45);
  --text: #e6ecf5;
  --text-dim: #94a0b8;
  --text-mute: #5d6a83;
  --gold: #f5c452;
  --gold-deep: #c89329;
  --cyan: #4dd6ff;
  --sith: #e23a3a;
  --rep: #4dabff;
  --green: #6cff8a;
  --shadow-glow: 0 0 32px rgba(77, 214, 255, 0.18);
  --shadow-gold: 0 0 28px rgba(245, 196, 82, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body), "Segoe UI", sans-serif;
  font-size: calc(16px * var(--font-scale));
  color: var(--text);
  background: var(--bg-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

body[data-surface="void"] { background: #000; }
body[data-animations="off"] *, body[data-animations="off"] *::before, body[data-animations="off"] *::after { animation: none !important; transition: none !important; }
body[data-star-pulse="off"] .eyebrow .dot, body[data-star-pulse="off"] .hud-title::before, body[data-star-pulse="off"] .status-mission .status-dot { animation: none !important; }

.brand-text, h1, h2, h3, .section-title, .event-name, .ach-num, .stat-num, .member-id .name, .info-card .value, .footer-col h4, .cta-inner h2, .hero h1, .discord-info h3 { font-family: var(--font-heading); }
.section-tag, .ach-icon, .rule-num, .event-day, .stat-num { color: var(--accent) !important; }
.btn-primary { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #000)) !important; }

/* Persistent star field */
.stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1px 1px at 20% 30%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 70% 80%, #cfe5ff 50%, transparent 100%),
    radial-gradient(2px 2px at 40% 70%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 85% 15%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 10% 90%, #ffe6a8 50%, transparent 100%),
    radial-gradient(1px 1px at 60% 40%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 95% 60%, #c4d8ff 50%, transparent 100%),
    radial-gradient(1px 1px at 5% 50%, #fff 50%, transparent 100%),
    radial-gradient(circle at 80% 20%, rgba(77, 171, 255, 0.08), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(226, 58, 58, 0.06), transparent 40%),
    var(--bg-0);
  background-size: 600px 600px, 600px 600px, 800px 800px, 700px 700px, 900px 900px, 500px 500px, 800px 800px, 600px 600px, 100% 100%, 100% 100%;
}
.stars::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(77, 171, 255, 0.08), transparent 60%);
}

/* ------------------------------------------------------------------
   NAVBAR
------------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(5,7,13,0.92) 0%, rgba(5,7,13,0.6) 80%, transparent 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease;
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  position: relative;
  display: grid;
  place-items: center;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.4px;
  line-height: 1;
  color: #f3f6fc;
}
.brand-text small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-weight: 400;
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--accent);
  margin-top: 5px;
  opacity: 0.85;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-body), sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 10px 14px;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
  border-radius: 2px;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px !important;
  background: linear-gradient(180deg, #5865F2, #4752c4);
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 16px rgba(88,101,242,.35);
}
.nav-cta:hover { color: #fff !important; background: linear-gradient(180deg, #6b78ff, #5865F2); }
.nav-cta::after { display: none !important; }

/* ----- Auth dropdown ----- */
.nav-auth { position: relative; display: flex; align-items: center; gap: 10px; }
.nav-login {
  font-family: var(--font-body), sans-serif;
  font-weight: 600; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--text-dim) !important; padding: 10px 14px;
  border: 1px solid var(--line); transition: border-color .2s, color .2s;
}
.nav-login:hover { color: var(--gold) !important; border-color: var(--gold); }
.nav-login::after { display: none !important; }

.user-trigger {
  display: flex; align-items: center; gap: 10px;
  background: rgba(15,25,45,.6); border: 1px solid var(--line);
  padding: 6px 14px 6px 6px; cursor: pointer; transition: border-color .2s, background .2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}
.user-trigger:hover { border-color: var(--gold); background: rgba(245,196,82,.06); }
.user-avatar {
  width: 32px; height: 32px; flex: none; overflow: hidden; border-radius: 2px;
  background: var(--bg-2); display: grid; place-items: center;
  border: 1px solid var(--line);
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-avatar.faction-empire { border-color: rgba(226,58,58,.5); }
.user-avatar.faction-republic { border-color: rgba(77,171,255,.5); }
.user-trigger .nm {
  font-family: var(--font-heading); font-weight: 600; font-size: 12px;
  letter-spacing: 1.5px; color: var(--text);
}
.user-trigger .caret {
  width: 10px; height: 10px; color: var(--text-mute);
  transition: transform .2s;
}
.user-trigger.open .caret { transform: rotate(180deg); color: var(--gold); }

.dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 260px; background: linear-gradient(180deg, rgba(20,30,50,.95), rgba(10,15,28,.97));
  backdrop-filter: blur(14px); border: 1px solid var(--line);
  padding: 8px; opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  z-index: 200;
}
.dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown::before, .dropdown::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border-color: var(--gold); border-style: solid;
}
.dropdown::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.dropdown::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.dd-head {
  padding: 14px 14px 12px; display: flex; gap: 12px; align-items: center;
  border-bottom: 1px dashed var(--line); margin-bottom: 6px;
}
.dd-head .av {
  width: 44px; height: 44px; overflow: hidden; flex: none;
  border: 1px solid var(--line); border-radius: 2px;
}
.dd-head .av img { width: 100%; height: 100%; object-fit: cover; }
.dd-head .nm { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--text); letter-spacing: .5px; }
.dd-head .ch { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--gold); letter-spacing: 1px; margin-top: 4px; text-transform: uppercase; }
.dd-head .em { font-size: 11px; color: var(--text-mute); margin-top: 2px; }

.dd-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  color: var(--text-dim) !important; cursor: pointer;
  font-family: var(--font-body), sans-serif; font-weight: 500; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase; transition: background .15s, color .15s;
  border-radius: 0;
}
.dd-item:hover { background: rgba(245,196,82,.08); color: var(--gold) !important; }
.dd-item::after { display: none !important; }
.dd-item svg { width: 14px; height: 14px; flex: none; opacity: .8; }
.dd-divider { height: 1px; background: var(--line); margin: 6px 4px; }
.dd-item.danger:hover { background: rgba(226,58,58,.1); color: var(--sith) !important; }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

/* ------------------------------------------------------------------
   HERO
------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero .container {
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #05070d;
  z-index: -1;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,7,13,0.4) 0%, rgba(5,7,13,0.7) 60%, var(--bg-0) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(77, 171, 255, 0.15), transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 171, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 171, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  z-index: -1;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  position: relative;
}

.hero-content {
  max-width: 820px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  padding: 6px 14px 6px 0;
  position: relative;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
  background:
    linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255,255,255,0.75) 50%, transparent 62%, transparent 100%) 250% 0 / 300% 100% no-repeat,
    linear-gradient(180deg, #ffd986 0%, #f5c452 30%, #3fdd7a 70%, #0e7c46 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(63, 221, 122, 0.22)) drop-shadow(0 0 8px rgba(245, 196, 82, 0.18));
  animation: heroIn 1s ease 0.1s both, heroShimmer 4s ease-in-out 1s infinite;
}
.hero h1 .gold {
  background:
    linear-gradient(105deg, transparent 0%, transparent 38%, rgba(255,255,255,0.9) 50%, transparent 62%, transparent 100%) 250% 0 / 300% 100% no-repeat,
    linear-gradient(180deg, #ffffff 0%, #c5e9ff 55%, #4dd6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(77, 214, 255, 0.30)) drop-shadow(0 0 6px rgba(200, 230, 255, 0.18));
  animation: heroShimmer 4s ease-in-out 2.4s infinite;
}
.hero-sub {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 1px;
  max-width: 580px;
  margin: 0 0 16px;
  animation: heroIn 1s ease 0.3s both;
}
.hero-desc {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 36px;
  animation: heroIn 1s ease 0.5s both;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: heroIn 1s ease 0.7s both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroShimmer {
  0% { background-position: 250% 0, 0 0; }
  50%, 100% { background-position: -150% 0, 0 0; }
}

/* ----- SWTOR HOLO-FRAME BUTTONS ----- */
.btn {
  --btn-cut: 14px;
  --btn-edge: rgba(255,255,255,.18);
  --btn-glow: rgba(245,196,82,.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px 14px 34px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text);
  position: relative;
  isolation: isolate;
  transition: transform 0.2s, color 0.2s, filter 0.2s, box-shadow 0.2s;
  clip-path: polygon(
    0 var(--btn-cut),
    var(--btn-cut) 0,
    calc(100% - var(--btn-cut)) 0,
    100% var(--btn-cut),
    100% calc(100% - var(--btn-cut)),
    calc(100% - var(--btn-cut)) 100%,
    var(--btn-cut) 100%,
    0 calc(100% - var(--btn-cut))
  );
}
/* inner stroked frame (drawn via clip-path as a thin outline) */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--btn-edge);
  z-index: -1;
  clip-path: polygon(
    0 var(--btn-cut), var(--btn-cut) 0,
    calc(100% - var(--btn-cut)) 0, 100% var(--btn-cut),
    100% calc(100% - var(--btn-cut)), calc(100% - var(--btn-cut)) 100%,
    var(--btn-cut) 100%, 0 calc(100% - var(--btn-cut)),
    0 var(--btn-cut),
    1.5px calc(var(--btn-cut) + 0.5px),
    1.5px calc(100% - var(--btn-cut) - 0.5px),
    calc(var(--btn-cut) + 0.5px) calc(100% - 1.5px),
    calc(100% - var(--btn-cut) - 0.5px) calc(100% - 1.5px),
    calc(100% - 1.5px) calc(100% - var(--btn-cut) - 0.5px),
    calc(100% - 1.5px) calc(var(--btn-cut) + 0.5px),
    calc(100% - var(--btn-cut) - 0.5px) 1.5px,
    calc(var(--btn-cut) + 0.5px) 1.5px,
    1.5px calc(var(--btn-cut) + 0.5px)
  );
}
/* holo sweep on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  z-index: 0;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 0 26px var(--btn-glow); }
.btn:hover::after { transform: translateX(110%); }
.btn:active { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }

.btn-primary {
  background:
    linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #1a1408;
  --btn-edge: rgba(255, 230, 160, .55);
  --btn-glow: rgba(245,196,82,.45);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ffe49a 0%, var(--gold) 100%);
}
.btn-discord {
  background: linear-gradient(180deg, #5865F2, #4752c4);
  color: #fff;
  --btn-edge: rgba(255,255,255,.35);
  --btn-glow: rgba(88, 101, 242, 0.5);
}
.btn-ghost {
  background: rgba(77, 171, 255, 0.06);
  color: var(--cyan);
  --btn-edge: rgba(77, 214, 255, .55);
  --btn-glow: rgba(77, 214, 255, .35);
}
.btn-ghost:hover {
  background: rgba(77, 214, 255, 0.12);
  color: #fff;
}

/* Hero side panel — HUD principal + Discord como mini modal à esquerda */
.hero-aside {
  position: relative;
  animation: heroIn 1s ease 1s both;
}
.hero-hud {
  width: 100%;
  background: linear-gradient(180deg, rgba(15, 25, 45, 0.85), rgba(10, 15, 28, 0.85));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(77, 214, 255, 0.2);
  padding: 22px 22px 20px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  position: relative;
  z-index: 2;
}

/* Trigger dentro do HUD */
.hud-discord-trigger {
  margin-top: 16px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  background: linear-gradient(180deg, rgba(88,101,242,0.18), rgba(88,101,242,0.06));
  border: 1px solid rgba(88,101,242,0.40);
  color: #c5cbff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hud-discord-trigger img { display: block; object-fit: contain; }
.hud-discord-trigger .hud-trigger-caret { transition: transform .35s cubic-bezier(.2,.85,.25,1); }
.hud-discord-trigger:hover {
  background: linear-gradient(180deg, rgba(88,101,242,0.32), rgba(88,101,242,0.12));
  border-color: rgba(88,101,242,0.7);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(88,101,242,0.28);
}
.hero-aside[data-discord="open"] .hud-discord-trigger {
  background: linear-gradient(180deg, rgba(88,101,242,0.32), rgba(88,101,242,0.12));
  border-color: rgba(88,101,242,0.7);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(88,101,242,0.28);
}
.hero-aside[data-discord="open"] .hud-discord-trigger .hud-trigger-caret {
  transform: rotate(180deg);
}

/* Mini modal de Discord à esquerda do HUD */
.hero-discord {
  position: absolute;
  top: 0;
  left: calc(100% + 18px);
  width: 100%;
  background: linear-gradient(180deg, rgba(20, 22, 50, 0.92), rgba(10, 12, 28, 0.92));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(88, 101, 242, 0.40);
  padding: 14px 14px 12px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transform: translateX(-36px) scale(0.94);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    transform 0.5s cubic-bezier(.2,.85,.25,1),
    opacity 0.32s ease,
    visibility 0s linear 0.32s;
  z-index: 3;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.55));
}
.hero-aside[data-discord="open"] .hero-discord {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    transform 0.5s cubic-bezier(.2,.85,.25,1),
    opacity 0.32s ease,
    visibility 0s linear 0s;
}
.hero-discord-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-discord .hud-title {
  margin: 0;
  color: #99a3ff;
  flex: 1;
  min-width: 0;
}
.hero-discord-close {
  margin-left: auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--text-dim);
  cursor: pointer;
  padding: 0;
  border-radius: 2px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-discord-close:hover {
  background: rgba(226, 58, 58, 0.12);
  border-color: rgba(226, 58, 58, 0.45);
  color: #ff8a8a;
  transform: rotate(90deg);
}
.discord-pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green), 0 0 18px rgba(63, 221, 122, 0.45);
  animation: discordPulse 1.6s ease-in-out infinite;
}
@keyframes discordPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.hero-discord iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 3px;
}
.hud-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hud-title::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.5s infinite;
}
.hud-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}
.hud-row:last-child { border: none; }
.hud-row span:first-child { color: var(--text-mute); letter-spacing: 1px; }
.hud-row span:last-child { color: var(--text); font-weight: 500; }
.hud-row .accent { color: var(--gold); }

/* ------------------------------------------------------------------
   SECTION FRAMEWORK
------------------------------------------------------------------ */
section {
  position: relative;
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
section > .container {
  width: 100%;
}
.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}
.section-tag::before { content: "// "; opacity: 0.5; }
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  margin: 0 0 20px;
  letter-spacing: -1px;
  text-wrap: balance;
}
.section-desc {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 600px;
  text-wrap: pretty;
  line-height: 1.6;
}
.section-head.center .section-desc { margin: 0 auto; }

/* corners */
.panel {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 30, 50, 0.55), rgba(10, 15, 28, 0.7));
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.panel::before, .panel::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--gold);
  border-style: solid;
  transition: border-color 0.3s;
}
.panel::before {
  top: -1px; left: -1px;
  border-width: 1px 0 0 1px;
}
.panel::after {
  bottom: -1px; right: -1px;
  border-width: 0 1px 1px 0;
}
.panel:hover {
  border-color: rgba(245, 196, 82, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(245, 196, 82, 0.15);
}

/* ------------------------------------------------------------------
   SOBRE
------------------------------------------------------------------ */
#sobre {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 28, 0.5), transparent);
}
#sobre .section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #05070d;
  z-index: -2;
  pointer-events: none;
}
#sobre .section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
#sobre::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, rgba(5,7,13,0.55) 14%, rgba(5,7,13,0.55) 86%, var(--bg-0) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(5,7,13,0.6) 100%);
  z-index: -1;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.about-text p {
  font-size: 17px;
  color: var(--text-dim);
  margin: 0 0 18px;
}
.about-text strong { color: var(--text); }

.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-self: center;
}
.info-card {
  padding: 20px;
}
.info-card .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.info-card .value {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}
.info-card .value.gold { color: var(--gold); }
.info-card .value.cyan { color: var(--cyan); }
.info-card .value.dual {
  color: var(--text);
}
.info-card .value.dual .rep { color: var(--rep); }
.info-card .value.dual .sith { color: var(--sith); }
.info-card.is-server {
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(10, 15, 28, 0.88) 0%, rgba(10, 15, 28, 0.55) 55%, rgba(10, 15, 28, 0.3) 100%),
    url('../assets/Star_Forge_construction_HOTOR.webp') center/cover no-repeat;
}
.info-card.is-server .label,
.info-card.is-server .value {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.info-card.is-faction {
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(10, 15, 28, 0.78) 0%, rgba(10, 15, 28, 0.55) 50%, rgba(10, 15, 28, 0.78) 100%),
    url('../assets/bg-galaxy.jpg') center/cover no-repeat;
}
.info-card.is-faction .label {
  padding: 0 20px;
  margin-bottom: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}
.faction-split {
  display: flex;
  flex: 1;
}
.faction-half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 14px;
  position: relative;
}
.faction-half + .faction-half {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.faction-half img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}
.faction-half span {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.faction-half.republic { color: var(--rep); }
.faction-half.empire { color: var(--sith); }

/* ----- title accent ----- */
.section-title .gold {
  background: linear-gradient(180deg, #ffe49a 0%, #f5c452 50%, #b8861f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(245, 196, 82, .25));
}

/* ----- "5+ anos juntos" badge ----- */
.years-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 14px;
  margin: 4px 0 22px;
  background:
    linear-gradient(135deg, rgba(245, 196, 82, .12) 0%, rgba(245, 196, 82, .03) 60%, transparent 100%),
    rgba(5, 7, 13, .55);
  border: 1px solid rgba(245, 196, 82, .35);
  clip-path: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px));
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.years-badge::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 35%, rgba(245, 196, 82, .14) 50%, transparent 65%);
  transform: translateX(-110%);
  animation: yearsShimmer 3.4s ease-in-out 1.4s infinite;
}
@keyframes yearsShimmer {
  0%, 60% { transform: translateX(-110%); }
  72%, 100% { transform: translateX(110%); }
}
.years-num {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -2px;
  background: linear-gradient(180deg, #ffe49a 0%, #f5c452 55%, #c89329 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 12px rgba(245, 196, 82, .35));
  position: relative;
}
.years-num sup {
  font-size: 28px;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 2px;
}
.years-label {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  line-height: 1.2;
  text-transform: uppercase;
}
.years-label small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 1.6px;
  color: var(--text-mute);
  margin-top: 4px;
}

/* ----- guild pillars ----- */
.guild-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.pillar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px 18px 20px;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.pillar.reveal { transition: opacity .8s ease, transform .8s ease; transition-delay: calc(var(--i, 0) * 90ms); }
.pillar.reveal.in { transition-delay: calc(var(--i, 0) * 90ms); }

.pillar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: .35;
  transition: opacity .35s;
}
.pillar::after {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(245, 196, 82, .12) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 82, .55);
  box-shadow: 0 18px 38px rgba(0,0,0,.55), 0 0 0 1px rgba(245, 196, 82, .2), 0 0 28px rgba(245, 196, 82, .12);
}
.pillar:hover::before { opacity: 1; }
.pillar:hover::after { transform: translateX(110%); }

.pillar-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid rgba(245, 196, 82, .35);
  background: rgba(245, 196, 82, .06);
  clip-path: polygon(0 6px, 6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px));
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar:hover .pillar-icon {
  background: rgba(245, 196, 82, .14);
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(245, 196, 82, .35), inset 0 0 8px rgba(245, 196, 82, .08);
}
.pillar-icon-faction {
  flex-direction: row;
  gap: 4px;
  padding: 0 4px;
}
.pillar-icon-faction img {
  width: 18px; height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(245, 196, 82, .25));
}
.pillar-icon-flag {
  flex-direction: row;
  gap: 0;
  padding: 0;
  border-color: rgba(255, 223, 0, .55);
  background: rgba(0, 156, 59, .15);
}
.pillar-icon-flag .flag-stripe {
  flex: 1; align-self: stretch;
}
.pillar-icon-flag .flag-green { background: var(--br-green, #009c3b); }
.pillar-icon-flag .flag-yellow { background: var(--br-yellow, #ffdf00); flex: 1.4; }
.pillar-icon-flag .flag-blue { background: #002776; }
.pillar:hover .pillar-icon-flag {
  border-color: rgba(255, 223, 0, .9);
  box-shadow: 0 0 14px rgba(255, 223, 0, .35);
}

.pillar-num {
  position: absolute;
  top: 14px; right: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.8px;
  color: var(--text-mute);
  opacity: .55;
  transition: color .35s, opacity .35s;
}
.pillar:hover .pillar-num { color: var(--gold); opacity: 1; }

.pillar-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .4px;
  margin: 4px 0 2px;
  color: var(--text);
}
.pillar-text {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}
.pillar-text em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .guild-pillars { grid-template-columns: repeat(3, 1fr); }
  .guild-pillars > .pillar:nth-child(4),
  .guild-pillars > .pillar:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 720px) {
  .guild-pillars { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .pillar { padding: 18px 16px 16px; }
  .years-badge { gap: 12px; padding: 8px 14px; }
  .years-num { font-size: 42px; }
  .years-num sup { font-size: 22px; }
  .years-label { font-size: 12px; letter-spacing: 2.4px; }
}
@media (max-width: 460px) {
  .guild-pillars { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   MEMBROS
------------------------------------------------------------------ */
#membros {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
#membros .section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #05070d;
  z-index: -2;
  pointer-events: none;
}
#membros .section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
#membros::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, rgba(5,7,13,0.35) 14%, rgba(5,7,13,0.35) 86%, var(--bg-0) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(5,7,13,0.55) 100%);
  z-index: -1;
  pointer-events: none;
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.member {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.member-top {
  display: flex;
  gap: 16px;
  align-items: center;
}
.member-avatar {
  width: 64px;
  height: 64px;
  flex: none;
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  border: 1px solid var(--line);
}
.member-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.member-avatar.faction-empire { box-shadow: inset 0 0 20px rgba(226, 58, 58, 0.3); border-color: rgba(226, 58, 58, 0.4); }
.member-avatar.faction-republic { box-shadow: inset 0 0 20px rgba(77, 171, 255, 0.3); border-color: rgba(77, 171, 255, 0.4); }

.member-id .name {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.member-id .class {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 4px;
  letter-spacing: 1px;
}

.member-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.badge.lider { color: var(--gold); border-color: rgba(245, 196, 82, 0.5); background: rgba(245, 196, 82, 0.08); }
.badge.officer { color: #c490ff; border-color: rgba(196, 144, 255, 0.4); background: rgba(196, 144, 255, 0.08); }
.badge.lieutenant { color: #a8b8d0; border-color: rgba(168, 184, 208, 0.4); background: rgba(168, 184, 208, 0.06); }
.badge.raidleader { color: var(--cyan); border-color: rgba(77, 214, 255, 0.4); background: rgba(77, 214, 255, 0.08); }
.badge.veterano { color: #6cff8a; border-color: rgba(108, 255, 138, 0.35); background: rgba(108, 255, 138, 0.06); }
.badge.recruta { color: var(--text-dim); }
.badge.empire { color: var(--sith); border-color: rgba(226, 58, 58, 0.4); background: rgba(226, 58, 58, 0.08); }
.badge.republic { color: var(--rep); border-color: rgba(77, 171, 255, 0.4); background: rgba(77, 171, 255, 0.08); }

.member-note {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  font-style: italic;
  padding: 8px 0 2px;
  opacity: 0.75;
  line-height: 1.4;
}
.member-note::before { content: "// "; color: var(--gold); opacity: 0.7; font-style: normal; }

.member-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-mute);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  text-transform: uppercase;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: none;
}
.status-online .status-dot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-online { color: var(--green); }
.status-offline .status-dot { background: var(--text-mute); }
.status-mission .status-dot { background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pulse 1.8s infinite; }
.status-mission { color: var(--gold); }

/* ------------------------------------------------------------------
   DISCORD
------------------------------------------------------------------ */
#discord {
  background: linear-gradient(180deg, transparent, rgba(88, 101, 242, 0.05), transparent);
}
.discord-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.discord-info h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  margin: 0 0 16px;
}
.discord-info p {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0 0 24px;
}
.discord-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.stat-block { padding: 18px; }
.stat-num {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-top: 8px;
}
.widget-frame {
  padding: 16px;
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.1), rgba(15, 20, 38, 0.9));
  border: 1px solid rgba(88, 101, 242, 0.3);
}
.widget-frame iframe {
  width: 100%;
  height: 500px;
  border: none;
  background: var(--bg-1);
}
.widget-note {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--text-mute);
  margin-top: 12px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}
.widget-note code {
  color: var(--gold);
  background: rgba(245, 196, 82, 0.08);
  padding: 2px 6px;
}

/* ------------------------------------------------------------------
   REGRAS
------------------------------------------------------------------ */
/* Legacy grid (kept for safety, no longer rendered) */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  counter-reset: rule;
}
.rule {
  padding: 24px;
  display: flex;
  gap: 18px;
  counter-increment: rule;
}
.rule-num {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
  flex: none;
  min-width: 56px;
}
.rule-num::before {
  content: "0" counter(rule);
}
.rule-text {
  font-size: 15px;
  color: var(--text-dim);
  padding-top: 4px;
}
.rule-text .rule-title {
  display: block;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

/* ============================================================
   REGRAS · BACKGROUND (Dromund Kaas — homeworld Sith)
============================================================ */
#regras .section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-0);
  z-index: -2;
  pointer-events: none;
}
#regras .section-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.30;
  filter: saturate(1.05) contrast(1.05);
  animation: dromundDrift 38s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes dromundDrift {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}
#regras::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, rgba(5, 7, 13, 0.32) 14%, rgba(5, 7, 13, 0.32) 86%, var(--bg-0) 100%),
    radial-gradient(ellipse 75% 65% at 50% 50%, transparent 35%, rgba(5, 7, 13, 0.45) 100%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(226, 58, 58, 0.1), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #regras .section-image { animation: none; transform: scale(1.04); }
}

/* ============================================================
   REGRAS · CARROSSEL 3D (SWTOR holo-slate)
============================================================ */
.rules-carousel {
  position: relative;
  margin-top: 36px;
}
.rules-carousel.reveal { transition: opacity .9s ease, transform .9s ease; }

.rules-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 22px;
}
.rules-counter {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--text-dim);
  min-width: 70px;
  text-align: center;
}
.rules-counter b {
  color: var(--gold);
  font-weight: 700;
}
.rules-ctrl {
  --rules-ctrl-cut: 9px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(15, 25, 45, .6);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  cursor: pointer;
  border: none;
  position: relative;
  isolation: isolate;
  transition: color .2s, background .2s, box-shadow .25s, transform .15s;
  clip-path: polygon(
    0 var(--rules-ctrl-cut), var(--rules-ctrl-cut) 0,
    calc(100% - var(--rules-ctrl-cut)) 0, 100% var(--rules-ctrl-cut),
    100% calc(100% - var(--rules-ctrl-cut)), calc(100% - var(--rules-ctrl-cut)) 100%,
    var(--rules-ctrl-cut) 100%, 0 calc(100% - var(--rules-ctrl-cut))
  );
}
.rules-ctrl::before {
  content: "";
  position: absolute;
  inset: 4px;
  box-shadow: inset 0 0 0 1px rgba(245, 196, 82, 0);
  transition: box-shadow .25s;
  clip-path: polygon(
    0 6px, 6px 0, calc(100% - 6px) 0, 100% 6px,
    100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px)
  );
  z-index: -1;
  pointer-events: none;
}
.rules-ctrl:hover {
  color: var(--gold);
  background: rgba(245, 196, 82, .08);
  box-shadow: inset 0 0 0 1px var(--gold), 0 0 18px rgba(245, 196, 82, .25);
}
.rules-ctrl:hover::before { box-shadow: inset 0 0 0 1px rgba(245, 196, 82, .4); }
.rules-ctrl:active { transform: scale(.94); }
.rules-ctrl:focus-visible {
  outline: none;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 3px rgba(245, 196, 82, .25);
}
.rules-ctrl svg { width: 16px; height: 16px; }
.rules-ctrl-play { margin-left: 4px; }

.rules-stage {
  position: relative;
  height: 360px;
  perspective: 1800px;
  perspective-origin: 50% 50%;
  overflow: hidden;
  margin: 0 -32px;
  padding: 0 32px;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  outline: none;
}
.rules-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.rules-slide {
  --slide-accent: var(--gold);
  --slide-accent-soft: rgba(245, 196, 82, .18);
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(620px, 78vw);
  height: 320px;
  margin-left: calc(min(620px, 78vw) / -2);
  margin-top: -160px;
  padding: 36px 40px 40px;
  background: linear-gradient(180deg, rgba(17, 26, 46, .92), rgba(10, 15, 28, .96));
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  transition:
    transform .8s cubic-bezier(.22, .8, .28, 1),
    opacity .55s ease,
    filter .55s ease,
    border-color .4s ease,
    box-shadow .4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.rules-slide[data-rule-color="sith"] {
  --slide-accent: var(--sith);
  --slide-accent-soft: rgba(226, 58, 58, .18);
}
.rules-slide[data-rule-color="cyan"] {
  --slide-accent: var(--cyan);
  --slide-accent-soft: rgba(77, 214, 255, .18);
}
.rules-slide[data-rule-color="gold"] {
  --slide-accent: var(--gold);
  --slide-accent-soft: rgba(245, 196, 82, .18);
}

/* Corner brackets */
.rules-slide::before,
.rules-slide::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--slide-accent);
  border-style: solid;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease .1s;
}
.rules-slide::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.rules-slide::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.rules-slide.is-active::before,
.rules-slide.is-active::after { opacity: 1; }

/* Active visual treatment */
.rules-slide.is-active {
  border-color: color-mix(in srgb, var(--slide-accent) 55%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--slide-accent) 35%, transparent),
    0 22px 48px rgba(0, 0, 0, .55),
    0 0 60px var(--slide-accent-soft);
}
.rules-slide.is-active .rules-slide-glow { opacity: 1; }
.rules-slide.is-active .rules-slide-num { opacity: .22; transform: translate3d(0, 0, 0); }
.rules-slide.is-active .rules-slide-tag { color: var(--slide-accent); }
.rules-slide.is-active .rules-slide-tag::after {
  width: 60px;
  background: var(--slide-accent);
}

/* Big ghost numeral */
.rules-slide-num {
  position: absolute;
  top: -10px;
  right: 14px;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 180px;
  line-height: 1;
  letter-spacing: -6px;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--slide-accent) 70%, transparent);
  opacity: .08;
  pointer-events: none;
  user-select: none;
  transform: translate3d(20px, 8px, 0);
  transition: opacity .55s ease, transform .7s cubic-bezier(.22, .8, .28, 1);
  z-index: 1;
}

/* Top tag (// ARTIGO …) */
.rules-slide-tag {
  position: absolute;
  top: 28px;
  left: 40px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-mute);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  transition: color .4s ease;
}
.rules-slide-tag::after {
  content: "";
  width: 0;
  height: 1px;
  background: var(--text-mute);
  transition: width .55s ease, background .4s ease;
}

/* Title + description */
.rules-slide-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.3px;
  color: var(--text);
  margin: 0 0 14px;
  text-wrap: balance;
  position: relative;
  z-index: 3;
}
.rules-slide-desc {
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
  max-width: 540px;
  text-wrap: pretty;
  position: relative;
  z-index: 3;
}

/* Scanline + glow effects */
.rules-slide-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--slide-accent) 12%, transparent) 50%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
  z-index: 2;
}
.rules-slide.is-active .rules-slide-scan {
  opacity: 1;
  animation: rulesScan 4.8s linear infinite;
}
@keyframes rulesScan {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.rules-slide-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
  background:
    radial-gradient(ellipse 60% 60% at 100% 0%, var(--slide-accent-soft), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, color-mix(in srgb, var(--slide-accent) 8%, transparent), transparent 70%);
  z-index: 1;
}

/* Dots / thumbs */
.rules-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}
.rules-thumb {
  --thumb-cut: 4px;
  width: 44px;
  height: 22px;
  background: rgba(15, 25, 45, .55);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  border: none;
  padding: 0;
  position: relative;
  transition: box-shadow .25s, background .25s, transform .2s;
  clip-path: polygon(
    0 var(--thumb-cut), var(--thumb-cut) 0,
    calc(100% - var(--thumb-cut)) 0, 100% var(--thumb-cut),
    100% calc(100% - var(--thumb-cut)), calc(100% - var(--thumb-cut)) 100%,
    var(--thumb-cut) 100%, 0 calc(100% - var(--thumb-cut))
  );
}
.rules-thumb::before {
  content: attr(data-rule-num);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-mute);
  transition: color .25s;
}
.rules-thumb:hover {
  background: rgba(245, 196, 82, .08);
  box-shadow: inset 0 0 0 1px rgba(245, 196, 82, .45);
  transform: translateY(-1px);
}
.rules-thumb:hover::before { color: var(--gold); }
.rules-thumb.is-active {
  background: rgba(245, 196, 82, .14);
  box-shadow: inset 0 0 0 1px var(--gold), 0 0 14px rgba(245, 196, 82, .35);
}
.rules-thumb.is-active::before { color: var(--gold); }

/* Progress bar */
.rules-progress {
  position: relative;
  width: 100%;
  height: 2px;
  background: var(--line);
  margin-top: 22px;
  overflow: hidden;
}
.rules-progress::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--rules-pct, 0%);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  box-shadow: 0 0 12px rgba(245, 196, 82, .55);
  transition: width .15s linear;
}

/* Keyboard hint */
.rules-kbd-hint {
  margin-top: 14px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--text-mute);
  text-transform: uppercase;
}
.rules-kbd-hint .kbd {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 3px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  background: rgba(15, 25, 45, .5);
}

@media (max-width: 900px) {
  .rules-stage { height: 340px; margin: 0 -20px; padding: 0 20px; }
  .rules-slide { height: 300px; padding: 30px 28px 32px; }
  .rules-slide-tag { top: 22px; left: 28px; }
  .rules-slide-num { font-size: 140px; }
}
@media (max-width: 560px) {
  .rules-stage { height: 320px; }
  .rules-slide { height: 280px; padding: 26px 22px 28px; }
  .rules-slide-num { font-size: 110px; right: 8px; top: -6px; }
  .rules-slide-tag { top: 18px; left: 22px; font-size: 10px; }
  .rules-thumb { width: 36px; height: 20px; }
  .rules-kbd-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rules-slide,
  .rules-slide-scan,
  .rules-slide-glow,
  .rules-slide-num,
  .rules-progress::after { transition: none !important; animation: none !important; }
}

.section-head-sub {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(245, 196, 82, 0.12);
}
.section-head-sub .section-title {
  font-size: clamp(28px, 3.4vw, 40px);
}

/* Penalidades — strip horizontal compacto */
.penalties-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: center;
  gap: 28px;
}
.penalties-strip .penalties-head {
  margin-top: 0;
}
.penalties-strip .penalties-head .section-title {
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 6px;
}
.penalties-strip .penalties-head .section-desc {
  font-size: 13px;
  margin: 0;
  max-width: 320px;
}

.penalties-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}
.penalty {
  flex: 1 1 0;
  min-width: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  --tier-color: var(--gold);
  --tier-soft: rgba(245, 196, 82, .14);
  transition: border-color .3s, box-shadow .3s, transform .25s;
}
.penalty[data-tier="gold"]  { --tier-color: var(--gold); --tier-soft: rgba(245, 196, 82, .14); }
.penalty[data-tier="cyan"]  { --tier-color: var(--cyan); --tier-soft: rgba(77, 214, 255, .14); }
.penalty[data-tier="sith"]  { --tier-color: #ff5c5c;    --tier-soft: rgba(255, 92, 92, .14); }

.penalty::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--tier-color), transparent);
  opacity: 0.7;
}
.penalty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 0% 50%, var(--tier-soft), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.penalty:hover {
  border-color: color-mix(in srgb, var(--tier-color) 45%, transparent);
  box-shadow: 0 0 24px var(--tier-soft);
  transform: translateY(-2px);
}
.penalty:hover::after { opacity: 1; }

.penalty-tier {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.penalty-num {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--tier-color);
  text-shadow: 0 0 14px var(--tier-soft);
}
.penalty-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--text-mute);
  text-transform: uppercase;
}
.penalty-title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
}
.penalty-desc {
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.45;
  text-wrap: pretty;
}

/* Setas entre sanções */
.penalty-arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  color: var(--text-mute);
  position: relative;
}
.penalty-arrow svg {
  width: 18px;
  height: 18px;
  animation: penaltyArrowPulse 2.4s ease-in-out infinite;
}
@keyframes penaltyArrowPulse {
  0%, 100% { opacity: .35; transform: translateX(-2px); }
  50%      { opacity: .85; color: var(--gold); transform: translateX(2px); }
}

@media (max-width: 980px) {
  .penalties-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .penalties-strip .penalties-head .section-desc { max-width: none; }
}
@media (max-width: 720px) {
  .penalties-flow {
    flex-direction: column;
    gap: 6px;
  }
  .penalty-arrow {
    width: 100%;
    height: 22px;
    transform: rotate(90deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .penalty-arrow svg { animation: none; opacity: .5; }
}

/* ------------------------------------------------------------------
   EVENTOS
------------------------------------------------------------------ */
.events-list {
  display: grid;
  gap: 14px;
}
/* fundo da seção de eventos — imagem esmaecida com vinheta */
#eventos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
#eventos .section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #05070d;
  z-index: -2;
  pointer-events: none;
}
#eventos .section-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
#eventos::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, rgba(5,7,13,0.55) 14%, rgba(5,7,13,0.55) 86%, var(--bg-0) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(5,7,13,0.6) 100%);
  z-index: -1;
  pointer-events: none;
}

.event {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
}
.event-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.event-day {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
}
.event-time {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 6px;
  letter-spacing: 1px;
}
.event-name {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.event-meta span::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
.event-confirm {
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 2px;
}
.event-leader {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: rgba(5, 7, 13, .45);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--text-dim);
  text-transform: uppercase;
  max-width: 100%;
  min-width: 0;
}
.event-leader-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(8, 13, 24, .9);
  border: 1px solid rgba(245, 196, 82, .4);
  flex-shrink: 0;
}
.event-leader-name {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* live state + countdown + faction icons (preview de eventos no index) */
.event.is-active {
  border-color: rgba(108, 255, 138, .55);
  box-shadow: 0 0 0 1px rgba(108, 255, 138, .2), 0 0 28px rgba(108, 255, 138, .18);
}
.event.is-active .event-day { color: #9bff9b; text-shadow: 0 0 14px rgba(108, 255, 138, .4); }
.event-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 10px;
  padding: 3px 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 2px; font-weight: 700;
  color: #0a1a10;
  background: linear-gradient(180deg, #9bff9b, #3ec05b);
  text-transform: uppercase;
  vertical-align: middle;
  box-shadow: 0 0 12px rgba(108, 255, 138, .5), inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.event-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #0a1a10;
  animation: indexLivePulse 1.4s ease-in-out infinite;
}
@keyframes indexLivePulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.4); } }

.event-countdown {
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
}
.event-countdown.is-live {
  color: #9bff9b;
  text-shadow: 0 0 12px rgba(108, 255, 138, .4);
}

.event-meta-faction { gap: 6px !important; }
.event-meta-faction::before { display: none !important; }
.event-faction-ico {
  width: 14px; height: 14px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px rgba(245, 196, 82, .25));
}
.event-faction-pair { display: inline-flex; align-items: center; }
.event-faction-pair .event-faction-ico { margin-right: -4px; }
.event-faction-pair .event-faction-ico:last-child { margin-right: 0; }

/* ------------------------------------------------------------------
   CONQUISTAS
------------------------------------------------------------------ */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.ach {
  padding: 32px 24px;
  text-align: center;
}
.ach-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: radial-gradient(circle, rgba(245, 196, 82, 0.15), transparent 70%);
}
.ach-num {
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  background: linear-gradient(180deg, #ffe49a, #b8861f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.ach-label {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ------------------------------------------------------------------
   GALERIA
------------------------------------------------------------------ */
/* ============================================================
   GALERIA · BACKGROUND (Star Forge construction)
============================================================ */
#galeria .section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-0);
  z-index: -2;
  pointer-events: none;
}
#galeria .section-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.38;
  filter: saturate(1.12) contrast(1.08) brightness(1.05);
  animation: forgeDrift 64s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes forgeDrift {
  0%   { transform: scale(1.05) translate3d(0, 0, 0); }
  100% { transform: scale(1.10) translate3d(-1.6%, 0.8%, 0); }
}
#galeria::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, rgba(5, 7, 13, 0.34) 14%, rgba(5, 7, 13, 0.34) 86%, var(--bg-0) 100%),
    radial-gradient(ellipse 78% 65% at 50% 50%, transparent 38%, rgba(5, 7, 13, 0.5) 100%),
    radial-gradient(ellipse 60% 55% at 12% 18%, rgba(245, 196, 82, 0.1), transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 78%, rgba(77, 214, 255, 0.07), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #galeria .section-image { animation: none; transform: scale(1.05); }
}

/* Galeria — preview asymmetric (1 hero + 4 thumbs) com link pra conquistas.html */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery-preview-status {
  grid-column: 1 / -1;
  grid-row: span 2;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  border: 1px dashed var(--line);
  background: rgba(15, 25, 45, .25);
  font-style: italic;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: rgba(8, 13, 24, .7);
  isolation: isolate;
  transition: border-color .3s ease, transform .35s ease, box-shadow .35s ease;
}
.gallery-card.is-hero {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.22, .8, .28, 1), filter .35s ease;
  filter: saturate(.95) contrast(1.02);
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(5, 7, 13, .55) 75%, rgba(5, 7, 13, .92) 100%),
    linear-gradient(135deg, transparent 60%, rgba(245, 196, 82, .06) 100%);
  pointer-events: none;
  z-index: 1;
}
.gallery-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(245, 196, 82, .25);
}
.gallery-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}
.gallery-card:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(245, 196, 82, .35);
}

.gallery-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 5px 10px;
  background: rgba(8, 13, 24, .82);
  border: 1px solid rgba(245, 196, 82, .45);
  color: var(--gold);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  clip-path: polygon(
    0 4px, 4px 0, calc(100% - 4px) 0, 100% 4px,
    100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px)
  );
}

.gallery-card-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  transform: translateY(4px);
  opacity: .92;
  transition: transform .35s ease, opacity .35s ease;
}
.gallery-card:hover .gallery-card-meta { transform: translateY(0); opacity: 1; }
.gallery-card-tag {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.gallery-card-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
          line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-card.is-hero .gallery-card-title {
  font-size: 22px;
  letter-spacing: 1px;
  -webkit-line-clamp: 3;
          line-clamp: 3;
}
.gallery-card.is-hero .gallery-card-tag { font-size: 11px; }

/* Corner brackets só na hero — assinatura SWTOR */
.gallery-card-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 4;
  pointer-events: none;
  opacity: .85;
  transition: opacity .3s, border-color .3s;
}
.gallery-card-corner-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.gallery-card-corner-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.gallery-card.is-hero:hover .gallery-card-corner { opacity: 1; }

/* Esconde badge quando o status (loading/empty/error) toma a grade */
.gallery-preview[data-state="loading"] .gallery-card,
.gallery-preview[data-state="empty"] .gallery-card,
.gallery-preview[data-state="error"] .gallery-card { display: none; }

.gallery-preview-cta {
  text-align: center;
  margin-top: 36px;
}

/* ------------------------------------------------------------------
   CTA FINAL
------------------------------------------------------------------ */
#cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/Camada%204.png") center/cover no-repeat;
  opacity: 0.45;
  z-index: -1;
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, rgba(5,7,13,0.55) 45%, var(--bg-0) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(5,7,13,0.5) 80%);
}
.cta-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  margin: 0 0 24px;
  background: linear-gradient(180deg, #fff, #6f87b3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-inner p {
  font-size: 19px;
  color: var(--text-dim);
  margin: 0 0 40px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ------------------------------------------------------------------
   FOOTER
------------------------------------------------------------------ */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: rgba(5,7,13,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 16px 0 0;
  max-width: 320px;
}
.footer-col h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px dashed var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 1px;
}

/* ------------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------------ */
@media (max-width: 1400px) {
  .hero .container { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
}
@media (max-width: 1240px) {
  .hero .container { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .hero-discord iframe { height: 320px; }
}
@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .discord-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-inner { padding: 0 20px; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5,7,13,0.97);
    backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.3s;
    gap: 4px;
  }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: grid; }
  .container { padding: 0 20px; }
  section { padding: 80px 0; min-height: 100vh; }
  .event { grid-template-columns: 1fr; gap: 14px; }
  .event-date { border-right: none; border-bottom: 1px dashed var(--line); padding: 0 0 12px; text-align: left; display: flex; gap: 16px; align-items: center;}
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .gallery-item.span-2, .gallery-item.span-row-2 { grid-column: auto; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .info-cards { grid-template-columns: 1fr; }
  .discord-stats { grid-template-columns: 1fr; }
}

/* fade-in observer */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   GUIAS PREVIEW (CAPÍTULO 05 · CODEX)
============================================================ */
#guias-preview .section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--bg-0);
  z-index: -2;
  pointer-events: none;
}
#guias-preview .section-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.42;
  filter: saturate(1.15) contrast(1.05) hue-rotate(-6deg);
  animation: codexDrift 52s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes codexDrift {
  0%   { transform: scale(1.05) translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: scale(1.10) translate3d(1.4%, -1%, 0) rotate(0.4deg); }
}
#guias-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-0) 0%, rgba(5, 7, 13, 0.34) 14%, rgba(5, 7, 13, 0.34) 86%, var(--bg-0) 100%),
    radial-gradient(ellipse 78% 65% at 50% 50%, transparent 38%, rgba(5, 7, 13, 0.5) 100%),
    radial-gradient(ellipse 55% 45% at 18% 82%, rgba(77, 214, 255, 0.1), transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(245, 196, 82, 0.07), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #guias-preview .section-image { animation: none; transform: scale(1.05); }
}

/* Frame HoloNet (mesma temática do painel em guias.html) */
.guides-preview-frame {
  --gp-cyan: var(--cyan);
  --gp-cyan-glow: rgba(77, 214, 255, .55);
  --gp-cyan-line: rgba(77, 214, 255, .42);
  --gp-hair: rgba(127, 227, 255, .35);
  --gp-hair-2: rgba(127, 227, 255, .15);
  --gp-glow-rgb: 77, 214, 255;

  position: relative;
  margin-top: 8px;
  border: 1px solid var(--gp-cyan-line);
  background: linear-gradient(180deg, rgba(8, 18, 30, .95), rgba(4, 10, 18, .95));
  box-shadow:
    inset 0 0 0 1px rgba(var(--gp-glow-rgb), .06),
    inset 0 0 24px rgba(var(--gp-glow-rgb), .06),
    0 0 0 1px rgba(0, 0, 0, .6);
}

/* Corner brackets ciano (4 cantos) */
.guides-preview-frame::before,
.guides-preview-frame::after,
.guides-preview-frame > .c-tl,
.guides-preview-frame > .c-tr,
.guides-preview-frame > .c-bl,
.guides-preview-frame > .c-br {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gp-cyan);
  box-shadow: 0 0 8px var(--gp-cyan-glow);
  pointer-events: none;
}
.guides-preview-frame::before  { top: -2px;    left: -2px;  border-right: none; border-bottom: none; }
.guides-preview-frame::after   { top: -2px;    right: -2px; border-left: none;  border-bottom: none; }
.guides-preview-frame > .c-bl  { bottom: -2px; left: -2px;  border-right: none; border-top: none; }
.guides-preview-frame > .c-br  { bottom: -2px; right: -2px; border-left: none;  border-top: none; }
.guides-preview-frame > .c-tl,
.guides-preview-frame > .c-tr { display: none; }

/* Terminal head bar */
.guides-preview-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: .14em;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px dashed var(--gp-hair-2);
  flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(var(--gp-glow-rgb), .06), transparent);
}
.guides-preview-head .gp-blink {
  color: #6cff8a;
  animation: gpBlink 1.2s infinite;
}
@keyframes gpBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .3; } }
.guides-preview-head .gp-grow { flex: 1; }
.guides-preview-head .gp-stardate { color: var(--gold); opacity: .85; }
.guides-preview-head i { color: var(--cyan); font-style: normal; }

/* Lista de transmissões */
.guides-preview-list {
  padding: 6px 24px;
  display: flex;
  flex-direction: column;
}

/* Loading / empty / error */
.guides-preview-status {
  padding: 40px 8px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--text-mute);
  text-transform: uppercase;
  font-style: italic;
}

/* Linhas de guia (post rows) */
.guides-preview-list .guide-preview {
  display: grid;
  grid-template-columns: 140px 200px 1fr auto;
  gap: 18px;
  padding: 16px 6px;
  border-bottom: 1px solid var(--gp-hair-2);
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  transition: background .25s, padding .25s, border-color .25s;
}
.guides-preview-list .guide-preview:last-child { border-bottom: none; }
.guides-preview-list .guide-preview:hover {
  background: rgba(var(--gp-glow-rgb), .06);
  padding-left: 14px;
}
.guides-preview-list .guide-preview:focus-visible {
  outline: none;
  background: rgba(var(--gp-glow-rgb), .08);
  box-shadow: inset 0 0 0 1px var(--gp-cyan);
}

/* Capa thumbnail (holo-card) na esquerda da row */
.guides-preview-list .gp-cover {
  position: relative;
  width: 140px;
  height: 78px;
  background-size: cover;
  background-position: center;
  background-color: rgba(8, 13, 24, .9);
  border: 1px solid var(--gp-cyan-line);
  box-shadow:
    0 0 10px rgba(var(--gp-glow-rgb), .14),
    inset 0 0 18px rgba(0, 0, 0, .45);
  clip-path: polygon(
    0 8px, 8px 0,
    calc(100% - 8px) 0, 100% 8px,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    8px 100%, 0 calc(100% - 8px)
  );
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.guides-preview-list .gp-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(77, 214, 255, .12) 100%);
  pointer-events: none;
}
.guides-preview-list .guide-preview:hover .gp-cover {
  border-color: var(--gp-cyan);
  box-shadow:
    0 0 16px rgba(var(--gp-glow-rgb), .35),
    inset 0 0 14px rgba(0, 0, 0, .45);
  transform: translateY(-1px);
}

/* Fallback quando guia não tem cover — glifo Codex sutil */
.guides-preview-list .gp-cover-fallback {
  background:
    linear-gradient(135deg, rgba(77, 214, 255, .1), transparent 60%),
    linear-gradient(180deg, #0e1424, #05070d);
}
.guides-preview-list .gp-cover-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none' stroke='%234dd6ff' stroke-width='1.6' opacity='0.55'><polygon points='40,8 70,26 70,54 40,72 10,54 10,26'/><polygon points='40,22 56,30 56,50 40,58 24,50 24,30'/><circle cx='40' cy='40' r='3' fill='%234dd6ff'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 52px 52px;
}

/* Stamp column (categoria + autor) */
.guides-preview-list .gp-stamp {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .14em;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.guides-preview-list .gp-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 10.5px;
}
.guides-preview-list .gp-cat {
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 500;
}
.guides-preview-list .gp-dot { color: var(--text-mute); opacity: .7; }
.guides-preview-list .gp-dt  { color: var(--gold); opacity: .85; }
.guides-preview-list .gp-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.guides-preview-list .guide-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(8, 13, 24, .9);
  border: 1px solid rgba(245, 196, 82, .4);
  flex-shrink: 0;
}
.guides-preview-list .guide-author-name {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  color: #eaf6ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Body column (título + sumário) */
.guides-preview-list .gp-body { min-width: 0; }
.guides-preview-list .gp-body h4 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: .06em;
  color: #eaf6ff;
  text-transform: uppercase;
  line-height: 1.25;
  transition: color .25s, text-shadow .25s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guides-preview-list .guide-preview:hover .gp-body h4 {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--gp-cyan-glow);
}
.guides-preview-list .gp-body p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Arrow column */
.guides-preview-list .gp-arrow {
  font-family: "JetBrains Mono", monospace;
  color: var(--cyan);
  letter-spacing: .2em;
  transition: transform .25s;
}
.guides-preview-list .guide-preview:hover .gp-arrow { transform: translateX(4px); }

/* Footer com CTA */
.guides-preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px dashed var(--gp-hair-2);
  background: linear-gradient(0deg, rgba(var(--gp-glow-rgb), .04), transparent);
  flex-wrap: wrap;
}
.guides-preview-foot-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--text-mute);
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .guides-preview-list .guide-preview {
    grid-template-columns: 140px 1fr;
    grid-template-areas:
      "cover stamp"
      "cover body";
    gap: 6px 14px;
    align-items: start;
  }
  .guides-preview-list .gp-cover  { grid-area: cover; align-self: start; margin-top: 2px; }
  .guides-preview-list .gp-stamp  { grid-area: stamp; }
  .guides-preview-list .gp-body   { grid-area: body; }
  .guides-preview-list .gp-arrow  { display: none; }
}
@media (max-width: 560px) {
  .guides-preview-list .gp-cover { width: 104px; height: 60px; }
  .guides-preview-list .guide-preview { grid-template-columns: 104px 1fr; }
}
@media (max-width: 720px) {
  .guides-preview-head { padding: 12px 18px; gap: 12px; font-size: 10px; }
  .guides-preview-list { padding: 4px 18px; }
  .guides-preview-foot { padding: 14px 18px; flex-direction: column; align-items: stretch; }
  .guides-preview-foot .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   MODAL · ALISTAMENTO (gate para guests)
============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
  animation: bfModalFade .25s ease;
}
.modal-backdrop.show { display: flex; }
@keyframes bfModalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-backdrop .modal {
  width: 100%;
  background: linear-gradient(180deg, #0e1730, #080d1c);
  border: 1px solid rgba(180, 200, 255, .18);
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.modal-backdrop .modal::before,
.modal-backdrop .modal::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 2;
}
.modal-backdrop .modal::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.modal-backdrop .modal::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.modal-backdrop .modal-head {
  padding: 24px 32px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.modal-backdrop .modal-head h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  margin: 0 0 6px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}
.modal-backdrop .modal-head .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.modal-backdrop .modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 22px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  transition: color .2s;
}
.modal-backdrop .modal-close:hover { color: var(--gold); }
.modal-backdrop .modal-body { padding: 24px 32px; overflow-y: auto; }
.modal-backdrop .modal-foot {
  padding: 18px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.enlist-modal { max-width: 560px; }
.enlist-lead {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: rgba(245, 196, 82, .92);
  margin: 0 0 12px;
  letter-spacing: .3px;
}
.enlist-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 18px;
}
.enlist-desc strong { color: #fff; font-weight: 600; }
.enlist-perks {
  list-style: none;
  padding: 14px 16px;
  margin: 0;
  background: rgba(5, 7, 13, .55);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.enlist-perks li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.enlist-perks .perk-mark {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .modal-backdrop .modal-head,
  .modal-backdrop .modal-body,
  .modal-backdrop .modal-foot { padding-left: 20px; padding-right: 20px; }
  .modal-backdrop .modal-foot { justify-content: stretch; }
  .modal-backdrop .modal-foot .btn { flex: 1 1 auto; text-align: center; }
}
