:root {
  --color-primary: #2868d8;
  --color-violet: #7757e8;
  --color-teal: #1fb6a6;
  --color-coral: #f36f5b;
  --color-ink: #172033;
  --color-muted: #667085;
  --color-line: #d9e0ef;
  --color-soft: #f5f8fc;
  --shadow-soft: 0 14px 38px rgba(23, 32, 51, 0.12);
  --radius-card: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-violet);
}

.navbar {
  z-index: 1040;
}

.navbar-brand {
  color: var(--color-ink);
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-icon {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-link {
  color: var(--color-muted);
  font-weight: 650;
}

.nav-link.active,
.nav-link:hover {
  color: var(--color-primary);
}

.btn {
  border-radius: 8px;
  font-weight: 750;
  padding-inline: 1.25rem;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 10px 22px rgba(40, 104, 216, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #1f55b5;
  border-color: #1f55b5;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--color-ink);
}

.hero-section {
  color: #fff;
  min-height: 74vh;
  overflow: hidden;
  position: relative;
}

.hero-bg,
.hero-overlay {
  inset: 0;
  position: absolute;
}

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(18, 28, 48, 0.82), rgba(40, 104, 216, 0.52), rgba(18, 28, 48, 0.3));
}

.hero-content {
  padding-bottom: 7rem;
  padding-top: 8rem;
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.25rem;
  font-weight: 850;
  line-height: 1.08;
  max-width: 760px;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 650px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.section-pad {
  padding: 5rem 0;
}

.bg-light-soft {
  background: var(--color-soft);
}

.section-heading {
  margin: 0 auto 2.75rem;
  max-width: 720px;
}

.section-heading h2,
.page-hero h1,
.policy-content h1 {
  font-weight: 850;
}

.section-heading p,
.page-hero p {
  color: var(--color-muted);
}

.feature-card,
.review-card,
.game-card,
.contact-panel,
.policy-content,
.tabs-panel {
  background: #fff;
  border: 1px solid rgba(217, 224, 239, 0.85);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.review-card,
.contact-panel,
.policy-content,
.tabs-panel {
  padding: 1.6rem;
}

.feature-card h2,
.feature-card h3,
.review-card h3,
.game-card h2,
.contact-panel h2,
.policy-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-card p,
.review-card p,
.game-card p,
.contact-panel p,
.policy-content p,
.policy-content li {
  color: var(--color-muted);
}

.category-mark {
  align-items: center;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  height: 46px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 46px;
}

.action-mark {
  background: var(--color-primary);
}

.strategy-mark {
  background: var(--color-teal);
}

.arcade-mark {
  background: var(--color-coral);
}

.multiplayer-mark {
  background: var(--color-violet);
}

.rounded-media {
  border-radius: 8px;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.progress-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.progress {
  background: #e8eef8;
  border-radius: 999px;
  height: 12px;
}

.progress-bar {
  background: var(--color-primary);
  border-radius: inherit;
}

.progress-bar-teal {
  background: var(--color-teal);
}

.progress-bar-coral {
  background: var(--color-coral);
}

.review-card {
  border-top: 4px solid var(--color-primary);
}

.review-card p {
  font-size: 1.02rem;
}

.review-card h3 {
  margin-bottom: 0.1rem;
}

.review-card span {
  color: var(--color-muted);
  font-size: 0.94rem;
}

.stats-section {
  background: var(--color-ink);
  color: #fff;
  padding: 4rem 0;
}

.stat-item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 1.75rem 1rem;
}

.stat-item strong {
  display: block;
  font-size: 2.7rem;
  font-weight: 850;
  line-height: 1.1;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.tabs-panel {
  max-width: 820px;
  padding: 0;
}

.tab-controls {
  border-bottom: 1px solid var(--color-line);
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.tab-button {
  background: transparent;
  border: 0;
  color: var(--color-muted);
  flex: 1 0 auto;
  font-weight: 800;
  min-height: 58px;
  padding: 1rem;
}

.tab-button.active {
  background: #edf4ff;
  color: var(--color-primary);
}

.tab-content-block {
  padding: 1.6rem;
}

.tab-content-block h3 {
  font-size: 1.4rem;
  font-weight: 850;
}

.tab-content-block p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.faq-accordion {
  max-width: 860px;
}

.accordion-item {
  border-color: var(--color-line);
}

.accordion-button {
  font-weight: 750;
}

.accordion-button:not(.collapsed) {
  background: #edf4ff;
  color: var(--color-primary);
}

.page-hero {
  background: linear-gradient(135deg, #edf4ff, #f6f7fb 52%, #fff5f2);
  padding: 5.25rem 0 4.25rem;
}

.page-hero .container {
  max-width: 860px;
}

.page-hero h1 {
  font-size: 2.75rem;
}

.game-card {
  overflow: hidden;
}

.game-card img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.game-card-body {
  padding: 1.4rem;
}

.game-card .badge {
  border-radius: 8px;
  margin-bottom: 0.9rem;
  padding: 0.55rem 0.7rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-violet));
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: #fff;
  padding: 3rem 1.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
  margin-inline: auto;
  max-width: 640px;
}

.contact-form,
.contact-panel {
  border-radius: 8px;
}

.contact-form {
  background: #fff;
}

.form-control {
  border-color: var(--color-line);
  border-radius: 8px;
  min-height: 48px;
}

textarea.form-control {
  min-height: 170px;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(40, 104, 216, 0.16);
}

.policy-content {
  margin-inline: auto;
  max-width: 900px;
}

.policy-content h2 {
  margin-top: 2rem;
}

.site-footer {
  background: #101827;
  color: rgba(255, 255, 255, 0.76);
  padding: 4rem 0 1.5rem;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-weight: 850;
}

.site-footer h2 {
  font-size: 1.5rem;
}

.site-footer h3 {
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
}

.domain {
  color: #fff;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.footer-bottom p {
  margin: 0;
}

.cookie-banner {
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  bottom: 1rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  left: 50%;
  max-width: 960px;
  padding: 1rem;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 1080;
}

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

.cookie-banner p {
  color: var(--color-muted);
  margin: 0.2rem 0 0;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.6rem;
}

@media (max-width: 991.98px) {
  .hero-content {
    padding-bottom: 5.5rem;
    padding-top: 6rem;
  }

  .hero-section h1 {
    font-size: 2.45rem;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 3.5rem 0;
  }

  .hero-section {
    min-height: 68vh;
  }

  .hero-section h1 {
    font-size: 2.15rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .stat-item strong {
    font-size: 2.25rem;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}
