body {
    font-family: Arial, sans-serif;
    background-color: #000;
    /* Темный фон */
    color: #fff;
    /* Белый текст по умолчанию */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
}

.ban-message {
    color: #ff0000;
    /* Красный текст */
    font-size: 3em;
    /* Крупный размер шрифта */
    margin-top: 20px;
    margin-bottom: 50px;
    /* Отступ снизу */
}

.unban-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.unban-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Попап */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 15px;
    padding: 30px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #333;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #ff6b6b;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #ff8e53;
}

/* Статистика игры */
.game-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin: 5px;
    min-width: 150px;
}

.stat-label {
    font-weight: bold;
    color: #ff8e53;
}

/* Область кликера */
.clicker-area {
    text-align: center;
    margin-bottom: 30px;
}

.click-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    border: none;
    color: white;
    padding: 30px 60px;
    font-size: 2em;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    margin-bottom: 20px;
}

.click-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6);
}

.click-button:active {
    transform: scale(0.95);
}

.click-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

/* Прогресс бар */
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Секция апгрейдов */
.upgrades-section {
    margin-top: 30px;
}

.upgrades-section h3 {
    color: #ff8e53;
    margin-bottom: 20px;
    font-size: 1.5em;
}

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

.upgrade-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.upgrade-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6b6b;
}

.upgrade-info h4 {
    color: #ff8e53;
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.upgrade-info p {
    margin: 0 0 5px 0;
    color: #ccc;
    font-size: 0.9em;
}

.upgrade-level {
    font-size: 0.8em;
    color: #888;
}

.upgrade-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    min-width: 120px;
}

.upgrade-btn:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-1px);
}

.upgrade-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

/* Сообщение об успехе */
.success-message {
    text-align: center;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    font-size: 1.5em;
}
/* ... existing code ... */

.restart-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 1em;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.restart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #888;
    /* Более светлый серый для футера */
    font-size: 0.9em;
}

.footer a {
    color: #888;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer a:hover {
    text-decoration: underline;
}

.footer img {
    height: 20px;
    /* Высота логотипа */
    margin-left: 5px;
    vertical-align: middle;
}

/* Анимации */
@keyframes clickPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.click-button.clicked {
    animation: clickPulse 0.2s ease;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}

.floating-text {
    position: absolute;
    color: #ff8e53;
    font-weight: bold;
    font-size: 1.2em;
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
}

/* Адаптивность */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 20px;
        max-height: 95vh;
    }
    
    .upgrades-grid {
        grid-template-columns: 1fr;
    }
    
    .game-stats {
        flex-direction: column;
    }
    
    .click-button {
        padding: 20px 40px;
        font-size: 1.5em;
    }
    
    .ban-message {
        font-size: 2em;
    }
}