:root {
  --bg: #090805;
  --bg-deep: rgba(9, 8, 5, 0.92);
  --panel: rgba(17, 14, 10, 0.88);
  --panel-soft: rgba(23, 19, 13, 0.78);
  --panel-alt: rgba(27, 31, 20, 0.78);
  --ink: #f3ead7;
  --muted: #c9baa0;
  --gold: #d6a33a;
  --gold-soft: #8b6b20;
  --gold-line: rgba(214, 163, 58, 0.4);
  --olive: #7d7f4d;
  --blood: #7a2b1d;
  --danger: #b94a33;
  --success: #5f8a4d;
  --blue: #2e516d;
  --shadow: rgba(0, 0, 0, 0.45);
  --shell-width: min(1240px, 92vw);
  --shell-narrow: min(1100px, 92vw);
  --clip: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 12px 50%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.74), rgba(5, 4, 3, 0.92)),
    url("fundo.png") center center / cover no-repeat fixed;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 18% 15%, rgba(214, 163, 58, 0.18), transparent 28%),
    radial-gradient(circle at 81% 20%, rgba(122, 43, 29, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42));
}

body::after {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.16;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 28%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 8, 6, 0.18), rgba(8, 8, 6, 0.5));
}

.site-header,
.menu,
.status-strip,
.content,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  width: var(--shell-width);
  margin: 1.2rem auto 0;
  padding: 1.4rem clamp(1rem, 2vw, 1.6rem);
  border: 1px solid var(--gold-line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(18, 15, 10, 0.78), rgba(10, 9, 7, 0.9));
  box-shadow:
    0 30px 50px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 236, 186, 0.05);
  overflow: hidden;
}

.site-header::before {
  content: "SOBREVIVÊNCIA NÃO É OPÇÃO. É NECESSIDADE.";
  display: block;
  margin: -0.35rem -0.35rem 1rem;
  padding: 0.58rem 0.95rem;
  border-bottom: 1px solid rgba(214, 163, 58, 0.22);
  color: #d9b34d;
  font-family: "Bebas Neue", cursive;
  font-size: 0.98rem;
  letter-spacing: 0.16em;
}

.site-header::after {
  content: "";
  position: absolute;
  right: -5rem;
  top: -6rem;
  width: 20rem;
  height: 20rem;
  background: url("LOGO.png") center / contain no-repeat;
  opacity: 0.06;
  transform: rotate(-8deg);
  pointer-events: none;
}

.site-header h1 {
  margin: 0;
  font-family: "Bebas Neue", cursive;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.92;
  color: #f1cb5a;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3), 0 0 32px rgba(214, 163, 58, 0.12);
}

.subtitle {
  margin: 0.55rem 0 0;
  color: #e5ddc8;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.header-actions {
  position: absolute;
  top: 1.05rem;
  right: 1rem;
  display: flex;
  gap: 0.7rem;
  z-index: 3;
}

.header-action-btn,
.cta-btn,
.account-link,
.discord-join-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.15rem;
  border: 1px solid rgba(214, 163, 58, 0.55);
  background: linear-gradient(180deg, rgba(212, 167, 58, 0.14), rgba(93, 69, 18, 0.24));
  color: #f3ead7;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 238, 189, 0.06), 0 8px 18px rgba(0, 0, 0, 0.25);
  clip-path: var(--clip);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  line-height: 1;
}

.header-action-btn::before,
.cta-btn::before,
.account-link::before,
.discord-join-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  clip-path: var(--clip);
  border: 1px solid rgba(255, 230, 165, 0.06);
  pointer-events: none;
}

.header-action-btn:hover,
.cta-btn:hover,
.account-link:hover,
.discord-join-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 199, 96, 0.88);
  background: linear-gradient(180deg, rgba(224, 181, 71, 0.24), rgba(112, 84, 24, 0.34));
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.34);
}

.header-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.9rem;
  line-height: 1;
  transform: translateY(-1px);
}

.site-header-home {
  display: grid;
  grid-template-columns: minmax(290px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
  padding: 1.6rem clamp(1rem, 2vw, 1.8rem) 1.9rem;
}

.site-header-home::before {
  grid-column: 1 / -1;
  margin-bottom: 0.3rem;
}

.site-header-home::after {
  opacity: 0.1;
  right: -6rem;
  top: -5rem;
  width: 22rem;
  height: 22rem;
}

.hero-brand {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.hero-brand::before {
  content: "";
  position: absolute;
  inset: 7% 3%;
  border-radius: 26px;
  background: radial-gradient(circle at center, rgba(214, 163, 58, 0.16), transparent 62%);
  filter: blur(10px);
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.5));
}

.hero-copy {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  padding: 0.6rem 0;
}

.hero-eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: #d0b46d;
  font-family: "Bebas Neue", cursive;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-right: 3rem;
}

.hero-text {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.cta-btn-secondary {
  border-color: rgba(125, 127, 77, 0.55);
  background: linear-gradient(180deg, rgba(102, 112, 62, 0.16), rgba(59, 67, 32, 0.28));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-stat,
.status-pill,
.info-box,
.lumes-package,
.admin-card,
.history-table tbody td {
  border: 1px solid rgba(214, 163, 58, 0.2);
  background: linear-gradient(180deg, rgba(23, 19, 13, 0.78), rgba(11, 10, 8, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 239, 197, 0.03);
}

.hero-stat {
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
}

.hero-stat span {
  display: block;
  margin-bottom: 0.35rem;
  color: #ac9e7e;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stat strong {
  color: #f4e2b0;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.08em;
  font-size: 1.3rem;
}

.menu {
  width: var(--shell-width);
  margin: 1rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.95rem;
  border: 1px solid var(--gold-line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 14, 10, 0.72), rgba(8, 7, 6, 0.92));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.menu-btn {
  position: relative;
  flex: 1 1 150px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
  font-family: "Bebas Neue", cursive;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  text-decoration: none;
  color: #ead6a8;
  border: 1px solid rgba(214, 163, 58, 0.38);
  background: linear-gradient(180deg, rgba(44, 34, 16, 0.8), rgba(17, 14, 9, 0.92));
  clip-path: var(--clip);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.menu-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  clip-path: var(--clip);
  border: 1px solid rgba(255, 243, 208, 0.05);
}

.menu-btn:hover,
.menu-btn.active {
  color: #1b150b;
  border-color: rgba(247, 206, 101, 0.95);
  background: linear-gradient(180deg, rgba(247, 206, 101, 0.96), rgba(189, 141, 34, 0.92));
}

.status-strip {
  width: var(--shell-width);
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.status-pill {
  border-radius: 16px;
  padding: 0.95rem 1rem;
  text-align: center;
  color: #e5dac0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill strong {
  color: #f0c869;
}

.content {
  width: var(--shell-width);
  margin: 1.2rem auto 1.6rem;
  display: grid;
  gap: 1.1rem;
}

.card {
  position: relative;
  border: 1px solid var(--gold-line);
  border-radius: 26px;
  padding: clamp(1.35rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, rgba(22, 18, 13, 0.86), rgba(11, 10, 8, 0.94));
  box-shadow:
    0 22px 36px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 236, 186, 0.04);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 224, 146, 0.45), transparent);
}

.card h2 {
  margin: 0 0 0.85rem;
  font-family: "Bebas Neue", cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 0.94;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #f1bd58;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-family: "Bebas Neue", cursive;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f1d39a;
}

.card p,
.card li,
.card td,
.card th,
.hint,
.form-help {
  color: var(--muted);
  line-height: 1.75;
}

.card strong {
  color: #f2dfb6;
}

.card ul,
.card ol {
  margin: 0.85rem 0 0;
  padding-left: 1.3rem;
}

.card li {
  margin-bottom: 0.45rem;
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.card-grid,
.home-service-grid,
.account-details,
.lumes-packages,
.admin-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.info-box {
  border-radius: 20px;
  padding: 1rem 1.05rem;
}

.info-box h3 {
  color: #f0c869;
}

.info-box p {
  margin: 0;
}

.feature-tile {
  min-height: 100%;
  position: relative;
  padding-top: 1.1rem;
}

.feature-tile::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, #f0c869, transparent);
}

.narrative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1rem;
}

.narrative-card {
  min-height: 100%;
}

.narrative-card.accent {
  background:
    linear-gradient(180deg, rgba(42, 34, 18, 0.82), rgba(12, 10, 7, 0.95)),
    url("fundo.png") center right / cover no-repeat;
}

.quick-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.quick-list-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 163, 58, 0.18);
  background: rgba(15, 13, 10, 0.65);
}

.quick-list-item span {
  color: #a29a86;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(20, 17, 12, 0.92), rgba(38, 31, 17, 0.8)),
    url("fundo.png") center center / cover no-repeat;
}

.booklet-card p + .booklet-viewer {
  margin-top: 1.1rem;
}

.booklet-viewer {
  display: grid;
  gap: 1rem;
}

.booklet-stage {
  position: relative;
  min-height: min(82vw, 1120px);
  border-radius: 28px;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border: 1px solid rgba(214, 163, 58, 0.22);
  background:
    linear-gradient(90deg, rgba(53, 40, 20, 0.55) 0, rgba(20, 15, 10, 0.25) 7%, rgba(16, 13, 9, 0.92) 12%, rgba(10, 9, 7, 0.96) 50%, rgba(16, 13, 9, 0.92) 88%, rgba(53, 40, 20, 0.55) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 186, 0.04),
    0 24px 42px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.booklet-stage::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  bottom: 0.8rem;
  left: 50%;
  width: 18px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(214, 163, 58, 0.05), rgba(0, 0, 0, 0.18), rgba(214, 163, 58, 0.05));
  filter: blur(1px);
  opacity: 0.7;
  pointer-events: none;
}

.booklet-page {
  position: absolute;
  inset: clamp(1.8rem, 4vw, 2.6rem);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.98) rotateY(-8deg);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.booklet-page.is-active {
  opacity: 1;
  transform: scale(1) rotateY(0deg);
  pointer-events: auto;
}

.booklet-page img {
  width: auto;
  height: auto;
  max-width: min(78%, 720px);
  max-height: calc(100% - 2rem);
  object-fit: contain;
  border-radius: 20px;
  border: 1px solid rgba(214, 163, 58, 0.16);
  background: #090806;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 236, 186, 0.03);
}

.booklet-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
}

.booklet-counter {
  text-align: center;
  color: #d2c3a3;
  font-family: "Bebas Neue", cursive;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booklet-counter strong {
  color: #f0c869;
}

.booklet-nav {
  font: inherit;
  cursor: pointer;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 163, 58, 0.35);
  background: linear-gradient(180deg, rgba(35, 28, 18, 0.86), rgba(15, 12, 9, 0.96));
  color: #f1deaf;
  font-family: "Bebas Neue", cursive;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.booklet-nav:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(247, 206, 101, 0.9);
}

.booklet-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.quote-banner h2 {
  margin-bottom: 0.45rem;
}

.site-footer {
  width: var(--shell-width);
  margin: 0 auto 1.4rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(214, 163, 58, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 12, 8, 0.76), rgba(8, 7, 5, 0.92));
  color: #aa9b7c;
  text-align: center;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
}

.hint {
  margin-top: 0.95rem;
  font-size: 0.94rem;
}

/* Conexão */
.conexao-card {
  padding: 0;
  overflow: hidden;
}

.conexao-banner {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-bottom: 1px solid rgba(214, 163, 58, 0.18);
}

.conexao-body {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.field-label {
  margin: 1rem 0 0.45rem;
  color: #f0c869;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.12em;
  font-size: 1rem;
}

.copy-field {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(214, 163, 58, 0.3);
  background: linear-gradient(180deg, rgba(35, 28, 18, 0.86), rgba(15, 12, 9, 0.96));
  color: #f4ead5;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.copy-field:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 200, 105, 0.75);
}

.copy-tag {
  color: #f0c869;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.12em;
}

.copy-field.copied {
  border-color: rgba(95, 138, 77, 0.85);
}

/* Discord */
.discord-live-card {
  margin-top: 1rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(214, 163, 58, 0.18);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.94), rgba(10, 10, 10, 0.98));
}

.discord-live-banner {
  height: 96px;
  background:
    linear-gradient(180deg, rgba(95, 86, 63, 0.85), rgba(29, 26, 19, 0.94)),
    url("fundo.png") center center / cover no-repeat;
}

.discord-live-content {
  padding: 1rem 1.2rem 1.35rem;
}

.discord-icon {
  width: 76px;
  height: 76px;
  margin-top: -52px;
  border-radius: 18px;
  object-fit: cover;
  border: 4px solid rgba(15, 12, 10, 0.95);
}

.discord-icon-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(214, 163, 58, 0.9), rgba(131, 92, 22, 0.95));
  color: #1c160c;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.08em;
}

.discord-live-content h3 {
  margin: 0.85rem 0 0.35rem;
  font-size: 2rem;
}

.discord-stats {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}

.dot-online {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #57c979;
}

.dot-sep {
  opacity: 0.7;
}

.discord-description {
  margin: 0.7rem 0 0;
}

.discord-join-btn {
  margin-top: 1rem;
  width: 100%;
}

/* Formulários */
.auth-form,
.admin-action-form,
.admin-search-form,
.lumes-custom-form {
  display: grid;
  gap: 0.9rem;
}

.auth-form {
  max-width: 820px;
  margin: 1rem auto 0;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group span {
  color: #edd7a7;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.88rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 163, 58, 0.28);
  background: linear-gradient(180deg, rgba(27, 22, 15, 0.88), rgba(12, 10, 7, 0.94));
  color: #f3ead7;
  font-size: 1rem;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(240, 200, 105, 0.8);
  box-shadow: 0 0 0 3px rgba(214, 163, 58, 0.14);
}

.form-select {
  appearance: none;
}

.form-help {
  font-size: 0.84rem;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 700;
}

.form-feedback-error {
  color: #ffd9d1;
  background: rgba(121, 43, 29, 0.26);
  border-color: rgba(185, 74, 51, 0.45);
}

.form-feedback-success {
  color: #dcf1d3;
  background: rgba(95, 138, 77, 0.18);
  border-color: rgba(95, 138, 77, 0.44);
}

.login-card {
  max-width: 700px;
  margin: 0 auto;
}

.cta-btn {
  font: inherit;
  cursor: pointer;
}

.cta-btn-disabled {
  opacity: 0.58;
  cursor: default;
  pointer-events: none;
}

.cta-form {
  margin: 0;
}

/* Conta */
.content.account-shell {
  width: min(1320px, 95vw);
}

.account-shell {
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 1rem;
}

.account-user {
  margin: 0.3rem 0 1rem;
  color: #f4e2b0;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.08em;
  font-size: 1.45rem;
}

.account-nav {
  display: grid;
  gap: 0.7rem;
}

.account-link {
  width: 100%;
  justify-content: flex-start;
  padding-left: 1rem;
}

.account-link.active {
  color: #171109;
  border-color: rgba(247, 206, 101, 0.95);
  background: linear-gradient(180deg, rgba(247, 206, 101, 0.96), rgba(189, 141, 34, 0.92));
}

.account-link-admin {
  border-color: rgba(82, 133, 173, 0.5);
  background: linear-gradient(180deg, rgba(59, 85, 103, 0.38), rgba(26, 40, 50, 0.54));
}

.account-link-admin.active {
  color: #dff3ff;
  border-color: rgba(127, 183, 229, 0.9);
  background: linear-gradient(180deg, rgba(67, 107, 136, 0.86), rgba(34, 60, 79, 0.9));
}

.account-panel {
  min-height: 480px;
}

.lumes-packages {
  margin-top: 1rem;
}

.lumes-packages.compact {
  margin-bottom: 1.2rem;
}

.lumes-package {
  border-radius: 22px;
  padding: 1.15rem;
  gap: 0.8rem;
  display: flex;
  flex-direction: column;
}

.lumes-package-amount {
  margin: 0;
  color: #f1bd58;
  font-family: "Bebas Neue", cursive;
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.lumes-package h3,
.lumes-package-price,
.lumes-package-description {
  margin: 0;
}

.lumes-package-price {
  color: #f5e7c8;
  font-size: 1.45rem;
  font-weight: 700;
}

.lumes-package-custom {
  border-style: dashed;
}

.lumes-price-note,
.lumes-price-preview {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(214, 163, 58, 0.2);
  background: rgba(18, 15, 11, 0.7);
}

.lumes-price-preview {
  margin: 0;
}

.cta-form .cta-btn,
.lumes-custom-form .cta-btn {
  width: 100%;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.history-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0 0.7rem;
}

.history-table th,
.history-table td {
  text-align: left;
  vertical-align: middle;
}

.history-table thead th {
  padding: 0 0.9rem 0.25rem;
  color: #e7c36f;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.11em;
  font-size: 1rem;
  text-transform: uppercase;
}

.history-table tbody td {
  padding: 0.95rem 0.9rem;
  border-top: 1px solid rgba(214, 163, 58, 0.16);
  border-bottom: 1px solid rgba(214, 163, 58, 0.16);
}

.history-table tbody td:first-child {
  border-left: 1px solid rgba(214, 163, 58, 0.16);
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.history-table tbody td:last-child {
  border-right: 1px solid rgba(214, 163, 58, 0.16);
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.table-subtle {
  display: block;
  margin-top: 0.25rem;
  color: #a99b7d;
  font-size: 0.84rem;
}

.history-payment-cell {
  display: block;
}

.history-retry-form {
  margin: 0;
}

.history-payment-action {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.pill-status,
.history-payment-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 163, 58, 0.32);
  background: rgba(35, 29, 17, 0.68);
  color: #f2dfb6;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.is-success {
  border-color: rgba(95, 138, 77, 0.54);
  background: rgba(95, 138, 77, 0.2);
  color: #d4edc9;
}

.is-warn {
  border-color: rgba(214, 163, 58, 0.54);
  background: rgba(214, 163, 58, 0.16);
  color: #f7e4b8;
}

.is-error {
  border-color: rgba(185, 74, 51, 0.54);
  background: rgba(121, 43, 29, 0.2);
  color: #ffd8cf;
}

.admin-search-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.admin-card {
  border-radius: 22px;
  padding: 1.1rem;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.9rem;
}

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

.admin-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-tab-btn {
  font: inherit;
  cursor: pointer;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(214, 163, 58, 0.24);
  background: rgba(20, 17, 12, 0.72);
  color: #f1deaf;
  font-family: "Bebas Neue", cursive;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.admin-tab-btn:hover {
  border-color: rgba(247, 206, 101, 0.75);
}

.admin-tab-btn.is-active {
  color: #1b150b;
  border-color: rgba(247, 206, 101, 0.95);
  background: linear-gradient(180deg, rgba(247, 206, 101, 0.96), rgba(189, 141, 34, 0.92));
}

.admin-tab-panel[hidden] {
  display: none;
}

.admin-toolbar .hint {
  margin-top: 0.35rem;
}

.page-size-form {
  display: grid;
  gap: 0.6rem;
}

.page-size-form .form-group {
  margin: 0;
}

.inline-action-form {
  margin: 0;
}

.mini-btn {
  font: inherit;
  cursor: pointer;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(214, 163, 58, 0.24);
  background: rgba(20, 17, 12, 0.78);
  color: #f1deaf;
  font-family: "Bebas Neue", cursive;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mini-btn:hover {
  border-color: rgba(247, 206, 101, 0.9);
  background: rgba(52, 40, 19, 0.92);
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.pager-link,
.pager-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(214, 163, 58, 0.24);
  background: rgba(20, 17, 12, 0.78);
  color: #f1deaf;
  font-family: "Bebas Neue", cursive;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.pager-link:hover {
  border-color: rgba(247, 206, 101, 0.9);
  background: rgba(52, 40, 19, 0.92);
}

.pager-link.active {
  color: #1b150b;
  border-color: rgba(247, 206, 101, 0.95);
  background: linear-gradient(180deg, rgba(247, 206, 101, 0.96), rgba(189, 141, 34, 0.92));
}

.pager-ellipsis {
  opacity: 0.7;
}

.admin-table thead th {
  color: #b7d9f1;
}

.admin-table tbody td,
.admin-action-form {
  border-color: rgba(82, 133, 173, 0.24);
  background: linear-gradient(180deg, rgba(17, 24, 30, 0.88), rgba(8, 13, 18, 0.94));
}

.admin-table tbody td:first-child,
.admin-table tbody td:last-child {
  border-color: rgba(82, 133, 173, 0.24);
}

.admin-action-form {
  border: 1px solid rgba(82, 133, 173, 0.24);
  border-radius: 20px;
  padding: 1rem;
}

.inline-link {
  color: #b7d9f1;
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.6rem;
  align-items: center;
}

.store-hero-copy h2,
.store-export-card h2,
.store-category-card h2 {
  margin-top: 0;
}

.store-hero-copy p,
.store-export-card p {
  color: var(--muted);
  line-height: 1.75;
}

.store-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.store-poster {
  width: min(100%, 420px);
  border: 1px solid rgba(214, 163, 58, 0.26);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
}

.store-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.store-meta-card h3 {
  margin: 0;
  font-family: "Bebas Neue", cursive;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: #f1cb5a;
}

.store-meta-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.store-category-card {
  margin-top: 1.2rem;
}

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

.store-item-card {
  border: 1px solid rgba(214, 163, 58, 0.24);
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(26, 21, 14, 0.9), rgba(12, 10, 8, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 239, 197, 0.04);
}

.store-item-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.store-item-type {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(214, 163, 58, 0.35);
  border-radius: 999px;
  color: #f0cc6b;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-item-price {
  color: #f3ead7;
  font-family: "Bebas Neue", cursive;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.store-item-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.store-item-description {
  min-height: 4.8rem;
  color: var(--muted);
  line-height: 1.65;
}

.store-item-meta {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(214, 163, 58, 0.16);
  color: #dfd1b7;
  font-size: 0.95rem;
}

.store-item-meta strong {
  color: #f1cb5a;
}

.ranking-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 1.4rem;
  align-items: center;
}

.ranking-hero-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.ranking-side-button-preview {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(82, 133, 173, 0.28);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 22, 30, 0.82), rgba(9, 13, 18, 0.92));
}

.ranking-side-button-preview span {
  color: #c8d8e6;
  font-family: "Bebas Neue", cursive;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ranking-side-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(82, 133, 173, 0.42);
  background: linear-gradient(180deg, rgba(19, 34, 49, 0.96), rgba(9, 17, 26, 0.96));
  color: #eef7ff;
  font-family: "Bebas Neue", cursive;
  font-size: 2rem;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.ranking-window-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.ranking-window-top h2 {
  margin-bottom: 0;
}

.ranking-updated {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(82, 133, 173, 0.24);
  background: linear-gradient(180deg, rgba(17, 24, 30, 0.88), rgba(8, 13, 18, 0.94));
  color: #c6d9e9;
  font-family: "Bebas Neue", cursive;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranking-tab-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.ranking-tab-btn {
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(82, 133, 173, 0.26);
  background: linear-gradient(180deg, rgba(16, 22, 30, 0.82), rgba(9, 13, 18, 0.92));
  color: #e8f2fa;
  font-family: "Bebas Neue", cursive;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ranking-tab-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 183, 229, 0.75);
}

.ranking-tab-btn.is-active {
  border-color: rgba(127, 183, 229, 0.92);
  background: linear-gradient(180deg, rgba(42, 78, 108, 0.95), rgba(20, 42, 60, 0.96));
}

.ranking-tab-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffde87;
}

.ranking-panel {
  display: none;
}

.ranking-panel.is-active {
  display: block;
}

.ranking-board-head {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 180px;
  gap: 1rem;
  padding: 0 0.9rem 0.5rem;
  color: #8fb0cb;
  font-family: "Bebas Neue", cursive;
  font-size: 1rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ranking-board-list {
  display: grid;
  gap: 0.75rem;
}

.ranking-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 180px;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(82, 133, 173, 0.22);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 22, 30, 0.82), rgba(8, 13, 18, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.ranking-row-rank {
  display: flex;
  align-items: center;
}

.ranking-rank-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(82, 133, 173, 0.3);
  background: rgba(13, 20, 28, 0.88);
  color: #ecf6ff;
  font-family: "Bebas Neue", cursive;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.ranking-rank-1 {
  border-color: rgba(240, 200, 105, 0.72);
  color: #ffde87;
}

.ranking-rank-2 {
  border-color: rgba(197, 214, 228, 0.72);
  color: #dfeaf2;
}

.ranking-rank-3 {
  border-color: rgba(187, 126, 72, 0.72);
  color: #e1b184;
}

.ranking-row-name {
  display: grid;
  gap: 0.15rem;
}

.ranking-row-name strong {
  color: #f3ead7;
  font-size: 1.08rem;
}

.ranking-row-name span {
  color: #9db3c4;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ranking-row-value {
  text-align: right;
  color: #ffde87;
  font-family: "Bebas Neue", cursive;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

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

.ranking-info-card h3 {
  margin-bottom: 0.5rem;
}

.ranking-info-card p {
  margin-bottom: 0;
}

/* Responsivo */
@media (max-width: 1100px) {
  .site-header-home {
    grid-template-columns: 1fr;
  }

  .hero-brand,
  .hero-copy,
  .site-header-home::before {
    grid-column: 1;
  }

  .hero-brand {
    grid-row: 2;
  }

  .hero-copy {
    grid-row: 3;
  }

  .hero-copy h1 {
    margin-right: 0;
  }

  .narrative-grid,
  .admin-grid,
  .ranking-hero,
  .ranking-insight-grid,
  .store-hero,
  .store-meta-grid,
  .store-catalog-grid,
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  body {
    background-attachment: scroll;
  }

  .site-header {
    margin-top: 0.8rem;
    padding-top: 3.8rem;
  }

  .site-header::before {
    font-size: 0.88rem;
  }

  .header-actions {
    top: 0.85rem;
    left: 0.8rem;
    right: 0.8rem;
    justify-content: flex-end;
  }

  .menu {
    gap: 0.65rem;
  }

  .menu-btn {
    flex: 1 1 calc(50% - 0.65rem);
  }

  .status-strip,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .quote-banner {
    grid-template-columns: 1fr;
  }

  .ranking-window-top,
  .ranking-board-head,
  .ranking-row {
    grid-template-columns: 1fr;
  }

  .ranking-window-top {
    display: grid;
    align-items: start;
  }

  .ranking-tab-nav {
    grid-template-columns: 1fr;
  }

  .ranking-row-value {
    text-align: left;
  }

  .booklet-toolbar {
    grid-template-columns: 1fr;
  }

  .store-poster {
    width: min(100%, 360px);
  }

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

  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .pager {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .menu,
  .status-strip,
  .content,
  .site-footer {
    width: min(94vw, 100%);
  }

  .menu-btn {
    flex-basis: 100%;
  }

  .hero-logo {
    width: min(86vw, 340px);
  }

  .card,
  .admin-card,
  .lumes-package,
  .info-box,
  .history-table tbody td,
  .status-pill {
    border-radius: 18px;
  }

  .history-table {
    min-width: 700px;
  }

  .booklet-stage {
    min-height: min(150vw, 860px);
  }

  .booklet-page img {
    max-width: 88%;
    max-height: calc(100% - 1rem);
  }
}
