/* Legal pages styling - extends styles.css */

.legal-page {
  min-height: 100vh;
}

.legal-page main {
  padding-top: 140px;
  padding-bottom: 80px;
}

.legal-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
  color: var(--bone);
}

.legal-shell h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--gold-bright);
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
}

.legal-shell h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  color: var(--gold);
  margin: 2.4em 0 0.5em;
  font-weight: 600;
}

.legal-shell h3 {
  font-size: 1.05rem;
  color: var(--bone);
  margin: 1.6em 0 0.3em;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal-shell p,
.legal-shell li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--bone-muted);
}

.legal-shell ul {
  padding-left: 1.2em;
}

.legal-shell a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(221, 198, 128, 0.4);
}

.legal-shell a:hover {
  text-decoration-color: var(--gold-bright);
}

.legal-shell .kicker {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
  color: var(--gold);
  margin: 0 0 0.8em;
}

.legal-shell .updated {
  font-size: 0.84rem;
  color: rgba(245, 237, 224, 0.5);
  margin-bottom: 2.4em;
  letter-spacing: 0.08em;
}

.legal-shell .back-link {
  display: inline-block;
  margin-top: 3.6em;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201, 169, 97, 0.4);
  padding-bottom: 4px;
}

.legal-shell .back-link:hover {
  color: var(--gold-bright);
}

.legal-shell .contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.6em 1.8em;
  background: rgba(22, 18, 20, 0.55);
  margin: 2em 0;
}

/* Age Gate Modal */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(9, 9, 9, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate[hidden] {
  display: none;
}

.age-gate-card {
  max-width: 480px;
  width: 100%;
  background: linear-gradient(180deg, rgba(22, 18, 20, 0.98), rgba(13, 13, 13, 0.98));
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: 44px 36px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.age-gate-card .mark {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-bright);
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  margin: 0 0 1.2em;
}

.age-gate-card h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--bone);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5em;
  font-weight: 600;
}

.age-gate-card p {
  color: var(--bone-muted);
  line-height: 1.6;
  margin: 0 0 1.6em;
  font-size: 0.95rem;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate-actions button {
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 600;
  border: 1px solid var(--gold);
}

.age-gate-actions .age-yes {
  background: var(--gold);
  color: var(--black);
}

.age-gate-actions .age-yes:hover {
  background: var(--gold-bright);
}

.age-gate-actions .age-no {
  background: transparent;
  color: var(--bone-muted);
  border-color: rgba(245, 237, 224, 0.2);
}

.age-gate-actions .age-no:hover {
  color: var(--bone);
  border-color: var(--bone-muted);
}

.age-gate-fine {
  margin-top: 1.8em;
  font-size: 0.72rem;
  color: rgba(245, 237, 224, 0.4);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.age-declined {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #090909;
  color: var(--bone-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
}

.age-declined[hidden] {
  display: none;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 640px;
  margin: 0 auto;
  z-index: 9000;
  background: rgba(22, 18, 20, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--bone-muted);
  flex: 1 1 240px;
}

.cookie-banner a {
  color: var(--gold-bright);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions button {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 600;
  border: 1px solid var(--gold);
}

.cookie-accept {
  background: var(--gold);
  color: var(--black);
}

.cookie-accept:hover {
  background: var(--gold-bright);
}

.cookie-reject {
  background: transparent;
  color: var(--bone-muted);
  border-color: rgba(245, 237, 224, 0.25);
}

.cookie-reject:hover {
  color: var(--bone);
  border-color: var(--bone-muted);
}

/* ============================================
   LAUNCH BANNER (top of index.html)
   ============================================ */
.launch-banner {
  background: linear-gradient(90deg, rgba(74, 14, 26, 0.95), rgba(74, 14, 26, 0.7));
  border-bottom: 1px solid var(--gold-soft);
  color: var(--bone);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  text-align: center;
  position: relative;
  z-index: 50;
}
.launch-banner strong {
  color: var(--gold-bright);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-right: 10px;
}
.launch-banner span {
  color: var(--bone-muted);
}
@media (max-width: 640px) {
  .launch-banner { font-size: 0.74rem; padding: 8px 14px; line-height: 1.45; }
  .launch-banner strong { display: block; margin: 0 0 3px; font-size: 0.66rem; }
}

/* ============================================
   HERO VIDEO
   ============================================ */
.hero-video-wrap {
  position: relative;
  margin: 24px 0 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gold-soft);
  background: #0a0708;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-play {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(9,9,9,0.1), rgba(9,9,9,0.55));
  cursor: pointer;
  border: 0;
  color: var(--gold-bright);
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.hero-video-play::before {
  content: "";
  width: 64px;
  height: 64px;
  margin-right: 14px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(201, 169, 97, 0.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ddc680'><path d='M8 5v14l11-7z'/></svg>") center/24px no-repeat;
}
.hero-video-play.show { display: flex; }
@media (max-width: 780px) {
  .hero-video-wrap { aspect-ratio: 4 / 3; }
}

/* ============================================
   REGISTRUL 844 / THE LEDGER
   ============================================ */
.ledger {
  padding: 120px 0 110px;
  position: relative;
}
.ledger-shell {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.ledger-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  color: var(--gold);
  margin: 0 0 1em;
}
.ledger-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--gold-bright);
  font-weight: 600;
  margin: 0 0 0.4em;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.ledger-sub {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--bone-muted);
  margin: 0 0 2.4em;
  letter-spacing: 0.04em;
}
.ledger-copy {
  max-width: 720px;
  margin: 0 auto 3em;
  color: var(--bone-muted);
  font-size: 1.04rem;
  line-height: 1.85;
}
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 3.2em auto 2em;
  max-width: 900px;
}
.ledger-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 2.2em 1.6em;
  background: linear-gradient(180deg, rgba(22,18,20,0.5), rgba(13,13,13,0.5));
  text-align: center;
  transition: all var(--transition);
}
.ledger-card:hover {
  border-color: var(--gold-soft);
  transform: translateY(-3px);
}
.ledger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(201, 169, 97, 0.08);
  color: var(--gold-bright);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  margin: 0 auto 1.2em;
  letter-spacing: 0;
}
.ledger-card h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--bone);
  font-size: 1.3rem;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ledger-card p {
  color: var(--bone-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
.ledger-unlock {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 3em auto 0;
  flex-wrap: wrap;
  padding-top: 2.6em;
  border-top: 1px solid var(--line);
  max-width: 680px;
}
.ledger-unlock div {
  flex: 1 1 240px;
  min-width: 200px;
}
.ledger-unlock .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  color: var(--gold-bright);
  line-height: 1;
  margin: 0 0 0.2em;
  font-weight: 600;
}
.ledger-unlock .label {
  color: var(--bone-muted);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.55;
}
.ledger-serial {
  display: inline-block;
  margin-top: 2.4em;
  padding: 10px 24px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  color: var(--gold);
  font-family: "Inter", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  background: rgba(201, 169, 97, 0.04);
}
@media (max-width: 780px) {
  .ledger { padding: 80px 0 70px; }
  .ledger-grid { grid-template-columns: 1fr; gap: 16px; }
  .ledger-unlock { gap: 20px; padding-top: 2em; }
  .ledger-unlock .num { font-size: 2.1rem; }
}

/* Footer legal links */
.legal-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 32px;
  margin-top: 24px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.legal-footer-links a {
  color: var(--bone-muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color var(--transition);
}

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

.legal-footer-copy {
  text-align: center;
  font-size: 0.74rem;
  color: rgba(245, 237, 224, 0.4);
  margin: 0;
  line-height: 1.6;
}
