:root {
  --bg: #0b131b;
  --bg-elev: #111c28;
  --bg-card: rgba(20, 31, 44, 0.78);
  --border: rgba(212, 175, 55, 0.24);
  --border-strong: rgba(212, 175, 55, 0.55);
  --gold: #d9b45a;
  --gold-light: #f0d78c;
  --text: #ece7dc;
  --muted: #a9b3be;
  --accent: #d9b45a;
  --accent-soft: rgba(217, 180, 90, 0.14);
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
  --radius: 16px;
}

body.theme-junior {
  --bg: #0b1724;
  --bg-elev: #112438;
  --bg-card: rgba(17, 36, 56, 0.82);
  --border: rgba(77, 196, 232, 0.28);
  --border-strong: rgba(242, 198, 99, 0.65);
  --accent: #4dc4e8;
  --accent-soft: rgba(77, 196, 232, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 18% 12%, rgba(217, 180, 90, 0.08), transparent 42%),
              radial-gradient(circle at 82% 8%, rgba(56, 130, 180, 0.12), transparent 46%),
              var(--bg);
  color: var(--text);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body.theme-junior {
  background: radial-gradient(circle at 20% 10%, rgba(77, 196, 232, 0.15), transparent 45%),
              radial-gradient(circle at 84% 12%, rgba(240, 200, 95, 0.12), transparent 42%),
              var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1380px, 92vw);
  margin: 0 auto;
}

/* Header & Navbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.brand-emblem {
  height: clamp(30px, 3.8vw, 38px);
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.brand-text {
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: clamp(0.84rem, 1.25vw, 1.02rem);
  letter-spacing: 0.03em;
  color: var(--gold-light);
  white-space: nowrap;
}

.hero-brand-logo {
  width: min(310px, 76vw);
  height: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover { color: var(--gold-light); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.switch-world {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  color: var(--gold-light);
  transition: transform 0.2s ease, background 0.2s ease;
}

body.theme-junior .switch-world {
  color: #8ee3ff;
  border-color: rgba(77, 196, 232, 0.6);
}

.switch-world:hover { transform: translateY(-1px); background: rgba(217, 180, 90, 0.24); }

.lang-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: var(--gold);
  color: #0b131b;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.42rem 0.65rem;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Opening Intro Video */
.intro-video-section {
  padding: 1.5rem 0 0.4rem;
}

.intro-video-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  background: #070d13;
}

.intro-video {
  width: 100%;
  max-height: 76vh;
  object-fit: cover;
  display: block;
}

.intro-video-mobile {
  display: none;
}

/* Hero */
.hero {
  padding: clamp(2.8rem, 6vw, 5.2rem) 0 clamp(2.5rem, 5vw, 4.2rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(2rem, 4vw, 3.8rem);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

h1, h2, h3 {
  font-family: 'Cinzel', Georgia, serif;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

.hero-claim {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  color: #f3ede2;
  margin-bottom: 1.15rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: #d6d0c4;
  max-width: 58ch;
  margin-bottom: 1.65rem;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.85rem;
}

.stat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  color: var(--text);
}

.stat-pill strong {
  color: var(--gold-light);
  font-weight: 700;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1.45rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.96rem;
  background: linear-gradient(135deg, #e5c368 0%, #c69a38 100%);
  color: #0b131b;
  box-shadow: 0 10px 28px rgba(217, 180, 90, 0.25);
  border: 0;
  cursor: default;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.formats-box {
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(17, 28, 40, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}

.formats-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 0.75rem;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.format-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
}

.format-item.priority {
  border-color: var(--border-strong);
  background: rgba(217, 180, 90, 0.08);
}

.format-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.format-head strong {
  font-size: 0.9rem;
  color: var(--text);
}

.format-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.48rem;
  border-radius: 999px;
  background: var(--gold);
  color: #0b131b;
  white-space: nowrap;
}

.format-note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 520px) {
  .formats-grid { grid-template-columns: 1fr; }
}

.hero-cover-wrap {
  display: flex;
  justify-content: center;
}

.hero-cover {
  width: min(360px, 78vw);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-strong);
}

/* Sections */
.section {
  padding: clamp(2.8rem, 5vw, 4.4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  max-width: 72ch;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  color: var(--gold-light);
}

.section-head p {
  color: var(--muted);
  margin: 0.4rem 0 0;
  font-size: 1.02rem;
}

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

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem 1.5rem;
}

.card h3 {
  font-size: 1.12rem;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
  color: #d6d0c4;
  font-size: 0.96rem;
}

.season-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.clean-list {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  color: #d6d0c4;
  font-size: 0.95rem;
}

.clean-list li { margin-bottom: 0.42rem; }

.highlight-banner {
  background: linear-gradient(135deg, rgba(217, 180, 90, 0.12), rgba(17, 36, 56, 0.65));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.highlight-banner h3 {
  margin: 0 0 0.35rem;
  color: var(--gold-light);
  font-size: 1.3rem;
}

.highlight-banner p {
  margin: 0;
  color: var(--text);
  max-width: 60ch;
  font-size: 0.97rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

.alba-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.9rem 0.45rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.84rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.alba-badge:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.alba-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}

.alba-badge strong {
  color: var(--gold-light);
}

.bastiano-banner {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
}

.bastiano-seal-img {
  width: 148px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.bastiano-banner h3 {
  margin: 0 0 0.45rem;
  color: var(--gold-light);
  font-size: 1.18rem;
}

.bastiano-banner p {
  margin: 0;
  color: #d6d0c4;
  font-size: 0.96rem;
}

@media (max-width: 640px) {
  .bastiano-banner { flex-direction: column; text-align: center; }
  .bastiano-seal-img { width: 170px; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-brand-logo { margin-left: auto; margin-right: auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .stats-row, .cta-group { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar-inner { gap: 0.45rem; padding: 0.55rem 0; }
  .brand-text { font-size: 0.82rem; }
  .intro-video-desktop { display: none; }
  .intro-video-mobile { display: block; max-height: 78vh; object-fit: contain; margin: 0 auto; }
  .nav-actions { gap: 0.35rem; }
  .switch-world { padding: 0.36rem 0.6rem; font-size: 0.74rem; white-space: nowrap; }
  .lang-btn { padding: 0.28rem 0.42rem; font-size: 0.72rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    gap: 0.85rem;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; padding: 0.32rem 0.52rem; font-size: 1rem; }
  .switch-world span.hide-sm { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
