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

:root {
  --bg-base: #060912;
  --bg-surface: rgba(14, 20, 36, 0.82);
  --bg-elevated: rgba(22, 30, 52, 0.92);
  --bg-card: rgba(18, 26, 46, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #eef2ff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --accent-gold: #fbbf24;
  --accent-hot: #f97316;
  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(99, 102, 241, 0.18), 0 20px 60px rgba(34, 211, 238, 0.08);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --font-body: "Manrope", "Circe", sans-serif;
  --font-display: "Unbounded", "SHARKBOY & lavagirl", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  color: var(--text-primary);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 15% 10%, rgba(99, 102, 241, 0.18), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(139, 92, 246, 0.1), transparent 30%),
    linear-gradient(180deg, #070b14 0%, #060912 45%, #050810 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  opacity: 0.35;
  z-index: -1;
}

.page-main__container {
  padding: 16px;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .page-main__container {
    padding: 24px 28px 32px;
  }
}

/* Header */
.header {
  margin-bottom: 24px;
}

.header__outline {
  backdrop-filter: blur(18px);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.header__logo-row {
  align-items: center;
  gap: 12px;
}

.header__logotype {
  margin-bottom: 0;
}

.header__title {
  font-family: "SHARKBOY & lavagirl", var(--font-display);
  font-size: clamp(2.4rem, 2.8vw, 3.5rem);
  letter-spacing: 0.02em;
  color: #1f6aed;
  text-shadow: none;
}

.header__burger {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header__burger:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.45);
}

.header__buttons {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  gap: 10px;
}

.header__games {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  gap: 8px;
  box-shadow: none;
}

.header__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header__card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-glow);
}

.header__badge {
  width: 42px;
  height: 42px;
  font-size: 18px;
  box-shadow: none;
}

.header__badge__subname {
  color: var(--text-muted);
}

.header__badge__name,
.header__badge__name_orange {
  color: var(--text-primary);
}

.header__badge__name_orange {
  color: var(--accent-gold);
}

.header__nav-desctop a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.header__nav-desctop a:hover {
  color: var(--text-primary);
}

.header__badges-desctop__telegram {
  background: linear-gradient(135deg, #229ed9, #0088cc);
}

.header__badges-desctop__theme,
.header__badges-desctop__language,
.sidebar__badges__theme,
.sidebar__badges__language {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.header__nav svg,
.sidebar__badges svg {
  color: var(--text-secondary);
}

/* Sidebar */
.sidebar {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.sidebar__close {
  color: var(--text-secondary);
}

.sidebar__nav__support {
  color: var(--text-primary);
}

/* Buttons */
.o-btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.o-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.o-btn__blue,
.o-btn__violet {
  color: #f6f7fb;
  background: #178be3;
  box-shadow: 0 10px 24px rgba(23, 139, 227, 0.28);
}

.o-btn__violet {
  background: #1f6aed;
  box-shadow: 0 10px 24px rgba(31, 106, 237, 0.28);
}

.o-btn__blue:hover,
.o-btn__violet:hover {
  filter: brightness(1.08);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background:
    linear-gradient(120deg, rgba(6, 9, 18, 0.82), rgba(6, 9, 18, 0.45)),
    url("../img/hero-img.webp") center / cover no-repeat;
  padding: 24px 18px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 68%);
  pointer-events: none;
}

.hero__outline {
  position: relative;
  z-index: 1;
  gap: 18px;
}

.hero__info-content__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.25;
  text-shadow: none;
}

.hero__info-content__description {
  color: var(--text-secondary);
}

.hero__value {
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

.hero__timer-box-content__timer-text {
  background: rgba(8, 12, 24, 0.55);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.hero__timer-numbers {
  border-right-color: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.hero__numbers {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--text-primary);
  text-shadow: none;
}

.hero__button {
  margin-top: 12px;
  background: var(--gradient-gold);
  color: #111827;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.hero__button:hover {
  background: linear-gradient(135deg, #fde047 0%, #fb923c 100%);
  color: #111827;
}

/* Content */
.c-text-container,
.navigation__wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.c-text p,
.c-text ul,
.c-text ol {
  color: var(--text-secondary);
  line-height: 1.7;
}

.c-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  color: var(--text-primary);
  margin: 28px 0 14px;
  letter-spacing: 0.02em;
}

.c-text h3 {
  font-size: 1.7rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.c-text ul,
.c-text ol {
  padding-left: 22px;
  margin-bottom: 16px;
}

.c-text ul {
  list-style: disc;
}

.c-text ol {
  list-style: decimal;
}

.c-text li {
  margin-bottom: 8px;
}

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

.info-grid {
  display: grid;
  gap: 14px;
  margin: 18px 0 24px;
}

@media screen and (min-width: 640px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  border-color: rgba(31, 106, 237, 0.35);
  box-shadow: 0 0 0 1px rgba(31, 106, 237, 0.12);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #1f6aed;
  margin-bottom: 10px;
}

.info-card p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.65;
}

.info-card a {
  color: #1f6aed;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}

.tag-list__item {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(31, 106, 237, 0.1);
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
}

.cta-box {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 106, 237, 0.18), transparent 55%),
    var(--bg-card);
}

.cta-box h2 {
  margin-bottom: 12px;
}

.cta-box p {
  max-width: 640px;
  margin: 0 auto 20px;
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-box .o-btn__large {
  min-width: 180px;
}

.c-main h1,
.c-main h2,
.c-main h3,
.slots-machine__title,
.faq > h2,
.reviews > h2 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.c-main h1 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  margin-bottom: 16px;
}

.c-main h2,
.slots-machine__title,
.faq > h2,
.reviews > h2 {
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  margin-bottom: 18px;
}

.c-table__wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

table th,
table td {
  border-color: var(--border);
  padding: 12px 14px;
}

table th {
  background: rgba(99, 102, 241, 0.12);
  color: var(--text-primary);
  font-weight: 700;
}

table td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
}

.c-text a:not([class]),
table a:not([class]),
.faq a:not([class]) {
  color: var(--accent-2);
}

.navigation a:not([class]) {
  color: var(--accent-2);
}

/* Slots */
.slots-machine__container {
  margin-bottom: 28px;
}

.slots-machine__title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slots-machine__title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.55);
}

.slot-machine {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.slot-machine:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-glow);
}

.slot-machine__overflow {
  background: linear-gradient(180deg, rgba(6, 9, 18, 0.15), rgba(6, 9, 18, 0.72));
}

.slot-machine__overflow-demo {
  background: var(--gradient-gold);
  color: #111827;
  border-radius: 999px;
  width: auto;
  min-width: 120px;
  padding: 0 18px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.25);
}

.slot-machine__name {
  bottom: 10px;
  font-size: 1.3rem;
}

/* FAQ */
.faq__elem {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.faq__title {
  background: transparent;
  color: var(--text-primary);
  padding: 16px 18px 16px 42px;
  font-size: 1.5rem;
  border-radius: 0;
}

.faq__title::before {
  content: "+";
  left: 16px;
  width: auto;
  height: auto;
  color: var(--accent-2);
  font-size: 1.8rem;
  line-height: 1;
}

.faq details[open] .faq__title::before {
  content: "−";
}

.faq__outline {
  border: 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  padding: 14px 18px 18px;
}

.faq details[open] summary {
  border-radius: 0;
}

/* Reviews */
.reviews {
  display: grid;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.review {
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: none;
}

.review__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.review__outline {
  padding: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.review .o-btn__violet {
  margin-top: 12px;
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: var(--text-primary);
  box-shadow: none;
}

.review .o-btn__violet:hover {
  background: rgba(99, 102, 241, 0.12);
}

/* Footer */
.footer {
  background: transparent;
}

.footer__info,
.footer__chat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}

.footer__links__elem {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer__links__elem:hover {
  color: var(--text-primary);
}

.footer__company__text {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__banner__big-prize {
  background:
    linear-gradient(120deg, rgba(99, 102, 241, 0.85), rgba(34, 211, 238, 0.55)),
    url("../img/backgorund-prize.webp") center / cover no-repeat;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.footer__banner__badge {
  border-radius: var(--radius-sm);
  color: #111827;
}

.footer__chat__online {
  color: #4ade80;
}

.footer__chat__hide {
  border-color: var(--border);
}

.footer__chat__hide-icon {
  color: var(--text-secondary);
}

@media screen and (min-width: 1350px) {
  .footer__info {
    padding: 22px;
  }

  .footer__buttons {
    margin-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
