/* ===== Турэндуро 61 — лендинг ===== */

:root {
  --orange: #ff6600;
  --orange-bright: #ff7d1a;
  --dark: #0f1419;
  --darker: #08090c;
  --cream: #f4f1e8;
  --gray: #b8b3a8;
  --gray-dark: #1a1f26;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--orange);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--orange-bright); }

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--darker);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: contrast(1.05) saturate(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(8, 9, 12, 0.85) 90%);
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  z-index: 2;
}

.hero__logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 0 4px rgba(255, 102, 0, 0.4);
}

.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 18vw, 160px);
  font-weight: 400;
  letter-spacing: 4px;
  line-height: 0.95;
  color: var(--orange);
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.9), 0 0 64px rgba(255, 102, 0, 0.4);
  margin-bottom: 8px;
}

.hero__dates {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 5vw, 38px);
  letter-spacing: 6px;
  color: var(--cream);
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(13px, 3vw, 16px);
  letter-spacing: 2px;
  color: var(--gray);
  margin-bottom: 48px;
  font-weight: 500;
}

.hero__cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--orange);
  color: var(--darker);
  font-weight: 900;
  letter-spacing: 3px;
  border-radius: 4px;
  font-size: 14px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255, 102, 0, 0.5);
}
.hero__cta:hover {
  background: var(--orange-bright);
  color: var(--darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 102, 0, 0.7);
}

/* ===== BLOCKS ===== */
.block {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 102, 0, 0.1);
}

.block--dark { background: var(--darker); }

.block--cta {
  background: linear-gradient(135deg, var(--orange) 0%, #cc5200 100%);
  color: var(--darker);
  text-align: center;
}
.block--cta .block__title { color: var(--darker); }
.block--cta .block__title::after { background: var(--darker); }
.block--cta p { color: var(--darker); }
.block--cta p strong { color: var(--darker); }

.vote-btn {
  display: inline-block;
  margin: 16px 0 32px;
  padding: 22px 48px;
  background: var(--darker);
  color: var(--orange);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 3px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 2px solid var(--darker);
}
.vote-btn:hover {
  transform: translateY(-3px);
  background: #1a1a2e;
  color: #ffaa33;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
}
.vote-btn:active { transform: translateY(0); }

.block__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: 4px;
  color: var(--orange);
  margin-bottom: 32px;
  text-align: center;
  position: relative;
}
.block__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 16px auto 0;
}

.lead {
  font-size: 19px;
  margin-bottom: 20px;
  color: var(--cream);
}
.lead.big {
  font-size: 22px;
  margin-bottom: 24px;
}

p { margin-bottom: 16px; }

.hint {
  font-size: 15px;
  color: var(--gray);
  font-style: italic;
}

.warn {
  background: rgba(255, 102, 0, 0.12);
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: 4px;
  margin: 20px 0;
}

strong { color: var(--orange); font-weight: 700; }

/* ===== MAP ===== */
#map {
  height: 500px;
  width: 100%;
  border-radius: 8px;
  margin-top: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  background: var(--gray-dark);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray);
}
.legend__item { display: flex; align-items: center; gap: 8px; }
.legend__line {
  display: inline-block;
  width: 32px;
  height: 4px;
  border-radius: 2px;
}
.legend__line--road { background: var(--orange); }
.legend__line--offroad {
  background: repeating-linear-gradient(90deg, #ffaa33 0 6px, transparent 6px 10px);
}

/* ===== TABLE ===== */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 15px;
  background: var(--gray-dark);
  border-radius: 8px;
  overflow: hidden;
}
.table th, .table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 102, 0, 0.1);
}
.table th {
  background: rgba(255, 102, 0, 0.15);
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 13px;
  text-transform: uppercase;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(255, 102, 0, 0.05); }

/* ===== GRID & CARDS ===== */
.grid { display: grid; gap: 24px; margin-top: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--gray-dark);
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 102, 0, 0.15);
}
.card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 16px;
}
.card ul { list-style: none; }
.card li {
  padding: 6px 0;
  font-size: 16px;
}

.checklist li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 102, 0, 0.08);
}
.checklist li:last-child { border-bottom: none; }
.checklist strong {
  display: block;
  color: var(--cream);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.checklist span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
}

/* ===== DAYS ===== */
.day {
  background: var(--gray-dark);
  padding: 32px;
  border-radius: 8px;
  margin-bottom: 24px;
  border-left: 4px solid var(--orange);
}
.day__date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: 8px;
}
.day__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--cream);
  margin-bottom: 16px;
}
.day ul {
  margin: 12px 0;
  padding-left: 24px;
}
.day li { padding: 4px 0; }

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 32px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.3);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--darker);
  padding: 40px 0;
  border-top: 2px solid var(--orange);
}
.footer .container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.footer__logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.footer span { color: var(--gray); font-size: 14px; }

/* ===== MOBILE ===== */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .block { padding: 56px 0; }
  .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .table { font-size: 14px; }
  .table th, .table td { padding: 10px 12px; }
  #map { height: 380px; }
  .hero__logo { width: 110px; height: 110px; }
  .day { padding: 24px; }
}

@media (max-width: 480px) {
  .table th:nth-child(2), .table td:nth-child(2) { display: none; }
}
