:root {
  --black: #000000;
  --white: #ffffff;
  --purple: #b43ef9;
  --green: #28fab1;
  --blue: #289eff;
  --muted: rgba(255, 255, 255, 0.8);
  --font-mono: "Space Mono", monospace;
  --font-display: "Unbounded", sans-serif;
  --maxw: 1200px;
  --gutter: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  padding: 20px 50px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.site-header {
  position: relative;
  width: 100%;
  border-bottom: 1px solid var(--white);
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav a {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
}

.nav-toggle {
  display: none;
  width: 30px;
  height: 13px;
  align-items: center;
}

.nav-toggle img {
  width: 30px;
  height: 13px;
}

.section {
  width: 100%;
  padding: 60px 0;
}

.section .stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.card--green {
  background: var(--green);
  color: var(--black);
}

.card--blue {
  background: var(--blue);
  color: var(--white);
}

.card-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}

.card-text {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.25;
  margin-top: 24px;
}

.contact .container {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-img {
  flex: 0 0 172px;
  width: 172px;
}

.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-img--left {
  height: 198px;
}

.contact-img--right {
  height: 153px;
}

.contact-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-text {
  width: 100%;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
}

.contact-cards {
  display: flex;
  gap: 10px;
  width: 100%;
}

.contact-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--white);
  text-align: center;
}

.contact-card span {
  max-width: 100%;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(40, 158, 255, 0.8) 2%,
    rgba(40, 250, 177, 0.8) 50%,
    rgba(180, 62, 249, 0.8) 97%
  );
}

.footer-brand {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 150px;
  line-height: 1;
  letter-spacing: -4.5px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  white-space: nowrap;
}

.footer-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.social {
  display: flex;
  gap: 32.3px;
}

.social a {
  display: block;
  width: 76px;
  height: 76px;
}

.social img {
  width: 76px;
  height: 76px;
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 37px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 17px;
  color: var(--black);
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 53px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 17px;
  color: var(--black);
  white-space: nowrap;
}

.footer-backtop {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.footer-backtop img {
  width: 16.5px;
  height: 9.14px;
}

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--black);
    border-bottom: 1px solid var(--white);
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .nav a {
    font-size: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .contact .container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .contact-cards {
    flex-direction: column;
    gap: 10px;
  }

  .site-footer {
    gap: 40px;
    padding: 40px 0;
  }

  .footer-brand {
    font-size: 50px;
    letter-spacing: -1.5px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    order: 1;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .footer-backtop {
    order: 2;
    margin-left: 0;
  }

  .footer-copy {
    order: 3;
  }
}

@media (max-width: 420px) {
  .footer-links,
  .footer-links a {
    font-size: 11px;
  }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Transitions & hover effects ===== */
.btn {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(180, 62, 249, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.brand {
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand-logo img {
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo img {
  transform: scale(1.08);
}

.nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.contact-card {
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: var(--white);
}

.contact-card:hover span {
  color: var(--black);
}

.social a {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.social a:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(255, 255, 255, 0.3));
}

.footer-links a {
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.6;
  text-decoration: underline;
}

.footer-backtop {
  transition: transform 0.25s ease;
}

.footer-backtop:hover {
  transform: translateY(-4px);
}

.policy-body a {
  transition: opacity 0.2s ease;
}

.policy-body a:hover {
  opacity: 0.7;
}

/* ===== Image zoom on hover ===== */
.why-image,
.faq-image,
.variety-image,
.contact-img,
.game-image {
  overflow: hidden;
}

.why-image img,
.faq-image img,
.variety-image img,
.contact-img img,
.game-image img,
.hero-img-inner img,
.catalog-card img {
  transition: transform 0.5s ease;
}

.why-image:hover img,
.faq-image:hover img,
.variety-image:hover img,
.contact-img:hover img,
.game-image:hover img,
.catalog-card:hover img {
  transform: scale(1.06);
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  animation: cookie-fade 0.35s ease both;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-box {
  width: 100%;
  max-width: 860px;
  background: var(--white);
  color: var(--black);
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  animation: cookie-rise 0.4s ease both;
}

.cookie-title {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black);
}

.cookie-text {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
}

.cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-btn {
  min-width: 178px;
}

.cookie-accept {
  background: var(--purple);
}

.cookie-decline {
  background: var(--blue);
}

.cookie-decline:hover {
  box-shadow: 0 8px 24px rgba(40, 158, 255, 0.35);
}

@keyframes cookie-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cookie-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .cookie-box {
    padding: 32px 22px;
    gap: 18px;
  }

  .cookie-title {
    font-size: 28px;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

.inline-link{color:#82e7ff;text-decoration:underline;text-underline-offset:3px;font-weight:500}
.inline-link:hover{opacity:.85}
.editorial-meta{display:block;color:rgba(255,255,255,.78);font-size:13px;line-height:1.6;margin:6px 0 14px;letter-spacing:.02em}
.editorial-note{border-left:2px solid #82e7ff;padding:6px 0 6px 16px;margin:18px 0;font-size:14px;line-height:1.6;color:rgba(255,255,255,.85)}
.source-line{font-size:14px;line-height:1.7;color:rgba(255,255,255,.85);margin:14px 0 0}
.dev-notice{display:block;margin:14px 0 0;font-size:12px;line-height:1.5;color:rgba(255,255,255,.65);text-align:center}
.byline{margin-bottom:8px;color:rgba(255,255,255,.78);font-size:13px;line-height:1.6}
