:root {
  --font-exo: 'Exo 2';
  --font-figtree: 'Figtree';

  --page-gutter-x: 1rem;

  --bg: #060606;
  --bg-elevated: #121010;
  --surface: rgba(18, 12, 12, 0.78);
  --surface-strong: rgba(10, 8, 8, 0.92);

  --text: #f5f5f5;
  --text-muted: #a8a4a4;

  --accent: #e10600;
  --accent-deep: #8b0a12;
  --accent-glow: #ff2a2a;

  --border: rgba(225, 6, 0, 0.32);
  --border-strong: rgba(255, 42, 42, 0.58);

  --gradient-brand: linear-gradient(
    135deg,
    #ff2a2a 0%,
    #e10600 45%,
    #8b0a12 100%
  );
  --gradient-offer: linear-gradient(
    145deg,
    rgba(28, 22, 22, 0.96) 0%,
    rgba(14, 12, 12, 0.98) 45%,
    rgba(22, 16, 16, 0.96) 78%,
    rgba(40, 18, 18, 0.9) 100%
  );
  --gradient-offer-top: linear-gradient(
    145deg,
    rgba(48, 22, 22, 0.95) 0%,
    rgba(18, 14, 14, 0.98) 35%,
    rgba(10, 8, 8, 0.98) 70%,
    rgba(36, 16, 16, 0.92) 100%
  );
  --shadow-offer: 0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --font-display: var(--font-exo), system-ui, sans-serif;
  --font-body: var(--font-figtree), system-ui, sans-serif;
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  position: relative;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
}

[hidden] {
  display: none !important;
}

.siteShell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100dvh;
}

/* Site background */
.siteBg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.siteBgImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.siteBgDesktop {
  display: none;
}

.siteBgMobile {
  display: block;
}

@media (min-width: 768px) {
  .siteBgDesktop {
    display: block;
  }

  .siteBgMobile {
    display: none;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.headerInner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px var(--page-gutter-x);
  display: flex;
  align-items: center;
  justify-content: center;
}

.homeLink {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.headerLogo {
  width: auto;
  height: 36px;
  max-width: min(180px, 48vw);
  object-fit: contain;
}

@media (min-width: 768px) {
  .headerLogo {
    height: 44px;
    max-width: 200px;
  }
}

/* Home hero */
.main {
  flex: 1;
}

.hero {
  position: relative;
  padding: 0.65rem var(--page-gutter-x) 0.4rem;
}

.heroInner {
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.heroEyebrow {
  margin: 0;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(225, 6, 0, 0.12);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-glow);
}

.heroTitle {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
  text-wrap: balance;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.heroTitle::after {
  content: '';
  display: block;
  width: 2.25rem;
  height: 2px;
  margin: 0.35rem 0 0;
  border-radius: 2px;
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(255, 42, 42, 0.4);
}

.heroLead {
  margin: 0;
  max-width: 40rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .hero {
    padding: 1rem var(--page-gutter-x) 0.65rem;
  }

  .heroInner {
    gap: 0.4rem;
  }

  .heroEyebrow {
    font-size: 0.7rem;
  }

  .heroTitle {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    line-height: 1.15;
  }

  .heroTitle::after {
    width: 2.75rem;
    height: 3px;
    margin-top: 0.4rem;
  }

  .heroLead {
    font-size: 0.92rem;
    line-height: 1.45;
  }
}

/* Offers */
.offersContainer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--page-gutter-x);
}

.promoSection {
  padding: 24px 0;
  overflow: visible;
  scroll-margin-top: 5rem;
}

.promoGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  overflow: visible;
}

.promoSectionEnd {
  width: 100%;
  height: 1px;
}

/* Offer cards — base + game */
.promoCard {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--gradient-offer);
  box-shadow: var(--shadow-offer);
  overflow: visible;
}

.promoCardTop1 {
  border: 1px solid var(--border-strong);
  background: var(--gradient-offer-top);
  box-shadow: var(--shadow-offer), 0 0 28px rgba(225, 6, 0, 0.22);
}

.promoCardTop2,
.promoCardTop3 {
  border: 1px solid var(--border);
}

.cardLink {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

@keyframes ctaGlow {
  from {
    box-shadow: 0 6px 16px rgba(139, 10, 18, 0.35),
      0 0 0 rgba(255, 42, 42, 0);
  }

  to {
    box-shadow: 0 10px 28px rgba(225, 6, 0, 0.55),
      0 0 22px rgba(255, 42, 42, 0.35);
  }
}

@keyframes ctaShimmer {
  from {
    transform: translateX(-140%) skewX(-18deg);
  }

  to {
    transform: translateX(240%) skewX(-18deg);
  }
}

@keyframes ctaGradientShift {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

.ctaArea {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background-image: var(--gradient-brand);
  background-size: 200% 200%;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(139, 10, 18, 0.4);
  transition:
    transform 0.28s ease,
    filter 0.28s ease,
    letter-spacing 0.28s ease;
  animation:
    ctaGlow 2.4s ease-in-out infinite alternate,
    ctaGradientShift 4s ease-in-out infinite alternate;
}

.ctaArea::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.08) 60%,
    transparent 100%
  );
  transform: translateX(-140%) skewX(-18deg);
  animation: ctaShimmer 2.8s ease-in-out infinite;
}

.ctaArea::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.promoCard:hover .ctaArea {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.12) saturate(1.08);
  letter-spacing: 0.04em;
  animation-duration: 1.2s, 2s;
}

.promoCard:hover .ctaArea::before {
  animation-duration: 1.1s;
}

@media (prefers-reduced-motion: reduce) {
  .ctaArea,
  .ctaArea::before {
    animation: none;
  }

  .promoCard:hover .ctaArea {
    transform: none;
    filter: brightness(1.08);
  }
}

.featureList {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.featureItem {
  font-size: 13px;
  margin: 0;
  color: var(--text);
}

.gameCard {
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-strong);
}

.gameInner {
  position: relative;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.gameTop {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 6, 6, 0.55);
}

.gameRank {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent-glow);
}

.gameTopMain {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.gameGenre {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gameTitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  text-wrap: balance;
}

.gameBadge {
  justify-self: end;
  max-width: 7.5rem;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  background: var(--gradient-brand);
  color: var(--text);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gameMain {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.gameMedia {
  position: relative;
  order: -1;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.gameImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.gameCard:hover .gameImage {
  transform: scale(1.04);
}

.gameMediaOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(6, 6, 6, 0.35) 100%
  );
  pointer-events: none;
}

.gameBody {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.05rem 1.1rem;
}

.gameFeatures {
  margin: 0;
}

.featureListGame {
  gap: 0.4rem;
}

.featureListGame .featureItem {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.featureListGame .featureItem::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 2px;
  background: var(--accent);
}

.gameCtaRow {
  margin-top: 0.15rem;
}

.gameCtaRow .ctaArea {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
}

@media (min-width: 769px) {
  .gameTop {
    padding: 0.95rem 1.2rem;
    gap: 1rem;
  }

  .gameRank {
    font-size: 1.6rem;
  }

  .gameMain {
    grid-template-columns: 1fr minmax(280px, 42%);
    align-items: stretch;
    min-height: 200px;
  }

  .gameMedia {
    order: 0;
    aspect-ratio: auto;
    min-height: 100%;
    border-bottom: none;
    border-left: 1px solid var(--border);
  }

  .gameMediaOverlay {
    background: linear-gradient(
      270deg,
      transparent 40%,
      rgba(6, 6, 6, 0.25) 100%
    );
  }

  .gameBody {
    justify-content: space-between;
    padding: 1.15rem 1.25rem 1.25rem;
    gap: 1rem;
  }

  .gameCtaRow {
    max-width: 220px;
  }

  .gameCtaRow .ctaArea {
    width: auto;
    min-width: 160px;
  }
}

@media (max-width: 768px) {
  .gameTop {
    grid-template-columns: auto 1fr;
  }

  .gameBadge {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gameCard:hover .gameImage {
    transform: none;
  }
}

/* Home info sections */
.infoStack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.infoSection {
  position: relative;
  padding: 1.75rem var(--page-gutter-x);
  scroll-margin-top: 5rem;
}

.infoWrap {
  max-width: 960px;
  margin: 0 auto;
}

.infoKicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.infoKickerNum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  background: var(--gradient-brand);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.infoTitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  text-wrap: balance;
}

.infoLead,
.infoText {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.spotlightSection {
  padding-top: 1.5rem;
  padding-bottom: 1.1rem;
}

.spotlightGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1.15rem 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.spotlightCopy {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 40rem;
}

.pointList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.pointItem {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(6, 6, 6, 0.45);
}

.pointLabel {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.pointDetail {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.timelineSection {
  border-block: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(225, 6, 0, 0.07) 0%,
    rgba(6, 6, 6, 0.15) 100%
  );
}

.timelineHead {
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--border);
}

.timelineItem {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0 0 1.15rem 1rem;
  position: relative;
}

.timelineItem:last-child {
  padding-bottom: 0;
}

.timelineMark {
  margin-left: calc(-1rem - 1px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 3px var(--bg);
}

.timelineBody {
  padding-top: 0.15rem;
}

.timelineTitle {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.timelineText {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.stripSection {
  padding-bottom: 2.5rem;
}

.stripGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: start;
}

.stripCopy {
  max-width: 28rem;
}

.stripTips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.stripTip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
}

.stripTipNum {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-glow);
}

.stripTipText {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text);
}

@media (min-width: 720px) {
  .spotlightGrid {
    grid-template-columns: 1.35fr 1fr;
    gap: 1.5rem;
    padding: 1.25rem 1.35rem;
    align-items: center;
  }

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

  .stripGrid {
    grid-template-columns: minmax(220px, 0.9fr) 1.2fr;
    gap: 1.75rem;
    align-items: center;
  }

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

@media (max-width: 560px) {
  .infoSection {
    padding: 1.35rem var(--page-gutter-x);
  }

  .stripSection {
    padding-bottom: 2rem;
  }
}

/* Cookie banner */
.cookieBanner {
  position: fixed;
  left: var(--page-gutter-x);
  bottom: var(--page-gutter-x);
  z-index: 950;
  width: min(320px, calc(100vw - 2 * var(--page-gutter-x)));
  padding: 14px 14px 12px;
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 16, 48, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.cookieText {
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.cookieActions {
  display: flex;
  justify-content: flex-start;
}

.cookieButton {
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  background: var(--gradient-brand);
  color: var(--text);
  box-shadow: 0 6px 16px rgba(0, 84, 166, 0.35);
}

.cookieButton:hover {
  filter: brightness(1.08);
}

@media (max-width: 520px) {
  .cookieBanner {
    bottom: calc(var(--page-gutter-x) + 4px);
  }
}

/* Footer */
.footer {
  margin-top: auto;
  color: var(--text);
  border-top: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.footerWithSticky {
  padding-bottom: 72px;
}

.footerInner {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem var(--page-gutter-x) 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  text-align: center;
}

.footerBrand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 34rem;
}

.footerLogoLink {
  display: inline-flex;
  line-height: 0;
}

.footerLogo {
  width: auto;
  height: 40px;
  max-width: min(200px, 70vw);
  object-fit: contain;
}

.footerDescription {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.footerNav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
}

.footerLink {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  opacity: 0.88;
}

.footerLink:hover {
  opacity: 1;
  color: var(--accent-glow);
  text-decoration: underline;
}

.footerCopy {
  margin: 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 34rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footerLogo {
    height: 44px;
  }

  .footerInner {
    padding: 2.35rem var(--page-gutter-x) 2rem;
    gap: 1.5rem;
  }
}

@media (max-width: 500px) {
  .footerWithSticky {
    padding-bottom: 60px;
  }
}

/* Legal pages */
.legalPage {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px var(--page-gutter-x) 48px;
  color: var(--text);
}

.legalPage h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-family: var(--font-display);
}

.legalPage h2 {
  margin: 24px 0 10px;
  font-size: 1.25rem;
  font-family: var(--font-display);
}

.legalPage p,
.legalPage li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.legalPage ul {
  padding-left: 20px;
}

.legalPage a {
  color: var(--accent-glow);
  text-decoration: underline;
}

.legalPage a:hover {
  filter: brightness(1.1);
}

.legalPage strong {
  color: var(--text);
  font-weight: 700;
}

/* 404 */
.notFoundPage {
  flex: 1;
}
