/**
 * Slot Hero Module - Visual Styles Only
 * Version: 3.0.0 - CLEANED (Visual Only)
 * 
 * СОДЕРЖИТ ТОЛЬКО ВИЗУАЛЬНЫЕ СТИЛИ:
 * - Цвета (background, color, text-shadow)
 * - Градиенты (linear-gradient)
 * - Тени (box-shadow)
 * - Borders, border-radius
 * - Transitions, animations
 * - Hover-эффекты
 * - Типографика (font-family, font-size, font-weight)
 * 
 * СТРУКТУРНЫЕ ЭЛЕМЕНТЫ (display, flex, grid, position, width, height) → slot-single-layout.css
 * 
 * @package GamblingTheme
 * @subpackage Modules/SlotHero
 */

/* ============================================
   ОБЁРТКА СЕКЦИИ HERO
   ============================================ */

.slot-hero-section {
    background: var(--bg-primary);
}

/* ============================================
   ОСНОВНОЙ БЛОК HERO (ЛЕВАЯ КОЛОНКА)
   ============================================ */

.slot-hero-main {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.slot-hero-main:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ============================================
   H1 ЗАГОЛОВОК
   ============================================ */

.slot-hero-main__title {
    font-family: var(--font-headings);
    font-size: var(--h1-size);
    font-weight: var(--h1-weight);
    color: var(--text-primary);
    text-align: center;
    margin: 0;
    line-height: var(--h1-line-height);
    text-transform: uppercase;
}

/* ============================================
   КАРТИНКА С КНОПКАМИ OVERLAY
   ============================================ */

.slot-hero-main__image-wrapper {
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.slot-hero-main__image-wrapper[data-bg-image] {
    background-image: var(--bg-image);
}

.slot-hero-main__buttons-overlay {
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.6) 100%
    );
}

/* ============================================
   КНОПКИ
   ============================================ */

.slot-hero-main__btn {
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    border: 3px solid rgba(255,255,255,0.2);
    cursor: pointer;
    font-family: var(--font-primary);
    box-sizing: border-box;
}

.slot-hero-main__btn--demo {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.slot-hero-main__btn--demo:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6);
}

.slot-hero-main__btn--real {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.slot-hero-main__btn--real:hover {
    background: linear-gradient(135deg, #c82333, #dc3545);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6);
    color: white;
}

.slot-hero-main__btn-icon {
    font-size: 20px;
}

/* Иконки для кнопок */
.button-icon {
    font-size: 20px;
    line-height: 1;
}

/* ============================================
   ПРЕДУПРЕДИТЕЛЬНАЯ НАДПИСЬ
   ============================================ */

.slot-hero-main__warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-sm);
    font-size: var(--font-sm);
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
}

.slot-hero-main__warning::before {
    content: '⚠️ ';
    margin-right: 4px;
}

/* ============================================
   ПРАВЫЙ БЛОК: ВИДЖЕТ (25%)
   ============================================ */

.hero-block-3 {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hero-block-3__section {
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.hero-block-3__section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero-block-3__section-title {
    font-family: var(--font-primary);
    color: var(--info);
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    margin: 0 0 var(--spacing-xs) 0;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.hero-block-3__rating-label {
    font-family: var(--font-primary);
    color: var(--text-primary);
    font-size: var(--font-xs);
    font-weight: var(--font-medium);
    white-space: nowrap;
}

.hero-block-3__rating-stars .stars-rating {
    color: var(--primary);
    font-size: var(--font-xs);
}

.hero-block-3__rating-stars .fas.fa-star,
.hero-block-3__rating-stars .fas.fa-star-half-alt {
    color: var(--primary);
}

.hero-block-3__rating-stars .far.fa-star {
    color: var(--border-color);
}

.hero-block-3__rating-number {
    font-family: var(--font-primary);
    color: var(--tertiary);
    font-size: var(--font-xs);
    font-weight: var(--font-semibold);
    white-space: nowrap;
}

.hero-block-3__rating-item:first-child {
    padding: var(--spacing-xs) 0;
}

.hero-block-3__rating-item:first-child .hero-block-3__rating-label {
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    color: var(--info);
    text-transform: uppercase;
}

.hero-block-3__rating-item:first-child .hero-block-3__rating-stars .stars-rating {
    font-size: var(--font-base);
}

.hero-block-3__rating-item:first-child .hero-block-3__rating-number {
    font-size: var(--font-base);
    font-weight: var(--font-bold);
    color: var(--tertiary);
}

/* ============================================
   СТИЛИ ДЛЯ ДЕМО-ПОПАПА
   ============================================ */

.slot-demo-popup-overlay {
    background: rgba(0, 0, 0, 0.9);
}

.slot-demo-popup-title {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    padding: 5px 12px;
    border-radius: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slot-demo-popup-fullscreen,
.slot-demo-popup-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.9);
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slot-demo-popup-fullscreen:hover,
.slot-demo-popup-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}

.slot-demo-popup {
    background: #000;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    animation: slotPopupSlideIn 0.3s ease-out;
}

@keyframes slotPopupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slot-demo-popup-content {
    background: #000;
}

.slot-demo-iframe {
    border: none;
    background: #000;
}

.slot-demo-loading {
    color: #fff;
}

.slot-demo-loading-spinner {
    border: 2px solid rgba(255,255,255,0.1);
    border-top: 2px solid #ff6b35;
    border-radius: 50%;
    animation: slotSpinLoader 1s linear infinite;
}

@keyframes slotSpinLoader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.slot-demo-popup-container.fullscreen.browser-fullscreen .slot-demo-popup-top-bar {
    background: transparent;
    border-radius: 5px;
    padding: 5px 10px;
}

/* ========================================
   ЗВЁЗДЫ РЕЙТИНГА (SLOT TOP CASINOS)
   ======================================== */

/* Звёзды Font Awesome */
.slot-top-casinos__rating .stars-rating i,
.slot-top-casinos__rating-large .stars-rating i {
    font-size: 16px;
    line-height: 1;
}

/* Полные звёзды (золотые) */
.slot-top-casinos__rating .stars-rating .fas.fa-star,
.slot-top-casinos__rating-large .stars-rating .fas.fa-star {
    color: #ffc107;
}

/* Половинчатая звезда (золотая) */
.slot-top-casinos__rating .stars-rating .fas.fa-star-half-alt,
.slot-top-casinos__rating-large .stars-rating .fas.fa-star-half-alt {
    color: #ffc107;
}

/* Пустые звёзды (серые) */
.slot-top-casinos__rating .stars-rating .far.fa-star,
.slot-top-casinos__rating-large .stars-rating .far.fa-star {
    color: #ccc;
}

/* Цифра рейтинга */
.slot-top-casinos__rating .rating-number,
.slot-top-casinos__rating-large .rating-number {
    font-size: 14px;
    font-weight: 600;
    color: #ffc107;
    white-space: nowrap;
}

/* ========================================
   GEO-СТАТУС С ФЛАГАМИ СТРАН
   ======================================== */

/* Базовый контейнер GEO-статуса */
.geo-status {
    font-size: 14px;
    line-height: 1.2;
    border-radius: 3px;
    transition: all 0.2s ease;
}

/* Статус: Разрешено (зелёный) */
.geo-status--allowed {
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

/* Статус: Заблокировано (красный) */
.geo-status--blocked {
    background-color: rgba(231, 76, 60, 0.1);
    color: #c0392b;
}

/* Статус: Неизвестно (серый) */
.geo-status--unknown {
    background-color: rgba(149, 165, 166, 0.1);
    color: #7f8c8d;
}

/* Hover эффект */
.geo-status:hover {
    transform: scale(1.05);
}

/* ========================================
   КОМПАКТНЫЙ ВАРИАНТ (для списка)
   ======================================== */

.slot-top-casinos__meta .geo-status {
    font-size: 16px;
    background: none;
}

/* ========================================
   ПОЛНЫЙ ВАРИАНТ (для карточки)
   ======================================== */

.slot-top-casinos__geo-status {
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
}

.slot-top-casinos--card.geo-blocked .slot-top-casinos__geo-status {
    background-color: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.slot-top-casinos--card.geo-allowed .slot-top-casinos__geo-status {
    background-color: rgba(46, 204, 113, 0.05);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

/* ========================================
   СПИСОК КАЗИНО - 30%/70% РАСКЛАДКА
   ======================================== */

.slot-top-casinos--list {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.slot-top-casinos__title {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 5px;
    margin: 0 0 5px 0;
    color: var(--text-primary);
    border-bottom: 2px solid var(--info);
    text-align: center;
}

/* Карточка казино */
.slot-casino-card {
    background: #d0d1dd85;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #d0d1dd;
}

.slot-casino-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Статус-бейдж - ПО ЦЕНТРУ, СВЕРХУ */
.slot-casino-card__status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.slot-casino-card__status--green {
    background: var(--status-green-bg);
    color: var(--status-green-text);
}

.slot-casino-card__status--blue {
    background: var(--status-blue-bg);
    color: var(--status-blue-text);
}

.slot-casino-card__status--orange {
    background: var(--status-orange-bg);
    color: var(--status-orange-text);
}

.slot-casino-card__status--red {
    background: var(--status-red-bg);
    color: var(--status-red-text);
}

.slot-casino-card__status--purple {
    background: var(--status-purple-bg);
    color: var(--status-purple-text);
}

.slot-casino-card__status--gray {
    background: var(--status-gray-bg);
    color: var(--status-gray-text);
}

/* ЛЕВАЯ КОЛОНКА 30% */
.slot-casino-card__left {
    background: #fff;
}

.slot-casino-card__logo-placeholder {
    font-size: 32px;
    font-weight: bold;
    color: #ccc;
}

/* GEO-флаг */
.slot-casino-card__geo .hero-block-1__availability-badge {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.slot-casino-card__geo .hero-block-1__availability-flag {
    font-size: 30px;
    line-height: 1;
}

.slot-casino-card__geo .hero-block-1__availability-icon {
    margin-top: -10px;
    margin-left: -10px;
    font-size: 16px;
    line-height: 1;
    background: transparent;
}

/* ПРАВАЯ КОЛОНКА 70% */
.slot-casino-card__bonus {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Рейтинг */
.slot-casino-card__rating .stars-rating i {
    font-size: 14px;
    color: #ffc107;
}

/* ================================================================================
   ✅ ПОЛНЫЙ ВАРИАНТ (ДЛЯ КАРТОЧКИ 1 КАЗИНО)
   ================================================================================ */

.slot-top-casinos--card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

/* -----------------------------------------
   Заголовок (если есть)
   ----------------------------------------- */
.slot-top-casinos--card .section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    text-align: center;
}

/* -----------------------------------------
   1. Логотип казино
   ----------------------------------------- */
.slot-top-casinos--card .slot-top-casinos__logo-large {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

/* -----------------------------------------
   2. Рейтинг
   ----------------------------------------- */
.slot-top-casinos--card .slot-top-casinos__rating-large .stars-rating i {
    font-size: 18px;
    color: var(--rating-star-active, #FFD700);
}

/* -----------------------------------------
   3. GEO-статус (горизонтальный вариант)
   ----------------------------------------- */
.slot-top-casinos--card .hero-block-1__availability {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
}

.slot-top-casinos--card .hero-block-1__availability-flag {
    border-radius: 50%;
    font-size: 36px;
    line-height: 48px;
}

.slot-top-casinos--card .hero-block-1__availability-icon {
    border-radius: 50%;
    background: transparent;
    font-size: 16px;
    line-height: 16px;
}

.slot-top-casinos--card .hero-block-1__availability-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.slot-top-casinos--card .hero-block-1__availability.geo-allowed .hero-block-1__availability-text {
    color: var(--geo-status-allowed-text, #155724);
}

.slot-top-casinos--card .hero-block-1__availability.geo-blocked .hero-block-1__availability-text {
    color: var(--geo-status-blocked-text, #721c24);
}

.slot-top-casinos--card .hero-block-1__availability.geo-unknown .hero-block-1__availability-text {
    color: var(--geo-status-unknown-text, #856404);
}

/* -----------------------------------------
   4. Бонус
   ----------------------------------------- */
.slot-top-casinos--card .slot-top-casinos__bonus-large {
    text-align: center;
}

.slot-top-casinos--card .slot-top-casinos__bonus-large strong {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-dark);
}

.slot-top-casinos--card .slot-top-casinos__bonus-large p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* -----------------------------------------
   5. Промокод
   ----------------------------------------- */
.slot-top-casinos--card .slot-top-casinos__promo .promo-label {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-primary);
}

.slot-top-casinos--card .slot-top-casinos__promo .promo-code-clickable {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.slot-top-casinos--card .slot-top-casinos__promo .promo-code-clickable:hover {
    background: rgba(0, 0, 0, 0.05);
}

.slot-top-casinos--card .slot-top-casinos__promo small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.3;
}

/* -----------------------------------------
   6. Кнопка (прижата к низу)
   ----------------------------------------- */
.slot-top-casinos__button-wrapper .gt-button {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* ============================================
   АДАПТИВНОСТЬ (ВИЗУАЛЬНЫЕ ИЗМЕНЕНИЯ)
   ============================================ */

/* Планшеты: 992px - 1023px */
@media (max-width: 1023px) {
    .slot-hero-main__title {
        font-size: var(--font-xl);
    }
}

/* Планшеты: до 992px */
@media (max-width: 992px) {
    .slot-hero-main__title {
        font-size: var(--font-lg);
    }
}

/* Мобильные: до 768px */
@media (max-width: 768px) {
    .slot-hero-main__warning {
        font-size: var(--font-xs);
    }
    
    .slot-demo-popup-title {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .slot-demo-popup-fullscreen,
    .slot-demo-popup-close {
        font-size: 14px;
    }
    
    /* GEO-статус адаптивность */
    .geo-status {
        font-size: 12px;
    }
    
    .slot-top-casinos__meta .geo-status {
        font-size: 14px;
    }
    
    /* Увеличиваем звёзды в карточке (1 казино) */
    .slot-top-casinos--card .rating-stars .stars-rating i {
        font-size: 18px;
    }
    
    .slot-top-casinos--card .rating-number {
        font-size: 14px;
    }
    
    .slot-top-casinos--card .section-title {
        font-size: 16px;
    }
    
    .slot-top-casinos--card .slot-top-casinos__bonus-large p {
        font-size: 14px;
    }
    
    .slot-top-casinos--card .slot-top-casinos__promo .promo-code-clickable {
        font-size: 16px;
    }
    
    .slot-casino-card__bonus {
        font-size: 13px;
    }
}

/* Очень маленькие мобильные: до 480px */
@media (max-width: 480px) {
    .slot-hero-main__btn {
        font-size: 15px;
    }
}
