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

/* UP-X Casino — информационный лендинг */
:root {
  --bg: #12131f;
  --bg-alt: #1e1f2f;
  --surface: rgba(30, 31, 47, 0.94);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #d7deeb;
  --accent: #3ecfff;
  --accent-soft: rgba(62, 207, 255, 0.12);
  --blue: #5ee0ff;
  --radius: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.28rem;
  line-height: 1.84;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 70% at 50% -35%, rgba(62, 207, 255, 0.12), transparent 52%),
    radial-gradient(ellipse 85% 50% at 100% 0%, rgba(99, 102, 241, 0.08), transparent 48%);
  min-height: 100vh;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.logo--image {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  color: inherit;
  letter-spacing: 0;
}

.logo--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo--image:hover {
  opacity: 0.92;
  color: inherit;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__actions .btn--ghost {
  min-width: 92px;
}

.header__actions .btn--primary {
  min-width: 230px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 51px;
  padding: 0 1.45rem;
  font-size: 1.12rem;
  font-weight: 700;
  font-family: inherit;
  line-height: normal;
  border: 3px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.12s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, #41c6ff, #1a64fc),
    linear-gradient(180deg, #79cdfd, #1a64fc);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: #fff;
  box-shadow: 0 5px 6px rgba(17, 20, 27, 0.12), 0 0 36px rgba(58, 124, 255, 0.52);
}

.btn--primary:hover {
  border-color: rgba(121, 205, 253, 0.75);
  box-shadow: 0 5px 6px rgba(17, 20, 27, 0.16), 0 0 42px rgba(58, 124, 255, 0.68);
}

.btn--secondary {
  background: var(--accent-soft);
  color: #fecdd3;
  border-color: rgba(225, 29, 72, 0.35);
}

.btn--secondary:hover {
  background: rgba(225, 29, 72, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost {
  background-image:
    linear-gradient(180deg, #192232, #192232),
    linear-gradient(180deg, #212f44 20%, #192232 47%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 5px 6px rgba(17, 20, 27, 0.12);
}

.btn--ghost:hover {
  color: #fff;
  border-color: #212f44;
  box-shadow: 0 5px 6px rgba(17, 20, 27, 0.16);
}

.btn--lg {
  min-height: 60px;
  padding: 0 1.65rem;
  font-size: 1.22rem;
  border-radius: 50px;
}

.w-full {
  width: 100%;
}

/* Hero */
.hero {
  padding: 3rem 0 3.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #eaf8ff;
  background: var(--accent-soft);
  border: 1px solid rgba(62, 207, 255, 0.28);
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.4vw, 2.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.42rem;
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero__note {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  max-width: 52ch;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1.58rem;
}

.card__text {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.28rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.42rem;
}

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.28rem;
}

.card ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.card li + li {
  margin-top: 0.35rem;
}

.hero__card {
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.08), transparent 50%);
  pointer-events: none;
}

.hero__card > * {
  position: relative;
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section--alt {
  background: transparent;
  border-block: 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.95rem, 3.3vw, 2.45rem);
  letter-spacing: -0.02em;
}

.section__intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.36rem;
  max-width: 75ch;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

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

@media (max-width: 768px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

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

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem 1.15rem;
}

.faq__item summary {
  cursor: pointer;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 0.85rem 0;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.24rem;
  line-height: 1.72;
}

.cta-row {
  text-align: center;
  margin: 0;
}

/* Footer */
.footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: #080d18;
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.footer__disclaimer {
  margin: 0 auto 1rem;
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.footer__copy {
  margin: 0;
  font-size: 1rem;
  color: #b8c2d6;
}

/* Mobile nav */
@media (max-width: 768px) {
  body {
    font-size: 1.16rem;
    padding-top: 0;
  }

  .header {
    position: relative;
    z-index: 100;
  }

  .header__inner {
    position: relative;
    flex-wrap: nowrap;
    gap: 0.55rem;
    padding: 0.55rem 0;
  }

  .logo--image {
    width: 140px;
    height: 44px;
  }

  .header__actions {
    flex: 0 0 auto;
    gap: 0.35rem;
  }

  .header__actions .btn--primary {
    min-width: 132px;
    min-height: 40px;
    padding: 0 0.75rem;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .burger {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .nav {
    display: none;
    position: absolute;
    z-index: 120;
    left: 50%;
    right: auto;
    top: 100%;
    width: 100vw;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.85rem max(1rem, 4vw) 1rem;
    background: linear-gradient(180deg, rgba(24, 25, 38, 0.99), rgba(18, 19, 31, 0.99));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(62, 207, 255, 0.2);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(16px);
  }

  .nav.nav--open {
    display: flex;
  }

  .nav a {
    padding: 0.78rem 0.9rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .nav a:hover {
    background: rgba(62, 207, 255, 0.12);
    border-color: rgba(62, 207, 255, 0.35);
    text-decoration: none;
  }

  .header .btn--ghost {
    display: none;
  }

  .hero {
    padding: 2.5rem 0 1.25rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .hero__lead,
  .page-hero p,
  .section__intro {
    font-size: 1.2rem;
  }

  .card p,
  .card__text,
  .article-card p,
  .article-card li,
  .faq__item p {
    font-size: 1.14rem;
  }

  .mini-nav {
    padding-bottom: 1.25rem;
  }
}

@media (max-width: 380px) {
  .logo--image {
    width: 116px;
  }

  .header__inner,
  .header__actions {
    gap: 0.25rem;
  }

  .header__actions .btn--primary {
    min-width: 124px;
    padding: 0 0.55rem;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:active {
    transform: none;
  }
}

/* SEO content additions */
.mini-nav {
  padding: 0 0 1.5rem;
}

.mini-nav__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.mini-nav__grid--center-last {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.mini-nav__grid--center-last a:nth-last-child(3) {
  grid-column: auto;
}

.mini-nav__grid--center-last a {
  flex: 0 1 calc((100% - 2.25rem) / 4);
}

.mini-nav__grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
}

.mini-nav__grid a:hover {
  border-color: rgba(62, 207, 255, 0.4);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(62, 207, 255, 0.12);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1.5rem;
  align-items: start;
}

.text-block {
  max-width: none;
}

.text-block p,
.content-grid p {
  color: var(--muted);
}

.check-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 1.14rem;
}

.check-list li + li {
  margin-top: 0.3rem;
}

.update-card p {
  margin-bottom: 0.7rem;
}

.footer__links {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.breadcrumbs {
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.page-hero {
  padding: 2.25rem 0 2.75rem;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.4rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.article-card h2:first-child,
.sidebar-card h2:first-child {
  margin-top: 0;
}

.article-card p,
.article-card li {
  color: var(--muted);
  font-size: 1.28rem;
  line-height: 1.78;
}

.promo-banner {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(139, 200, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.promo-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.promo-banner--compact {
  display: flex;
  justify-content: center;
  max-width: 320px;
  margin-inline: auto;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(62, 207, 255, 0.1), transparent 68%),
    rgba(255, 255, 255, 0.025);
}

.promo-banner--compact img {
  width: min(100%, 260px);
  max-height: 320px;
  object-fit: contain;
}

.sidebar-card {
  position: sticky;
  top: 92px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.sidebar-card ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 1.26rem;
}

@media (max-width: 900px) {
  .mini-nav__grid--center-last a:nth-last-child(3) {
    grid-column: auto;
  }

  .mini-nav__grid,
  .content-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

/* Тема ближе к официальному UP-X: тёмный хром + циан (ориентир: xp7dio89u.life) */
:root {
  --bg: #12131f;
  --bg-alt: #1e1f2f;
  --surface: rgba(36, 38, 54, 0.94);
  --surface-2: #2a2c3e;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #d7deeb;
  --accent: #3ecfff;
  --accent-soft: rgba(62, 207, 255, 0.14);
  --blue: #5ee0ff;
  --gold: #ffd166;
  --shadow: 0 22px 56px rgba(0, 0, 0, 0.48);
}

body {
  position: relative;
  z-index: 0;
  background-color: var(--bg-alt);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -45%, rgba(62, 207, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 75% 55% at 100% -10%, rgba(99, 102, 241, 0.1), transparent 48%),
    linear-gradient(180deg, #181926 0%, #12131f 50%, #0c0d14 100%);
  text-shadow: none;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("theme-pattern-upx.svg?v=20260503-1902");
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 1100px 1100px;
  opacity: 0.72;
}

body > * {
  position: relative;
  z-index: 1;
}

.header {
  background: rgba(30, 31, 47, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
}

.logo::before {
  content: none;
  display: none;
}

.logo:hover {
  color: #fff;
  text-shadow: 0 0 22px rgba(62, 207, 255, 0.35);
}

.logo--image {
  gap: 0;
  width: 112px;
  height: 112px;
  text-transform: none;
  letter-spacing: 0;
}

.logo--image::before {
  display: none;
}

.logo--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(62, 207, 255, 0.18));
}

.nav a {
  color: rgba(218, 226, 240, 0.9);
  font-weight: 500;
}

.nav a:hover {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(62, 207, 255, 0.35);
}

.hero {
  position: relative;
  padding: 4.25rem 0 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5rem;
  transform: translateX(-50%);
  width: min(920px, 150vw);
  height: 340px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(62, 207, 255, 0.16), transparent 68%);
}

.hero__content,
.hero__card {
  position: relative;
  z-index: 1;
}

.hero__lead,
.section__intro {
  color: var(--muted);
}

.badge {
  color: #eaf8ff;
  background: linear-gradient(135deg, rgba(62, 207, 255, 0.22), rgba(99, 102, 241, 0.1));
  border-color: rgba(62, 207, 255, 0.35);
  box-shadow: 0 0 20px rgba(62, 207, 255, 0.12);
}

.hero h1,
.page-hero h1 {
  color: #fff;
  text-shadow: 0 0 32px rgba(62, 207, 255, 0.12);
  letter-spacing: -0.03em;
}

.hero__lead strong {
  color: #fff;
}

.btn {
  letter-spacing: 0.02em;
}

.btn--primary {
  background-image:
    linear-gradient(180deg, #7ae8ff 0%, #2ab8e8 38%, #6366f1 100%),
    linear-gradient(180deg, #9aebff, #7c6bff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.28),
    0 0 36px rgba(62, 207, 255, 0.32);
}

.btn--primary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.34),
    0 0 44px rgba(62, 207, 255, 0.42);
}

.btn--ghost {
  background: transparent !important;
  background-image: none !important;
  color: var(--text) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: none !important;
}

.btn--ghost:hover {
  border-color: rgba(62, 207, 255, 0.45) !important;
  color: #fff !important;
  background: rgba(62, 207, 255, 0.07) !important;
}

.btn--outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--outline:hover {
  border-color: rgba(62, 207, 255, 0.55);
  background: rgba(62, 207, 255, 0.08);
}

.btn--secondary {
  color: #1a1520;
  background: linear-gradient(135deg, #ffe08a, #ffb84d);
  border-color: rgba(255, 209, 102, 0.55);
  box-shadow: 0 8px 22px rgba(255, 180, 80, 0.18);
}

.btn--secondary:hover {
  background: linear-gradient(135deg, #fff0b8, #ffc85c);
}

.card,
.article-card,
.sidebar-card,
.faq__item,
.mini-nav__grid a {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    var(--surface);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.card > * {
  position: relative;
}

.hero__card {
  border-color: rgba(62, 207, 255, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 207, 255, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(99, 102, 241, 0.12), rgba(24, 25, 38, 0.98));
}

.hero__card::before {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), transparent 38%),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.08), transparent 28%);
}

.hero__card::after {
  content: "30% + FS";
  position: absolute;
  right: -18px;
  top: 18px;
  transform: rotate(12deg);
  padding: 0.3rem 1.25rem;
  color: #0a0b12;
  background: linear-gradient(135deg, #5ee0ff, #6366f1);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 12px 28px rgba(62, 207, 255, 0.22);
}

.section--alt {
  background: transparent;
  border-block: 0;
}

.section h2,
.article-card h2,
.sidebar-card h2,
.card h3 {
  color: #fff;
}

.mini-nav__grid a {
  background:
    linear-gradient(135deg, rgba(62, 207, 255, 0.12), rgba(99, 102, 241, 0.06)),
    var(--surface);
}

.mini-nav__grid a:hover {
  color: #fff;
  border-color: rgba(62, 207, 255, 0.45);
  box-shadow: 0 10px 28px rgba(62, 207, 255, 0.14);
}

.faq__item[open] {
  border-color: rgba(62, 207, 255, 0.35);
}

.faq__item summary {
  color: #fff;
}

.footer {
  background: rgba(18, 19, 31, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

.burger {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .nav {
    background: linear-gradient(180deg, rgba(24, 25, 38, 0.99), rgba(20, 21, 33, 0.99));
  }
}

/* Slot cards */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.slot-card {
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.slot-card--hidden {
  display: none;
}

.slots-grid .slot-card--hidden:nth-of-type(-n + 10) {
  display: block;
}

.slot-card--hidden.is-visible {
  display: block;
}

.slot-card__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 200, 255, 0.14), transparent 38%),
    linear-gradient(145deg, #071b45, #020611 76%);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.035), inset 0 0 0 5px rgba(255, 255, 255, 0.08);
}

.slot-card__art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100%;
  background: rgba(2, 6, 17, 0.58);
  opacity: 0;
  transition: opacity 0.18s ease;
  z-index: 1;
}

.slot-card__art::before {
  content: attr(data-slot-name);
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.85rem 0.9rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 6, 17, 0.86), rgba(2, 6, 17, 0));
  border: 0;
  border-radius: 0;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.slot-card__art picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.slot-card__art img {
  display: block;
  width: 100%;
  max-width: none;
  height: 250px;
  object-fit: contain;
  padding: 0.15rem;
  border-radius: 0;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.42));
  transition: transform 0.18s ease, filter 0.18s ease;
}

.slot-card:hover .slot-card__art img {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.5));
}

.slot-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  padding: 0;
  color: #fff;
  background: linear-gradient(135deg, #7bd8ff 0%, #39aefa 48%, #1684d8 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(57, 174, 250, 0.38);
  font: inherit;
  cursor: pointer;
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.92);
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.slot-card__play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #fff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.slot-card__play:hover {
  box-shadow: 0 16px 36px rgba(57, 174, 250, 0.5);
}

.slot-card:hover .slot-card__art::after,
.slot-card:hover .slot-card__play,
.slot-card:hover .slot-card__art::before,
.slot-card:focus-within .slot-card__art::after,
.slot-card:focus-within .slot-card__play,
.slot-card:focus-within .slot-card__art::before {
  opacity: 1;
}

.slot-card:hover .slot-card__art::before,
.slot-card:focus-within .slot-card__art::before {
  transform: translateY(0);
}

.slot-card:hover .slot-card__play,
.slot-card:focus-within .slot-card__play {
  transform: translate(-50%, -50%) scale(1);
}

.slot-card__body {
  padding: 0.75rem 0.85rem 0.85rem;
  text-align: center;
}

.slot-card__body h3 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.slot-card__body p {
  margin: 0;
  color: var(--muted);
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

.slot-card__body .btn {
  display: none;
}

.slots-more {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.slots-more.is-hidden {
  display: none;
}

.slots-note {
  max-width: 780px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

@media (max-width: 900px) {
  .slots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slot-card__art::after {
    height: 46%;
    top: auto;
    opacity: 1;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 17, 0.68));
  }

  .slot-card__art::before {
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
    opacity: 1;
    transform: none;
  }

  .slot-card__play {
    top: auto;
    bottom: 0.75rem;
    width: 46px;
    height: 46px;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  .slot-card__play::before {
    margin-left: 4px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 15px;
  }
}
