/* =========================================================
   Smilejourney — Modern Game Hotel Experience
   Design System / Global Stylesheet
   ========================================================= */

/* -------------------- CSS Reset -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* -------------------- Design Tokens -------------------- */
:root {
  /* Backgrounds */
  --bg-main: #0a0d14;
  --bg-section: #121826;
  --bg-surface: #171e2d;
  --bg-surface-alt: #1c2436;

  /* Text */
  --text-primary: #e5e7eb;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Accents */
  --accent-blue: #3b82f6;
  --accent-pink: #ec4899;
  --accent-green: #22c55e;
  --accent-amber: #f59e0b;

  /* Borders */
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow-blue: 0 0 24px rgba(59, 130, 246, 0.35);
  --shadow-glow-pink: 0 0 24px rgba(236, 72, 153, 0.35);

  /* Typography */
  --font-main: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-w: 1200px;
  --header-h: 78px;
}

/* -------------------- Base -------------------- */
body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-section);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--text-secondary);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}

/* -------------------- Background Patterns -------------------- */
.grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, black 0%, transparent 75%);
  pointer-events: none;
}

.glow-line {
  position: absolute;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
  animation: glow-move 6s linear infinite;
}

@keyframes glow-move {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  color: #fff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-pink), #db2777);
  color: #fff;
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.08);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* -------------------- Badges / Status -------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.badge-blue { color: var(--accent-blue); border-color: rgba(59,130,246,.3); background: rgba(59,130,246,.08); }
.badge-pink { color: var(--accent-pink); border-color: rgba(236,72,153,.3); background: rgba(236,72,153,.08); }
.badge-green { color: var(--accent-green); border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.08); }
.badge-amber { color: var(--accent-amber); border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.08); }

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot.green { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
.status-dot.amber { background: var(--accent-amber); box-shadow: 0 0 8px var(--accent-amber); }
.status-dot.pink { background: var(--accent-pink); box-shadow: 0 0 8px var(--accent-pink); }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 128px;
  display: flex;
  align-items: center;
  background: rgba(10, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  height: 128px;
  width: 128px;
  border-radius: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-soft);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 320px;
  margin-bottom: 20px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, transform .2s ease;
}

.social-row a:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-contacts svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 96px;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,13,20,.55) 0%, rgba(10,13,20,.85) 60%, var(--bg-main) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-text .badge {
  margin-bottom: 22px;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 32px;
}

.offline-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 22px;
  margin-top: 28px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid rgba(245, 158, 11, .35);
  box-shadow: 0 0 20px rgba(245, 158, 11, .12);
}

.offline-badge .offline-title {
  color: var(--accent-amber);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.offline-badge .offline-sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.hero-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hero-card-header span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.hero-stat {
  background: var(--bg-surface-alt);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--border-soft);
}

.hero-stat .num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.hero-stat .label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* -------------------- Cards Grid -------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.hotel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}

.hotel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(59, 130, 246, .35);
}

.hotel-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.hotel-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.hotel-card:hover .hotel-card-media img {
  transform: scale(1.08);
}

.hotel-card-accent {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--accent-blue);
  transition: background .3s ease;
}

.hotel-card:hover .hotel-card-accent {
  background: var(--accent-pink);
}

.status-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(10, 13, 20, .7);
  backdrop-filter: blur(6px);
}

.hotel-card-body {
  padding: 24px;
}

.hotel-card-body h3 {
  margin-bottom: 8px;
}

.hotel-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.hotel-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* -------------------- Event / Game Cards -------------------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
}

.event-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 72, 153, .35);
  box-shadow: var(--shadow-glow-pink);
}

.event-card.wide {
  grid-column: span 2;
}

.event-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-soft);
  margin-bottom: 20px;
  color: var(--accent-pink);
}

.event-card h3 {
  margin-bottom: 10px;
}

.event-meta {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* -------------------- Generic Feature / Icon Card -------------------- */
.icon-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color .25s ease, transform .25s ease;
}

.icon-card:hover {
  border-color: rgba(59,130,246,.35);
  transform: translateY(-4px);
}

.icon-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.icon-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.icon-card p {
  font-size: 0.9rem;
}

/* -------------------- Stats -------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 20px;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* -------------------- Forms -------------------- */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text-primary);
  transition: border-color .2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: var(--accent-pink);
  font-size: 0.78rem;
  min-height: 16px;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: var(--accent-pink);
}

/* -------------------- Modal -------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 20, .8);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: translateY(20px);
  transition: transform .25s ease;
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .12);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-secondary);
}

.modal-close:hover {
  background: var(--bg-surface-alt);
  color: var(--text-primary);
}

/* -------------------- Tables -------------------- */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

.compare-table th {
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  font-weight: 700;
}

.compare-table td {
  color: var(--text-secondary);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.check { color: var(--accent-green); font-weight: 700; }
.dash { color: var(--text-muted); }

/* -------------------- Room Setup Switcher -------------------- */
.setup-switcher {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.setup-tab {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all .2s ease;
}

.setup-tab.active,
.setup-tab:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
  background: rgba(59, 130, 246, .1);
}

.setup-display {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  min-height: 320px;
}

.setup-diagram {
  display: none;
  align-items: center;
  justify-content: center;
}

.setup-diagram.active {
  display: flex;
}

.setup-info h3 {
  margin-bottom: 12px;
}

/* -------------------- Masonry Gallery -------------------- */
.masonry {
  columns: 3;
  column-gap: 20px;
}

.masonry img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-soft);
}

/* -------------------- Anchor Nav (Game Page) -------------------- */
.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 500;
  background: rgba(18, 24, 38, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
}

.anchor-nav-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav-list::-webkit-scrollbar { display: none; }

.anchor-nav-list a {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  transition: all .2s ease;
}

.anchor-nav-list a:hover,
.anchor-nav-list a.active {
  color: var(--text-primary);
  border-color: var(--accent-pink);
  background: rgba(236, 72, 153, .1);
}

/* -------------------- Timeline (About - History) -------------------- */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--border-soft);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}

.timeline-year {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

/* -------------------- Values Grid -------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* -------------------- Legal Pages -------------------- */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-content ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}

/* -------------------- Contact Page -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
}

.contact-info-item .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.contact-info-item h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-item p, .contact-info-item a {
  font-size: 0.9rem;
}

/* -------------------- Utility -------------------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  margin: 64px 0;
}

.img-placeholder {
  background: var(--bg-surface-alt);
  border: 1px dashed var(--border-strong);
}

/* -------------------- Responsive -------------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .event-card.wide { grid-column: span 2; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .setup-display { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .burger { display: flex; }

  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-section);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-soft);
    gap: 4px;
  }

  .nav-menu.mobile-open a {
    padding: 14px 16px;
  }

  .cards-grid,
  .cards-grid.cols-2,
  .cards-grid.cols-4 { grid-template-columns: 1fr; }

  .event-grid { grid-template-columns: 1fr; }
  .event-card.wide { grid-column: span 1; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }

  section { padding: 64px 0; }
  .hero { padding: 120px 0 64px; min-height: unset; }
}

/* -------------------- Cookie Banner -------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(18, 24, 38, 0.96);
  border-top: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  padding: 20px 0;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

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

.cookie-banner a:hover {
  color: var(--text-primary);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions button {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-cookie-accept {
  background: var(--accent-blue);
  color: #fff;
}

.btn-cookie-accept:hover {
  background: #60a5fa;
}

.btn-cookie-decline {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
}

.btn-cookie-decline:hover {
  background: var(--bg-surface-alt);
}

@media (max-width: 720px) {
  .cookie-banner .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
