:root {
  --bg-1: #0b0f19;
  --bg-2: #1a2238;
  --bg-3: #812c2c;
  --card: rgba(17, 24, 39, 0.76);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f3f7ff;
  --muted: #bfd0ea;
  --accent: #f04e30;
  --accent-2: #ffb14a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: radial-gradient(circle at 10% 10%, #2f3f72 0%, transparent 35%),
    radial-gradient(circle at 85% 15%, #8b2c2c 0%, transparent 30%),
    linear-gradient(140deg, var(--bg-1), var(--bg-2) 50%, #1f1f1f 100%);
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
}

.site-header,
.container,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  backdrop-filter: blur(8px);
}

.logo {
  font-family: "Russo One", sans-serif;
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  border-color: var(--card-border);
  background: rgba(255, 255, 255, 0.08);
}

.container {
  padding: 1.5rem 0 3rem;
}

h1,
h2 {
  margin: 0 0 0.7rem;
}

h1 {
  font-size: clamp(1.8rem, 2.2vw + 1rem, 3rem);
  line-height: 1.15;
}

h2 {
  font-size: 1.25rem;
}

.lead {
  color: var(--muted);
  max-width: 70ch;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #e8f0ff;
  background: rgba(255, 255, 255, 0.06);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.75rem;
}

.hero-block {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.hero-block.compact {
  margin-bottom: 1rem;
}

.hero-image {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.25);
}

.media-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.guide-focus {
  margin-top: 1rem;
}

.narrow-media {
  max-width: 720px;
  margin-inline: auto;
  display: block;
}

.cta-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 0.95rem;
  border-radius: 0.6rem;
  background: linear-gradient(130deg, var(--accent), #c83e29);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--card-border);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.05rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card h2 {
  line-height: 1.25;
}

.card img {
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.45;
}

.item-note {
  margin-bottom: 1rem;
}

.item-grid .card {
  min-height: 240px;
}

.item-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  margin: 0 0 0.55rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  image-rendering: auto;
}

.table-card th {
  color: #eaf2ff;
  font-weight: 700;
}

.table-card tr:last-child td {
  border-bottom: 0;
}

.table-card tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
}

.table-card th,
.table-card td {
  text-align: left;
  padding: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.table-card th:first-child,
.table-card td:first-child {
  width: 34%;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 0.8rem;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.25);
  cursor: zoom-in;
}

.player-focus-lower {
  object-position: center 100%;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 8, 15, 0.86);
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  width: min(1200px, 95vw);
}

.lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #070a10;
}

.lightbox-close {
  margin-top: 0.7rem;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 0.55rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.site-footer {
  color: var(--muted);
  padding: 1rem 0 2rem;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-block,
  .grid.two,
  .grid.three,
  .grid.four,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 0.95rem;
  }

  .item-thumb {
    width: 64px;
    height: 64px;
  }

  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .site-nav {
    width: 100%;
    gap: 0.4rem;
  }

  .site-nav a {
    font-size: 0.92rem;
    padding: 0.42rem 0.66rem;
  }

  .cta-row {
    width: 100%;
    flex-wrap: wrap;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-image {
    max-height: 280px;
  }
}
