:root {
    /* Основные цвета */
    --color-primary: #fff;
    --color-primary-dark: #4338ca;
    --color-secondary: #7729d7;
    --color-accent: #fbbf24;

    /* Фоновые цвета */
    --bg-primary: #141824;
    --bg-secondary: #241f2b;
    --bg-dark: #0D121D;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --bg-overlay: rgba(44, 49, 68, 0.35);

    /* Текстовые цвета */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #d1d5db;
    --text-light: #9ca3af;
    --text-dark: #6b7280;
    --text-button: #fff;

    /* Границы */
    --border-primary: #1e293b;
    --border-secondary: #374151;
    --border-card: #475569;
    --border-overlay: rgba(71, 85, 105, 0.3);

    /* Градиенты */
    --gradient-primary: linear-gradient(90deg, #9A32C9 0%, var(--color-secondary) 100%);
    --gradient-text: linear-gradient(135deg, var(--text-primary) 0%, #c5c5c5 100%);
    --gradient-card: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    --gradient-bg: linear-gradient(90deg, #39265a, #372235);
    --gradient-cta: linear-gradient(90deg, #161623 0%, #2E1414 102.14%);
    --gradient-benefits: linear-gradient(90deg, #1a0d2e 0%, #2d1b4e 50%, #1a0d2e 100%);

    /* Тени */
    --shadow-primary: 0 0 25px rgb(121 21 163);
    --shadow-secondary: rgba(0, 0, 0, 0.3);
    --shadow-card: rgba(0, 0, 0, 0.4);

    /* Статусные цвета */
    --status-new: #3b82f6;
    --status-jackpot: #fbbf24;
    --status-top: #10b981;
}

*, ::after, ::before {
    box-sizing: border-box;
    border-width: 0;
    margin: 0;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
}

main {
    padding: 0;
    background: var(--gradient-cta);
}

.popular-slots-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.title-accent {
    width: 4px;
    height: 40px;
    background: var(--status-top);
    border-radius: 2px;
}

.all-games-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--status-top);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: color, gap;
}

.all-games-link:hover {
    color: #fff;
    gap: 12px;
}

.all-games-link svg {
    width: 20px;
    height: 20px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.slot-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.slot-card:hover {
    transform: translateY(-8px) translateZ(0);
}

.slot-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    background: #0f0519;
    transform: translateZ(0);
    will-change: transform;
}

.slot-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0) scale(1);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.slot-card:hover .slot-image {
    transform: translateZ(0) scale(1.05);
}

/* Градиент снизу вверх */
.slot-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transform: translateZ(0);
    will-change: opacity;
}

.slot-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    transform: translateZ(0);
}

.badge-rtp {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateZ(0);
    will-change: transform;
}

.slot-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    z-index: 2;
    transform: translateZ(0);
    will-change: transform;
}

.slot-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
}

.slot-provider {
    font-size: 13px;
    color: #d1d5db;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .slots-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .title-accent {
        height: 32px;
    }

    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .slot-title {
        font-size: 16px;
    }

    .slot-provider {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.menu {
    display: flex;
    position: relative;
    justify-content: flex-end;
    width: 100%;
    margin: 0 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text);
    cursor: pointer;
    padding: 8px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    text-decoration: none;
    color: var(--color-text);
    transition: 0.3s;
    padding: 5px;
    display: block;
    border-radius: 6px;
    font-size: 13px;
}

.menu ul li a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        flex-direction: column;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .menu.active ul {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        width: 100%;
        align-items: center;
        margin-top: 10px;
    }
    
    .menu ul li a {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu ul li:last-child a {
        border-bottom: none;
    }
}

/* === Block Styles === */
/* Block: Header 1 */
header {
        display: flex;
        height: 72px;
        width: 100%;
        background: var(--bg-dark);
        align-items: center;
        justify-content: center;
    }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    padding: 0 10px;
    margin: 0 auto;
}

.logotype img {
    display: flex;
    max-width: 100%;
    height: 40px;
    margin: 10px 0;
}

.menu {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s ease;
    }
    
.menu a:hover {
    color: var(--color-accent);
}

/* Block: Hero 5 - Neon Glow */
.hero5-fire { color: var(--color-accent); animation: hero5FireAnim 1s infinite ease-in-out; }
@keyframes hero5FireAnim { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

.hero5-neon {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero5-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero5-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent), 0 0 20px var(--color-accent);
    animation: hero5Float 15s infinite ease-in-out;
}

.hero5-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero5-particles span:nth-child(2) { left: 20%; animation-delay: 1.5s; }
.hero5-particles span:nth-child(3) { left: 35%; animation-delay: 3s; }
.hero5-particles span:nth-child(4) { left: 50%; animation-delay: 4.5s; }
.hero5-particles span:nth-child(5) { left: 65%; animation-delay: 6s; }
.hero5-particles span:nth-child(6) { left: 75%; animation-delay: 7.5s; }
.hero5-particles span:nth-child(7) { left: 85%; animation-delay: 9s; }
.hero5-particles span:nth-child(8) { left: 25%; animation-delay: 10.5s; }
.hero5-particles span:nth-child(9) { left: 55%; animation-delay: 12s; }
.hero5-particles span:nth-child(10) { left: 90%; animation-delay: 13.5s; }

@keyframes hero5Float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

.hero5-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: hero5Pulse 8s infinite ease-in-out;
}

.hero5-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
    top: -200px;
    left: -100px;
}

.hero5-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    bottom: -150px;
    right: -100px;
    animation-delay: 4s;
}

@keyframes hero5Pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

.hero5-container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero5-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 30px;
}

.hero5-pulse {
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: hero5PulseAnim 2s infinite;
}

@keyframes hero5PulseAnim {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
}

.hero5-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero5-title-line {
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
}

.hero5-title-highlight {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(154, 50, 201, 0.5));
}

.hero5-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero5-bonus-card {
    position: relative;
    background: linear-gradient(135deg, rgba(154, 50, 201, 0.2) 0%, rgba(119, 41, 215, 0.2) 100%);
    border: 2px solid rgba(154, 50, 201, 0.4);
    border-radius: 24px;
    padding: 32px 40px;
    margin-bottom: 40px;
    overflow: hidden;
}

.hero5-bonus-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(154, 50, 201, 0.3) 0%, transparent 60%);
    animation: hero5BonusGlow 4s infinite ease-in-out;
}

@keyframes hero5BonusGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero5-bonus-content {
    position: relative;
    z-index: 1;
}

.hero5-bonus-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.hero5-bonus-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.hero5-bonus-percent {
    font-size: 64px;
    font-weight: 900;
    background: linear-gradient(180deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 4px 20px rgba(251, 191, 36, 0.4));
}

.hero5-bonus-plus {
    font-size: 40px;
    font-weight: 300;
    color: var(--text-muted);
}

.hero5-bonus-spins {
    font-size: 48px;
    font-weight: 700;
    color: var(--status-top);
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.hero5-bonus-terms {
    font-size: 14px;
    color: var(--text-light);
}

.hero5-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero5-cta-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 48px;
    background: var(--gradient-primary);
    color: var(--text-button);
    font-size: 18px;
    font-weight: 700;
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 40px rgba(154, 50, 201, 0.5);
}

.hero5-cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: hero5Shine 3s infinite;
}

@keyframes hero5Shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.hero5-cta-text {
    position: relative;
    z-index: 1;
}

.hero5-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 60px rgba(154, 50, 201, 0.7);
}

.hero5-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--border-card);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.hero5-cta-secondary:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.hero5-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero5-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.hero5-stat-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.hero5-stat-divider {
    width: 1px;
    height: 20px;
    background: var(--border-secondary);
}

@media (max-width: 768px) {
    .hero5-neon {
        min-height: auto;
        padding: 80px 20px;
    }
    
    .hero5-title {
        font-size: 42px;
    }
    
    .hero5-subtitle {
        font-size: 16px;
    }
    
    .hero5-bonus-percent {
        font-size: 48px;
    }
    
    .hero5-bonus-spins {
        font-size: 36px;
    }
    
    .hero5-bonus-card {
        padding: 24px 20px;
    }
    
    .hero5-cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .hero5-cta-primary,
    .hero5-cta-secondary {
        width: 100%;
    }
    
    .hero5-stats-row {
        gap: 20px;
    }
    
    .hero5-stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero5-title {
        font-size: 36px;
    }
    
    .hero5-bonus-value {
        flex-wrap: wrap;
    }
    
    .hero5-bonus-percent {
        font-size: 40px;
    }
    
    .hero5-bonus-plus {
        font-size: 28px;
    }
    
    .hero5-bonus-spins {
        font-size: 32px;
    }
}

/* Block: Article 1 */
.article-content {
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 1280px;
    margin: 32px auto 40px;
    padding: 32px 24px 28px;
}

.article-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.article-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 10px;
}

.article-content p {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
}

.article-content ul,
.article-content ol {
    margin: 0 0 16px 18px;
    padding-left: 0;
}

.article-content li {
    margin: 0 0 8px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.article-content img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-card);
    margin: 10px 0 16px;
}

.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 10px;
}

.article-content th {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.article-content td {
    padding: 12px;
    border-top: 1px solid var(--border-secondary);
    color: var(--text-muted);
    font-size: 14px;
}

.article-content tr:nth-child(even) td {
    background: var(--bg-card-hover);
}

/* Block: Футер 5 - Compact */
.footer5 {
    background: var(--bg-secondary);
    padding: 28px 0;
}

.footer5-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer5-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer5-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer5-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer5-age {
    padding: 5px 10px;
    border: 2px solid var(--color-accent);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    color: var(--color-accent);
}

.footer5-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer5-license,
.footer5-ssl {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer5-license svg,
.footer5-ssl svg {
    width: 18px;
    height: 18px;
    color: var(--status-top);
}

.footer5-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer5-copy {
    font-size: 13px;
    color: var(--text-dark);
}

.footer5-links {
    display: flex;
    gap: 20px;
}

.footer5-links a {
    font-size: 13px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.footer5-links a:hover {
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .footer5-row {
        flex-direction: column;
        text-align: center;
    }
    
    .footer5-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer5-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer5-links {
        flex-direction: column;
        gap: 10px;
    }
}