@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Orbitron:wght@500;700&display=swap");

:root {
  --bg: #030614;
  --bg-2: #0a1232;
  --card: rgba(8, 16, 38, 0.82);
  --card-border: rgba(85, 185, 255, 0.28);
  --text: #f4f8ff;
  --muted: #9eb0ce;
  --accent: #37e3ff;
  --accent-2: #2b6bff;
  --accent-3: #b7ff3c;
  --accent-4: #ff70d8;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Exo 2", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -2%, rgba(55, 227, 255, 0.25), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(43, 107, 255, 0.23), transparent 28%),
    radial-gradient(circle at 55% 100%, rgba(255, 112, 216, 0.12), transparent 34%),
    linear-gradient(180deg, #02040e 0%, #070c20 46%, #040713 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);
  backdrop-filter: blur(12px);
}

.riot-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(4, 10, 28, 0.78);
  border-bottom: 1px solid rgba(55, 227, 255, 0.2);
}

.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__text {
  display: grid;
}

.riot-brand__text strong {
  font-family: "Orbitron", "Exo 2", sans-serif;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.riot-nav,
.riot-actions,
.riot-hero__buttons,
.riot-bonus__buttons,
.riot-game-window__actions {
  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.07);
  color: var(--text);
}

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

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

.riot-button--main {
  color: #ffffff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(43, 107, 255, 0.35);
}

.riot-button--main:hover {
  box-shadow: 0 18px 34px rgba(43, 107, 255, 0.45);
}

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

.riot-hero {
  padding: 28px 0 20px;
}

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

.riot-hero__grid {
  grid-template-columns: minmax(0, 1.34fr) minmax(320px, 0.66fr);
  grid-template-areas:
    "game panel"
    "copy panel";
}

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

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

.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-hero__copy {
  grid-area: copy;
}

.riot-command {
  grid-area: panel;
}

.riot-game-window {
  grid-area: game;
  padding: 22px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(55, 227, 255, 0.14), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(255, 112, 216, 0.12), transparent 34%),
    var(--card);
}

.riot-game-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.03));
}

.riot-game-window__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b68;
  box-shadow: 0 0 0 0 rgba(255, 59, 104, 0.8);
  animation: liveBlink 1.3s infinite;
}

.riot-game-window__status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.riot-game-window__status span {
  font-size: 12px;
  color: #d9e8ff;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(183, 255, 60, 0.45);
  background: rgba(183, 255, 60, 0.1);
}

.riot-game-window__title {
  display: block;
  margin: 2px 0 12px;
  font-size: 22px;
}

.riot-game-window__media {
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
}

.riot-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.riot-shot--main {
  min-height: 280px;
}

.riot-game-window__actions {
  margin-top: 14px;
}

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

.riot-meter,
.riot-pulse-grid article {
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

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

.riot-meter span,
.riot-pulse-grid span {
  color: var(--muted);
}

.riot-command h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.riot-boost-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.riot-boost-list li {
  border: 1px solid rgba(55, 227, 255, 0.3);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
  color: #d8e9ff;
  background: rgba(55, 227, 255, 0.08);
  text-align: center;
}

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

h1,
h2 {
  font-family: "Orbitron", "Exo 2", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(34px, 5.3vw, 56px);
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
}

h3 {
  font-size: 21px;
}

.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-placeholder {
  min-height: 190px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(55, 227, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(43, 107, 255, 0.25), rgba(255, 112, 216, 0.16)),
    rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  color: #d8f2ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.riot-bonus__image {
  min-height: 220px;
  overflow: hidden;
}

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(4, minmax(0, 1fr));
}

.riot-win {
  background:
    linear-gradient(180deg, rgba(55, 227, 255, 0.06), transparent 42%),
    var(--card);
}

.riot-win strong {
  display: block;
  margin-bottom: 10px;
  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;
}

@keyframes liveBlink {
  0% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 59, 104, 0.75);
  }
  70% {
    opacity: 0.78;
    box-shadow: 0 0 0 10px rgba(255, 59, 104, 0);
  }
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 59, 104, 0);
  }
}

@media (max-width: 1100px) {
  .riot-hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "game"
      "copy"
      "panel";
  }

  .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,
  .riot-game-window {
    padding: 18px;
  }

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

  .riot-button {
    width: 100%;
  }

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

  .riot-section-head {
    flex-direction: column;
    align-items: start;
  }
}
