:root {
  --bg: #030914;
  --bg-2: #07172b;
  --card: rgba(7, 24, 45, 0.82);
  --card-border: rgba(104, 196, 255, 0.18);
  --text: #f3f8ff;
  --muted: #a7bdd5;
  --accent: #14a7ff;
  --accent-2: #0d5fff;
  --accent-3: #64d5ff;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(20, 167, 255, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(13, 95, 255, 0.20), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #071321 42%, #020812 100%);
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

.wrap {
  width: min(calc(100% - 32px), var(--wrap));
  margin: 0 auto;
}

.riot-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.riot-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(3, 10, 20, 0.78);
  border-bottom: 1px solid rgba(124, 210, 255, 0.08);
}

.riot-header__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.riot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.riot-brand__mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px rgba(20, 167, 255, 0.28);
}

.riot-brand__text {
  display: grid;
  gap: 2px;
}

.riot-brand__text strong {
  font-size: 16px;
}

.riot-brand__text small,
.riot-kicker,
.riot-bonus__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.riot-brand__text small {
  color: var(--muted);
}

.riot-nav,
.riot-actions,
.riot-hero__buttons,
.riot-bonus__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.riot-nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.riot-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.riot-button {
  min-height: 46px;
  padding: 13px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.18s ease;
}

.riot-button:hover {
  transform: translateY(-1px);
}

.riot-button--main {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 28px rgba(13, 95, 255, 0.26);
}

.riot-button--soft,
.riot-button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.riot-hero {
  padding: 34px 0 18px;
}

.riot-hero__grid,
.riot-start__grid,
.riot-copy__grid {
  display: grid;
  gap: 18px;
}

.riot-hero__grid {
  grid-template-columns: 1.12fr 0.88fr;
}

.riot-start__grid {
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
}

.riot-copy__grid {
  grid-template-columns: 1.08fr 0.92fr;
}

.riot-hero__copy,
.riot-bonus,
.riot-start__main,
.riot-step,
.riot-game,
.riot-copy__main,
.riot-copy__side,
.riot-faq-item,
.riot-footer__inner,
.riot-win {
  padding: 24px;
}

.riot-kicker,
.riot-bonus__label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #d8efff;
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.08;
}

h1 {
  font-size: clamp(36px, 5.4vw, 60px);
}

h2 {
  font-size: clamp(30px, 4vw, 42px);
}

h3 {
  font-size: 20px;
}

.riot-lead,
.riot-section-head > p,
.riot-bonus p,
.riot-win span,
.riot-start__main p,
.riot-step p,
.riot-game p,
.riot-copy__main p,
.riot-copy__side li,
.riot-faq-item p,
.riot-footer p {
  color: var(--muted);
}

.riot-pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.riot-pulse-grid article {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.riot-pulse-grid strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.riot-placeholder {
  min-height: 190px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(119, 214, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(20, 167, 255, 0.16), rgba(13, 95, 255, 0.10)),
    rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  color: #cfefff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

section {
  padding: 18px 0;
}

.riot-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.riot-section-head > p {
  margin: 0;
  max-width: 58ch;
}

.riot-wins__board,
.riot-game-grid,
.riot-faq-list {
  display: grid;
  gap: 14px;
}

.riot-wins__board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.riot-win strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.riot-step span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
  margin-bottom: 14px;
}

.riot-game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.riot-game {
  overflow: hidden;
}

.riot-game__body {
  padding-top: 18px;
  display: grid;
  gap: 12px;
}

.riot-copy__side ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.riot-faq-item {
  overflow: hidden;
}

.riot-faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.riot-faq-item div {
  display: none;
  padding-top: 14px;
}

.riot-faq-item[data-open="true"] div {
  display: block;
}

.riot-footer {
  padding: 22px 0 34px;
}

.riot-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.riot-footer p {
  margin: 8px 0 0;
  max-width: 58ch;
}

@media (max-width: 1100px) {
  .riot-hero__grid,
  .riot-start__grid,
  .riot-copy__grid {
    grid-template-columns: 1fr;
  }

  .riot-wins__board,
  .riot-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .riot-nav {
    display: none;
  }

  .riot-header__inner {
    min-height: auto;
    padding: 14px 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(calc(100% - 20px), var(--wrap));
  }

  .riot-hero__copy,
  .riot-bonus,
  .riot-start__main,
  .riot-step,
  .riot-game,
  .riot-copy__main,
  .riot-copy__side,
  .riot-faq-item,
  .riot-footer__inner,
  .riot-win {
    padding: 18px;
  }

  .riot-actions,
  .riot-hero__buttons,
  .riot-bonus__buttons {
    width: 100%;
    flex-direction: column;
  }

  .riot-button {
    width: 100%;
  }

  .riot-pulse-grid,
  .riot-wins__board,
  .riot-game-grid {
    grid-template-columns: 1fr;
  }
}
