:root {
  --bg: #0d0d12;
  --bg-alt: #14141c;
  --bg-card: #1a1a24;
  --gold: #d4af37;
  --gold-soft: #e8c96a;
  --red: #b3122e;
  --text: #f2f0ea;
  --muted: #a7a5b3;
  --border: rgba(212, 175, 55, 0.25);
  --radius: 14px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8912a);
  color: #16130a;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
  color: #000;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(212, 175, 55, 0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 18, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-topbar {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px;
  font-size: 13px;
}
.header-topbar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}
.header-topbar-contacts a { color: var(--muted); font-weight: 500; }
.header-topbar-contacts a:hover { color: var(--gold); }
.header-topbar .header-address { color: var(--muted); }
.header-topbar .hours { color: var(--muted); white-space: nowrap; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
}
.logo img { width: 38px; height: 38px; border-radius: 50%; margin-right: 10px; }
.logo span { color: var(--gold); }
.logo:hover { color: var(--text); }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}
.main-nav a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.nav-contacts {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,18,0.55), rgba(13,13,18,0.88));
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 90px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 8px 18px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: #d8d5cc;
  margin-bottom: 32px;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero--small { min-height: 44vh; }
.hero--small .hero-inner { padding: 60px 0; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(24px, 3.4vw, 36px);
  margin-bottom: 14px;
}
.section-title span { color: var(--gold); }
.section-sub {
  color: var(--muted);
  margin-bottom: 44px;
}
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

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

.card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.card img { height: 210px; width: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 19px; margin-bottom: 10px; color: var(--gold-soft); }
.card-body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.card-link { font-weight: 600; font-size: 14px; }

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}
.split h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.split p { color: #cfccc2; margin-bottom: 16px; }

/* ---------- Advantages ---------- */
.adv {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.25s, transform 0.25s;
}
.adv:hover { border-color: var(--border); transform: translateY(-4px); }
.adv-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 18px;
}
.adv h3 { font-size: 18px; margin-bottom: 10px; }
.adv p { color: var(--muted); font-size: 15px; }

/* ---------- Offline notice ---------- */
.offline-notice {
  max-width: 720px;
  margin: 0 auto 20px;
  text-align: center;
  background: rgba(179, 18, 46, 0.14);
  border: 1px solid rgba(179, 18, 46, 0.4);
  border-radius: var(--radius);
  padding: 18px 24px;
}
.offline-notice p { color: #f2c9d2; font-size: 15px; }
.offline-notice strong { color: #ff6b83; text-transform: uppercase; letter-spacing: 0.4px; }
.offline-disclaimer {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
}
.offline-disclaimer p { color: var(--muted); font-size: 14px; }

/* ---------- Stats ---------- */
.stats { text-align: center; }
.stat-num {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}
.stat-label { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ---------- Reviews ---------- */
.review {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.review p { color: #cfccc2; font-size: 15px; font-style: italic; }
.review-author { font-weight: 600; font-size: 14px; color: var(--gold-soft); }
.review-author small { display: block; color: var(--muted); font-weight: 400; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, rgba(179,18,46,0.35), rgba(212,175,55,0.18)), var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.cta p { color: #d8d5cc; max-width: 640px; margin: 0 auto 30px; }

/* ---------- Services detail ---------- */
.service-block {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.service-flex {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
}
.service-flex img { height: 100%; min-height: 340px; width: 100%; object-fit: cover; }
.service-info { padding: 36px; }
.service-info h2 { font-size: 24px; color: var(--gold-soft); margin-bottom: 12px; }
.service-info > p { color: #cfccc2; margin-bottom: 18px; font-size: 15px; }
.service-info ul {
  list-style: none;
  margin-bottom: 20px;
}
.service-info ul li {
  padding: 7px 0 7px 28px;
  position: relative;
  color: var(--muted);
  font-size: 15px;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
}
.service-info ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.service-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.price-tag {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}
.price-tag small { font-size: 13px; color: var(--muted); font-weight: 400; }
.service-block:nth-child(even) .service-flex img { order: 2; }

/* ---------- Steps ---------- */
.step { text-align: center; padding: 20px; }
.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8912a);
  color: #16130a;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Forms ---------- */
.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
  color: #d8d5cc;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #101018;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-success {
  display: none;
  background: rgba(60, 180, 90, 0.12);
  border: 1px solid rgba(60, 180, 90, 0.4);
  color: #7fd79a;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 15px;
}
.form-success.visible { display: block; }

/* ---------- Contacts ---------- */
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.contact-item:last-child { border-bottom: none; }
.contact-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212,175,55,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--gold);
}
.contact-item h3 { font-size: 15px; margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: 15px; color: var(--muted); }
.contact-item a:hover { color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery img {
  border-radius: var(--radius);
  height: 240px;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s, border-color 0.25s;
}
.gallery img:hover { transform: scale(1.02); border-color: var(--border); }

/* ---------- Legal ---------- */
.legal h2 { font-size: 22px; color: var(--gold-soft); margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #cfccc2; font-size: 15px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0a0f;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-col h4 {
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.4px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a, .footer-col p { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-brand p { margin-top: 14px; max-width: 300px; }
.footer-legal-data { font-size: 13px; color: #7d7b89; line-height: 1.7; }
.footer-responsible-gaming {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 13px;
  color: #7d7b89;
}
.footer-responsible-gaming a {
  color: var(--muted);
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 5px 14px;
}
.footer-responsible-gaming a:hover { color: var(--gold); border-color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7d7b89;
}
.footer-bottom a { color: #7d7b89; }
.footer-bottom a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s;
}
.socials a:hover { background: rgba(212,175,55,0.12); border-color: var(--gold); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: 400px;
  background: #17171f;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; }
.cookie-banner h3 { font-size: 17px; color: var(--gold); margin-bottom: 10px; }
.cookie-banner p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 22px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .service-flex { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-flex img { order: 0; }
  .service-flex img { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-topbar { display: none; }
  .main-nav {
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 67px);
    overflow-y: auto;
    background: rgba(13,13,18,0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 24px 0; }
  .main-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .main-nav a { display: block; padding: 14px 0; }
  .burger { display: flex; }
  .nav-contacts {
    display: flex;
    flex-direction: column;
    padding: 18px 24px 24px;
    font-size: 14px;
  }
  .nav-contacts a { color: var(--text); font-weight: 600; }
  .nav-contacts a:hover { color: var(--gold); }
  .nav-contacts .header-address,
  .nav-contacts .hours { color: var(--muted); }
}

@media (max-width: 480px) {
  .header-topbar-contacts { gap: 12px; }
  .header-topbar-inner { font-size: 12px; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
