:root {
  --bg: #0a0b0f;
  --bg-soft: #101218;
  --card-bg: #15171e;
  --card-bg-hover: #191c24;
  --text: #eef0f3;
  --muted: #9aa0aa;
  --accent: #e0a458;
  --accent-2: #f4cf8c;
  --good: #6fcf97;
  --bad: #ec8080;
  --border: #262933;
  --border-soft: #1d2029;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(224, 164, 88, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: "Newsreader", Georgia, serif;
}

/* ---------- Header ---------- */

header {
  position: relative;
  text-align: center;
  padding: 72px 20px 40px;
  overflow: hidden;
}

.header-glow {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 320px;
  background: radial-gradient(closest-side, rgba(224, 164, 88, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.kicker {
  position: relative;
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

header h1 {
  position: relative;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  color: #f4f2ee;
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.subtitle {
  position: relative;
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 1.02rem;
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 24px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: center;
  animation: drawLine 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* ---------- Grid ---------- */

.grid {
  counter-reset: venue;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.card {
  counter-increment: venue;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(28px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.card.in-view {
  animation: fadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc((var(--i, 0)) * 70ms);
}

.grid .card:nth-child(1) { --i: 0; }
.grid .card:nth-child(2) { --i: 1; }
.grid .card:nth-child(3) { --i: 2; }
.grid .card:nth-child(4) { --i: 3; }
.grid .card:nth-child(5) { --i: 4; }
.grid .card:nth-child(6) { --i: 5; }
.grid .card:nth-child(7) { --i: 6; }

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 164, 88, 0.35);
  background: var(--card-bg-hover);
  box-shadow: var(--shadow);
}

.media {
  position: relative;
  overflow: hidden;
}

.media::before {
  content: counter(venue, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: "Newsreader", serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(10, 11, 15, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 9px;
  border-radius: 999px;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 11, 15, 0.55) 100%);
  pointer-events: none;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover img {
  transform: scale(1.06);
}

.price-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  font-weight: 700;
  font-size: 0.92rem;
  color: #1a1206;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(224, 164, 88, 0.55);
}

/* ---------- Carousel (multi-photo cards) ---------- */

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: block;
}

.slide.slide-diagram img {
  object-fit: contain;
  background: #0d0e12;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 6px;
}

.dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot.is-active {
  background: #fff;
  transform: scale(1.35);
}

.card-body {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h2 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 4px;
}

.info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.info .icon {
  font-size: 0.9rem;
  filter: saturate(0.9);
}

.fine-print {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.pros-cons h3 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.pros h3 { color: var(--good); }
.cons h3 { color: var(--bad); }

.pros-cons ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.87rem;
  line-height: 1.55;
}

.pros-cons li {
  position: relative;
  padding-left: 18px;
}

.pros-cons li + li {
  margin-top: 4px;
}

.pros li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--good);
  font-size: 0.8rem;
}

.cons li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  color: var(--bad);
  font-size: 0.75rem;
}

/* ---------- Summary ---------- */

.summary {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 8px 24px 56px;
  opacity: 0;
  transform: translateY(28px);
}

.summary.in-view {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.section-kicker {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.summary h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 18px;
}

.summary-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(111, 207, 151, 0.18);
  flex-shrink: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  white-space: nowrap;
}

thead th {
  text-align: left;
  background: var(--bg-soft);
  color: var(--accent);
  font-weight: 600;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  white-space: normal;
}

tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
  white-space: normal;
  transition: background 0.2s ease;
}

tbody tr {
  transition: background 0.2s ease;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.015);
}

tbody tr:hover {
  background: rgba(224, 164, 88, 0.07);
}

tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--accent);
}

tbody tr.recommended {
  background: rgba(111, 207, 151, 0.07);
}

tbody tr.recommended td:first-child {
  box-shadow: inset 3px 0 0 var(--good);
}

tbody tr.recommended:hover {
  background: rgba(111, 207, 151, 0.13);
}

.rec-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #123821;
  background: var(--good);
  vertical-align: middle;
}

/* ---------- Lightbox ---------- */

.slide {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(6, 7, 10, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: zoom-out;
  animation: fadeIn 0.2s ease both;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.06);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Footer ---------- */

footer {
  position: relative;
  text-align: center;
  color: var(--muted);
  padding: 28px 24px;
  font-size: 0.85rem;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1152px, calc(100% - 48px));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ---------- Motion ---------- */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drawLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kicker, header h1, .subtitle, .rule, .card, .summary {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .card, .card img {
    transition: none !important;
  }
  .lightbox {
    animation: none !important;
  }
}
