/* Critical CSS - Inline для мгновенной отрисовки */
:root {
    --primary: #311314;
    --secondary: #482321;
    --accent: #f68dc0;
    --text: #e4f6ec;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    font-family: "Bellota Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--secondary);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
/* Header - Критично для LCP */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(49,19,20,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(248,247,244,0.08);
    height: 80px;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
}
/* Logo - Критично для LCP */
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}
/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-list {
    display: flex;
    gap: 8px;
    list-style: none;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: rgba(248,247,244,0.7);
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.nav-link.active,
.nav-link:hover {
    color: var(--text);
    background: linear-gradient(135deg, var(--accent) 0%, #f68dc0cc 100%);
}
/* Buttons - Критично для CTA */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #f68dc0cc 100%);
    color: var(--text);
    box-shadow: 0 0 30px rgba(246,141,192,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
/* Main Content */
.main {
    padding-top: 100px;
    padding-bottom: 64px;
    min-height: 100vh;
}
/* Title - Критично для LCP */
.main-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent) 0%, #e4f6ec 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}
.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}
.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(248,247,244,0.08);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(248,247,244,0.03);
    border: 1px solid rgba(248,247,244,0.08);
    border-radius: 12px;
    cursor: pointer;
}
/* Responsive */
@media (max-width: 1024px) {
    .main-nav,
    .header-actions {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .main {
        padding-top: 90px;
    }
    .main-title {
        font-size: 28px;
    }
}
/* Skeleton Loading для CLS */
.skeleton {
    background: linear-gradient(90deg, rgba(248,247,244,0.03) 25%, rgba(248,247,244,0.08) 50%, rgba(248,247,244,0.03) 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}
/* Layout Shift Prevention */
img {
    max-width: 100%;
    height: auto;
}
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

/* ============================================
   ДАШБОРД СЛОТОВ v2.0
   ============================================ */
.slots-dashboard {
    margin: 3rem 0;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 138, 164, 255), 0.08) 0%, rgba(5,6,8,0.5) 100%);
    border-radius: 24px;
    border: 2px solid rgba(var(--brand-rgb, 138, 164, 255), 0.15);
}
.slots-dashboard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), var(--brand-primary-dark), transparent);
    background-size: 200% 100%;
    animation: slotsDashShine 4s linear infinite;
}
@keyframes slotsDashShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.slots-dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}
.slots-dashboard-header {
    margin-bottom: 2.5rem;
    text-align: center;
}
.slots-dashboard-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 138, 164, 255), 0.1), rgba(5,6,8,0.4));
    border-radius: 20px;
    border: 1px solid rgba(var(--brand-rgb, 138, 164, 255), 0.2);
}
.slots-dashboard-icon {
    font-size: 3.5rem;
    animation: slotsIconFloat 4s ease-in-out infinite;
}
@keyframes slotsIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.slots-dashboard-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.slots-dashboard-subtitle {
    color: rgba(248,247,244,0.75);
    font-size: 0.95rem;
    text-align: center;
}
/* Вкладки */
.slots-dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.slots-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: rgba(248,247,244,0.05);
    border: 2px solid rgba(var(--brand-rgb, 138, 164, 255), 0.25);
    border-radius: 16px;
    color: rgba(248,247,244,0.9);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slots-tab:hover {
    background: rgba(var(--brand-rgb, 138, 164, 255), 0.15);
    border-color: rgba(var(--brand-rgb, 138, 164, 255), 0.5);
    transform: translateY(-2px);
}
.slots-tab.active {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    border-color: var(--brand-primary);
    color: #2a1512;
    box-shadow: 0 4px 20px rgba(var(--brand-rgb, 138, 164, 255), 0.4);
}
.slots-tab span {
    font-size: 1.2rem;
}
/* Контент вкладок */
.slots-tab-content {
    display: none;
    animation: slotsFadeIn 0.4s ease;
}
.slots-tab-content.active {
    display: block;
}
@keyframes slotsFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
/* ===== Variants (v1..v4) ===== */
.slots-dashboard.variant-v2 .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}
.slots-dashboard.variant-v2 .slot-card { border-radius: 18px; }
.slots-dashboard.variant-v3 .slots-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}
.slots-dashboard.variant-v3 .slot-card {
    min-width: 320px;
    scroll-snap-align: start;
}
.slots-dashboard.variant-v4 .slots-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
}
.slots-dashboard.variant-v4 .slot-card {
    border-radius: 14px;
}
.slots-dashboard.variant-v4 .slot-chart { display: none; }
.slots-dashboard.variant-v4 .slot-footer { display: flex; justify-content: space-between; }
/* Карточка слота */
.slot-card {
    background: linear-gradient(135deg, rgba(5,6,8,0.5) 0%, rgba(47,10,45,0.8) 100%);
    border: 2px solid rgba(var(--brand-rgb, 138, 164, 255), 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: slotCardIn 0.6s ease-out backwards;
}
@keyframes slotCardIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.slot-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--brand-rgb, 138, 164, 255), 0.5);
    box-shadow: 0 16px 40px rgba(var(--brand-rgb, 138, 164, 255), 0.25);
}
.slot-card-inner {
    padding: 0;
}
/* Постер с картинкой */
.slot-poster {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #4d2423 0%, #2c1211 100%);
}
.slot-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.slot-card:hover .slot-poster img {
    transform: scale(1.08);
}
.slot-poster-fallback {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 138, 164, 255), 0.15) 0%, rgba(5,6,8,0.6) 100%);
}
.slot-poster-fallback.show {
    display: flex;
}
.slot-fallback-icon {
    font-size: 4rem;
    opacity: 0.9;
}
.slot-fallback-name {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(248,247,244,0.95);
    text-align: center;
    padding: 0 1rem;
}
.slot-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}
.slot-badge-high {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: #2a1512;
}
.slot-badge-medium {
    background: rgba(var(--brand-rgb, 138, 164, 255), 0.4);
    color: #e4f6ec;
}
.slot-badge-low {
    background: rgba(248,247,244,0.2);
    color: #e4f6ec;
}
/* Инфо */
.slot-info {
    padding: 1rem 1.25rem 0.75rem;
}
.slot-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e4f6ec;
    margin-bottom: 0.25rem;
}
.slot-provider {
    font-size: 0.8rem;
    color: rgba(248,247,244,0.65);
}
/* Мини-график */
.slot-chart {
    padding: 0 1.25rem 1rem;
}
.slot-chart-label {
    display: block;
    font-size: 0.7rem;
    color: rgba(248,247,244,0.6);
    margin-bottom: 0.5rem;
}
.slot-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    height: 48px;
}
.slot-chart-bar {
    flex: 1;
    min-width: 4px;
    background: linear-gradient(180deg, var(--brand-primary), var(--brand-primary-dark));
    border-radius: 4px 4px 0 0;
    animation: slotBarGrow 0.8s ease-out backwards;
}
@keyframes slotBarGrow {
    from { height: 0 !important; opacity: 0; }
    to { opacity: 1; }
}
/* Футер карточки */
.slot-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(5,6,8,0.3);
    border-top: 1px solid rgba(248,247,244,0.06);
}
.slot-rtp {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.35rem 0.6rem 0.35rem 0.75rem;
    background: rgba(248,247,244,0.04);
    border-left: 3px solid var(--brand-primary);
    border-radius: 0 8px 8px 0;
}
.slot-rtp-label {
    font-size: 0.6rem;
    color: rgba(248,247,244,0.45);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.slot-rtp-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.5px;
}
.slot-play-btn {
    padding: 0.6rem 1.4rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
    color: #2a1512;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.slot-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(var(--brand-rgb, 138, 164, 255), 0.5);
}
/* Адаптив */
@media (max-width: 768px) {
    .slots-dashboard-title { font-size: 1.5rem; }
    .slots-grid { grid-template-columns: 1fr; }
    .slots-dashboard-tabs { gap: 0.5rem; }
    .slots-tab { padding: 0.6rem 1rem; font-size: 0.85rem; }
    .slot-poster { height: 140px; }
}
@media (max-width: 480px) {
    .slots-dashboard-container { padding: 0 1rem; }
    .slots-dashboard-title-wrap { flex-direction: column; text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .slot-card, .slot-chart-bar { animation: none; }
}

/* Final accessibility and Saffron Circuit consistency pass */
body { font-family: var(--font-body); }
.btn-primary,
.btn-cta,
.timer-button,
.slot-play-btn,
.mobile-nav-link:hover,
.mobile-nav-link.active { color: #311314 !important; }
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #e4f6ec !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 6px rgba(246,141,192,.55) !important;
}
.skip-link:focus {
  left: 16px !important;
  top: 16px !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  z-index: 10001;
  padding: 12px 16px;
  color: #311314;
  background: #e4f6ec;
  border-radius: 10px;
}
.mobile-nav { visibility: hidden; pointer-events: none; transition-property: transform, opacity !important; }
.mobile-nav.active { visibility: visible; pointer-events: auto; }
.floating-offer,
.bonus-popup { visibility: hidden; pointer-events: none; }
.floating-offer.show,
.bonus-popup.show { visibility: visible; pointer-events: auto; }
@media (max-width: 768px) {
  body.theme-b7 { background-attachment: scroll !important; }
}

/* Блок запросов сайта — другая структура */
.site-queries-block {
    margin: 2.75rem 0;
    padding: 2rem;
    background: linear-gradient(165deg, rgba(var(--brand-rgb, 138, 164, 255), 0.06) 0%, rgba(5,6,8,0.25) 100%);
    border-radius: 18px;
    border: 1px solid rgba(var(--brand-rgb, 138, 164, 255), 0.2);
    box-shadow: 0 8px 28px rgba(5,6,8,0.2);
}
.site-queries-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.35rem;
    color: var(--brand-primary);
    text-align: center;
}
.site-queries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}
.site-query-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(5,6,8,0.35);
    border: 1px solid rgba(248,247,244,0.12);
    border-radius: 999px;
    text-decoration: none;
    color: rgba(248,247,244,0.92);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.25s, border-color 0.25s, transform 0.2s ease;
}
.site-query-link:hover {
    background: rgba(var(--brand-rgb, 138, 164, 255), 0.18);
    border-color: rgba(var(--brand-rgb, 138, 164, 255), 0.4);
    transform: translateY(-2px);
}
.site-query-arrow {
    font-size: 0.9rem;
    opacity: 0.8;
}
.site-query-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}
/* Additional Content */
.additional-content {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(49,19,20,0.6), rgba(15,11,36,0.8));
    border-radius: 24px;
    border: 2px solid rgba(246,141,192,0.2);
}
.content-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #51f291, #51f291);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.content-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.content-block {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(246,141,192,0.08), rgba(5,6,8,0.4));
    border: 1px solid rgba(246,141,192,0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}
.content-block:hover {
    border-color: rgba(246,141,192,0.5);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(246,141,192,0.3);
}
.block-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.block-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #51f291;
}
.block-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(248,247,244,0.85);
}
/* Internal Links */
.internal-link {
    color: #51f291;
    text-decoration: underline;
    text-decoration-style: dotted;
    transition: all 0.2s ease;
}
.internal-link:hover {
    color: #51f291;
    text-decoration-style: solid;
}
@media (max-width: 768px) {
    .site-queries-list {
        flex-direction: column;
        align-items: stretch;
    }
    .site-query-link {
        justify-content: flex-start;
    }
    .site-query-text {
        max-width: none;
    }
    .content-blocks {
        grid-template-columns: 1fr;
    }
    .content-title {
        font-size: 1.5rem;
    }
}

/* Value pillars — опоры ценности бренда */
.value-pillars {
    margin: 2.75rem 0;
    padding: 2.25rem;
    background: linear-gradient(165deg, rgba(var(--brand-rgb, 138, 164, 255), 0.06) 0%, rgba(5,6,8,0.3) 100%);
    border-radius: 20px;
    border: 1px solid rgba(var(--brand-rgb, 138, 164, 255), 0.22);
    box-shadow: 0 12px 40px rgba(5,6,8,0.25), 0 0 0 1px rgba(248,247,244,0.04) inset;
    position: relative;
    overflow: hidden;
}
.value-pillars::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    opacity: 0.6;
}
.value-pillars-heading {
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--brand-primary);
    text-shadow: 0 0 24px rgba(var(--brand-rgb, 138, 164, 255), 0.25);
}
.value-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.35rem;
}
/* ===== Variants (v1..v4) ===== */
.value-pillars.variant-v2 .value-pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}
.value-pillars.variant-v2 .value-pillar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1.15rem;
}
.value-pillars.variant-v2 .value-pillar-icon { font-size: 1.8rem; }
.value-pillars.variant-v2 .value-pillar-title { font-size: 1rem; }
.value-pillars.variant-v3 {
    padding: 1.35rem;
}
.value-pillars.variant-v3 .value-pillars-grid {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}
.value-pillars.variant-v3 .value-pillar {
    min-width: 280px;
    scroll-snap-align: start;
}
.value-pillars.variant-v4 {
    background: rgba(5,6,8,0.22);
    border-color: rgba(var(--brand-rgb, 138, 164, 255), 0.14);
}
.value-pillars.variant-v4 .value-pillars-grid { grid-template-columns: 1fr; }
.value-pillars.variant-v4 .value-pillar {
    background: transparent;
    border: 1px dashed rgba(248,247,244,0.16);
}
.value-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 138, 164, 255), 0.06), rgba(5,6,8,0.4));
    border: 1px solid rgba(248,247,244,0.1);
    border-radius: 16px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s ease;
}
.value-pillar:hover {
    border-color: rgba(var(--brand-rgb, 138, 164, 255), 0.4);
    box-shadow: 0 10px 28px rgba(var(--brand-rgb, 138, 164, 255), 0.15), 0 0 0 1px rgba(var(--brand-rgb, 138, 164, 255), 0.1);
    transform: translateY(-3px);
}
.value-pillar-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(var(--brand-rgb, 138, 164, 255), 0.2));
}
.value-pillar-body {
    flex: 1;
    min-width: 0;
}
.value-pillar-title {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 0.45rem 0;
    color: var(--brand-primary);
}
.value-pillar-desc {
    font-size: 0.9rem;
    color: rgba(248,247,244,0.82);
    line-height: 1.5;
    margin: 0;
}
/* Stats row — цифры */
.stats-row {
    margin: 2rem 0;
    padding: 1.75rem;
    background: rgba(var(--brand-rgb, 138, 164, 255), 0.06);
    border-radius: 18px;
    border: 1px solid rgba(var(--brand-rgb, 138, 164, 255), 0.15);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stats-cell {
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(5,6,8,0.2);
    border-radius: 12px;
    border: 1px solid rgba(248,247,244,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.2s;
}
.stats-cell:hover {
    border-color: rgba(var(--brand-rgb, 138, 164, 255), 0.3);
}
.stats-cell-icon {
    font-size: 2rem;
}
.stats-cell-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
}
.stats-cell-label {
    font-size: 0.8rem;
    color: rgba(248,247,244,0.7);
}
@media (max-width: 768px) {
    .value-pillars-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .value-pillars-heading {
        font-size: 1.35rem;
    }
}
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Bonus Calculator Widget */
.bonus-calculator-widget {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(var(--brand-rgb, 138, 164, 255), 0.4);
}
/* ===== Variants (v1..v4) ===== */
.bonus-calculator-widget.variant-v2 {
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 138, 164, 255), 0.12) 0%, rgba(5,6,8,0.55) 100%);
    border: 1px solid rgba(var(--brand-rgb, 138, 164, 255), 0.22);
    box-shadow: 0 18px 55px rgba(5,6,8,0.35);
}
.bonus-calculator-widget.variant-v2 .calculator-inputs { grid-template-columns: 1fr 1fr; }
.bonus-calculator-widget.variant-v2 .calculator-result { margin-top: 0.5rem; }
.bonus-calculator-widget.variant-v3 {
    padding: 1.75rem;
    background: rgba(5,6,8,0.35);
    border: 1px solid rgba(248,247,244,0.12);
}
.bonus-calculator-widget.variant-v3 .calculator-title { font-size: 1.5rem; }
.bonus-calculator-widget.variant-v3 .calculator-inputs { gap: 1rem; }
.bonus-calculator-widget.variant-v3 .calculator-button { width: 100%; }
.bonus-calculator-widget.variant-v4 {
    background: linear-gradient(180deg, rgba(5,6,8,0.55) 0%, rgba(var(--brand-rgb, 138, 164, 255), 0.08) 100%);
    border: 1px dashed rgba(var(--brand-rgb, 138, 164, 255), 0.28);
}
.bonus-calculator-widget.variant-v4 .calculator-result { background: rgba(248,247,244,0.06); }
.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}
.calculator-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff3e6;
    margin-bottom: 0.5rem;
}
.calculator-subtitle {
    font-size: 1rem;
    color: rgba(248,247,244,0.9);
}
.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.calculator-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.calculator-label {
    font-weight: 600;
    color: #fff3e6;
    font-size: 0.95rem;
}
.calculator-input {
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(248,247,244,0.95);
    color: #683f37;
    transition: all 0.3s ease;
}
.calculator-input:focus {
    outline: none;
    background: #fff3e6;
    box-shadow: 0 0 0 3px rgba(248,247,244,0.3);
}
.calculator-result {
    background: rgba(248,247,244,0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}
.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}
.result-row:not(:last-child) {
    border-bottom: 1px solid rgba(248,247,244,0.2);
}
.result-label {
    font-weight: 600;
    color: #fff3e6;
    font-size: 1rem;
}
.result-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary-light);
}
.result-total .result-value {
    font-size: 2rem;
    color: var(--brand-primary-light);
}
.calculator-button {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--brand-primary-light), var(--brand-primary));
    color: #3a1c19;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(var(--brand-rgb, 138, 164, 255), 0.3);
}
.calculator-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--brand-rgb, 138, 164, 255), 0.5);
}
/* Promo Timer Widget */
.promo-timer-widget {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(var(--brand-rgb, 138, 164, 255), 0.4);
    text-align: center;
}
/* ===== Variants (v1..v4) ===== */
.promo-timer-widget.variant-v2 {
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 138, 164, 255), 0.12) 0%, rgba(5,6,8,0.55) 100%);
    border: 1px solid rgba(var(--brand-rgb, 138, 164, 255), 0.22);
    text-align: left;
}
.promo-timer-widget.variant-v2 .timer-display {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 1.25rem;
}
.promo-timer-widget.variant-v2 .timer-cta { text-align: center; }
.promo-timer-widget.variant-v3 {
    padding: 1.75rem;
    background: rgba(5,6,8,0.35);
    border: 1px solid rgba(248,247,244,0.12);
}
.promo-timer-widget.variant-v3 .timer-display {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.35rem;
}
.promo-timer-widget.variant-v3 .timer-item { min-width: 140px; }
.promo-timer-widget.variant-v4 {
    background: linear-gradient(180deg, rgba(5,6,8,0.55) 0%, rgba(var(--brand-rgb, 138, 164, 255), 0.08) 100%);
    border: 1px dashed rgba(var(--brand-rgb, 138, 164, 255), 0.28);
}
.promo-timer-widget.variant-v4 .timer-item {
    background: rgba(248,247,244,0.08);
    border-color: rgba(248,247,244,0.18);
}
.timer-header {
    margin-bottom: 2rem;
}
.timer-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff3e6;
}
.timer-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.timer-item {
    background: rgba(248,247,244,0.2);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(248,247,244,0.3);
}
.timer-value {
    font-size: 3rem;
    font-weight: 800;
    color: #fff3e6;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.timer-label {
    font-size: 0.9rem;
    color: rgba(248,247,244,0.9);
    font-weight: 600;
}
.timer-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: #fff3e6;
    color: var(--brand-primary-dark);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(248,247,244,0.3);
}
.timer-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(248,247,244,0.5);
}
@media (max-width: 768px) {
    .calculator-inputs {
        grid-template-columns: 1fr;
    }
    
    .timer-display {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-title,
    .timer-title {
        font-size: 1.5rem;
    }
    
    .timer-value {
        font-size: 2rem;
    }
}

/* Bonus Programs Section */
.bonus-programs-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(var(--brand-rgb, 138, 164, 255), 0.4);
}

/* ===== Variants (v1..v4) ===== */
.bonus-programs-section.variant-v2 {
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 138, 164, 255), 0.12) 0%, rgba(5,6,8,0.55) 100%);
    border: 1px solid rgba(var(--brand-rgb, 138, 164, 255), 0.22);
    box-shadow: 0 18px 55px rgba(5,6,8,0.35);
}
.bonus-programs-section.variant-v2 .bonus-programs-grid { grid-template-columns: 1fr; }
.bonus-programs-section.variant-v2 .bonus-card { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: start; }
.bonus-programs-section.variant-v2 .bonus-card-icon { grid-row: span 3; }

.bonus-programs-section.variant-v3 {
    background: rgba(5,6,8,0.35);
    border: 1px solid rgba(248,247,244,0.12);
}
.bonus-programs-section.variant-v3 .bonus-programs-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}
.bonus-programs-section.variant-v3 .bonus-card { min-width: 320px; scroll-snap-align: start; }

.bonus-programs-section.variant-v4 {
    background: linear-gradient(180deg, rgba(5,6,8,0.55) 0%, rgba(var(--brand-rgb, 138, 164, 255), 0.08) 100%);
    border: 1px dashed rgba(var(--brand-rgb, 138, 164, 255), 0.28);
}
.bonus-programs-section.variant-v4 .bonus-card { background: rgba(248,247,244,0.10); border-color: rgba(248,247,244,0.20); }

.bonus-programs-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #fff3e6;
    margin-bottom: 2.5rem;
}

.bonus-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bonus-card {
    background: rgba(248,247,244,0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(248,247,244,0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-8px);
    border-color: rgba(248,247,244,0.4);
    box-shadow: 0 12px 35px rgba(5,6,8,0.3);
}

.bonus-card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bonusIconBounce 2s ease-in-out infinite;
}

@keyframes bonusIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bonus-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff3e6;
    margin-bottom: 1rem;
}

.bonus-card-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary-light);
    margin-bottom: 0.5rem;
}

.bonus-card-subtitle {
    font-size: 1.1rem;
    color: rgba(248,247,244,0.9);
    margin-bottom: 1.5rem;
}

.bonus-card-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.bonus-card-features li {
    padding: 0.5rem 0;
    color: rgba(248,247,244,0.9);
    font-size: 0.95rem;
}

.bonus-card-button {
    display: block;
    padding: 1rem 2rem;
    background: #fff3e6;
    color: var(--brand-primary-dark);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.bonus-card-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(248,247,244,0.4);
}

@media (max-width: 768px) {
    .bonus-programs-grid {
        grid-template-columns: 1fr;
    }
    
    .bonus-programs-title {
        font-size: 1.5rem;
    }
    
    .bonus-card-amount {
        font-size: 2rem;
    }
}

.recent-payouts-block {
    margin: 1.75rem 0;
    padding: 1.35rem;
    background: rgba(44,9,42,0.85);
    border-radius: 14px;
    border: 1px solid rgba(248,247,244,0.08);
    overflow: hidden;
}
.jackpot-strip { margin-bottom: 1.25rem; }
.jackpot-strip-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    letter-spacing: 0.04em;
    margin-bottom: 0.9rem;
}
.jackpot-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}
.jackpot-cell {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem;
    background: rgba(248,247,244,0.04);
    border-radius: 10px;
    border: 1px solid rgba(248,247,244,0.06);
    transition: border-color 0.2s, background 0.2s;
}
.jackpot-cell:hover {
    background: rgba(var(--brand-rgb, 138, 164, 255), 0.06);
    border-color: rgba(var(--brand-rgb, 138, 164, 255), 0.18);
}
.jackpot-cell-pulse { animation: jpPulse 2.2s ease-in-out infinite; }
@keyframes jpPulse {
    0%, 100% { box-shadow: 0 0 4px rgba(var(--brand-rgb, 138, 164, 255), 0.08); }
    50% { box-shadow: 0 0 12px rgba(var(--brand-rgb, 138, 164, 255), 0.2); }
}
.jackpot-cell-icon { font-size: 1.6rem; }
.jackpot-cell-info { display: flex; flex-direction: column; gap: 0.2rem; }
.jackpot-cell-name {
    font-size: 0.65rem;
    color: rgba(248,247,244,0.55);
    text-transform: uppercase;
}
.jackpot-cell-amount {
    font-size: 1rem;
    font-weight: 800;
    color: var(--jp-color, var(--brand-primary));
}
.payout-feed {
    background: rgba(5,6,8,0.25);
    border-radius: 10px;
    overflow: hidden;
}
.payout-feed-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    background: rgba(var(--brand-rgb, 138, 164, 255), 0.06);
    border-bottom: 1px solid rgba(248,247,244,0.06);
}
.payout-feed-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-primary);
    border-radius: 50%;
    animation: feedDot 1.4s ease-in-out infinite;
}
@keyframes feedDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.payout-feed-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(248,247,244,0.75);
    letter-spacing: 0.05em;
}
.payout-track {
    overflow: hidden;
    padding: 0.65rem 0;
}
.payout-scroll {
    display: flex;
    gap: 1.5rem;
    animation: payoutScroll 28s linear infinite;
    width: max-content;
}
.payout-scroll:hover { animation-play-state: paused; }
@keyframes payoutScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.payout-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    background: rgba(248,247,244,0.03);
    border-radius: 6px;
    white-space: nowrap;
    font-size: 0.82rem;
}
.payout-row-jackpot {
    background: rgba(var(--brand-rgb, 138, 164, 255), 0.07);
    border: 1px solid rgba(var(--brand-rgb, 138, 164, 255), 0.18);
}
.payout-row-mega { background: rgba(var(--brand-rgb, 138, 164, 255), 0.05); }
.payout-row-big { background: rgba(var(--brand-rgb, 138, 164, 255), 0.03); }
.payout-row-icon { font-size: 0.95rem; }
.payout-row-name { font-weight: 600; color: #f4e7e4; }
.payout-row-sep { color: rgba(248,247,244,0.25); }
.payout-row-amount { font-weight: 700; color: #51f291; }
.payout-row-slot { color: var(--brand-primary); font-weight: 500; }
.payout-row-time { color: rgba(248,247,244,0.35); font-size: 0.7rem; margin-left: 0.4rem; }
.payout-cta { margin-top: 0.9rem; text-align: center; }
.payout-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.4rem;
    background: var(--brand-primary);
    color: #260c0d;
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}
.payout-btn:hover { background: var(--brand-primary-light, #83f6b2); }
@media (max-width: 768px) {
    .recent-payouts-block { padding: 1rem; margin: 1.25rem 0; border-radius: 12px; }
    .jackpot-strip-grid { grid-template-columns: 1fr; gap: 0.65rem; }
    .jackpot-cell { padding: 0.75rem; }
    .payout-feed-header { padding: 0.5rem 0.75rem; }
    .payout-row { font-size: 0.78rem; padding: 0.4rem 0.7rem; }
    .payout-scroll { animation-duration: 22s; }
    .payout-row-time { display: none; }
    .payout-btn { padding: 0.55rem 1.2rem; font-size: 0.8rem; }
}
@media (max-width: 480px) {
    .recent-payouts-block { padding: 0.75rem; margin: 1rem 0; }
    .jackpot-strip-title { font-size: 0.75rem; margin-bottom: 0.65rem; }
    .jackpot-cell-amount { font-size: 0.9rem; }
    .payout-row { font-size: 0.72rem; padding: 0.35rem 0.6rem; }
    .payout-row-slot { display: none; }
    .payout-btn { width: 100%; justify-content: center; min-height: 44px; }
}
/* ===== Variants (v1..v4) ===== */
.recent-payouts-block.variant-v2 .jackpot-strip-grid { grid-template-columns: repeat(2, 1fr); }
.recent-payouts-block.variant-v2 .payout-feed { margin-top: 1rem; }
.recent-payouts-block.variant-v2 .payout-row { padding: 0.6rem 0.75rem; }
.recent-payouts-block.variant-v3 .jackpot-strip-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.4rem;
    scroll-snap-type: x mandatory;
}
.recent-payouts-block.variant-v3 .jackpot-cell { min-width: 220px; scroll-snap-align: start; }
.recent-payouts-block.variant-v3 .payout-track { overflow: hidden; }
.recent-payouts-block.variant-v4 { background: rgba(5,6,8,0.32); border-style: dashed; }
.recent-payouts-block.variant-v4 .jackpot-strip { display: none; }
.recent-payouts-block.variant-v4 .payout-row-slot { display: none; }

.win-notifications-root {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
    max-width: 320px;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.win-notification-toast {
    position: relative;
    pointer-events: auto;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 138, 164, 255), 0.2) 0%, rgba(5,6,8,0.9) 100%);
    color: #e4f6ec;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(var(--brand-rgb, 138, 164, 255), 0.25);
    box-shadow: 0 10px 40px rgba(5,6,8,0.5), 0 0 20px rgba(var(--brand-rgb, 138, 164, 255), 0.2);
    backdrop-filter: blur(16px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: winToastIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.win-notification-toast::before {
    content: "LIVE";
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--brand-primary);
    opacity: 0.8;
}
.win-notification-toast:hover {
    transform: scale(1.02) translateX(5px);
    box-shadow: 0 12px 45px rgba(5,6,8,0.55), 0 0 25px rgba(var(--brand-rgb, 138, 164, 255), 0.35);
}
.win-notification-toast.win-toast-out {
    animation: winToastOut 0.35s ease-in forwards;
}
@keyframes winToastIn {
    from { transform: translateX(-380px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes winToastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-380px); opacity: 0; }
}
.win-toast-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}
.win-toast-emoji { font-size: 32px; flex-shrink: 0; animation: winToastEmoji 1.5s ease-in-out infinite; }
@keyframes winToastEmoji { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.win-toast-body { flex: 1; min-width: 0; }
.win-toast-player { font-weight: 700; font-size: 14px; margin-bottom: 4px; color: rgba(248,247,244,0.98); }
.win-toast-amount { font-size: 19px; font-weight: 900; color: var(--brand-primary); text-shadow: 0 0 15px rgba(var(--brand-rgb, 138, 164, 255), 0.6); margin-bottom: 3px; letter-spacing: 0.5px; }
.win-toast-game { font-size: 12px; opacity: 0.9; color: rgba(248,247,244,0.75); }
.win-toast-close {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: none;
    background: rgba(248,247,244,0.15);
    color: #e4f6ec;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background 0.2s;
}
.win-toast-close:hover {
    background: rgba(248,247,244,0.3);
}
@media (max-width: 768px) {
    .win-notifications-root { bottom: 10px; left: 10px; right: 10px; max-width: none; align-items: stretch; }
    .win-notification-toast { padding: 12px 14px; }
}

:root {
            --surface-deep: #311314;
            --surface-raised: #482321;
            --brand-primary: #f68dc0;
            --brand-primary-dark: #f686ba;
            --brand-primary-light: #e4f6ec;
            --brand-rgb: 138, 164, 255;
            --content-main: #e4f6ec;
            --grad-surface: linear-gradient(180deg, #311314 0%, #482321 100%);
            --grad-brand: linear-gradient(135deg, #f68dc0 0%, #f686ba 100%);
            --glow-brand: 0 0 20px rgba(246,141,192,0.4);
            --glass-bg: rgba(248,247,244,0.03);
            --glass-edge: rgba(248,247,244,0.06);
            --gold: #f68dc0;
            --gold-dark: #f686ba;
            --gold-light: #e4f6ec;
        }
        
        .yandex-index-only {
            position: absolute !important;
            width: 1px !important;
            height: 1px !important;
            margin: -1px !important;
            padding: 0 !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            clip-path: inset(50%) !important;
            white-space: nowrap !important;
            border: 0 !important;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
            background: #311314;
            color: #e4f6ec;
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9999;
            background: rgba(5,6,8,0.85);
            backdrop-filter: saturate(180%) blur(20px);
            -webkit-backdrop-filter: saturate(180%) blur(20px);
            border-bottom: 1px solid rgba(248,247,244,0.08);
            transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
        }
        
        .header::before,
        .header::after {
            display: none !important;
        }
        
        .header.scrolled {
            background: rgba(5,6,8,0.45);
            border-bottom-color: rgba(248,247,244,0.04);
        }
        
        .header-inner {
            max-width: 1440px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 24px;
            gap: 16px;
            transition: padding 0.35s ease;
        }
        
        .header.scrolled .header-inner {
            padding: 4px 24px;
            justify-content: center;
        }
        
        .logo-link {
            flex-shrink: 0;
            transition: opacity 0.35s ease, max-width 0.35s ease, margin 0.35s ease;
            overflow: hidden;
            max-width: 200px;
        }
        
        .header.scrolled .logo-link {
            opacity: 0;
            max-width: 0;
            margin: 0;
            pointer-events: none;
        }
        
        .logo {
            height: 32px;
            width: auto;
        }
        
        .main-nav {
            flex: 1;
            display: flex;
            justify-content: center;
            overflow: visible;
            min-width: 0;
        }
        
        .nav-list {
            display: flex;
            align-items: center;
            gap: 2px;
            list-style: none;
            margin: 0;
            padding: 0;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .nav-list li {
            flex-shrink: 0;
        }
        
        .nav-link {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 6px 10px;
            color: #e4f6ec;
            font-size: 11px;
            font-weight: 400;
            text-decoration: none;
            white-space: nowrap;
            transition: color 0.2s ease, opacity 0.2s ease;
            opacity: 0.8;
            border-radius: 6px;
        }
        
        .nav-link:hover {
            opacity: 1;
            color: #51f291;
            background: rgba(246,141,192,0.08);
        }
        
        .nav-link.active {
            opacity: 1;
            color: #51f291;
        }
        
        .nav-icon {
            font-size: 12px;
        }
        
        .header.scrolled .nav-list {
            flex-wrap: nowrap;
        }
        
        .header.scrolled .nav-link {
            padding: 5px 8px;
            font-size: 11px;
        }
        
        @media (max-width: 1200px) {
            .nav-link { padding: 5px 7px; font-size: 10px; }
            .nav-icon { font-size: 11px; }
        }
        
        @media (max-width: 1024px) {
            .main-nav { display: none; }
            .header-actions { display: none !important; }
            .mobile-menu-btn { display: flex !important; }
        }
        
        /* ===== Header Menu Variants ===== */
        /* v1 - стандартный (по умолчанию) */
        .header.variant-v1 .main-nav .nav-list {
            gap: 2px;
        }
        .header.variant-v1 .nav-link {
            padding: 6px 10px;
            font-size: 11px;
        }
        
        /* v2 - компактный */
        .header.variant-v2 .main-nav .nav-list {
            gap: 1px;
        }
        .header.variant-v2 .nav-link {
            padding: 5px 8px;
            font-size: 10px;
        }
        .header.variant-v2 .nav-icon {
            font-size: 11px;
        }
        
        /* v3 - расширенный */
        .header.variant-v3 .main-nav .nav-list {
            gap: 4px;
        }
        .header.variant-v3 .nav-link {
            padding: 8px 12px;
            font-size: 12px;
        }
        .header.variant-v3 .nav-icon {
            font-size: 13px;
        }
        
        /* v4 - минималистичный */
        .header.variant-v4 .main-nav .nav-list {
            gap: 0;
        }
        .header.variant-v4 .nav-link {
            padding: 6px 8px;
            font-size: 10px;
            border-radius: 4px;
        }
        .header.variant-v4 .nav-link:hover {
            background: rgba(246,141,192,0.12);
        }
        
        .header-actions {
            display: flex;
            gap: 10px;
            flex-shrink: 0;
            transition: opacity 0.35s ease, max-width 0.35s ease, margin 0.35s ease;
            overflow: hidden;
            max-width: 300px;
        }
        
        .header.scrolled .header-actions {
            opacity: 0;
            max-width: 0;
            margin: 0;
            pointer-events: none;
        }
        
        .header-actions .btn {
            padding: 6px 14px;
            font-size: 12px;
            border-radius: 18px;
        }
        
        .header-actions .btn-outline {
            background: transparent;
            border: 1px solid rgba(248,247,244,0.3);
            color: #e4f6ec;
        }
        
        .header-actions .btn-cta {
            background: #51f291;
            color: #2a1512;
            border: none;
            font-weight: 600;
        }
        
        .preloader {
            position: fixed;
            inset: 0;
            background: var(--surface-raised);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }
        
        .preloader.loaded {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
        
        .preloader-spinner {
            width: 60px;
            height: 60px;
            border: 3px solid var(--glass-edge);
            border-top-color: var(--brand-primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .content-hidden {
            opacity: 0;
        }
        
        .site-structure-block {
            margin: 2rem 0;
            padding: 1.5rem;
            background: rgba(248,247,244,0.025);
            border-radius: 12px;
            border: 1px solid rgba(248,247,244,0.06);
        }
        /* ===== Variants: Site Structure (v1..v4) ===== */
        .site-structure-block.variant-v2 .site-structure-nav {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1rem;
        }
        .site-structure-block.variant-v2 .site-structure-group {
            background: rgba(5,6,8,0.18);
            border: 1px solid rgba(248,247,244,0.06);
            border-radius: 12px;
            padding: 0.9rem;
        }
        .site-structure-block.variant-v3 .site-structure-priority {
            background: transparent;
            border: 1px dashed rgba(248,247,244,0.16);
        }
        .site-structure-block.variant-v3 .site-structure-nav {
            display: flex;
            gap: 0.9rem;
            overflow-x: auto;
            padding-bottom: 0.4rem;
        }
        .site-structure-block.variant-v3 .site-structure-group { min-width: 260px; }
        .site-structure-block.variant-v4 { background: rgba(5,6,8,0.22); border-style: dashed; }
        .site-structure-block.variant-v4 .site-structure-group-desc { display: none; }
        .site-structure-block.variant-v4 .site-structure-priority { padding: 0.6rem 0.8rem; }
        .site-structure-header { margin-bottom: 1rem; }
        .site-structure-heading { font-size: 1.35rem; margin-bottom: 0.25rem; color: var(--brand-primary); }
        .site-structure-desc { color: rgba(248,247,244,0.55); margin-bottom: 0; font-size: 0.9rem; }
        .site-structure-priority {
            display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
            margin-bottom: 1.25rem; padding: 0.75rem 1rem; background: rgba(5,6,8,0.2);
            border-radius: 8px;
        }
        .site-structure-priority-label { font-size: 0.85rem; color: rgba(248,247,244,0.5); margin-right: 0.25rem; }
        .site-structure-priority-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
        .site-structure-priority-link { color: rgba(248,247,244,0.9); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
        .site-structure-priority-link:hover { color: var(--brand-primary); }
        .site-structure-priority-sep { color: rgba(248,247,244,0.35); user-select: none; }
        .site-structure-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
        .site-structure-group { flex: 1 1 200px; }
        .site-structure-group-title { font-size: 0.95rem; color: rgba(248,247,244,0.8); margin-bottom: 0.25rem; font-weight: 600; }
        .site-structure-group-desc { font-size: 0.8rem; color: rgba(248,247,244,0.45); margin-bottom: 0.5rem; }
        .site-structure-list { list-style: none; padding: 0; margin: 0; }
        .hero-live-online { margin-top: 1rem; font-size: 0.9rem; color: rgba(248,247,244,0.7); display: flex; align-items: center; gap: 0.5rem; }
        .hero-live-online .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-primary); box-shadow: 0 0 8px var(--brand-primary); animation: live-pulse 1.5s ease-in-out infinite; }
        @keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
        .site-structure-list li { margin-bottom: 0.35rem; }
        .site-structure-link { color: rgba(248,247,244,0.85); text-decoration: none; }
        .site-structure-link:hover { color: var(--brand-primary); text-decoration: underline; }
        .site-structure-link--current { color: var(--brand-primary); font-weight: 600; }
        .on-this-page-nav {
            display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem;
            margin: 0.75rem 0 1rem; padding: 0.6rem 1rem; background: rgba(248,247,244,0.04);
            border-radius: 8px; font-size: 0.9rem;
        }
        .on-this-page-label { color: rgba(248,247,244,0.55); }
        .on-this-page-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
        .on-this-page-link { color: var(--brand-primary); text-decoration: none; }
        .on-this-page-link:hover { text-decoration: underline; }
        .review-quotes-block { margin: 2rem 0; }
        .page-thematic-block { margin: 2rem 0; }
        /* ===== Variants: Review Quotes / Thematic ===== */
        .review-quotes-block.variant-v2 .review-quotes-list,
        .page-thematic-block.variant-v2 .review-quotes-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        .review-quotes-block.variant-v3,
        .page-thematic-block.variant-v3 {
            padding: 1.25rem;
        }
        .review-quotes-block.variant-v3 .faq-item,
        .page-thematic-block.variant-v3 .faq-item {
            border-style: dashed;
            background: rgba(5,6,8,0.18);
        }
        .review-quotes-block.variant-v4 .faq-answer,
        .page-thematic-block.variant-v4 .faq-answer {
            display: block;
            padding-top: 0.25rem;
        }
        .review-quotes-block.variant-v4 .faq-question::after,
        .page-thematic-block.variant-v4 .faq-question::after {
            display: none;
        }
        body.layout-structure-asymmetric .page-thematic-block .review-quotes-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        @media (max-width: 768px) {
            body.layout-structure-asymmetric .page-thematic-block .review-quotes-list {
                grid-template-columns: 1fr;
            }
        }
        .review-quotes-heading { font-size: 1.25rem; margin-bottom: 0.35rem; color: rgba(248,247,244,0.95); }
        .review-quotes-desc { font-size: 0.9rem; color: rgba(248,247,244,0.6); margin-bottom: 1rem; }
        .review-quote-item .review-quote-summary { font-weight: 600; }
        .review-quote-text { margin: 0; font-style: italic; color: rgba(248,247,244,0.85); }
        .related-sections, .topic-nav {
            margin: 2rem 0;
            padding: 1.5rem;
            background: rgba(248,247,244,0.025);
            border: 1px solid rgba(248,247,244,0.08);
            border-radius: 14px;
        }
        
        .related-sections-heading, .topic-nav-heading {
            font-size: 1.35rem;
            margin-bottom: 0.5rem;
            color: var(--brand-primary);
            font-weight: 600;
        }
        
        .related-sections-desc, .topic-nav-desc {
            color: rgba(248,247,244,0.55);
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }
        
        .related-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.9rem;
        }
        /* ===== Variants: Related ===== */
        .related-sections.variant-v2 .related-cards { grid-template-columns: 1fr 1fr; gap: 1rem; }
        .related-sections.variant-v2 .related-card { padding: 1.25rem; border-radius: 14px; }
        .related-sections.variant-v3 .related-cards {
            display: flex;
            gap: 0.85rem;
            overflow-x: auto;
            padding-bottom: 0.4rem;
        }
        .related-sections.variant-v3 .related-card { min-width: 260px; }
        .related-sections.variant-v4 .related-cards { grid-template-columns: 1fr; gap: 0.65rem; }
        .related-sections.variant-v4 .related-card { background: transparent; border-style: dashed; }
        body.layout-structure-asymmetric .related-cards {
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        body.layout-structure-asymmetric .related-card {
            display: flex;
            flex-direction: column;
        }
        body.layout-structure-vertical .related-cards {
            grid-template-columns: 1fr;
            gap: 0.75rem;
        }
        
        .related-card {
            padding: 1.1rem;
            background: rgba(5,6,8,0.2);
            border-radius: 10px;
            border: 1px solid rgba(248,247,244,0.06);
            transition: border-color 0.2s, background 0.2s;
        }
        
        .related-card:hover {
            background: rgba(246,141,192,0.06);
            border-color: rgba(246,141,192,0.2);
        }
        
        .related-card-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }
        
        .related-card-title {
            font-size: 1rem;
            font-weight: 600;
            margin: 0 0 0.35rem 0;
            color: #f4e7e4;
        }
        
        .related-card-desc {
            font-size: 0.85rem;
            color: rgba(248,247,244,0.55);
            line-height: 1.35;
            margin: 0;
        }
        
        .topic-links {
            list-style: none;
            padding: 0;
            margin: 1rem 0 0 0;
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
        }
        
        .topic-link-item {
            margin: 0;
        }
        
        .topic-link-item .topic-link {
            display: inline-block;
            padding: 0.6rem 1rem;
            background: rgba(248,247,244,0.04);
            border-radius: 8px;
            border: 1px solid rgba(248,247,244,0.08);
            text-decoration: none;
            color: #ede1dc;
            font-size: 0.88rem;
            font-weight: 500;
            transition: background 0.2s, border-color 0.2s, color 0.2s;
        }
        
        .topic-link-item .topic-link:hover {
            background: rgba(246,141,192,0.1);
            border-color: rgba(246,141,192,0.25);
            color: var(--brand-primary);
        }
        
        @media (max-width: 768px) {
            .site-structure-block { margin: 1.25rem 0; padding: 1.25rem; }
            .site-structure-priority { flex-direction: column; align-items: flex-start; }
            .site-structure-nav { flex-direction: column; }
            .on-this-page-nav { flex-direction: column; align-items: flex-start; }
            .related-sections, .topic-nav {
                margin: 1.25rem 0;
                padding: 1.25rem;
            }
            .related-sections-heading, .topic-nav-heading {
                font-size: 1.15rem;
            }
            .related-cards {
                grid-template-columns: 1fr;
            }
            body.layout-structure-asymmetric .related-cards {
                grid-template-columns: 1fr;
            }
        }

/* FLAGMAN97P Saffron Circuit typography and motion */
:root {
  --font-display: 'Pattaya', Georgia, serif;
  --font-body: 'Bellota Text', system-ui, sans-serif;
  --font-mono: 'Cousine', Consolas, monospace;
}
h1, h2, .main-title, .hero-headline, .slots-dashboard-title, .faq-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
}
.timer-value, .slot-rtp-value, .payout-row-amount, .hero-badge {
  font-family: var(--font-mono);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

body { font-family: var(--font-body); }
.btn-primary, .btn-cta, .timer-button, .slot-play-btn,
.mobile-nav-link:hover, .mobile-nav-link.active { color: #311314 !important; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #e4f6ec !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 6px rgba(246,141,192,.55) !important;
}
.skip-link:focus {
  left: 16px !important; top: 16px !important; width: auto !important;
  height: auto !important; overflow: visible !important; z-index: 10001;
  padding: 12px 16px; color: #311314; background: #e4f6ec; border-radius: 10px;
}
.mobile-nav { visibility: hidden; pointer-events: none; transition-property: transform, opacity !important; }
.mobile-nav.active { visibility: visible; pointer-events: auto; }
.floating-offer, .bonus-popup { visibility: hidden; pointer-events: none; }
.floating-offer.show, .bonus-popup.show { visibility: visible; pointer-events: auto; }
@media (max-width: 768px) { body.theme-b7 { background-attachment: scroll !important; } }

/* FLAGMAN97P Saffron Circuit typography */
:root {
  --font-display: 'Pattaya', Georgia, serif;
  --font-body: 'Bellota Text', system-ui, sans-serif;
  --font-mono: 'Cousine', Consolas, monospace;
}
body {
  font-family: var(--font-body);
}
h1, h2, h3, h4,
.main-title, .hero-headline, .slots-dashboard-title,
.faq-section h2, .gradient-text, .action-title,
.related-card-title, .keywords-heading {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.018em;
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
  animation: FLAGMAN97P-heading-flow 4.8s ease-in-out infinite;
}
h2 { animation-delay: -1.2s; }
h3 { animation-delay: -2.4s; }
h4 { animation-delay: -3.6s; }
.timer-value, .slot-rtp-value, .payout-row-amount, .hero-badge {
  font-family: var(--font-mono);
}
@keyframes FLAGMAN97P-heading-flow {
  0%, 100% {
    color: #f68dc0;
    text-shadow: 0 0 8px rgba(246,141,192,0.22), 0 0 22px rgba(246,141,192,0.08);
  }
  48%, 52% {
    color: #51f291;
    text-shadow: 0 0 10px rgba(81,242,145,0.3), 0 0 28px rgba(81,242,145,0.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  h1, h2, h3, h4,
  .main-title, .hero-headline, .slots-dashboard-title,
  .faq-section h2, .gradient-text, .action-title,
  .related-card-title, .keywords-heading {
    animation: none !important;
    color: #f68dc0 !important;
    text-shadow: none !important;
  }
}
/* FLAGMAN97P lighter canvas and first screen */
.content-wrapper {
  background: linear-gradient(145deg, rgba(246,141,192,0.1), rgba(81,242,145,0.055));
  border-radius: var(--radius-2xl);
}
.content-header {
  background: linear-gradient(145deg, rgba(110,65,57,0.88), rgba(151,106,94,0.84));
  border-color: rgba(246,141,192,0.42);
  box-shadow: inset 0 1px 0 rgba(228,246,236,0.2), 0 18px 44px rgba(30,5,29,0.14);
}
.hero-value,
.hero-compact {
  background: linear-gradient(155deg, rgba(122,75,66,0.97) 0%, rgba(81,40,35,0.98) 100%);
  border-color: rgba(246,141,192,0.36);
  box-shadow: 0 20px 54px rgba(30,5,29,0.28), inset 0 1px 0 rgba(228,246,236,0.1);
}
.hero-value::after,
.hero-compact::after {
  background: radial-gradient(circle, rgba(246,141,192,0.2) 0%, transparent 66%);
}
/* FLAGMAN97P full-width slot launch button */
.slots-dashboard .slot-footer {
  display: flex;
  width: 100%;
  padding: 0.75rem;
}
.slots-dashboard .slot-play-btn {
  display: flex;
  flex: 1 1 100%;
  width: 100%;
  min-height: 48px;
  margin: 0;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f68dc0 0%, #f89bc5 100%) !important;
  color: #311314 !important;
  border: 1px solid rgba(228,246,236,0.72);
  box-shadow: 0 8px 22px rgba(246,141,192,0.28);
}
.slots-dashboard .slot-play-btn:hover {
  background: linear-gradient(135deg, #51f291 0%, #f68dc0 100%) !important;
  box-shadow: 0 10px 28px rgba(81,242,145,0.32);
}
/* FLAGMAN97P article block inner inset */
.article-content > .layout-block-content {
  box-sizing: border-box;
  padding-left: clamp(24px, 4vw, 58px);
  padding-right: clamp(18px, 3vw, 42px);
}
@media (max-width: 640px) {
  .article-content > .layout-block-content {
    padding-left: 16px;
    padding-right: 12px;
  }
}
/* FLAGMAN97P removed CTA copy placeholder */
.cta-trust:has(.copy-placeholder) {
  display: none !important;
}
/* FLAGMAN97P visible action offer button */
.action-block .hero-cta .btn-outline {
  background: #f68dc0 !important;
  color: #311314 !important;
  -webkit-text-fill-color: #311314 !important;
  border-color: #e4f6ec !important;
  text-shadow: none !important;
  box-shadow: 0 8px 22px rgba(246,141,192,0.26);
}
.action-block .hero-cta .btn-outline:hover,
.action-block .hero-cta .btn-outline:focus-visible {
  background: #51f291 !important;
  color: #311314 !important;
  -webkit-text-fill-color: #311314 !important;
  border-color: #a5f8c8 !important;
}

/* FLAGMAN97P split hero composition */
@media (min-width: 969px) {
  .hero-value.variant-v2 .hero-value-grid {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
  }
  .hero-value.variant-v2 .hero-quicklinks {
    order: 1;
  }
  .hero-value.variant-v2 .hero-info {
    order: 2;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(145deg, rgba(246,141,192,0.12), rgba(81,242,145,0.08));
    border: 1px solid rgba(246,141,192,0.3);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(228,246,236,0.12);
  }
  .hero-value.variant-v2 .quicklinks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 968px) {
  .hero-value.variant-v2 .hero-info {
    order: 1;
    padding: 22px;
    background: linear-gradient(145deg, rgba(246,141,192,0.1), rgba(81,242,145,0.07));
    border: 1px solid rgba(246,141,192,0.26);
    border-radius: var(--radius-lg);
  }
  .hero-value.variant-v2 .hero-quicklinks {
    order: 2;
  }
}
/* FLAGMAN97P Saffron Circuit final theme */
:root {
  --font-display: 'Pattaya', Georgia, serif;
  --font-body: 'Bellota Text', system-ui, sans-serif;
  --font-mono: 'Cousine', Consolas, monospace;
}
body { font-family: var(--font-body); background-color: #311314; }
h1, h2, h3, h4,
.main-title, .hero-headline, .slots-dashboard-title,
.faq-section h2, .gradient-text, .action-title,
.related-card-title, .keywords-heading {
  font-family: var(--font-display);
  letter-spacing: 0.012em;
}
.metric-value, .timer-value, .slot-rtp, .slot-maxwin, .cashier-code { font-family: var(--font-mono); }
.background-effects::before {
  inset: -15% -20%;
  background:
    repeating-linear-gradient(118deg, transparent 0 72px, rgba(246,141,192,.16) 73px 75px, transparent 76px 148px),
    linear-gradient(180deg, rgba(49,19,20,.18), rgba(72,35,33,.44));
  opacity: .95;
  animation: FLAGMAN97P-circuit-a 18s linear infinite;
}
.background-effects::after {
  inset: -20% -30%;
  background: repeating-linear-gradient(28deg, transparent 0 96px, rgba(81,242,145,.11) 97px 99px, transparent 100px 188px);
  opacity: .8;
  filter: blur(1px);
  animation: FLAGMAN97P-circuit-b 25s ease-in-out infinite alternate;
}
.gradient-orb { opacity: .16; filter: blur(125px); }
.grid-overlay { opacity: .025; }
@keyframes FLAGMAN97P-circuit-a {
  0% { transform: translate3d(-3%, 4%, 0) scale(1.03); }
  50% { transform: translate3d(3%, -3%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 4%, 0) scale(1.03); }
}
@keyframes FLAGMAN97P-circuit-b {
  0% { transform: translate3d(4%, -2%, 0) scale(1.02); }
  100% { transform: translate3d(-5%, 5%, 0) scale(1.1); }
}
.content-header { background: linear-gradient(145deg, rgba(103,59,53,.92), rgba(72,34,32,.9)); border-color: rgba(246,141,192,.38); }
.hero-value, .hero-compact { background: linear-gradient(155deg, rgba(85,42,40,.98), rgba(54,24,24,.99)); border-color: rgba(81,242,145,.32); }
.btn-primary, .btn-cta,
.slots-dashboard .slot-play-btn,
.action-block .hero-cta .btn-outline {
  background: linear-gradient(135deg, #f68dc0, #51f291) !important;
  color: #311314 !important;
  -webkit-text-fill-color: #311314 !important;
  border-color: #e4f6ec !important;
}
.btn-primary:hover, .btn-cta:hover,
.slots-dashboard .slot-play-btn:hover,
.action-block .hero-cta .btn-outline:hover {
  background: linear-gradient(135deg, #51f291, #fab7b9) !important;
  color: #311314 !important;
  -webkit-text-fill-color: #311314 !important;
}
@media (prefers-reduced-motion: reduce) {
  .background-effects::before, .background-effects::after { animation: none !important; }
}
/* FLAGMAN97P mobile width guard */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
@media (max-width: 640px) {
  .main .container,
  .content-wrapper,
  .content-header,
  .hero-value,
  .hero-compact,
  .hero-value-grid,
  .hero-compact-grid,
  .hero-info,
  .hero-quicklinks {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .content-wrapper { overflow: hidden; }
  .content-header { padding: 20px 12px; }
  .main-title {
    max-width: 100%;
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  .hero-value-grid,
  .hero-compact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    padding: 18px 12px !important;
  }
  .hero-value.variant-v2 .hero-info { padding: 18px 12px; }
  .quicklinks-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .quicklink-item { min-width: 0; max-width: 100%; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions > a { flex: 1 1 100%; }
}
/* FLAGMAN97P visible circuit layer */
.background-effects { z-index: 0; }
.header, .main, .site-footer { position: relative; z-index: 1; }
.background-effects::before { opacity: 1; }
.background-effects::after { opacity: .92; }
/* FLAGMAN97P darker first-screen block */
.hero-value.variant-v2,
.hero-compact.variant-v2 {
  background: linear-gradient(155deg, rgba(61,28,26,.99), rgba(40,15,16,.995));
}
.hero-value.variant-v2 .hero-info,
.hero-compact.variant-v2 .hero-info {
  background: linear-gradient(145deg, rgba(70,35,31,.98), rgba(50,22,21,.99));
  border-color: rgba(246,141,192,.3);
}
/* FLAGMAN97P timer title contrast */
.promo-timer-widget .timer-title {
  color: #f8f7f4 !important;
  -webkit-text-fill-color: #f8f7f4 !important;
}
/* FLAGMAN97P Pattaya mobile fit */
@media (max-width: 640px) {
  html, body, .main { width: 100%; min-width: 0; overflow-x: hidden; }
  .main > .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 10px !important;
    box-sizing: border-box;
  }
  .content-wrapper,
  .content-header {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
  }
  .main-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(21px, 6.1vw, 25px) !important;
    line-height: 1.18 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  .hero-value.variant-v2,
  .hero-compact.variant-v2,
  .hero-value-grid,
  .hero-info,
  .hero-quicklinks {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
  .hero-value-grid { padding: 12px !important; }
  .hero-headline {
    font-size: clamp(27px, 8vw, 34px) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere !important;
  }
  .hero-tagline { font-size: 15px !important; }
  .hero-features { grid-template-columns: minmax(0, 1fr) !important; }
}
/* FLAGMAN97P account routes asymmetric layout */
.related-sections.variant-v4 {
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(81,242,145,.15), transparent 32%),
    linear-gradient(145deg, rgba(72,35,33,.97), rgba(41,16,17,.99));
}
.related-sections.variant-v4 .related-cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.related-sections.variant-v4 .related-card {
  position: relative;
  min-height: 154px;
  padding: 24px 22px 22px 76px;
  overflow: hidden;
  border: 1px solid rgba(246,141,192,.28);
  border-radius: 22px;
  border-style: solid;
  background: linear-gradient(135deg, rgba(80,39,36,.96), rgba(53,24,23,.98));
  box-shadow: inset 0 1px 0 rgba(248,247,244,.06), 0 18px 34px rgba(28,8,8,.2);
}
.related-sections.variant-v4 .related-card:nth-child(1),
.related-sections.variant-v4 .related-card:nth-child(4) { grid-column: span 7; }
.related-sections.variant-v4 .related-card:nth-child(2),
.related-sections.variant-v4 .related-card:nth-child(3) { grid-column: span 5; }
.related-sections.variant-v4 .related-card::before {
  position: absolute;
  top: 22px;
  left: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(81,242,145,.46);
  border-radius: 14px;
  color: #83f6b2;
  background: rgba(81,242,145,.1);
  font: 700 13px/1 var(--font-mono);
}
.related-sections.variant-v4 .related-card:nth-child(1)::before { content: '01'; }
.related-sections.variant-v4 .related-card:nth-child(2)::before { content: '02'; }
.related-sections.variant-v4 .related-card:nth-child(3)::before { content: '03'; }
.related-sections.variant-v4 .related-card:nth-child(4)::before { content: '04'; }
.related-sections.variant-v4 .related-card-link { height: 100%; }
.related-sections.variant-v4 .related-card-title { font-size: clamp(1.02rem, 1.7vw, 1.24rem); }
.related-sections.variant-v4 .related-card-desc { margin-top: 10px; color: #decdc7; }
.related-sections.variant-v4 .related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(81,242,145,.5);
  background: linear-gradient(135deg, rgba(91,47,43,.98), rgba(59,28,26,.99));
}
@media (max-width: 760px) {
  .related-sections.variant-v4 .related-cards { grid-template-columns: minmax(0, 1fr); }
  .related-sections.variant-v4 .related-card:nth-child(n) { grid-column: 1; min-height: 0; }
}
/* FLAGMAN97P fine bidirectional wave background */
.background-effects::before {
  inset: -8%;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='34' viewBox='0 0 96 34'%3E%3Cpath d='M0 17 Q12 5 24 17 T48 17 T72 17 T96 17' fill='none' stroke='%238aa4ff' stroke-opacity='.42' stroke-width='1.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 96px 34px;
  opacity: .3;
  filter: none;
  animation: FLAGMAN97P-wave-east 17s linear infinite;
  will-change: background-position;
}
.background-effects::after {
  inset: -8%;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='124' height='42' viewBox='0 0 124 42'%3E%3Cpath d='M0 21 Q15.5 8 31 21 T62 21 T93 21 T124 21' fill='none' stroke='%23ffbd3d' stroke-opacity='.34' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 124px 42px;
  opacity: .22;
  filter: none;
  animation: FLAGMAN97P-wave-west 25s linear infinite;
  will-change: background-position;
}
.background-effects .grid-overlay { opacity: 0 !important; }
@keyframes FLAGMAN97P-wave-east {
  from { background-position: 0 0; }
  to { background-position: 192px 34px; }
}
@keyframes FLAGMAN97P-wave-west {
  from { background-position: 0 0; }
  to { background-position: -248px 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .background-effects::before,
  .background-effects::after { animation: none !important; }
}
/* FLAGMAN97P_PLUM_CITRUS_THEME */
:root{--f97-bg:#24172c;--f97-panel:#3a2748;--f97-mint:#78e4cf;--f97-lime:#d7f279;--f97-coral:#ff9f6e;--f97-paper:#fff3e6;--font-display:'Pattaya',Georgia,serif;--font-body:'Bellota Text',system-ui,sans-serif;--font-mono:'Cousine',Consolas,monospace}
body{font-family:var(--font-body);background:radial-gradient(circle at 12% 0,rgba(120,228,207,.19),transparent 33%),radial-gradient(circle at 88% 20%,rgba(255,159,110,.13),transparent 31%),linear-gradient(145deg,#24172c,#31203b 52%,#1f3a3e);color:#fff3e6}
h1,h2,h3,h4,.main-title,.hero-headline,.gradient-text{font-family:var(--font-display)!important;letter-spacing:.012em}.metric-value,.timer-value,.slot-rtp,.slot-maxwin{font-family:var(--font-mono)!important}
.header{background:rgba(36,23,44,.95)!important;border-bottom-color:rgba(215,242,121,.34)!important}
.hero-value{background:linear-gradient(145deg,#49305a,#2e2039)!important;border-color:rgba(255,159,110,.48)!important}
.hero-headline{color:#ffd8bd!important;text-shadow:0 2px 18px rgba(255,159,110,.18)}
.hero-quicklinks{background:linear-gradient(140deg,rgba(58,39,72,.98),rgba(32,48,55,.97))!important;border:1px solid rgba(120,228,207,.36)!important}
.quicklink-item{border-left:4px solid #d7f279!important;background:linear-gradient(135deg,rgba(215,242,121,.11),rgba(120,228,207,.07))!important}
.btn-cta,.btn-primary,.slot-play-btn,.timer-button{background:linear-gradient(135deg,#ffbd8d,#f2795f)!important;color:#32131e!important;border-color:#ffe0c8!important;box-shadow:0 12px 28px rgba(242,121,95,.27)!important}
.btn-outline{background:rgba(120,228,207,.12)!important;border-color:#9af0df!important;color:#fff3e6!important}
.gradient-text{background:linear-gradient(100deg,#fff3e6,#d7f279 48%,#78e4cf);-webkit-background-clip:text;background-clip:text;color:transparent}
.slot-poster img{filter:hue-rotate(128deg) saturate(.82) brightness(1.07)}
.mirror-route.variant-v1{width:100%;max-width:none;box-sizing:border-box;background:linear-gradient(140deg,rgba(62,42,76,.97),rgba(28,49,53,.98));border-color:rgba(215,242,121,.46)}
.mirror-route.variant-v1 a,.mirror-route.variant-v1 a:visited{color:#fff8ef!important}
.value-pillars.variant-v4 .value-pillar,.related-sections.variant-v4 .related-card{border-color:rgba(120,228,207,.36)!important}
.faq-section.variant-v2,.page-thematic-block,.action-block{border-color:rgba(215,242,121,.38)!important}
.hero-tagline,.value-pillar-desc,.slots-dashboard-subtitle,.review-quotes-desc,.related-card-desc,.faq-answer p,.footer-block p{color:rgba(255,243,230,.86)!important}
.floating-offer,.bonus-popup{background:rgba(58,39,72,.98)!important;border-color:rgba(255,159,110,.42)!important}
.floating-offer{width:min(520px,calc(100vw - 32px))!important;max-width:520px!important;min-width:0!important;padding:14px 48px 14px 16px!important;box-sizing:border-box!important}
.floating-offer .offer-body{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important}
.floating-offer .offer-text{min-width:0!important;overflow-wrap:anywhere!important}
.floating-offer .popup-cta{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;max-width:190px!important;padding:10px 16px!important;white-space:normal!important;text-align:center!important;line-height:1.2!important}
@media(max-width:620px){
 .floating-offer{width:calc(100vw - 24px)!important;max-width:none!important;padding:13px 42px 13px 13px!important}
 .floating-offer .offer-body{grid-template-columns:auto minmax(0,1fr)!important;gap:9px 10px!important}
 .floating-offer .popup-cta{grid-column:1/-1!important;width:100%!important;max-width:none!important;margin-top:2px!important}
 .floating-offer .popup-close{top:10px!important;right:9px!important;transform:none!important}
}
.promo-timer-widget.variant-v1{background:linear-gradient(135deg,#5c3472 0%,#17606b 52%,#b05a73 100%)!important;border-color:rgba(255,243,230,.34)!important;box-shadow:0 18px 42px rgba(14,10,29,.34),inset 0 1px 0 rgba(255,255,255,.12)!important}
@media(max-width:700px){
 html,body,.main{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
 .main>.container{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0 8px!important;box-sizing:border-box!important}
 .content-wrapper{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:20px 0!important;overflow:hidden!important;box-sizing:border-box!important}
 .content-header{width:100%!important;max-width:100%!important;min-width:0!important;margin:0 0 24px!important;padding:16px 8px!important;overflow:hidden!important;box-sizing:border-box!important}
 .main-title{width:100%!important;max-width:100%!important;margin:0 0 18px!important;font-size:clamp(24px,7.2vw,30px)!important;line-height:1.14!important;overflow-wrap:anywhere!important}
 .hero-value,.hero-value.variant-v2,.hero-compact,.hero-compact.variant-v2{width:100%!important;max-width:100%!important;min-width:0!important;margin:16px 0!important;box-sizing:border-box!important;overflow:hidden!important}
 .hero-value-grid,.hero-compact-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:10px!important;gap:14px!important;box-sizing:border-box!important}
 .hero-info,.hero-quicklinks{width:100%!important;max-width:100%!important;min-width:0!important;padding:16px 10px!important;box-sizing:border-box!important;overflow:hidden!important}
 .quicklinks-grid,.hero-features{grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important}
 .quicklink-item,.hero-features li{width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .hero-headline{font-size:clamp(28px,8vw,36px)!important;line-height:1.08!important;overflow-wrap:anywhere!important}
 .cta-block .btn,.cta-block .btn-lg{width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;box-sizing:border-box!important;font-size:12px!important;line-height:1.25!important;padding:13px 10px!important}
}
/* END_FLAGMAN97P_PLUM_CITRUS_THEME */
