* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
    background: linear-gradient(-45deg, #F8B195, #F67280, #C06C84, #6C5B7B, #355C7D);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.timer-display {
    font-size: 80px;
    text-align: center;
    margin: 30px 0;
    font-weight: 300;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.mode-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mode-btn {
    background: rgba(255, 255, 255, 0.1);
}

.mode-btn.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

.radio-container {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.radio-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-info {
    font-size: 12px;
    opacity: 0.8;
}

.volume-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.pomodoro-info {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Анимация для уведомления */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.5s ease-in-out infinite;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 600px) {
    .timer-display {
        font-size: 60px;
    }
    
    .controls {
        flex-direction: column;
        align-items: center;
    }
    
    button {
        width: 100%;
        max-width: 200px;
    }
    
    .radio-container {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
    }
    
    .radio-info {
        display: none;
    }
}

/* Стили для уведомления о взаимодействии */
.interaction-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(107, 70, 117, 0.9);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    backdrop-filter: blur(5px);
    animation: fadeInOut 3s ease-in-out;
    display: none;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}