*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Rubik", system-ui, -apple-system, sans-serif;
  color: #f5f5f5;
  background: radial-gradient(circle at top, #1f1f1f 0, #050505 55%, #000 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

.bg-glow {
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.bg-glow--one {
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, #ffd400 0, transparent 70%);
}

.bg-glow--two {
  bottom: -160px;
  right: -40px;
  background: radial-gradient(circle, #ff9f1a 0, transparent 70%);
}

.bg-glow--three {
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.25) 0, transparent 70%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.65), transparent);
  border-bottom: 1px solid rgba(255, 212, 0, 0.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 0, 0.45);
  box-shadow: 0 0 18px rgba(255, 212, 0, 0.35);
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__name {
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-link {
  font-size: 0.9rem;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f5f5;
}

.header-link:hover {
  border-color: rgba(255, 212, 0, 0.55);
}

.hero {
  padding: 56px 0 32px;
}

.eyebrow {
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #ffd400;
  margin: 0 0 10px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.hero h1 span {
  color: #ffd400;
}

.hero__text {
  max-width: 640px;
  margin: 0 0 22px;
  color: #d4d4d4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #ffd400, #ffb300);
  color: #111;
  box-shadow: 0 12px 30px rgba(255, 212, 0, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(255, 212, 0, 0.45);
}

.games-section {
  padding: 12px 0 64px;
}

.platforms-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .platforms-columns {
    grid-template-columns: 1fr;
  }
}

.platform-section {
  border-radius: 18px;
  padding: 18px 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, rgba(255, 212, 0, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(5, 5, 5, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.platform-section--yandex {
  border-color: rgba(255, 212, 0, 0.35);
}

.platform-section--google {
  border-color: rgba(61, 220, 132, 0.45);
}

.platform-section h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.platform-pill__icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.platform-pill--yandex {
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.55);
  color: #ffe066;
}

.platform-pill--yandex .platform-pill__icon {
  background: #fc3f1d;
  color: #fff;
}

.platform-pill--google {
  background: rgba(61, 220, 132, 0.12);
  border: 1px solid rgba(61, 220, 132, 0.65);
  color: #b9f6ca;
}

.platform-pill--google .platform-pill__icon {
  background: #3ddc84;
  color: #041b11;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 720px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}

.game-card {
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.game-card__cover {
  position: relative;
  padding: 12px 12px 10px;
  background: radial-gradient(circle at top, rgba(255, 212, 0, 0.18), transparent 60%);
}

.game-card__image {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cover-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.game-card__cover h3 {
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.game-card__content {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.game-card__content p {
  margin: 0;
  font-size: 0.88rem;
  color: #d4d4d4;
  flex: 1;
}

.btn--card {
  width: 100%;
  justify-content: center;
  background: #151515;
  color: #ffe066;
  border-color: rgba(255, 212, 0, 0.45);
}

.btn--card-google {
  color: #b9f6ca;
  border-color: rgba(61, 220, 132, 0.55);
}

.btn__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: #fc3f1d;
  color: #fff;
}

.btn--card-google .btn__icon {
  background: #3ddc84;
  color: #041b11;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 30px;
  color: #a3a3a3;
  font-size: 0.85rem;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: #ffd400;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__domain,
.site-footer__contact {
  font-size: 0.82rem;
}
