:root {
  color-scheme: dark;
  --bg: #06060a;
  --bg-alt: #0b0b11;
  --card: #121225;
  --accent: #ff7d4d;
  --accent-soft: rgba(255, 125, 77, 0.12);
  --text: #f7f3ee;
  --muted: #b0abb3;
  --border: rgba(255, 255, 255, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(255, 125, 77, 0.08), transparent 55%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 5, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem clamp(1rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-weight: 600;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  border-color: var(--accent);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: transparent;
  position: relative;
}

.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.burger span::before {
  content: "";
  top: -6px;
}

.burger span::after {
  content: "";
  top: 6px;
}

.burger.is-active span {
  background: transparent;
}

.burger.is-active span::before {
  transform: translate(-50%, 6px) rotate(45deg);
}

.burger.is-active span::after {
  transform: translate(-50%, -6px) rotate(-45deg);
}

section {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 7vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-alt);
}

section:nth-of-type(even) {
  background: var(--bg);
}

section h1,
section h2 {
  text-align: center;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero {
  position: relative;
  min-height: clamp(420px, 75vh, 760px);
  padding: clamp(3rem, 8vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050508;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #050508;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 45%, rgba(6, 6, 10, 0.65), transparent 50%),
    linear-gradient(120deg, rgba(4, 4, 8, 0.75) 0%, rgba(6, 6, 10, 0.35) 45%, rgba(6, 6, 10, 0.08) 80%, transparent);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  text-align: center;
  padding: clamp(1rem, 4vw, 2.25rem);
  color: var(--text);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero-content p {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  color: var(--muted);
}

.hero-content .btn {
  min-width: 200px;
}

.hero-subtitle {
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero {
    justify-content: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content p {
    margin-inline: auto;
  }
}


.hero-visual {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 2.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #140700;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255, 125, 77, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  min-height: 160px;
}

.feature-card__illustration {
  width: 100%;
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  object-fit: cover;
  aspect-ratio: 4 / 3;
  background: #050508;
}

.mini-game {
  text-align: center;
}

.game-card {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  border-radius: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.game-card__body {
  padding: 1.5rem;
}

.shaker {
  width: 180px;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.shaker-cap,
.shaker-body,
.shaker-base {
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 125, 77, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}

.shaker-cap {
  height: 24px;
  max-width: 90px;
}

.shaker-body {
  flex: 1;
  width: 120px;
  border-radius: 60px 60px 40px 40px;
}

.shaker-base {
  height: 28px;
  max-width: 110px;
  border-radius: 40px 40px 20px 20px;
}

.shaker.is-shaking {
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(4deg);
  }
  50% {
    transform: rotate(-4deg);
  }
  75% {
    transform: rotate(3deg);
  }
}

.game-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.game-options button {
  min-width: 140px;
}

.game-status {
  font-weight: 600;
}

.game-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.accordion {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.accordion-item + .accordion-item {
  border-top: 1px solid var(--border);
}

.accordion button {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.01);
  color: inherit;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion button span {
  font-size: 1.1rem;
}

.accordion button::after {
  content: "+";
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.accordion button.is-open::after {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.5rem;
}

.accordion-panel p,
.accordion-panel ul {
  color: var(--muted);
}

.accordion-panel-inner {
  padding: 1rem 0 1.5rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact-card,
.info-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.map-wrapper iframe {
  width: 100%;
  border: 0;
  min-height: 280px;
  border-radius: 1rem;
  filter: grayscale(0.1);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.85rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  padding: 2.5rem clamp(1rem, 6vw, 4rem);
  background: #040406;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links button {
  background: transparent;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-popup,
.social-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  padding: 1rem;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cookie-popup.is-visible,
.social-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  max-width: 460px;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  text-align: center;
}

.popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #19192d;
    padding: 1.25rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
  }

  .nav-list a:hover,
  .nav-list a.is-active {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.08);
  }

  .burger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  .site-header {
    flex-wrap: wrap;
  }

  .logo {
    width: 100%;
  }

  section {
    padding-inline: 1rem;
  }
}

