/* Основы */
.nuclear-stats-page {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    color: #e2e8f0 !important;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.nuclear-stats-page * {
    color: inherit;
}

/* Контейнер */
.nuclear-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Онлайн индикатор - более мягкий */
.online-indicator {
    position: fixed;
    top: 75px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 15px 20px;
    border-radius: 12px;
    z-index: 10200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.online-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.2);
}

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

/* Заголовок - градиентный */
.nuclear-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 0;
}

.nuclear-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Orbitron', 'Courier New', monospace;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;

    /* Основной читаемый цвет */
    color: #00ffff;
    text-shadow:
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 40px #0088ff;

    /* Мягкая анимация свечения */
    animation: cyberpunk-glow 3s ease-in-out infinite alternate,
               subtle-glitch 12s linear infinite;
}

@keyframes cyberpunk-glow {
    from {
        text-shadow:
            0 0 5px #00ffff,
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 40px #0088ff;
    }
    to {
        text-shadow:
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            0 0 60px #0088ff,
            0 0 80px #004499;
    }
}

@keyframes subtle-glitch {
    0%, 95%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    96% {
        transform: translateX(-1px);
        opacity: 0.98;
    }
    97% {
        transform: translateX(1px);
        opacity: 0.95;
    }
    98% {
        transform: translateX(-0.5px);
        opacity: 0.98;
    }
    99% {
        transform: translateX(0.5px);
        opacity: 1;
    }
}

/* Тонкий киберпанк эффект наложения */
.nuclear-title::before {
    content: 'STAFFSTYLE.RU';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #ff00aa;
    text-shadow:
        0 0 5px #ff00aa,
        0 0 10px #ff00aa;
    opacity: 0;
    animation: glitch-overlay 8s linear infinite;
    z-index: -1;
}

@keyframes glitch-overlay {
    0%, 97%, 100% {
        opacity: 0;
        transform: translateX(0);
    }
    98% {
        opacity: 0.3;
        transform: translateX(-2px);
    }
    99% {
        opacity: 0.2;
        transform: translateX(2px);
    }
}

/* Сканирующая линия более мягкая */
.nuclear-header {
    position: relative;
}

.nuclear-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        #00ffff 20%,
        #ffffff 50%,
        #00ffff 80%,
        transparent 100%);
    animation: scan-line 4s linear infinite;
    z-index: 1;
    opacity: 0.6;
}

@keyframes scan-line {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Дополнительный неоновый бордер для заголовка */
.nuclear-title::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid transparent;
    border-image: linear-gradient(45deg, #00ffff, transparent, #00ffff) 1;
    opacity: 0.3;
    animation: border-glow 6s ease-in-out infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes border-glow {
    0%, 100% {
        opacity: 0.2;
        filter: blur(1px);
    }
    50% {
        opacity: 0.4;
        filter: blur(0px);
    }
}

/* Адаптивность для киберпанк заголовка */
@media (max-width: 768px) {
    .nuclear-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .nuclear-title::after {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
    }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.4));
    }
    to {
        filter: drop-shadow(0 0 35px rgba(167, 139, 250, 0.6));
    }
}

.nuclear-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 15px;
}

.nuclear-summary {
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* Сетка статистики - стеклянный эффект */
.main-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.main-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.main-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

.stat-title {
    font-size: 1rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 15px 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: countUp 1.5s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-detail {
    font-size: 0.9rem;
    color: #64748b;
}

/* Секция анализа - градиентный фон */
.analysis-section {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(167, 139, 250, 0.1));
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    backdrop-filter: blur(10px);
}

.analysis-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.analysis-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.analysis-card.success {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
}

.analysis-card.success:hover {
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
}

.analysis-card.critical {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.08);
    animation: critical-pulse 4s infinite;
}

@keyframes critical-pulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
        border-color: rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
        border-color: rgba(239, 68, 68, 0.7);
    }
}

.analysis-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.analysis-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.analysis-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 15px 0;
    color: #ffffff;
}

.analysis-card.success .analysis-value {
    color: #10b981;
}

.analysis-card.critical .analysis-value {
    color: #ef4444;
}

.analysis-desc {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Предупреждение - более мягкое */
.warning-banner {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: warning-pulse 3s infinite;
    backdrop-filter: blur(10px);
}

@keyframes warning-pulse {
    0%, 100% {
        border-color: rgba(239, 68, 68, 0.3);
        box-shadow: 0 0 0 rgba(239, 68, 68, 0.2);
    }
    50% {
        border-color: rgba(245, 158, 11, 0.5);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    }
}

.warning-icon {
    font-size: 2.5rem;
}

.warning-text {
    flex: 1;
    color: #f8fafc;
}

.warning-text strong {
    color: #f59e0b;
}

/* Трафик - обновленный стиль */
.traffic-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.traffic-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: #e2e8f0;
    margin-bottom: 25px;
}

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

.traffic-source {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.traffic-source:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.1);
}

.traffic-source.major {
    border-width: 2px;
    border-color: rgba(96, 165, 250, 0.3);
}

.traffic-source.ai {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.05);
}

.source-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.source-name {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-weight: 500;
}

.source-count {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
}

/* Терминал - современный стиль */
.terminal-section {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 12px;
    margin: 30px 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.terminal-header {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(167, 139, 250, 0.2));
    padding: 12px 25px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    display: flex;
    align-items: center;
}

.terminal-controls {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}

.terminal-dot:nth-child(2) { background: #f59e0b; }
.terminal-dot:nth-child(3) { background: #10b981; }

.terminal-title {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-content {
    padding: 25px;
    height: 250px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    font-family: 'Courier New', monospace;
}

.log-entry {
    margin-bottom: 8px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timestamp {
    color: #64748b;
}

.activity {
    color: #60a5fa;
}

.cursor {
    animation: blink 1s infinite;
    color: #10b981;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Города - карточный стиль */
.cities-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.cities-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: #e2e8f0;
    margin-bottom: 25px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.city-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.city-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.1);
}

.city-card.rank-1 {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(251, 191, 36, 0.05);
}

.city-card.rank-2 {
    border-color: rgba(156, 163, 175, 0.5);
    background: rgba(156, 163, 175, 0.05);
}

.city-card.rank-3 {
    border-color: rgba(205, 127, 50, 0.5);
    background: rgba(205, 127, 50, 0.05);
}

.city-rank {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

.city-name {
    font-size: 1.1rem;
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 8px;
}

.city-region {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.city-visitors {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 12px 0;
}

.city-label {
    font-size: 0.8rem;
    color: #64748b;
}

/* Теги - обновленный стиль */
.tags {
    margin-top: 40px;
    text-align: center;
}

.tag {
    display: inline-block;
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa !important;
    padding: 8px 16px;
    margin: 5px;
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(96, 165, 250, 0.2);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.2);
}

/* Маркетинговые блоки инструментов */
.marketing-tools {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.05), rgba(167, 139, 250, 0.05));
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    backdrop-filter: blur(10px);
}

.marketing-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

.marketing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.marketing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.marketing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.marketing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
}

.marketing-card:hover::before {
    opacity: 1;
}

.marketing-card.critical {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.05);
    animation: critical-glow 3s infinite;
}

@keyframes critical-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.4);
    }
}

.marketing-card.critical::before {
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    opacity: 1;
}

.marketing-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

.marketing-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.marketing-desc {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 20px;
}

.marketing-stats {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.marketing-stat-big {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 5px;
}

.marketing-card.critical .marketing-stat-big {
    color: #ef4444;
}

.marketing-stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
}

.marketing-stat-label.critical-text {
    color: #ef4444;
    font-weight: 600;
    text-transform: uppercase;
}

.marketing-features {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 20px 0;
    text-align: left;
}

.marketing-features.warning {
    color: #fbbf24;
}

.marketing-btn {
    display: inline-block;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    margin: 15px 0;
}

.marketing-btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
}

.marketing-btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.marketing-btn-secondary {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #ffffff;
}

.marketing-btn-secondary:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.3);
}

.marketing-btn-accent {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: #ffffff;
}

.marketing-btn-accent:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(167, 139, 250, 0.3);
}

.marketing-btn-critical {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    animation: pulse-critical 2s infinite;
}

@keyframes pulse-critical {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.marketing-btn-critical:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
    animation: none;
}

.marketing-warning {
    margin-top: 15px;
    padding: 10px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #fbbf24;
}

.marketing-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marketing-testimonial {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border-left: 3px solid #10b981;
}

.testimonial-quote {
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonial-author {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.marketing-guarantee {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border-left: 3px solid #60a5fa;
}

.marketing-guarantee h4 {
    color: #60a5fa;
    margin-bottom: 10px;
    font-size: 1rem;
}

.marketing-guarantee p {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.5;
}
.chart-container {
    min-height: 350px !important;
    height: auto !important;
    padding: 20px !important;
    overflow: visible !important;
}

.chart-container canvas {
    max-height: 300px !important;
    width: 100% !important;
    height: 300px !important;
}

.charts-grid {
    gap: 30px;
}

.chart-title {
    margin-bottom: 15px !important;
    font-size: 14px !important;
    white-space: nowrap;
    overflow: visible;
}

/* Фиксы для конкретных графиков */
#toolsChart {
    height: 280px !important;
}

#trafficChart {
    height: 280px !important;
}

#weekChart {
    height: 280px !important;
}

#readinessChart {
    height: 280px !important;
}
/* Адаптивность для маркетинговых блоков */
@media (max-width: 768px) {
    .marketing-grid {
        grid-template-columns: 1fr;
    }

    .marketing-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .marketing-card {
        padding: 25px;
    }

    .marketing-title {
        font-size: 1.5rem;
    }
}

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

    .main-stats,
    .analysis-grid,
    .traffic-grid,
    .cities-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .online-indicator {
        position: static;
        margin-bottom: 20px;
    }

    .warning-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .nuclear-container {
        padding: 15px;
    }
}

/* Анимации загрузки */
.main-stat-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.main-stat-card:nth-child(1) { animation-delay: 0.1s; }
.main-stat-card:nth-child(2) { animation-delay: 0.2s; }
.main-stat-card:nth-child(3) { animation-delay: 0.3s; }
.main-stat-card:nth-child(4) { animation-delay: 0.4s; }
.main-stat-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
