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

:root {
  --bg: #120d08;
  --bg-soft: #1a1410;
  --panel: rgba(41, 28, 18, 0.72);
  --panel-strong: rgba(28, 18, 12, 0.88);
  --line: rgba(214, 184, 120, 0.22);
  --line-strong: rgba(214, 184, 120, 0.42);
  --text: #f3e7cf;
  --muted: #cfbea0;
  --accent: #d8b878;
  --accent-dark: #a06a3b;
  --accent-red: #7c2f1d;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(216, 184, 120, 0.09), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(124, 47, 29, 0.12), transparent 22%),
    linear-gradient(180deg, #0f0b08 0%, #17110d 44%, #0d0907 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

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

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

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 110px 0 84px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.3)),
    radial-gradient(circle at 20% 25%, rgba(216, 184, 120, 0.08), transparent 18%),
    radial-gradient(circle at 82% 22%, rgba(124, 47, 29, 0.12), transparent 22%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 820px;
  z-index: 1;
}

.eyebrow,
.section-label,
.slide__tag,
.game-number {
  margin: 0 0 14px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  line-height: 1.15;
}

strong {
  color: #fff3d6;
  font-weight: 700;
}

.lead,
.section-heading p,
.footer__text,
.contacts a,
.game-card p,
.slide__content p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 233, 190, 0.45);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1b1209;
  border-color: transparent;
  font-weight: 700;
}

.button--ghost {
  background: rgba(255, 248, 236, 0.04);
}

.games,
.gallery {
  padding: 78px 0 84px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.game-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.game-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(58, 39, 27, 0.44), rgba(23, 15, 10, 0.8));
  box-shadow: var(--shadow);
}

.game-links {
  margin-top: 20px;
}

.slider {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 16px;
  align-items: center;
}

.slider__viewport {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.slider__track {
  display: flex;
  transition: transform 0.35s ease;
}

.slide {
  position: relative;
  min-width: 100%;
  min-height: 520px;
  overflow: hidden;
  padding: 0;
  display: block;
}

.slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 7, 5, 0.08) 0%,
    rgba(10, 7, 5, 0.20) 45%,
    rgba(10, 7, 5, 0.72) 100%
  );
  z-index: 2;
}

.slide__content {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 3;
  max-width: 420px;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(20, 12, 8, 0.72);
  border: 1px solid rgba(216, 184, 120, 0.22);
  backdrop-filter: blur(4px);
}

.slide__content h3,
.slide__content p,
.slide__content .slide__tag {
  position: relative;
  z-index: 4;
}

.slide__content h3 {
  margin-bottom: 8px;
}

.slide__content p {
  margin-bottom: 0;
}

.slide--one::before,
.slide--two::before,
.slide--three::before {
  display: none;
}

.slider__control {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 248, 236, 0.04);
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.slider__control:hover,
.slider__dot:hover {
  border-color: rgba(255, 233, 190, 0.5);
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 248, 236, 0.08);
  cursor: pointer;
}

.slider__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.footer {
  padding: 58px 0 76px;
  border-top: 1px solid var(--line);
  background: rgba(255, 248, 236, 0.02);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}

.contacts {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(58, 39, 27, 0.38), rgba(21, 14, 10, 0.82));
}

.contacts a:hover {
  color: var(--text);
}

@media (max-width: 920px) {
  .game-list,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .slide {
    min-height: 430px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 78px 0 64px;
  }

  .slider {
    grid-template-columns: 1fr;
  }

  .slider__control {
    display: none;
  }

  .slide {
    min-height: 320px;
  }

  .slide__content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 16px;
  }

  .lead,
  .section-heading p,
  .footer__text,
  .contacts a,
  .game-card p,
  .slide__content p {
    font-size: 1rem;
  }
}