:root {
  --primary-color: #b80a0a;
  --primary-color-dark: #990808;
  --bg-color: #f5f5f5;
  --card-bg: #ffffff;
  --text-color: #222222;
  --muted-color: #707070;
  --border-color: #e8e8e8;
  --shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-home {
  margin: 0;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.page-wrap {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 18px rgba(0, 0, 0, 0.05);
}

.site-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
  display: block;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #ececec;
  background: #fff;
  color: #444;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.top-btn:hover {
  text-decoration: none;
  color: var(--primary-color);
}

.top-btn--solid {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.top-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2ca5e0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(44, 165, 224, 0.28);
}

.section {
  padding: 12px 0 18px;
}

.hero-card,
.install-card,
.rate-card,
.game-card,
.footer-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  background: #111;
}

.hero-carousel__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: clamp(220px, 38vw, 430px);
  background: #b80a0a;
}

.hero-carousel__image {
  width: 100%;
  display: block;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.02) 58%, rgba(0, 0, 0, 0.10) 100%);
  pointer-events: none;
}

.hero-carousel__controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 3;
  pointer-events: none;
}

.hero-carousel__content {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-slide__eyebrow {
  display: none;
}

.hero-slide__title {
  display: none;
}

.hero-slide__subtitle {
  display: none;
}

.hero-slide__actions {
  display: none;
}

.hero-slide__cta {
  min-width: 162px;
  justify-content: center;
}

.hero-slide__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.hero-slide__ghost:hover {
  color: #fff;
  text-decoration: none;
}

.hero-carousel__control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  z-index: 4;
  pointer-events: auto;
}

.hero-carousel__control span {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  transform: translateY(-1px);
}

.hero-carousel__control--prev {
  left: auto;
}

.hero-carousel__control--next {
  right: auto;
}

.hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  transition: width 180ms ease, background 180ms ease;
}

.hero-carousel__dot.is-active {
  width: 28px;
  background: #fff;
}

.install-card {
  padding: 22px 22px 18px;
}

.section-title {
  text-align: center;
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  margin: 0 0 16px;
  color: var(--muted-color);
  font-size: 14px;
}

.steps-list {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 18px;
  color: #444;
  line-height: 1.7;
  font-size: 14px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.rounded-cta {
  min-height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}

.rounded-cta:hover {
  background: var(--primary-color-dark);
  color: #fff;
  text-decoration: none;
}

.install-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 22px 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d31313 0%, #be0909 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(184, 10, 10, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.install-download-btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(184, 10, 10, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  filter: saturate(1.04);
}

.install-download-btn__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  flex: 0 0 auto;
}

.install-download-btn__icon i {
  font-size: 24px;
}

.install-download-btn__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.install-download-btn__text small {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.95;
}

.install-download-btn__text strong {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.rate-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rate-arrow {
  color: var(--primary-color);
  font-size: 14px;
  flex: 0 0 auto;
}

.rate-name {
  font-weight: 700;
  font-size: 15px;
  color: #222;
}

.rate-value {
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  font-size: 14px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.game-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px 14px 14px;
}

.game-main {
  min-width: 0;
  flex: 1 1 auto;
}

.game-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #222;
  letter-spacing: 0.01em;
}

.game-meta {
  margin: 0;
  color: #888;
  font-size: 12px;
  line-height: 1.4;
}

.game-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.game-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.game-links span {
  color: #ccc;
  font-size: 12px;
}

.play-btn {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(184, 10, 10, 0.28);
}

.play-btn i {
  font-size: 18px;
  line-height: 1;
}

.play-btn small {
  display: block;
  font-size: 9px;
  line-height: 1;
  margin-top: 2px;
  font-weight: 700;
}

.footer-card {
  background: var(--primary-color);
  color: #fff;
  box-shadow: none;
  border-color: var(--primary-color);
  text-align: center;
  padding: 26px 18px 20px;
}

.footer-logo {
  height: 54px;
  width: auto;
  display: block;
  margin: 0 auto 10px;
}

.footer-text {
  max-width: 780px;
  margin: 10px auto;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.95;
}

.footer-bottom {
  margin-top: 14px;
  font-size: 12px;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-wrap {
    width: min(100% - 16px, 1180px);
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    justify-content: flex-start;
  }

  .rates-grid,
  .games-grid {
    grid-template-columns: 1fr;
  }

  .rate-card,
  .game-card {
    align-items: flex-start;
  }

  .game-card {
    flex-wrap: wrap;
  }

  .play-btn {
    margin-left: auto;
  }

  .hero-carousel__content {
    display: none;
  }

  .hero-carousel__control {
    width: 40px;
    height: 40px;
  }

  .install-download-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
  }
}
