/* =============================================================================
   СТИЛИ ДЛЯ СЛОТОВ - SlotReviews.ru
   Карточки слотов, демо, характеристики
============================================================================= */

/* =============================================================================
   SLOT HERO CARD
============================================================================= */

.slot-hero {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
}

.slot-hero__logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.slot-hero__logo img {
    max-width: 160px;
    max-height: 160px;
    border-radius: var(--border-radius);
    object-fit: contain;
}

.slot-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slot-hero__provider {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.slot-hero__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.slot-stat {
    text-align: center;
}

.slot-stat__value {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.slot-stat__label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slot-hero__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =============================================================================
   BUTTONS
============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-family: inherit;
}

.btn--primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-blue);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

/* =============================================================================
   DEMO IFRAME
============================================================================= */

.demo-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.demo-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--border-radius);
}

.demo-loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray-600);
}

.demo-loading p {
    margin-top: 1rem;
    font-weight: 500;
}

/* =============================================================================
   CONTENT SECTIONS
============================================================================= */

.content-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.content-section h2 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-text {
    color: var(--gray-700);
    line-height: 1.7;
}

/* =============================================================================
   TECHNICAL INFO
============================================================================= */

.technical-info {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.technical-info h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.tech-item {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-blue);
    transition: all 0.2s ease;
}

.tech-item:hover {
    background: var(--very-light-blue);
    transform: translateY(-1px);
}

.tech-item strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.25rem;
}

/* =============================================================================
   SLOT FEATURES & MECHANICS
============================================================================= */

.slot-features {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.slot-features h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: var(--very-light-blue);
    transform: translateY(-2px);
}

.feature-item--active {
    background: var(--very-light-blue);
    border: 2px solid var(--light-blue);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.feature-name {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.feature-status {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* =============================================================================
   SLOT PROVIDERS INFO
============================================================================= */

.provider-info {
    background: linear-gradient(135deg, var(--very-light-blue) 0%, var(--white) 100%);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid var(--gray-200);
}

.provider-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.provider-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.provider-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.2s ease;
}

.provider-link:hover {
    background: var(--secondary-blue);
    color: var(--white);
    border-color: var(--secondary-blue);
    transform: translateY(-1px);
}

/* =============================================================================
   RESPONSIVE DESIGN FOR SLOTS
============================================================================= */

@media (max-width: 768px) {
    .slot-hero {
        padding: 2rem 1rem;
    }

    .slot-hero__title {
        font-size: 2rem;
    }

    .slot-hero__stats {
        gap: 1.5rem;
    }

    .slot-stat__value {
        font-size: 1.5rem;
    }

    .demo-iframe {
        height: 400px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .content-section,
    .technical-info,
    .slot-features {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .slot-hero__logo {
        width: 150px;
        height: 150px;
    }

    .slot-hero__logo img {
        max-width: 120px;
        max-height: 120px;
    }

    .slot-hero__title {
        font-size: 1.75rem;
    }

    .slot-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .provider-links {
        flex-direction: column;
    }

    .provider-link {
        justify-content: center;
    }
}

/* =============================================================================
   GALLERY SLIDER
============================================================================= */

.slot-gallery {
    margin: 2rem 0;
}

.gallery-slider {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.gallery-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease;
}

.gallery-slide {
    min-width: 25%;
    padding: 0 0.5rem;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-image:hover {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.2s ease;
}

.gallery-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav--prev {
    left: 1rem;
}

.gallery-nav--next {
    right: 1rem;
}

/* Modal для просмотра */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-modal--active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--border-radius);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
    transition: all 0.2s ease;
}

.gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.gallery-modal-nav--prev {
    left: -70px;
}

.gallery-modal-nav--next {
    right: -70px;
}

.gallery-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .gallery-slide {
        min-width: 50%;
    }

    .gallery-modal-nav--prev {
        left: 10px;
    }

    .gallery-modal-nav--next {
        right: 10px;
    }
}

/* =============================================================================
   RTP & VOLATILITY SECTION
============================================================================= */

.rtp-volatility-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.rtp-volatility-section h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.rtp-vol-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.rtp-card, .volatility-card {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.rtp-card {
    border-left: 4px solid #3b82f6;
}

.volatility-card {
    border-left: 4px solid var(--vol-color, #f59e0b);
}

.metric-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.metric-progress {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.rtp-progress {
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
}

.volatility-progress {
    background: var(--vol-color, #f59e0b);
}

.metric-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.metric-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.volatility-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.percentile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--very-light-blue);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .rtp-vol-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .metric-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .metric-value {
        font-size: 1.75rem;
    }
}

/* =============================================================================
   PAYTABLE SECTION
============================================================================= */

.paytable-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.paytable-section h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.paytable-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.paytable-header {
    background: var(--very-light-blue);
    border-bottom: 2px solid var(--secondary-blue);
}

.paytable-header th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.125rem;
}

.paytable-row {
    border-bottom: 1px solid var(--gray-200);
    transition: background-color 0.2s ease;
}

.paytable-row:hover {
    background: var(--gray-50);
}

.paytable-cell {
    padding: 1rem;
    vertical-align: middle;
}

.symbol-cell {
    width: 120px;
    text-align: center;
}

.symbol-image {
    max-width: 80px;
    max-height: 80px;
    border-radius: var(--border-radius);
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.symbol-image:hover {
    transform: scale(1.1);
}

.description-cell {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-700);
}

.description-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.description-text {
    color: var(--gray-600);
}

/* Модальное окно для символов */
.symbol-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.symbol-modal--active {
    opacity: 1;
    visibility: visible;
}

.symbol-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.symbol-modal-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.symbol-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 1rem;
}

.symbol-modal-description {
    color: var(--gray-700);
    line-height: 1.6;
    text-align: center;
}

.symbol-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.symbol-modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

/* Адаптивность */
@media (max-width: 768px) {
    .paytable-table {
        font-size: 0.875rem;
    }

    .paytable-cell {
        padding: 0.75rem;
    }

    .symbol-cell {
        width: 80px;
    }

    .symbol-image {
        max-width: 60px;
        max-height: 60px;
    }

    .paytable-header th {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .symbol-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}


/* =============================================================================
   BONUS FEATURES SECTION
============================================================================= */

.bonus-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.bonus-section h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.bonus-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--very-light-blue) 100%);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bonus-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--light-blue);
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.bonus-image {
    width: 100%;
    height: auto;  /* ← Автоматическая высота */
    max-height: 250px;
    min-height: 100px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    background: var(--gray-100);
}

.bonus-card:hover .bonus-image {
    transform: scale(1.02);
}

.bonus-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    text-align: center;
}

.bonus-description {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
}

.bonus-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

/* Адаптивность */
@media (max-width: 768px) {
    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bonus-card {
        padding: 1.25rem;
    }

    .bonus-image {
        height: 150px;
    }
}

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

    .bonus-image {
        height: 120px;
    }
}

/* =============================================================================
   PROS & CONS SECTION
============================================================================= */

.pros-cons-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.pros-cons-section h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.pros-card, .cons-card {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    position: relative;
}

.pros-card {
    border-left: 4px solid #10b981;
}

.cons-card {
    border-left: 4px solid #ef4444;
}

.pros-cons-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pros-title {
    color: #059669;
}

.cons-title {
    color: #dc2626;
}

.pros-cons-icon {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pros-icon {
    background: #d1fae5;
    color: #059669;
}

.cons-icon {
    background: #fee2e2;
    color: #dc2626;
}

.pros-cons-list {
    line-height: 1.7;
    color: var(--gray-700);
}

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

.pros-cons-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pros-cons-list li:before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 0.75rem;
    flex-shrink: 0;
}

.pros-card .pros-cons-list li:before {
    background: #10b981;
}

.cons-card .pros-cons-list li:before {
    background: #ef4444;
}

/* Обработка текста с символами • */
.pros-cons-text {
    line-height: 1.7;
    color: var(--gray-700);
}

.pros-cons-text p {
    margin-bottom: 0.75rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .pros-cons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pros-card, .cons-card {
        padding: 1.25rem;
    }
}


/* =============================================================================
   HOW TO PLAY SECTION - Роскомнадзор стиль
============================================================================= */

.how-to-play-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-blue);
}

.how-to-play-section h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.how-to-play-section h2::before {
    content: '📋';
    font-size: 1.75rem;
    background: var(--very-light-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--light-blue);
}

.how-to-play-section .content-text {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 1rem;
}

.how-to-play-section .content-text p {
    margin-bottom: 1rem;
}

.how-to-play-section .content-text p:last-child {
    margin-bottom: 0;
}

/* Стилизация списков в тексте */
.how-to-play-section .content-text ul,
.how-to-play-section .content-text ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.how-to-play-section .content-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .how-to-play-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .how-to-play-section h2 {
        font-size: 1.25rem;
    }

    .how-to-play-section h2::before {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .how-to-play-section {
        padding: 1.25rem;
    }

    .how-to-play-section h2 {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}


/* =============================================================================
   COMPARISON SECTION - Сравнение слотов (Роскомнадзор стиль)
============================================================================= */

.comparison-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-blue);
}

.comparison-section h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.comparison-section h2::before {
    content: '⚖️';
    font-size: 1.75rem;
    background: var(--very-light-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--light-blue);
}

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

.comparison-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--very-light-blue) 100%);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.comparison-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--light-blue);
}

.comparison-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: var(--border-radius);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.comparison-logo-img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    border-radius: calc(var(--border-radius) / 2);
}

.comparison-logo-placeholder {
    font-size: 2rem;
    color: var(--gray-400);
}

.comparison-info {
    text-align: center;
}

.comparison-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.8rem; /* Фиксированная высота для выравнивания */
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-provider {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-weight: 500;
}

.comparison-stats {
    margin-bottom: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid var(--gray-200);
}

.comparison-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.comparison-stat:last-child {
    margin-bottom: 0;
}

.stat-label {
    color: var(--gray-600);
    font-weight: 500;
}

.stat-value {
    font-weight: 600;
    color: var(--gray-900);
}

.rtp-value {
    color: var(--secondary-blue);
}

.vol-value {
    color: var(--primary-blue);
}

.comparison-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.comparison-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--white);
    text-decoration: none;
}

.comparison-btn span {
    font-size: 1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .comparison-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comparison-card {
        padding: 1.25rem;
    }

    .comparison-logo {
        width: 70px;
        height: 70px;
    }

    .comparison-logo-img {
        max-width: 60px;
        max-height: 60px;
    }

    .comparison-section h2 {
        font-size: 1.25rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .comparison-section h2::before {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

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

    .comparison-card {
        padding: 1rem;
    }

    .comparison-title {
        font-size: 1rem;
        min-height: 2.4rem;
    }

    .comparison-stats {
        padding: 0.75rem;
    }

    .comparison-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================================================
   SLOT THEMES IN TECH SPECS - Темы в характеристиках (Роскомнадзор стиль)
============================================================================= */

.tech-item--themes {
    /* Занимает всю ширину если есть темы */
    grid-column: 1 / -1;
}

.slot-themes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.theme-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Опубликованные темы - интерактивные ссылки */
.theme-tag--published {
    background: var(--very-light-blue);
    color: var(--primary-blue);
    border-color: var(--light-blue);
}

.theme-tag--published:hover {
    background: var(--light-blue);
    color: var(--white);
    border-color: var(--secondary-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

/* Неопубликованные темы - просто текст */
.theme-tag--unpublished {
    background: var(--gray-100);
    color: var(--gray-600);
    border-color: var(--gray-300);
    cursor: default;
}

/* Адаптивность */
@media (max-width: 768px) {
    .tech-item--themes {
        grid-column: 1;
    }

    .slot-themes-list {
        flex-direction: column;
        gap: 0.375rem;
    }

    .theme-tag {
        justify-content: center;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .theme-tag {
        font-size: 0.8125rem;
        padding: 0.375rem 0.75rem;
    }
}


/* Простые стили для модального окна демо */

.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.demo-modal--active {
    display: flex;
    opacity: 1;
}

.demo-modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.demo-modal__container {
    position: relative;
    margin: auto;
    width: 90%;
    height: 80%;
    max-width: 1200px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.demo-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #333;
    color: white;
}

.demo-modal__title {
    margin: 0;
    font-size: 1.1rem;
}

.demo-modal__controls {
    display: flex;
    gap: 0.5rem;
}

.demo-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 32px;
    height: 32px;
}

.demo-btn:hover {
    background: rgba(255,255,255,0.2);
}

.demo-modal__content {
    flex: 1;
    position: relative;
}

.demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.demo-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.demo-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #ddd;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Полный экран */
.demo-modal--fullscreen {
    background: black;
}

.demo-modal--fullscreen .demo-modal__container {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
}

.provider-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.provider-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Простое горизонтальное оглавление */
.simple-toc {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.simple-toc-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
}

.simple-toc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.simple-toc-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    background: white;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.simple-toc-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .simple-toc-link {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
}
