/* ========================================
   СПОКОЙНЫЕ СТИЛИ ДЛЯ CRAZY TIME
   CALM STYLES FOR CRAZY TIME
   Version: 1.1.0
   Date: 2025-12-11
======================================== */

/* Плавная анимация заголовка */
@keyframes calmTitleGlow {
    0%, 100% { 
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    50% { 
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    }
}

/* Спокойный логотип */
.logo {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Спокойный фон для всего сайта */
body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
}

/* Спокойный заголовок */
.sticky-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    border-bottom: 2px solid #3498db !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Спокойные кнопки */
.btn-login {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4) !important;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, #5dade2 0%, #3498db 100%) !important;
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.6) !important;
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4) !important;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: linear-gradient(135deg, #52be80 0%, #27ae60 100%) !important;
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.6) !important;
    transform: translateY(-2px);
}

/* Спокойный баннер */
.bonus-card {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%) !important;
    border: 2px solid #3498db !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Спокойные заголовки */
.bonus-title {
    color: #ecf0f1 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

span.accent {
    color: #f39c12 !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease;
}

span.accent:hover {
    color: #f1c40f !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

/* Спокойные игровые карточки */
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.4);
}

/* Спокойное меню */
.games-nav {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(52, 152, 219, 0.3) !important;
}

.nav-item.active {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4) !important;
    color: white !important;
}

.nav-item {
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(52, 152, 219, 0.2) !important;
}

/* Спокойные кнопки действий */
.btn-action {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4) !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.6) !important;
    transform: translateY(-2px);
}

/* Анимация вращения колеса */
@keyframes wheelSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Стили для навигационного меню */
.main-nav a:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    border-radius: 8px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.main-nav a:active {
    transform: translateY(0px);
}

/* Стили для текстового логотипа Play Games */
.logo a {
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(52, 152, 219, 0.3));
}

.logo a span {
    animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

/* Приглушённый фон для текстового блока (чуть тише оригинала) */
.content-text {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.6) 0%, rgba(0, 150, 180, 0.6) 100%) !important;
    border: 1px solid rgba(52, 152, 219, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(5px);
}

/* Спокойные цвета для таблицы характеристик */
.features-table td:first-child {
    color: #5dade2 !important;
}

.features-table table {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}

/* Черный текст для футера */
.footer-disclaimers p {
    color: #000000 !important;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    margin: 8px 0;
}

.footer-disclaimers .copyright {
    color: #000000 !important;
}

.footer-disclaimers a {
    color: #2c3e50 !important;
    font-weight: 700;
}

/* Скрыть меню игр на мобильных устройствах */
@media (max-width: 768px) {
    .games-nav {
        display: none !important;
    }
    
    /* Уменьшить размер CTA кнопок на мобильных */
    .cta-section .btn-action {
        font-size: 16px !important;
        padding: 12px 25px !important;
        width: calc(100% - 2cm) !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Адаптация диаграммы вероятностей для мобильных */
    .probability-chart > div {
        flex-direction: column !important;
        gap: 5px !important;
        align-items: stretch !important;
    }
    
    .probability-chart > div > span:first-child {
        width: 100% !important;
        text-align: left !important;
        font-size: 13px !important;
    }
    
    .probability-chart > div > div {
        width: 100% !important;
        flex: none !important;
        min-height: 40px !important;
    }
    
    .probability-chart > div > span:last-child {
        width: 100% !important;
        text-align: right !important;
        font-size: 12px !important;
    }
    
    /* СКРЫТЬ ВИДЕО НА МОБИЛЬНЫХ (экономия трафика) */
    .video-container {
        display: none !important;
    }
    
    /* СКРЫТЬ КАРТИНКИ НА МОБИЛЬНЫХ (экономия трафика) */
    .hide-on-mobile {
        display: none !important;
    }
}

/* Стили для внутренних ссылок (anchor links) */
.content-text a.internal-link {
    color: #2E86DE !important;
    text-decoration: none;
    border-bottom: 2px dotted #2E86DE;
    transition: all 0.3s ease;
    font-weight: 700;
    padding-bottom: 2px;
}

.content-text a.internal-link:hover {
    color: #1E5FAF !important;
    border-bottom: 2px solid #1E5FAF;
    background: rgba(46, 134, 222, 0.15);
    padding: 2px 4px;
    transform: translateY(-1px);
    border-radius: 3px;
}
