@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/bebas-neue.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/roboto.woff2') format('woff2');
}
@charset "UTF-8";

/* ==================================== */
/* CLEAN WHITE - Minimal Professional  */
/* European Casino Style               */
/* ==================================== */
:root {
    /* === ЦВЕТА — светлая поверхность, фиолетовая рама === */
    --main-bg-color: #ffffff;
    --card-bg: #ffffff;
    --card-bg-hover: #ffffff;
    --surface-dark: #3e0d61;
    --surface-grey: #f0f5fd;
    --surface-alt: #f0f5fd;

    /* Фирменная рама шаблона: заголовок, герой, градиенты.
       Не заменяется брендом — это визуальная подпись nova, как тёмный vertex. */
    --brand-deep: #3e0d61;
    --brand: #7012aa;
    --brand-soft: #8f2ecb;

    /* === ТЕКСТ === */
    --text-color-dark: #022244;
    --text-color-body: #33465e;
    --text-color-muted: #4a5b70;
    --text-color-light: #8895a8;
    --text-color-white: #022244;
    --text-color-grey: #33465e;
    --accent-ink: #04160b;

    /* === ГРАНИЦЫ === */
    --border-color-dark: #dbe4f2;
    --border-color-medium: #c8d5e8;

    /* === АКЦЕНТЫ (заменяются генератором) === */
    --accent-pink: #6d46c1;
    --accent-pink-hover: #8666cc;
    --accent-green: #704dc7;

    /* === RGB для свечения (заменяются генератором) === */
    --glow-r: 109;
    --glow-g: 70;
    --glow-b: 193;

    /* === ШРИФТЫ === */
    --font-family: 'Roboto', sans-serif;
    --font-head: 'Montserrat', 'Arial Black', system-ui, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --font-size-hero: 42px;

    /* === СКРУГЛЕНИЯ — крупные, как в исходном макете === */
    --radius-sm: 12px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 20px;
    --radius-full: 999px;

    /* === ОТСТУПЫ === */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;

    /* === ГРАНИЦЫ === */
    --border-light: 1px solid #e6edf8;
    --border-medium: 1px solid #dbe4f2;
    --border-accent: 1px solid rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.35);

    /* === ТЕНИ === */
    --shadow-xs: 0 1px 2px rgba(2, 34, 68, 0.04);
    --shadow-sm: 0 2px 6px rgba(2, 34, 68, 0.06);
    --shadow-md: 0 6px 24px rgba(2, 34, 68, 0.08);
    --shadow-lg: 0 12px 34px rgba(2, 34, 68, 0.12);
    --shadow-accent: 0 6px 20px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.28);

    /* === АНИМАЦИИ === */
    --transition-fast: 0.12s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* === РАЗМЕРЫ === */
    --header-height: 78px;
    --container-max: 1280px;
    --marquee-height: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--main-bg-color);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color-body);
    background-color: var(--main-bg-color);
    -webkit-font-smoothing: antialiased;
    padding-bottom: var(--marquee-height);
}

.pis87-app-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Hide sidebar artifacts */
.pis87-sidebar,
.aside,
.side-menu,
.secondary-nav,
.nav-secondary,
aside {
    display: none !important;
}

/* ==================================== */
/* HEADER */
/* ==================================== */
.pis87-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-8);
    border-bottom: var(--border-light);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-xs);
}

.pis87-site-header .logo img {
    filter: drop-shadow(0 0 8px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.35));
    height: 38px;
    width: auto;
}

.pis87-site-header .logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-color-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.pis87-site-header .logo-text span {
    color: var(--accent-pink);
}

.pis87-site-header .logo-text span:first-child {
    -webkit-text-stroke: 2px var(--accent-pink);
    paint-order: stroke fill;
}

.pis87-site-header .pis87-main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.pis87-site-header .pis87-main-nav .close-menu {
    display: none;
}

.pis87-site-header .pis87-main-nav a {
    color: var(--text-color-muted);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.pis87-site-header .pis87-main-nav a .icon {
    display: none;
}

.pis87-site-header .pis87-main-nav a:hover {
    color: var(--text-color-dark);
    background: var(--surface-grey);
}

.pis87-site-header .pis87-main-nav a.active {
    color: var(--accent-pink);
    background: rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.08);
}

.pis87-header-buttons {
    display: flex;
    gap: var(--space-2);
}

.burger {
    display: none;
    font-size: 24px;
    color: var(--text-color-dark);
    cursor: pointer;
    padding: var(--space-2);
}

/* ==================================== */
/* BUTTONS */
/* ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    border-radius: var(--radius-sm);
}

.pis87-btn-primary, .pis87-btn-take-bonus {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-hover) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: btn-pulse 2s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.7);
    }
}

@keyframes btn-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.pis87-btn-primary::before, .pis87-btn-take-bonus::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: btn-shimmer 3s ease-in-out infinite;
}

.pis87-btn-primary:hover, .pis87-btn-take-bonus:hover {
    background: linear-gradient(135deg, var(--accent-pink-hover) 0%, var(--accent-pink) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.5);
    animation: none;
}

.pis87-btn-primary:hover::before, .pis87-btn-take-bonus:hover::before {
    animation: none;
    left: 100%;
}

.pis87-btn-secondary {
    background: #ffffff;
    color: var(--text-color-dark);
    border: var(--border-medium);
}

.pis87-btn-secondary:hover {
    background: var(--surface-grey);
    border-color: #ced4da;
}

/* ==================================== */
/* HERO / BONUS BANNER */
/* ==================================== */
.pis87_bonus-banner {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-pink-hover) 100%);
    border-radius: var(--radius-xl);
    min-height: 300px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-10);
    box-shadow: var(--shadow-lg);
}

.pis87_bonus-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.pis87_bonus-banner .img_banner {
    position: absolute;
    right: var(--space-10);
    top: 50%;
    transform: translateY(-50%);
    max-height: 85%;
    width: auto;
    z-index: 2;
    border-radius: var(--radius-lg);
}

.pis87_bonus-banner .pis87-banner-content {
    padding: var(--space-12);
    position: relative;
    z-index: 3;
    max-width: 55%;
}

.pis87_bonus-banner .pis87-bonus-details p {
    font-size: var(--font-size-hero);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pis87_bonus-banner .pis87-btn-take-bonus {
    background: #ffffff;
    color: var(--accent-pink);
    font-size: var(--font-size-base);
    padding: var(--space-4) var(--space-8);
    box-shadow: var(--shadow-md);
}

.pis87_bonus-banner .pis87-btn-take-bonus:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================================== */
/* GAMES GRID */
/* ==================================== */
.pis87-games-wrapper {
    margin-bottom: var(--space-12);
}

.pis87-games-wrapper h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: var(--space-6);
}

.pis87-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
}

.pis87-game-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.pis87-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pis87-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-base);
}

.pis87-game-card:hover .game-overlay {
    opacity: 1;
}

.game-overlay .btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.game-overlay .btn-play:hover {
    transform: scale(1.1);
    background: var(--accent-pink-hover);
}

.game-overlay .btn-play img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* ==================================== */
/* CONTENT BLOCKS */
/* ==================================== */
.pis87-seo-content {
    max-width: var(--container-max);
    margin: 0 auto;
}

.pis87-content-block {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: var(--space-10);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: var(--border-light);
}

.pis87-content-block h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: var(--space-6);
    line-height: 1.3;
}

.pis87-content-block h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-color-dark);
    margin-top: var(--space-10);
    margin-bottom: var(--space-5);
}

.pis87-content-block h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-color-dark);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.pis87-content-block p {
    font-size: var(--font-size-base);
    color: var(--text-color-body);
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.pis87-content-block a {
    color: var(--accent-pink);
    text-decoration: none;
    font-weight: 500;
}

.pis87-content-block a:hover {
    text-decoration: underline;
}

.pis87-content-block ul, .pis87-content-block ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.pis87-content-block li {
    color: var(--text-color-body);
    margin-bottom: var(--space-2);
    line-height: 1.7;
}

.img-container {
    margin: var(--space-8) 0;
}

.img-container img {
    border-radius: var(--radius-md);
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-sm);
}

/* Tables */
.table-wrap {
    overflow-x: auto;
    margin: var(--space-6) 0;
    border-radius: var(--radius-md);
    border: var(--border-light);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

th {
    background: var(--surface-grey);
    color: var(--text-color-dark);
    font-weight: 600;
    font-size: var(--font-size-sm);
    padding: var(--space-4) var(--space-5);
    text-align: left;
    border-bottom: var(--border-medium);
}

td {
    padding: var(--space-4) var(--space-5);
    color: var(--text-color-body);
    border-bottom: var(--border-light);
}

tr:hover td {
    background: var(--surface-grey);
}

/* ==================================== */
/* FAQ ACCORDION */
/* ==================================== */
.pis87-faq-item, .accordion-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    border: var(--border-light);
    transition: var(--transition-base);
}

.pis87-faq-item:hover, .accordion-item:hover {
    border-color: #ced4da;
}

.accordion-header {
    margin: 0;
    width: 100%;
    padding: var(--space-5) var(--space-6);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-color-dark);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.accordion-header:hover {
    color: var(--accent-pink);
}

.accordion-header::after {
    content: '+';
    font-size: 20px;
    font-weight: 500;
    color: var(--accent-pink);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.1);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.pis87-faq-item.active .accordion-header::after,
.accordion-item.active .accordion-header::after {
    content: '−';
    background: var(--accent-pink);
    color: #ffffff;
}

.accordion-content, .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p, .accordion-body p {
    padding: 0 var(--space-6) var(--space-5);
    margin: 0;
}

.pis87-faq-item.active .accordion-content,
.accordion-item.active .accordion-content,
.accordion-body.open {
    max-height: 500px;
}

/* ==================================== */
/* TESTIMONIALS */
/* ==================================== */
.testimonial-slider {
    position: relative;
    min-height: 160px;
}

.testimonial-slide {
    display: none;
    background: var(--surface-grey);
    border-radius: var(--radius-md);
    padding: var(--space-8);
    animation: fadeIn 0.4s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pis87-testimonial-text {
    font-size: var(--font-size-base);
    font-style: italic;
    color: var(--text-color-body);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

.pis87-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
    color: var(--text-color-dark);
    font-size: var(--font-size-sm);
}

.pis87-testimonial-author::before {
    content: '';
    width: 36px;
    height: 36px;
    background: var(--accent-pink);
    border-radius: 50%;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.testimonial-controls button {
    background: #ffffff;
    border: var(--border-medium);
    color: var(--text-color-body);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    transition: var(--transition-base);
}

.testimonial-controls button:hover {
    background: var(--accent-pink);
    color: #ffffff;
    border-color: var(--accent-pink);
}

/* ==================================== */
/* MARQUEE */
/* ==================================== */
.pis87-marquee-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--surface-dark);
    z-index: 1000;
    display: flex;
    align-items: center;
    height: var(--marquee-height);
}

.marquee-wrapper {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.pis87-marquee-container .btn {
    margin-right: var(--space-5);
    margin-left: var(--space-5);
    white-space: nowrap;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==================================== */
/* FOOTER */
/* ==================================== */
.pis87-site-footer.pis87-mono-footer {
    background: var(--surface-dark);
    margin-top: var(--space-16);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-12) var(--space-6);
}

.pis87-footer-section h4 {
    color: #ffffff;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-5);
}

.footer-external-links,
.pis87-footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-external-links a,
.pis87-footer-nav-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.footer-external-links a:hover,
.pis87-footer-nav-links a:hover {
    color: #ffffff;
}

.footer-lang-switch {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.lang-flag {
    width: 32px;
    height: 24px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.lang-flag:hover,
.lang-flag.active {
    opacity: 1;
}

.pis87-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6);
}

.pis87-footer-bottom-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-badges {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.footer-badges img {
    height: 28px;
    width: auto;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.footer-badges img:hover {
    opacity: 1;
}

.footer-legal {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-xs);
    text-decoration: none;
}

.footer-legal a:hover {
    color: #ffffff;
}

.age-badge {
    background: #ffffff;
    color: var(--surface-dark);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
}

.pis87-site-footer .back-to-top {
    position: fixed;
    bottom: calc(var(--marquee-height) + 20px);
    right: var(--space-6);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-dark);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.pis87-site-footer .back-to-top:hover {
    background: var(--accent-pink);
    color: #ffffff;
}

/* ==================================== */
/* SPECIAL BLOCKS */
/* ==================================== */
.step-block {
    background: var(--surface-grey);
    padding: var(--space-5) var(--space-6);
    padding-left: calc(var(--space-6) + 48px);
    border-radius: var(--radius-md);
    margin: var(--space-4) 0;
    position: relative;
}

.step-block .step-num {
    position: absolute;
    left: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--accent-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: #ffffff;
}

.pis87-summary-box {
    background: rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.05);
    border: var(--border-accent);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    margin: var(--space-6) 0;
}

.pis87-summary-box h3 {
    color: var(--accent-pink);
    margin-bottom: var(--space-3);
    margin-top: 0;
}

.pis87-quick-verdict {
    background: var(--surface-grey);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    margin: var(--space-6) 0;
    border-left: 4px solid var(--accent-pink);
}

.pis87-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin: var(--space-6) 0;
}

.pis87-pros-cons .pros,
.pis87-pros-cons .cons {
    background: var(--surface-grey);
    padding: var(--space-5);
    border-radius: var(--radius-md);
}

.pis87-pros-cons h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-3);
}

.pis87-pros-cons .pros h4 { color: var(--accent-green); }
.pis87-pros-cons .cons h4 { color: #fa5252; }

.pis87-pros-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pis87-pros-cons li {
    padding-left: var(--space-5);
    position: relative;
    margin-bottom: var(--space-2);
}

.pis87-pros-cons .pros li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.pis87-pros-cons .cons li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #fa5252;
}

.pis87-toc a {
    color: var(--accent-pink);
}

/* ==================================== */
/* MOBILE STYLES */
/* ==================================== */
@media (max-width: 1024px) {
    .pis87-app-container {
        padding: 0 var(--space-4);
    }

    .burger {
        display: block;
    }

    .pis87-site-header .pis87-main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px var(--space-6) var(--space-6);
        z-index: 999999;
        overflow-y: auto;
    }

    .pis87-site-header .pis87-main-nav.show {
        display: flex;
    }

    .pis87-site-header .pis87-main-nav a {
        font-size: var(--font-size-lg);
        padding: var(--space-4);
        border-bottom: var(--border-light);
        border-radius: 0;
    }

    .pis87-site-header .pis87-main-nav a .icon {
        display: flex;
        margin-right: var(--space-3);
        color: var(--accent-pink);
    }

    .pis87-site-header .pis87-main-nav .close-menu {
        display: block;
        position: absolute;
        top: var(--space-5);
        right: var(--space-5);
        font-size: 28px;
        color: var(--text-color-dark);
        cursor: pointer;
    }

    .pis87-site-header {
        flex-wrap: wrap;
        height: auto;
        padding: var(--space-3) var(--space-4);
        position: relative;
        z-index: 999999;
    }

    .pis87-header-buttons {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: var(--space-2);
        margin-top: var(--space-3);
    }

    /* Hero */
    .pis87_bonus-banner {
        min-height: 260px;
        position: relative;
        overflow: hidden;
    }

    .pis87_bonus-banner .pis87-banner-content {
        padding: var(--space-8) var(--space-5);
        max-width: 100%;
        position: relative;
        z-index: 5;
        text-align: center;
    }

    .pis87_bonus-banner .pis87-bonus-details p {
        font-size: var(--font-size-3xl);
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .pis87_bonus-banner .img_banner {
        position: absolute;
        right: -5%;
        top: 50%;
        transform: translateY(-50%);
        max-height: 120%;
        width: auto;
        opacity: 0.6;
        z-index: 1;
        border-radius: 0;
        filter: none;
    }

    .pis87_bonus-banner .pis87-banner-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .pis87_bonus-banner .pis87-bonus-details {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pis87_bonus-banner .pis87-btn-take-bonus {
        margin: 0 auto;
        animation: btn-bounce 1.5s ease-in-out infinite;
    }

    @keyframes btn-bounce {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
        }
    }

    /* Games */
    .pis87-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-3);
    }

    .pis87-games-grid .pis87-game-card:nth-child(n+13) {
        display: none;
    }

    /* Content */
    .pis87-content-block {
        padding: var(--space-6);
    }

    .pis87-content-block h1 {
        font-size: var(--font-size-2xl);
    }

    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .pis87-pros-cons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pis87-games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-2);
    }

    .pis87-games-grid .pis87-game-card:nth-child(n+10) {
        display: none;
    }

    .pis87_bonus-banner .pis87-bonus-details p {
        font-size: var(--font-size-2xl);
    }

    .pis87_bonus-banner .img_banner {
        right: -15%;
        opacity: 0.5;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .step-block {
        padding-left: var(--space-5);
        padding-top: calc(var(--space-5) + 40px);
    }

    .step-block .step-num {
        left: var(--space-5);
        top: var(--space-4);
        transform: none;
    }

    .pis87-marquee-container {
        height: 52px;
    }

    .marquee-text {
        font-size: 13px;
    }
}

/* =========================================================================
   NOVA — визуальный слой шаблона.
   Светлая страница, фиолетовая шапка и герой, акцентные пилюли CTA,
   карточки с акцентной верхней рамкой. Селекторы те же, что у остальных
   шаблонов сетки, поэтому уникализатор классов, CTA-glow и чат работают
   без изменений.
   ========================================================================= */

body {
    background: var(--main-bg-color);
    color: var(--text-color-body);
    font-family: var(--font-family);
    line-height: 1.55;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--text-color-dark);
    line-height: 1.2;
}
h1 { font-size: var(--font-size-hero); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
h2 { font-size: var(--font-size-3xl); font-weight: 800; }
h3 { font-size: var(--font-size-xl); font-weight: 700; }
h4 { font-size: var(--font-size-lg); font-weight: 700; }

a { color: var(--brand); }
a:hover { color: var(--brand-soft); }

.pis87-app-container { max-width: var(--container-max); }

/* ---- шапка: фиксированная фиолетовая полоса ---------------------------- */
.pis87-site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--brand-deep);
    border-bottom: 0;
    box-shadow: 0 2px 18px rgba(2, 34, 68, 0.18);
    padding-bottom: 14px;
}
.pis87-site-header a { color: #fff; }
.pis87-site-header nav,
.pis87-site-header .nav-links,
.pis87-site-header ul.menu {
    background: var(--surface-alt);
    border-radius: var(--radius-full);
    padding: 6px 10px;
}
.pis87-site-header nav a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    color: var(--text-color-dark);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}
.pis87-site-header nav a:hover,
.pis87-site-header nav a.active {
    background: var(--brand);
    color: #fff;
    text-decoration: none;
}

/* ---- кнопки ------------------------------------------------------------ */
.pis87-btn-primary,
.pis87-btn-take-bonus {
    background: var(--accent-pink);
    color: var(--accent-ink);
    border: 0;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.15;
    padding: 13px 26px;
    box-shadow: none;
    transition: transform var(--transition-fast), filter var(--transition-fast);
}
.pis87-btn-primary:hover,
.pis87-btn-take-bonus:hover {
    background: var(--accent-pink-hover);
    color: var(--accent-ink);
    filter: brightness(1.05);
    transform: translateY(-1px);
}
.pis87-btn-secondary {
    background: transparent;
    color: #fff;
    border-radius: var(--radius-sm);
    box-shadow: inset 0 0 0 2px var(--accent-pink);
    font-family: var(--font-head);
    font-weight: 700;
    padding: 13px 26px;
}
.pis87-btn-secondary:hover {
    background: rgba(var(--glow-r), var(--glow-g), var(--glow-b), 0.14);
    color: #fff;
}
.pis87-header-buttons { display: flex; gap: 12px; align-items: center; }

/* ---- карточки контента ------------------------------------------------- */
.pis87-content-block {
    background: var(--surface-alt);
    border: 0;
    border-top: 3px solid var(--accent-pink);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: none;
}
.pis87-content-block + .pis87-content-block { margin-top: var(--space-5); }

.pis87-summary-box,
.pis87-quick-verdict {
    background: #fff;
    border: 0;
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 20px 24px;
}

/* ---- бонус-баннер: фиолетовая карточка с акцентным CTA ----------------- */
.pis87_bonus-banner {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
    border: 0;
    border-radius: var(--radius-lg);
    padding: 30px;
    color: #fff;
    box-shadow: var(--shadow-md);
}
.pis87_bonus-banner h2,
.pis87_bonus-banner h3,
.pis87_bonus-banner p { color: #fff; }
.pis87_bonus-banner .pis87-btn-take-bonus { box-shadow: var(--shadow-accent); }

/* ---- оглавление -------------------------------------------------------- */
.pis87-toc {
    background: var(--surface-alt);
    border: 0;
    border-radius: var(--radius-lg);
    padding: 20px 30px;
}
.pis87-toc > strong,
.pis87-toc > .pis87-toc-title,
.pis87-toc h3 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--font-size-xl);
    color: var(--text-color-dark);
}
.pis87-toc ol, .pis87-toc ul { columns: 2; column-gap: 40px; padding-left: 20px; }
.pis87-toc li { margin-bottom: 8px; break-inside: avoid; }
.pis87-toc a { color: var(--text-color-dark); }
.pis87-toc a:hover { color: var(--brand); }

/* ---- аккордеоны и FAQ -------------------------------------------------- */
.accordion-item,
.pis87-faq-item {
    background: #fff;
    border: 0;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}
.accordion-header {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 17px;
    color: var(--text-color-dark);
    padding: 18px 20px;
    background: #fff;
}
.accordion-header:hover { background: var(--surface-alt); }
/* отступы держим на абзаце: у контейнера свёрнутое состояние это max-height:0,
   и любой его padding вылезает наружу полоской текста */
.accordion-body,
.accordion-content { padding: 0; color: var(--text-color-body); }
.accordion-body p,
.accordion-content p { padding: 0 20px 18px; margin: 0; }

/* ---- таблицы ----------------------------------------------------------- */
.pis87-content-block table,
.table-wrap table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: 15px;
}
.pis87-content-block table th,
.table-wrap table th {
    background: var(--brand);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    border-bottom: 0;
    padding: 11px 14px;
    text-align: left;
}
.pis87-content-block table td,
.table-wrap table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border-color-dark);
    vertical-align: top;
}
.pis87-content-block table tbody tr:nth-child(even) td,
.table-wrap table tbody tr:nth-child(even) td { background: var(--surface-alt); }
.pis87-content-block table tbody tr:last-child td,
.table-wrap table tbody tr:last-child td { border-bottom: 0; }

/* ---- шаги -------------------------------------------------------------- */
.step-block {
    position: relative;
    background: #fff;
    border: 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    padding: 18px 20px 18px 62px;
}
.step-block::before {
    background: var(--brand);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    left: 16px;
    top: 16px;
}

/* ---- плюсы и минусы ---------------------------------------------------- */
.pis87-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: transparent;
    border: 0;
    padding: 0;
}
.pis87-pros-cons > div {
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    padding: 20px 24px;
}

/* ---- сетка игр в стиле быстрых ссылок ---------------------------------- */
.pis87-games-grid { gap: var(--space-5); }
.pis87-game-card {
    background: var(--surface-alt);
    border: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.pis87-game-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.game-overlay {
    background: linear-gradient(180deg, rgba(62, 13, 97, 0) 0%, rgba(62, 13, 97, 0.82) 100%);
    color: #fff;
}

/* ---- нижняя бонусная полоса -------------------------------------------- */
.pis87-marquee-container {
    background: var(--brand-deep);
    border-top: 2px solid var(--accent-pink);
}
.marquee-text { color: #fff; font-family: var(--font-head); font-weight: 700; }

/* ---- отзывы ------------------------------------------------------------ */
.testimonial-slide {
    background: #fff;
    border: 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    padding: 24px;
}
.pis87-testimonial-text { color: var(--text-color-body); }
.pis87-testimonial-author { color: var(--text-color-dark); font-weight: 700; }
.testimonial-controls button { background: var(--surface-alt); color: var(--text-color-dark); }
.testimonial-controls button:hover { background: var(--brand); color: #fff; }

/* ---- подвал ------------------------------------------------------------ */
.pis87-site-footer {
    background: var(--surface-alt);
    border-top: 0;
    color: var(--text-color-muted);
    margin-top: 40px;
    padding: 42px 0 30px;
}
.pis87-site-footer h3, .pis87-site-footer h4, .pis87-footer-section strong { color: var(--text-color-dark); }
.footer-container { max-width: var(--container-max); }
.pis87-footer-nav-links a,
.footer-external-links a { color: var(--text-color-muted); font-weight: 600; }
.pis87-footer-nav-links a:hover,
.footer-external-links a:hover { color: var(--brand); }
.pis87-footer-bottom { border-top: 1px solid var(--border-color-dark); }
.footer-legal { font-size: 12px; line-height: 1.5; }
.age-badge {
    border: 2px solid #e11d48;
    color: #e11d48;
    background: transparent;
    border-radius: 50%;
    font-weight: 800;
}
.footer-lang-switch a { border-radius: var(--radius-full); }

/* ---- адаптив: один брейкпоинт, как в исходном макете ------------------- */
@media (max-width: 991px) {
    h1 { font-size: 25px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    .pis87-content-block, .pis87_bonus-banner, .pis87-toc { padding: 16px; }
    .pis87-toc ol, .pis87-toc ul { columns: 1; }
    .pis87-pros-cons { grid-template-columns: 1fr; gap: 12px; }
    .pis87-site-header nav { display: none; }
    .pis87-header-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
    .pis87-header-buttons .pis87-btn-primary,
    .pis87-header-buttons .pis87-btn-secondary {
        width: 100%;
        padding: 12px 8px;
        font-size: 15px;
        min-height: 46px;
    }
}

@media (max-width: 575px) {
    .pis87-games-grid { grid-template-columns: 1fr; }
    .pis87-btn-primary, .pis87-btn-secondary, .pis87-btn-take-bonus { width: 100%; }
    .pis87-content-block table, .table-wrap table { font-size: 14px; }
}

/* заголовок вопроса — это h3, и он приносит типографский margin 32/16px:
   внутри свёрнутого элемента это 48px пустоты и рваные промежутки в списке */
.accordion-item .accordion-header,
.accordion-item h3.accordion-header,
.pis87-faq-item .accordion-header { margin: 0 !important; }

/* Подвал заливается тёмным, а подписи и ссылки в нём оставались цветами светлой
   части палитры — тёмное по тёмному, слова пропадали. Фон уводим в общую гамму
   (тот же тон, что шапка), текст делаем светлым. */
.pis87-site-footer {
    background: var(--brand-deep) !important;
    color: rgba(255, 255, 255, 0.74) !important;
}
.pis87-site-footer h3,
.pis87-site-footer h4,
.pis87-site-footer .pis87-footer-section strong,
.pis87-site-footer .pis87-footer-section > strong { color: #ffffff !important; }
.pis87-site-footer a,
.pis87-site-footer .pis87-footer-nav-links a,
.pis87-site-footer .footer-external-links a,
.pis87-site-footer .pis87-footer-bottom a { color: rgba(255, 255, 255, 0.80) !important; }
.pis87-site-footer a:hover { color: #ffffff !important; }
.pis87-site-footer .footer-legal,
.pis87-site-footer .pis87-footer-bottom,
.pis87-site-footer .pis87-footer-bottom-content { color: rgba(255, 255, 255, 0.62) !important; }
.pis87-site-footer .pis87-footer-bottom { border-top-color: rgba(255, 255, 255, 0.16) !important; }
.pis87-site-footer .age-badge { border-color: rgba(255, 255, 255, 0.55) !important; color: #ffffff !important; }

/* ===== мобильные правки ===== */
/* Пилюля-меню — приём десктопа. На мобиле базовый шаблон разворачивает ту же
   ноду в полноэкранную панель, и радиус 999px превращал её в белый круг. */
@media (max-width: 991px) {
    .pis87-main-nav {
        border-radius: 0 !important;
        background: #ffffff !important;
    }
    .pis87-main-nav a {
        border-radius: 10px !important;
        text-align: center;
    }
}
/* Нижняя панель: кнопка получала width:100% и вылезала за экран вместе с
   бегущей строкой. Строке — сжиматься, кнопке — по содержимому. */
@media (max-width: 767px) {
    .pis87-marquee-container {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 8px 12px !important;
        box-sizing: border-box;
    }
    .marquee-wrapper { flex: 1 1 auto; min-width: 0; overflow: hidden; }
    .pis87-marquee-container .btn,
    .pis87-marquee-container .pis87-btn-primary {
        width: auto !important;
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 12px 16px !important;
        margin: 0 !important;
    }
}
@media (max-width: 480px) {
    /* на узком экране бегущая строка только мешает — оставляем кнопку по центру */
    .marquee-wrapper { display: none !important; }
    .pis87-marquee-container .btn,
    .pis87-marquee-container .pis87-btn-primary {
        width: 100% !important;
        justify-content: center;
        text-align: center;
    }
}

/* Пункты мобильного меню жались по центру (nav — flex column с align:center),
   поэтому получались узкие плашки с обрывками полосок под ними.
   Делаем список во всю ширину, иконка и подпись в строку — как у конкурента. */
@media (max-width: 991px) {
    .pis87-main-nav {
        align-items: stretch !important;
        padding: 76px 16px 28px !important;
    }
    .pis87-main-nav a {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 12px;
        width: 100% !important;
        text-align: left !important;
        padding: 15px 14px !important;
        border-radius: 12px !important;
        border-bottom: 1px solid var(--border-color-dark) !important;
        font-size: 17px;
    }
    .pis87-main-nav a:last-of-type { border-bottom: 0 !important; }
    .pis87-main-nav a.active { background: var(--surface-alt) !important; }
    .pis87-main-nav a .icon { display: flex; align-items: center; margin: 0 !important; }
}

/* Логотип: медальон с эмблемой слева, бренд сверху, CASINO под ним вразрядку. */
.nv-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nv-logo:hover { text-decoration: none; }
.nv-logo__mark {
    width: 44px; height: 44px; flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
    display: grid; place-items: center;
}
.nv-logo__mark svg { width: 24px; height: 24px; }
.nv-logo__word { display: flex; flex-direction: column; line-height: 1; }
.nv-logo__word b {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 21px;
    letter-spacing: 0.01em;
    color: #ffffff;
}
.nv-logo__word i {
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.42em;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 5px;
}
@media (max-width: 991px) {
    .nv-logo__mark { width: 38px; height: 38px; }
    .nv-logo__mark svg { width: 21px; height: 21px; }
    .nv-logo__word b { font-size: 18px; }
    .nv-logo__word i { font-size: 10px; letter-spacing: 0.36em; }
}

.nv-hero .nv-hero__text { position: relative; z-index: 3; max-width: 100%; text-align: left; }
.nv-hero .nv-hero__media { position: relative; z-index: 2; }
.nv-hero .img_banner {
    position: static;
    transform: none;
    width: 100%;
    max-height: none;
    opacity: 1;
    border-radius: var(--radius-md);
    filter: none;
}
.nv-hero .nv-hero__title {
    color: #fff;
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 14px;
    text-transform: uppercase;
    font-weight: 900;
}
.nv-hero .nv-hero__lead {
    color: rgba(255, 255, 255, .94);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px;
}
.nv-hero .nv-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.nv-hero .nv-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.nv-hero .pis87-banner-content {
    padding: 0;
    max-width: 100%;
    text-align: left;
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    gap: 18px;
    flex-wrap: wrap;
}
.nv-hero .pis87-bonus-details { width: auto; align-items: flex-start; }
.nv-hero .pis87-bonus-details p {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: none;
    letter-spacing: 0;
    align-self: center;
}
.nv-hero .pis87-btn-take-bonus {
    margin: 0;
    animation: none;
    background: var(--accent-pink);
    color: #fff;
}
.nv-hero .pis87-btn-take-bonus:hover { background: var(--accent-pink-hover); }

/* быстрые ссылки + панель приложения */
.nv-quick {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 20px 0;
}
.nv-quick__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.nv-quick__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    overflow: hidden;
    color: var(--text-color-dark);
    text-decoration: none;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.nv-quick__item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.nv-quick__item b { font-size: 19px; font-weight: 800; max-width: 60%; position: relative; z-index: 2; }
.nv-quick__item img {
    position: absolute;
    right: 10px;
    bottom: 8px;
    width: 92px;
    height: auto;
    border-radius: var(--radius-sm);
    z-index: 1;
}
.nv-quick__go {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-pink);
    color: #fff;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
}
.nv-apppanel {
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nv-apppanel .nv-apppanel__title, .nv-apppanel h3 { color: #fff; margin: 0; font-weight: 700; font-size: 20px; }
.nv-apppanel p { color: rgba(255, 255, 255, .88); font-size: 14px; margin: 0; }
.nv-store-row { display: grid; gap: 10px; margin-top: auto; }
.nv-store-btn {
    display: block;
    background: var(--accent-pink);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
    text-align: center;
}
.nv-store-btn:hover { background: var(--accent-pink-hover); text-decoration: none; color: #fff; }
.nv-store-btn small { display: block; font-size: 11px; font-weight: 600; opacity: .8; }
.nv-store-btn b { font-size: 15px; }

/* плитки игр опущены под текст — там они уже не спорят с героем */
.nv-games-moved { margin-top: 20px; }

@media (max-width: 991px) {
    .pis87_bonus-banner.nv-hero { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
    .nv-hero .nv-hero__media { order: -1; }
    .nv-hero .nv-hero__title { font-size: 24px; }
    .nv-quick { grid-template-columns: 1fr; }
    .nv-quick__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
    .nv-quick__grid { grid-template-columns: 1fr; }
    .nv-quick__item img { width: 76px; }
}

/* заголовок карточки — обычный текст, а не подчёркнутая ссылка */
.nv-quick__item, .nv-quick__item:hover { color: var(--text-color-dark); text-decoration: none; }
.nv-quick__item b { color: var(--text-color-dark); text-decoration: none; }
.nv-quick__item:hover b { color: var(--brand); }

/* карточки быстрых ссылок и кнопки панели не должны наследовать стиль ссылок */
.nv-quick .nv-quick__item,
.nv-quick .nv-quick__item:hover,
.nv-quick .nv-quick__item:visited { color: var(--text-color-dark) !important; text-decoration: none !important; }
.nv-quick .nv-quick__item b { color: var(--text-color-dark) !important; }
.nv-quick .nv-quick__item:hover b { color: var(--brand) !important; }
.nv-quick .nv-store-btn,
.nv-quick .nv-store-btn:hover,
.nv-quick .nv-store-btn b,
.nv-quick .nv-store-btn small { color: #fff !important; text-decoration: none !important; }

/* ===== NOVA pass-2: палитра от акцента бренда + иконки ===== */
/* Рама больше не прибита фиолетовым: и шапка, и герой, и панель приложения
   выводятся из акцента сайта. Первая пара значений — запасная для браузеров
   без color-mix, вторая перекрывает её там, где color-mix поддержан. */
:root {
    --brand: #7012aa;
    --brand-soft: #8f2ecb;
    --brand-deep: #3e0d61;
}
:root {
    --brand: var(--accent-pink);
    --brand-soft: var(--accent-pink-hover);
    --brand-deep: color-mix(in srgb, var(--accent-pink) 58%, #140a1c);
    --surface-alt: color-mix(in srgb, var(--accent-pink) 7%, #f6f8fc);
}

/* на цветных поверхностях кнопка белая — читается при любом акценте */
.nv-hero .pis87-btn-take-bonus,
.nv-store-btn {
    background: #fff !important;
    color: var(--brand-deep) !important;
}
.nv-hero .pis87-btn-take-bonus:hover,
.nv-store-btn:hover { background: #fff !important; filter: brightness(.97); }
.nv-quick .nv-store-btn,
.nv-quick .nv-store-btn b,
.nv-quick .nv-store-btn small { color: var(--brand-deep) !important; }

/* иконка карточки */
.nv-quick__ico {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-pink);
    color: #fff;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    flex: none;
}
.nv-quick__ico svg { width: 19px; height: 19px; }
.nv-quick__item { justify-content: flex-start; gap: 14px; }
.nv-quick__item b { max-width: 62%; }
.nv-quick__item img { width: 104px; opacity: .95; }

/* иконка панели приложения */
.nv-apppanel { position: relative; }
.nv-apppanel__ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
}
.nv-apppanel__ico svg { width: 22px; height: 22px; }

/* кнопки магазинов — иконка слева, подпись справа */
.nv-store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}
.nv-store-btn__ico { flex: none; display: grid; place-items: center; }
.nv-store-btn__ico svg { width: 20px; height: 20px; }
.nv-store-btn small { display: block; font-size: 11px; opacity: .7; }
.nv-store-btn b { font-size: 14px; }

/* accent-hover у брендов бывает совсем другого тона (здесь акцент розовый,
   а hover синий) — градиент рамы ведём от самого акцента, чтобы на любом
   сайте это была одна краска в разной светлоте, а не две разные */
:root { --brand-soft: color-mix(in srgb, var(--accent-pink) 82%, #ffffff); }
.pis87_bonus-banner.nv-hero {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-soft) 100%);
}
.nv-apppanel {
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
}

/* свёрнутый аккордеон: max-height:0 обрезает содержимое, но паддинг контейнера
   остаётся и наружу торчит полоска текста. Отступы держим на абзаце, как в базе. */
.accordion-body, .accordion-content { padding: 0 !important; }
.accordion-body p, .accordion-content p { padding: 0 20px 18px; margin: 0; }

/* заголовок вопроса — это h3, и он приносит типографский margin 32/16px:
   внутри свёрнутого элемента это 48px пустоты и рваные промежутки в списке */
.accordion-item .accordion-header,
.accordion-item h3.accordion-header,
.pis87-faq-item .accordion-header { margin: 0 !important; }

/* подложка карточек стала тонированной, и ховер surface-alt сливался с ней,
   а текст уезжал в акцент — вопрос переставал читаться */
.accordion-item .accordion-header:hover,
.pis87-faq-item .accordion-header:hover {
    background: #fff !important;
    color: var(--text-color-dark) !important;
    box-shadow: inset 3px 0 0 var(--accent-pink);
}
.accordion-item:hover, .pis87-faq-item:hover { box-shadow: var(--shadow-md); }

/* иллюстрация к секции: обтекание текстом, поочерёдно справа и слева */
.nv-secimg { margin: 6px 0 14px; width: 34%; max-width: 320px; }
.nv-secimg img { width: 100%; height: auto; border-radius: var(--radius-md); display: block; box-shadow: var(--shadow-sm); }
.nv-secimg--right { float: right; margin-left: 26px; }
.nv-secimg--left  { float: left;  margin-right: 26px; }
.pis87-content-block h2 { clear: both; }
@media (max-width: 767px) {
    .nv-secimg, .nv-secimg--right, .nv-secimg--left {
        float: none; width: 100%; max-width: none; margin: 12px 0 16px;
    }
}

/* Подвал заливается тёмным, а подписи и ссылки в нём оставались цветами светлой
   части палитры — тёмное по тёмному, слова пропадали. Фон уводим в общую гамму
   (тот же тон, что шапка), текст делаем светлым. */
.pis87-site-footer {
    background: var(--brand-deep) !important;
    color: rgba(255, 255, 255, 0.74) !important;
}
.pis87-site-footer h3,
.pis87-site-footer h4,
.pis87-site-footer .pis87-footer-section strong,
.pis87-site-footer .pis87-footer-section > strong { color: #ffffff !important; }
.pis87-site-footer a,
.pis87-site-footer .pis87-footer-nav-links a,
.pis87-site-footer .footer-external-links a,
.pis87-site-footer .pis87-footer-bottom a { color: rgba(255, 255, 255, 0.80) !important; }
.pis87-site-footer a:hover { color: #ffffff !important; }
.pis87-site-footer .footer-legal,
.pis87-site-footer .pis87-footer-bottom,
.pis87-site-footer .pis87-footer-bottom-content { color: rgba(255, 255, 255, 0.62) !important; }
.pis87-site-footer .pis87-footer-bottom { border-top-color: rgba(255, 255, 255, 0.16) !important; }
.pis87-site-footer .age-badge { border-color: rgba(255, 255, 255, 0.55) !important; color: #ffffff !important; }

/* контраст подвала (селекторы без привязки к префиксу уникализатора) */
[class*="site-footer"] {
    background: var(--brand-deep) !important;
    color: rgba(255, 255, 255, 0.74) !important;
}
[class*="site-footer"] h3,
[class*="site-footer"] h4,
[class*="site-footer"] strong { color: #ffffff !important; }
[class*="site-footer"] a { color: rgba(255, 255, 255, 0.82) !important; }
[class*="site-footer"] a:hover { color: #ffffff !important; }
[class*="site-footer"] [class*="footer-legal"],
[class*="site-footer"] [class*="footer-bottom"] { color: rgba(255, 255, 255, 0.64) !important; }
[class*="site-footer"] [class*="footer-bottom"] { border-top-color: rgba(255, 255, 255, 0.16) !important; }
[class*="site-footer"] [class*="age-badge"] { border-color: rgba(255,255,255,.55) !important; color: #fff !important; }

/* ===== мобильные правки ===== */
/* Пилюля-меню — приём десктопа. На мобиле базовый шаблон разворачивает ту же
   ноду в полноэкранную панель, и радиус 999px превращал её в белый круг. */
@media (max-width: 991px) {
    [class*="main-nav"] {
        border-radius: 0 !important;
        background: #ffffff !important;
    }
    [class*="main-nav"] a {
        border-radius: 10px !important;
        text-align: center;
    }
}
/* Нижняя панель: кнопка получала width:100% и вылезала за экран вместе с
   бегущей строкой. Строке — сжиматься, кнопке — по содержимому. */
@media (max-width: 767px) {
    [class*="marquee-container"] {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 8px 12px !important;
        box-sizing: border-box;
    }
    [class*="marquee-wrapper"] { flex: 1 1 auto; min-width: 0; overflow: hidden; }
    [class*="marquee-container"] .btn,
    [class*="marquee-container"] [class*="btn-primary"] {
        width: auto !important;
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 12px 16px !important;
        margin: 0 !important;
    }
}
@media (max-width: 480px) {
    /* на узком экране бегущая строка только мешает — оставляем кнопку по центру */
    [class*="marquee-wrapper"] { display: none !important; }
    [class*="marquee-container"] .btn,
    [class*="marquee-container"] [class*="btn-primary"] {
        width: 100% !important;
        justify-content: center;
        text-align: center;
    }
}

/* Пункты мобильного меню жались по центру (nav — flex column с align:center),
   поэтому получались узкие плашки с обрывками полосок под ними.
   Делаем список во всю ширину, иконка и подпись в строку — как у конкурента. */
@media (max-width: 991px) {
    [class*="main-nav"] {
        align-items: stretch !important;
        padding: 76px 16px 28px !important;
    }
    [class*="main-nav"] a {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 12px;
        width: 100% !important;
        text-align: left !important;
        padding: 15px 14px !important;
        border-radius: 12px !important;
        border-bottom: 1px solid var(--border-color-dark) !important;
        font-size: 17px;
    }
    [class*="main-nav"] a:last-of-type { border-bottom: 0 !important; }
    [class*="main-nav"] a.active { background: var(--surface-alt) !important; }
    [class*="main-nav"] a .icon { display: flex; align-items: center; margin: 0 !important; }
}

/* Логотип: медальон с эмблемой слева, бренд сверху, CASINO под ним вразрядку. */
.nv-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nv-logo:hover { text-decoration: none; }
.nv-logo__mark {
    width: 44px; height: 44px; flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
    display: grid; place-items: center;
}
.nv-logo__mark svg { width: 24px; height: 24px; }
.nv-logo__word { display: flex; flex-direction: column; line-height: 1; }
.nv-logo__word b {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 21px;
    letter-spacing: 0.01em;
    color: #ffffff;
}
.nv-logo__word i {
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.42em;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 5px;
}
@media (max-width: 991px) {
    .nv-logo__mark { width: 38px; height: 38px; }
    .nv-logo__mark svg { width: 21px; height: 21px; }
    .nv-logo__word b { font-size: 18px; }
    .nv-logo__word i { font-size: 10px; letter-spacing: 0.36em; }
}

/* u02eaee79 */

/* Тёмная рама (подвал, нижняя панель, возрастной бейдж) — surface-dark от акцента
   бренда. Шаблонный #3e0d61 стоял одинаковым на всех nova-сайтах: одинаковая
   рама и видна глазом, и связывает сайты между собой. Первая строка — запас
   для браузеров без color-mix. */
:root { --surface-dark: #3e0d61; }
:root { --surface-dark: color-mix(in srgb, var(--accent-pink) 48%, #140a1c); }

/* Каждый раздел статьи — отдельная карточка с цветной рамкой от акцента.
   Внешний контейнер разгружаем, иначе коробка в коробке; :has() ограничивает
   правило страницами, где карточки действительно появились. */
.pis87-content-block:has(.nv-card) {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}
.nv-card {
    background: var(--card-bg, #ffffff);
    border: 2px solid #e6e9f2;
    border: 2px solid color-mix(in srgb, var(--accent-pink) 38%, #ffffff);
    border-radius: var(--radius-lg, 20px);
    padding: 30px 34px;
    margin: 0 0 22px;
    box-shadow: var(--shadow-sm);
}
.nv-card > h2:first-child { margin-top: 0; }
.nv-card--lead {
    background: var(--surface-alt);
    border-color: transparent;
}
@media (max-width: 767px) {
    .nv-card { padding: 18px 16px; border-radius: 14px; }
}

/* Font override */
body { font-family: 'Roboto', sans-serif !important; }
h1, h2, h3, h4, h5, h6 { font-family: 'Bebas Neue', sans-serif !important; }
.logo-text { font-family: 'Bebas Neue', sans-serif !important; }

/* Keep floated illustrations inside their own article card. */
.nv-card { display: flow-root; }
/* Readable FAQ headings with consistent Polish glyphs. */
[class*="faq-block"] > h2,
h3.accordion-header {
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 600;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}

/* Lists establish their own box beside floated section images. */
.nv-card ul, .nv-card ol { display: flow-root; }
