/* Public site theme, matched to the vote folder. */
:root {
  --bg: #060608;
  --bg-elevated: #0e0e12;
  --gold: #d4af6a;
  --gold-bright: #f3e6c4;
  --gold-deep: #a8843c;
  --text: #faf6ee;
  --text-muted: rgba(250, 246, 238, 0.58);
  --border: rgba(212, 175, 106, 0.3);
  --glow: rgba(212, 175, 106, 0.22);
  --nav-h: 72px;
  --page-pad: clamp(1.15rem, 4.5vw, 3.5rem);
  --content-max: 1280px;
  --font-display: "Kumbh Sans", sans-serif;
  --font-serif: "Kumbh Sans", sans-serif;
  --font-body: "Kumbh Sans", sans-serif;
  --font: var(--font-body);
}

html {
  background-color: var(--bg);
  font-family: var(--font-body);
}

html body.lta-body,
html body.lta-body button,
html body.lta-body input,
html body.lta-body select,
html body.lta-body textarea,
html body.lta-body .btn,
html body.lta-body .form-control,
html body.lta-body .nav-link,
html body.lta-body .dropdown-item {
  font-family: var(--font-body) !important;
}

html body.lta-body h1,
html body.lta-body h2,
html body.lta-body h3,
html body.lta-body h4,
html body.lta-body h5,
html body.lta-body h6,
html body.lta-body p,
html body.lta-body a,
html body.lta-body span,
html body.lta-body li,
html body.lta-body label,
html body.lta-body strong,
html body.lta-body em {
  font-family: inherit;
}

html body.lta-body {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  /* Match vote folder: fixed layered gold wash */
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -8%, rgba(212, 175, 106, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 35% at 95% 25%, rgba(168, 132, 60, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 5% 80%, rgba(196, 154, 78, 0.06), transparent 48%),
    linear-gradient(180deg, #0c0b0e 0%, #060608 50%, #040405 100%);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Soft gold aura — larger, softer, slowly drifting */
body.lta-body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 28% 16%, rgba(243, 230, 196, 0.18), transparent 72%),
    radial-gradient(closest-side at 72% 22%, rgba(212, 175, 106, 0.12), transparent 70%),
    radial-gradient(closest-side at 78% 78%, rgba(168, 132, 60, 0.14), transparent 68%),
    radial-gradient(closest-side at 18% 70%, rgba(196, 154, 78, 0.1), transparent 65%);
  filter: blur(64px);
  transform: translateZ(0);
  will-change: transform;
  animation: ltaMeshFloat 34s ease-in-out infinite alternate;
}

/* Deep vignette */
body.lta-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 110% 90% at 50% 28%, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
  transform: translateZ(0);
}

@keyframes ltaMeshFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2%, -1.5%, 0) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.lta-body::before {
    animation: none;
    will-change: auto;
  }
}

.lta-main,
.lta-footer,
.auth-section,
.howto-section,
.thankyou-section,
.legal-section,
.profile-section,
.lta-reset {
  position: relative;
  z-index: 1;
}

/* Backdrop under dialog — equal z-index lets backdrop steal X clicks */
body.lta-body .modal-backdrop {
  z-index: 2000;
}

body.lta-body .modal {
  z-index: 2010;
}

body.lta-body .swal2-container {
  z-index: 2020;
}

body.lta-body .auth-modal-close,
body.lta-body .vote-photo-close {
  z-index: 5;
  pointer-events: auto;
}

/* ——— Nav ——— */
.lta-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 var(--page-pad);
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.88), rgba(6, 6, 8, 0.35) 65%, transparent);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.lta-nav.is-scrolled {
  background: rgba(6, 6, 8, 0.86);
  border-bottom-color: rgba(212, 175, 106, 0.18);
}

.lta-nav-brand {
  font-size: clamp(0.82rem, 1.8vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, #fffdf6 0%, var(--gold-bright) 40%, var(--gold) 70%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.lta-nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lta-nav-links > li > a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
}

.lta-nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.lta-nav-links > li > a:hover,
.lta-nav-links > li > a.is-active {
  color: var(--gold-bright);
}

.lta-nav-links > li > a:hover::after,
.lta-nav-links > li > a.is-active::after {
  transform: scaleX(1);
}

.lta-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.25rem;
}

.lta-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(212, 175, 106, 0.4);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(243, 230, 196, 0.12), rgba(212, 175, 106, 0.06));
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.lta-account-btn:hover,
.lta-account-btn:focus,
.lta-nav-account.show .lta-account-btn {
  border-color: rgba(243, 230, 196, 0.65);
  background: linear-gradient(180deg, rgba(243, 230, 196, 0.2), rgba(212, 175, 106, 0.1));
  color: #fffdf8;
}

.lta-account-btn.dropdown-toggle::after {
  display: none;
}

.lta-nav .dropdown-menu {
  margin-top: 0.55rem !important;
  padding: 0.4rem;
  background: rgba(10, 9, 8, 0.96);
  border: 1px solid rgba(212, 175, 106, 0.3);
  border-radius: 5px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  min-width: 190px;
}

.lta-nav .dropdown-item,
.lta-nav .dropdown-item-text {
  border-radius: 3px;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lta-nav .dropdown-item:hover,
.lta-nav .dropdown-item:focus {
  color: var(--gold-bright);
  background: rgba(212, 175, 106, 0.1);
}

.lta-nav .dropdown-divider {
  border-color: rgba(212, 175, 106, 0.2);
}

/* ——— Home ——— */
.lta-hero {
  padding: calc(var(--nav-h) + 0.75rem) var(--page-pad) 0;
}

.lta-hero-frame,
.lta-bottom-banner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.lta-hero-frame img,
.lta-hero-frame .carousel,
.lta-bottom-banner img,
.lta-bottom-banner .carousel,
.howto-banner img,
.thankyou-banner img {
  width: 100%;
  border-radius: 5px !important;
}

.lta-section {
  max-width: calc(var(--content-max) + (var(--page-pad) * 2));
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--page-pad) 3rem;
}

.lta-section-head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
}

.lta-eyebrow {
  font-size: clamp(1.35rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(180deg, #fffdf8 0%, var(--gold-bright) 38%, var(--gold) 72%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body .howto-eyebrow,
body .thankyou-eyebrow,
body .legal-eyebrow,
body .profile-eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  -webkit-text-fill-color: var(--gold);
}

.lta-container {
  max-width: var(--content-max);
}

.lta-progress {
  position: sticky;
  top: calc(var(--nav-h) + 0.5rem);
  z-index: 50;
  margin: 0 auto 2rem;
  max-width: var(--content-max);
  padding: 0.95rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  background: rgba(6, 6, 8, 0.85);
  border: 1px solid rgba(212, 175, 106, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.lta-progress-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.lta-progress-label strong {
  color: var(--gold-bright);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.lta-progress-track {
  flex: 1;
  height: 2px;
  background: rgba(212, 181, 106, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.lta-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  box-shadow: 0 0 14px var(--glow);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body .voting-status-banner {
  margin: 0 auto 1.5rem;
  max-width: var(--content-max);
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: rgba(6, 6, 8, 0.85);
  border: 1px solid rgba(212, 175, 106, 0.28);
  color: var(--gold-bright);
  font-family: var(--font);
  text-align: center;
}

body .voting-status-sub {
  color: var(--text-muted);
}

.lta-categories {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.lta-category {
  position: relative;
  margin: 0;
  padding: clamp(1.5rem, 3.2vw, 2.15rem);
  background: linear-gradient(165deg, rgba(28, 24, 18, 0.88), rgba(10, 9, 8, 0.9));
  border: 1px solid rgba(212, 175, 106, 0.28);
  border-radius: 5px;
  backdrop-filter: blur(26px) saturate(1.05);
  -webkit-backdrop-filter: blur(26px) saturate(1.05);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.lta-category.is-complete {
  border-color: rgba(243, 230, 196, 0.45);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(212, 175, 106, 0.1);
}

.lta-category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(212, 175, 106, 0.2);
}

.lta-category-header > div {
  min-width: 0;
  flex: 1;
}

.lta-category-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 0.6rem + 0.85vw, 1.15rem);
  font-weight: 700;
  letter-spacing: clamp(0.03em, 0.02em + 0.2vw, 0.06em);
  line-height: 1.35;
  text-transform: uppercase;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-wrap: balance;
  background: linear-gradient(180deg, #fffdf8 0%, var(--gold-bright) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lta-category-status {
  font-size: clamp(0.58rem, 0.5rem + 0.25vw, 0.65rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 181, 106, 0.28);
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: rgba(0, 0, 0, 0.2);
}

.lta-category.is-complete .lta-category-status {
  color: #1a1408;
  background: linear-gradient(180deg, #f3e6c4, var(--gold-deep));
  border-color: transparent;
  font-weight: 700;
}

.lta-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.lta-option {
  position: relative;
  display: flex;
  height: 100%;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.lta-option.is-disabled {
  cursor: default;
}

.lta-option.drop {
  opacity: 0.45;
}

.lta-option.drop .lta-option-media img {
  filter: grayscale(1);
}

.lta-option-face {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  border-radius: 5px;
  border: 1px solid rgba(212, 175, 106, 0.28);
  background: #0a0908;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lta-option-media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  flex: 1;
  overflow: hidden;
  background: #12100e;
}

.lta-option-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  cursor: pointer;
}

.lta-option-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, transparent 35%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}

.lta-option-check {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(240, 226, 182, 0.55);
  background: rgba(8, 8, 10, 0.55);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lta-option-check::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #1a1408;
  border-bottom: 2px solid #1a1408;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.2s ease;
  opacity: 0;
}

.lta-option-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.75rem 0.7rem 0.7rem;
  pointer-events: none;
}

.lta-option-text {
  display: block;
  font-family: var(--font);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  font-weight: 600;
  line-height: 1.25;
  color: #f7f3ea;
  letter-spacing: 0.02em;
}

.lta-option-score {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font);
  font-size: clamp(0.58rem, 0.75vw, 0.68rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

.lta-option:not(.is-disabled):hover .lta-option-face {
  border-color: rgba(240, 226, 182, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.lta-option:not(.is-disabled):hover .lta-option-media img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1.03);
}

.lta-option.is-active .lta-option-face {
  border-color: var(--gold-bright);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.lta-option.is-active .lta-option-media img {
  filter: saturate(1.06) brightness(1.04);
}

.lta-option.is-active .lta-option-check {
  border-color: transparent;
  background: linear-gradient(180deg, #f0e2b6, var(--gold-deep));
  box-shadow: 0 0 14px var(--glow);
  transform: scale(1.05);
}

.lta-option.is-active .lta-option-check::after {
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
  opacity: 1;
}

.lta-option.is-active .lta-option-text {
  color: var(--gold-bright);
}

@media (max-width: 900px) {
  .lta-category {
    padding: 1.35rem 1.2rem;
  }

  .lta-category-name {
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
    letter-spacing: 0.035em;
  }

  .lta-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .lta-category {
    padding: 1.1rem 0.95rem;
  }

  .lta-category-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.75rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.95rem;
  }

  .lta-category-name {
    font-size: clamp(0.8rem, 3vw, 0.95rem);
    letter-spacing: 0.03em;
    line-height: 1.4;
  }

  .lta-category-status {
    margin-left: auto;
    font-size: 0.58rem;
    padding: 0.35rem 0.65rem;
  }

  .lta-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .lta-option:not(.is-disabled):hover .lta-option-face {
    transform: none;
  }

  .lta-option-caption {
    padding: 0.55rem 0.5rem 0.5rem;
  }

  .lta-option-text {
    font-size: 0.74rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .lta-option-score {
    font-size: 0.6rem;
    font-weight: 400;
  }

  .lta-option-check {
    top: 0.45rem;
    right: 0.45rem;
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 420px) {
  .lta-category-name {
    font-size: 0.78rem;
    letter-spacing: 0.025em;
  }

  .lta-category-status {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }
}

.lta-submit {
  max-width: var(--content-max);
  margin: 2.5rem auto 0;
  text-align: center;
  width: 100%;
}

.lta-submit-hint {
  margin-bottom: 1.15rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Match vote/index.html .btn-gold */
body .lta-btn-gold,
body .button-submit-vote,
body .button-submit,
body .auth-btn-primary,
body .howto-btn-primary,
body .thankyou-btn-primary,
body .profile-btn,
body .legal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: auto;
  min-height: 52px;
  padding: 1rem 2.75rem;
  border: none;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #16140f !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(180deg, #fff6df 0%, #ecd9a8 28%, #d4af6a 62%, #b8923f 88%, #9a7830 100%) !important;
  box-shadow:
    0 0 0 1px rgba(255, 248, 230, 0.45) inset,
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(212, 175, 106, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

body .lta-btn-gold::before,
body .button-submit-vote::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 12%;
  width: 32%;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
}

body .lta-btn-gold .arrow,
body .button-submit-vote .arrow {
  font-weight: 300;
  transition: transform 0.25s ease;
}

body .auth-btn-primary,
body .profile-btn,
body .button-submit {
  width: 100%;
}

body .lta-btn-gold:hover:not(:disabled),
body .button-submit-vote:hover:not(:disabled),
body .auth-btn-primary:hover:not(:disabled),
body .howto-btn-primary:hover,
body .thankyou-btn-primary:hover,
body .profile-btn:hover {
  color: #16140f !important;
  transform: translateY(-2px);
  opacity: 1;
  filter: brightness(1.04);
  box-shadow:
    0 0 0 1px rgba(255, 245, 220, 0.55) inset,
    0 14px 40px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(212, 181, 106, 0.28);
}

body .lta-btn-gold:hover:not(:disabled) .arrow,
body .button-submit-vote:hover:not(:disabled) .arrow {
  transform: translateX(4px);
}

body .lta-btn-gold:active:not(:disabled),
body .button-submit-vote:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

body .lta-btn-gold:disabled,
body .button-submit-vote:disabled,
body .auth-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.3);
}

body .lta-btn-gold:disabled:hover,
body .button-submit-vote:disabled:hover {
  transform: none;
  filter: grayscale(0.3);
  box-shadow:
    0 0 0 1px rgba(255, 230, 160, 0.35) inset,
    0 8px 28px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(216, 130, 43, 0.35);
}

body .howto-btn-outline,
body .thankyou-btn-outline,
body .auth-modal-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 106, 0.45);
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

body .howto-btn-outline:hover,
body .thankyou-btn-outline:hover,
body .auth-modal-btn-outline:hover {
  background: rgba(212, 175, 106, 0.12);
  color: #fffdf8;
}

.lta-bottom-banner {
  margin-top: 2.5rem;
}

/* ——— Shared panels ——— */
body .auth-section,
body .howto-section,
body .thankyou-section,
body .legal-section,
body .profile-section,
.lta-reset {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  font-family: var(--font);
}

body .auth-panel,
body .howto-panel,
body .thankyou-panel,
body .legal-panel,
body .profile-panel,
body .lta-reset .fields {
  background: linear-gradient(165deg, rgba(28, 24, 18, 0.9), rgba(10, 9, 8, 0.92)) !important;
  border: 1px solid rgba(212, 175, 106, 0.28);
  border-radius: 5px !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  color: var(--text);
}

body .howto-panel,
body .thankyou-panel,
body .legal-panel {
  max-width: 760px;
  margin: 0 auto;
  background: transparent !important;
  border: none;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

body .auth-header h1,
body .howto-header h1,
body .thankyou-hero h1,
body .legal-header h1,
body .profile-header h1,
body .auth-success h1,
body .lta-reset h2 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fffdf8 0%, var(--gold-bright) 40%, var(--gold) 75%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

body .auth-header p,
body .howto-header p,
body .thankyou-lead,
body .profile-header p,
body .auth-success p,
body .auth-footer,
body .legal-body,
body .howto-step-body p {
  color: rgba(247, 243, 234, 0.72);
}

body .auth-footer {
  border-top-color: rgba(212, 175, 106, 0.16);
}

body .auth-footer a,
body .auth-link-muted,
body .legal-body a {
  color: var(--gold-bright);
}

body .auth-field label,
body .profile-field label,
body .form-register label,
body .fields label {
  color: var(--gold-bright);
  font-family: var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

body .auth-form .form-control,
body .auth-input-wrap .form-control,
body .profile-form .form-control,
body .form-register input,
body .fields input.form-control {
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--text) !important;
  border: 1px solid rgba(212, 175, 106, 0.35) !important;
  border-radius: 5px !important;
  font-family: var(--font) !important;
  box-shadow: none;
}

body .auth-form .form-control:focus,
body .profile-form .form-control:focus,
body .form-register input:focus {
  background: rgba(0, 0, 0, 0.5) !important;
  border-color: var(--gold-bright) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.18) !important;
  color: var(--text) !important;
}

body .auth-input-wrap > i,
body .profile-input-wrap > i {
  color: var(--gold);
}

body .auth-alert,
body .profile-alert--error {
  background: rgba(176, 42, 55, 0.15);
  border-color: rgba(245, 194, 199, 0.35);
  color: #ffd0d4;
}

body .profile-alert--success {
  background: rgba(212, 175, 106, 0.12);
  border-color: rgba(212, 175, 106, 0.35);
  color: var(--gold-bright);
}

body .profile-tabs {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(212, 175, 106, 0.18);
}

body .profile-tab {
  color: var(--text-muted);
  font-family: var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body .profile-tab.is-active {
  background: linear-gradient(180deg, rgba(243, 230, 196, 0.18), rgba(212, 175, 106, 0.08));
  color: var(--gold-bright);
  box-shadow: none;
}

body .profile-tab:hover:not(.is-active) {
  color: var(--gold-bright);
}

body .profile-header,
body .legal-header,
body .howto-header,
body .thankyou-hero {
  border-bottom-color: rgba(212, 175, 106, 0.16);
}

body .profile-avatar,
body .thankyou-check,
body .auth-success-icon,
body .auth-header-icon,
body .auth-brand-icon {
  background: linear-gradient(180deg, #f3e6c4, var(--gold-deep));
  color: #1a1408;
}

body .profile-form .form-control:disabled {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-muted) !important;
}

body .profile-hint,
body .auth-note,
body .auth-check-text {
  color: var(--text-muted);
}

body .auth-consent {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(212, 175, 106, 0.22);
  border-radius: 5px;
}

body .auth-check-box {
  border-color: rgba(212, 175, 106, 0.45);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 3px;
}

body .auth-check input:checked + .auth-check-box {
  background: linear-gradient(180deg, #f3e6c4, var(--gold-deep));
  border-color: transparent;
}

body .auth-check-text a {
  color: var(--gold-bright);
}

body .auth-form .form-control::placeholder,
body .profile-form .form-control::placeholder {
  color: rgba(250, 246, 238, 0.38);
}

/* How to vote — premium timeline */
body .howto-panel {
  max-width: 640px;
}

body .howto-header {
  text-align: center;
  border-bottom: none !important;
  margin-bottom: 0.25rem;
  padding-bottom: 0;
}

body .howto-eyebrow {
  display: block;
  margin-bottom: 0.85rem;
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

body .howto-header h1 {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  letter-spacing: 0.12em;
  line-height: 1.15;
}

body .howto-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(220px, 55%);
  margin: 1.15rem auto 1.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 106, 0.55), transparent);
  position: relative;
}

body .howto-rule span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, #fff6df, var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 0 0 6px var(--bg);
}

body .howto-header p {
  max-width: 36em;
  margin: 0 auto;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(247, 243, 234, 0.78);
}

body .howto-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2.25rem auto 0;
  padding: 0;
  list-style: none;
  max-width: 520px;
}

body .howto-steps::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(212, 175, 106, 0.5) 8%,
    rgba(212, 175, 106, 0.5) 92%,
    transparent
  );
}

body .howto-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.2rem 0;
  margin: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  border-top: 1px solid rgba(212, 175, 106, 0.16) !important;
  box-shadow: none !important;
}

body .howto-step:first-child {
  border-top: none !important;
  padding-top: 0.35rem;
}

body .howto-step:last-child {
  padding-bottom: 0.35rem;
}

body .howto-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #0a0a0c;
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 106, 0.55);
  box-shadow: 0 0 0 7px var(--bg);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

body .howto-step-body {
  min-width: 0;
  padding-top: 0.15rem;
}

body .howto-step-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

body .howto-step-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.72);
}

body .howto-step-body .step-period {
  color: rgba(247, 243, 234, 0.85);
  font-weight: 500;
}

body .howto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  border-top: none;
  margin-top: 2.5rem;
  padding-top: 0;
}

body .thankyou-banner {
  margin-bottom: 0;
}

body .thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  border-top: none;
  margin-top: 1.75rem;
  padding-top: 0;
}

body .howto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 2.1rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body .howto-btn-primary {
  background: linear-gradient(180deg, #fff6df 0%, #d4af6a 55%, #9a7830 100%);
  color: #16140f !important;
  border: none;
  box-shadow: 0 10px 28px rgba(154, 120, 48, 0.28);
}

body .howto-btn-primary:hover {
  color: #16140f !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(154, 120, 48, 0.35);
}

body .howto-banner {
  margin-top: 2.75rem;
}

@media (max-width: 575px) {
  body .howto-steps {
    max-width: none;
  }

  body .howto-steps::before {
    left: 1.05rem;
  }

  body .howto-step {
    gap: 1rem;
    padding: 1.05rem 0;
  }

  body .howto-step-num {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.65rem;
    box-shadow: 0 0 0 6px var(--bg);
  }

  body .howto-btn {
    width: 100%;
  }
}

body .legal-body h1,
body .legal-body h2,
body .legal-body h3,
body .legal-body h4,
body .legal-body h5,
body .legal-body h6,
body .legal-body strong,
body .legal-body b {
  color: var(--gold-bright);
  font-family: var(--font);
}

body .legal-body th,
body .legal-body td {
  border-color: rgba(212, 175, 106, 0.22);
}

body .legal-body th {
  background: rgba(212, 175, 106, 0.08);
  color: var(--gold-bright);
}

body .legal-body blockquote {
  color: var(--text-muted);
  background: rgba(212, 175, 106, 0.08);
}

body .legal-body hr {
  border-top-color: rgba(212, 175, 106, 0.2);
}

body .thankyou-hero,
body .legal-actions {
  text-align: center;
}

.lta-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem var(--page-pad) 3rem;
  border-top: 1px solid rgba(212, 181, 106, 0.12);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  line-height: 1.9;
}

.lta-footer strong {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fffdf8, var(--gold-bright) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Auth gate modal */
body .auth-modal {
  background: #0e0e12;
  border: 1px solid rgba(212, 175, 106, 0.28);
  border-radius: 5px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

body .auth-modal-close {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-bright);
}

body .auth-modal-close:hover {
  background: rgba(212, 175, 106, 0.16);
  color: #fffdf8;
}

body .auth-modal-icon {
  background: rgba(212, 175, 106, 0.12);
  border-color: rgba(212, 175, 106, 0.4);
  color: var(--gold);
}

body .auth-modal-title {
  font-family: var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

body .auth-modal-text {
  font-family: var(--font);
  color: var(--text-muted);
}

body .auth-modal-btn-primary {
  border-radius: 999px;
  background: linear-gradient(180deg, #fff6df 0%, #d4af6a 62%, #9a7830 100%);
  color: #16140f;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body .auth-modal-btn-primary:hover {
  color: #16140f;
}

body .vote-photo-modal img#votePhotoFull {
  border-radius: 5px;
}

body .vote-photo-caption {
  font-family: var(--font);
  color: var(--gold-bright);
}

body .swal2-popup {
  background: #0e0e12 !important;
  color: var(--text) !important;
  border: 1px solid rgba(212, 175, 106, 0.28);
  border-radius: 5px !important;
}

body .swal2-html-container,
body .swal2-title {
  color: var(--text) !important;
}

body .swal2-confirm {
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fff6df, #d4af6a 60%, #9a7830) !important;
  color: #16140f !important;
}

@media (max-width: 720px) {
  :root {
    --nav-h: 60px;
  }

  .lta-nav-toggle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .lta-nav-links {
    position: fixed;
    top: calc(var(--nav-h) + 0.35rem);
    right: 0.75rem;
    left: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: rgba(10, 10, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .lta-nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .lta-nav-links > li > a {
    display: block;
    padding: 0.95rem 1rem;
    text-align: center;
  }

  .lta-nav-links > li > a::after {
    display: none;
  }

  .lta-nav-account {
    width: 100%;
  }

  .lta-account-btn {
    width: 100%;
    justify-content: center;
  }

  .lta-nav .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin-top: 0.35rem !important;
  }

  .lta-progress {
    display: none;
  }

  body .button-submit-vote,
  body .auth-btn-primary,
  body .profile-btn {
    width: 100%;
  }

  body .lta-btn-gold {
    width: min(100%, 320px);
    letter-spacing: 0.14em;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .lta-submit {
    margin-top: 2rem;
    position: sticky;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    padding: 0.85rem;
    border-radius: 18px;
    background: linear-gradient(180deg, transparent, rgba(10, 10, 12, 0.94) 28%);
  }

  .lta-submit-hint {
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
  }

  .lta-submit .lta-btn-gold {
    width: 100%;
  }

  body .card.vote:hover {
    transform: none;
  }
}
