* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e74c3c;
    --secondary-color: #2ecc71;
    --bg-color: #0a0a0f;
    --card-bg: #14141f;
    --card-hover: #1a1a2e;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #2c3e50;
    --work-color: #e74c3c;
    --break-color: #2ecc71;
    --long-break-color: #3498db;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-info: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --mobile-padding: 15px;
    --mobile-radius: 20px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Таймер секция */
.timer-section {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.timer-header {
    text-align: center;
    margin-bottom: 30px;
}

.timer-header h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--work-color), var(--break-color), var(--long-break-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(231, 76, 60, 0.2);
}

.timer-header p {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

/* Селектор режимов */
.mode-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.mode-btn {
    padding: 18px 25px;
    background: var(--card-hover);
    border: 2px solid transparent;
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    text-align: center;
    flex: 1;
    min-width: 120px;
    max-width: 200px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Убираем излишнюю анимацию для лучшей производительности на мобильных */

.mode-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 
        0 10px 30px rgba(231, 76, 60, 0.2),
        0 0 20px rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.3);
}

.mode-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #c0392b);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(231, 76, 60, 0.4),
        0 0 30px rgba(231, 76, 60, 0.2);
}

.mode-btn.active::before {
    display: none;
}

/* Дисплей таймера */
.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.timer-circle-container {
    position: relative;
}

.timer-circle {
    width: clamp(200px, 50vw, 350px);
    height: clamp(200px, 50vw, 350px);
    position: relative;
    filter: drop-shadow(0 0 30px rgba(231, 76, 60, 0.3));
}

.timer-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.timer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: clamp(10px, 3vw, 15px);
    stroke-dasharray: 5, 5;
}

.timer-progress {
    fill: none;
    stroke-width: clamp(10px, 3vw, 15px);
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
    filter: drop-shadow(0 0 20px currentColor);
}

.timer-progress.speed-up {
    animation: speedUpPulse 0.5s ease-in-out infinite;
}

@keyframes speedUpPulse {
    0%, 100% { 
        opacity: 1; 
        filter: drop-shadow(0 0 20px currentColor) brightness(1.2);
    }
    50% { 
        opacity: 0.8; 
        filter: drop-shadow(0 0 30px currentColor) brightness(1.5);
    }
}

.timer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.timer-text {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.timer-text.speed-up {
    animation: speedUpText 0.5s ease-in-out infinite;
    color: var(--warning-color);
}

@keyframes speedUpText {
    0%, 100% { 
        transform: scale(1); 
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    50% { 
        transform: scale(1.05); 
        text-shadow: 0 4px 30px rgba(243, 156, 18, 0.5);
    }
}

.timer-label {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.pomodoro-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    width: clamp(80px, 20vw, 120px);
    height: clamp(80px, 20vw, 120px);
}

.pomodoro-icon.show {
    opacity: 0.3;
    animation: pomodoroPulse 3s ease-in-out infinite;
}

@keyframes pomodoroPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(var(--pomodoro-base-scale, 1)) rotate(0deg);
        filter: blur(0px);
    }
    50% {
        transform: translate(-50%, -50%) scale(calc(var(--pomodoro-base-scale, 1) * 1.1)) rotate(3deg);
        filter: blur(0px);
    }
}

/* Элементы управления */
.timer-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.main-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.control-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 15px;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 48px;
    flex: 1;
    min-width: 100px;
}

/* Убираем сложную анимацию ripple effect для лучшей производительности */

.control-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.start-btn {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    color: white;
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.3);
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
}

.pause-btn {
    background: linear-gradient(135deg, var(--warning-color), #e67e22);
    color: white;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.3);
}

.pause-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
}

.reset-btn {
    background: linear-gradient(135deg, var(--border-color), #34495e);
    color: white;
    box-shadow: 0 5px 20px rgba(52, 73, 94, 0.3);
}

.reset-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 73, 94, 0.4);
}

.skip-btn {
    background: linear-gradient(135deg, var(--long-break-color), #2980b9);
    color: white;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.skip-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

/* Управление скоростью */
.speed-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-hover);
    padding: 12px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    justify-content: center;
}

.speed-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.speed-btn:hover {
    border-color: var(--warning-color);
    color: var(--warning-color);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.speed-btn:active {
    transform: scale(0.95);
}

.speed-display {
    font-size: clamp(1rem, 3vw, 1.1rem);
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 50px;
    text-align: center;
    background: var(--card-bg);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Счетчик помидоров */
.pomodoro-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-hover);
    padding: 12px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    justify-content: center;
}

.pomodoro-dots {
    display: flex;
    gap: 10px;
}

.pomodoro-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pomodoro-dot.completed {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 
        0 0 15px rgba(231, 76, 60, 0.5),
        inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.pomodoro-dot.current {
    background: var(--primary-color);
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 
            0 0 15px rgba(231, 76, 60, 0.5),
            inset 0 2px 5px rgba(0, 0, 0, 0.3);
    }
    50% { 
        opacity: 0.5; 
        box-shadow: 
            0 0 8px rgba(231, 76, 60, 0.3),
            inset 0 2px 5px rgba(0, 0, 0, 0.3);
    }
}

/* Информационные карточки */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}

.info-card.classic::before {
    background: linear-gradient(to bottom, var(--primary-color), var(--break-color));
}

.info-card.extended::before {
    background: linear-gradient(to bottom, var(--break-color), var(--long-break-color));
}

.info-card.focus::before {
    background: linear-gradient(to bottom, var(--long-break-color), var(--primary-color));
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.info-card h2 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.info-card ul {
    list-style: none;
    margin-bottom: 15px;
}

.info-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    line-height: 1.5;
}

.info-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.info-card .highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.info-card p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Секция целей */
.goals-section {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.goals-section h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.goal-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.goal-input {
    flex: 1;
    padding: 14px 18px;
    background: var(--card-hover);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    color: var(--text-color);
    font-size: clamp(1rem, 3vw, 1.1rem);
    transition: all 0.3s ease;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.goal-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 
        0 0 0 3px rgba(46, 204, 113, 0.1),
        0 0 20px rgba(46, 204, 113, 0.1);
}

.goal-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.add-goal-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 48px;
}

.add-goal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
}

.add-goal-btn:active {
    transform: translateY(-1px);
}

.goals-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.goals-list::-webkit-scrollbar {
    width: 6px;
}

.goals-list::-webkit-scrollbar-track {
    background: var(--card-hover);
    border-radius: 3px;
}

.goals-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.goals-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.goal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--card-hover);
    border-radius: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.goal-item:hover {
    transform: translateX(8px);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.goal-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.goal-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: var(--card-bg);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.goal-checkbox:hover {
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.goal-checkbox.checked {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.goal-checkbox.checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.goal-text {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    color: var(--text-color);
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1.4;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

.goal-text:hover {
    color: var(--text-secondary);
}

.goal-text.completed {
    text-decoration: line-through;
    color: var(--text-secondary);
    opacity: 0.7;
}

.delete-goal-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary-color), #c0392b);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.delete-goal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.delete-goal-btn:active {
    transform: scale(0.98);
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    padding: 16px 24px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-100px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.notification.show {
    transform: translateY(0);
}

.notification.success {
    border-left: 5px solid var(--secondary-color);
}

.notification.info {
    border-left: 5px solid var(--long-break-color);
}

.notification.warning {
    border-left: 5px solid var(--warning-color);
}

.notification-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: var(--secondary-color);
}

.notification.info .notification-icon {
    color: var(--long-break-color);
}

.notification.warning .notification-icon {
    color: var(--warning-color);
}

.notification-text {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}

/* Информационная секция о Pomodoro */
.pomodoro-info {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 30px;
    margin-top: 40px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-header {
    text-align: center;
    margin-bottom: 30px;
}

.info-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-block {
    background: var(--card-hover);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.info-block h3 {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block h3 i {
    color: var(--accent-color);
}

.info-block p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.user-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.user-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.user-category i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.user-category span {
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

/* Ценность приложения - улучшенные стили */
.app-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.benefit {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-hover) 100%);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--long-break-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.benefit:hover::before {
    opacity: 1;
}

.benefit i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.benefit div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefit h4 {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.benefit p {
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Примеры использования - улучшенные стили */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.use-case {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--card-hover) 100%);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.use-case::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.use-case:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.use-case:hover::after {
    transform: scaleX(1);
}

.use-case-title {
    font-size: clamp(1.1rem, 3.2vw, 1.4rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.use-case p {
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Адаптивность для блоков ценности и примеров */
@media (max-width: 768px) {
    .app-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit {
        padding: 20px;
    }
    
    .benefit i {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .use-cases {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .use-case {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .app-benefits {
        gap: 15px;
    }
    
    .benefit {
        padding: 18px;
        border-radius: 15px;
    }
    
    .benefit i {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .use-cases {
        gap: 15px;
    }
    
    .use-case {
        padding: 18px;
        border-radius: 15px;
    }
    
    .use-case-title {
        gap: 8px;
        margin-bottom: 10px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .timer-section {
        padding: 25px;
        border-radius: var(--mobile-radius);
    }

    .timer-header {
        margin-bottom: 20px;
    }

    .timer-display {
        gap: 30px;
        margin-bottom: 25px;
    }

    .timer-controls {
        gap: 15px;
        min-width: 100%;
    }

    .main-controls {
        gap: 10px;
    }

    .control-btn {
        padding: 14px 20px;
        min-height: 44px;
    }

    .speed-controls {
        padding: 10px 15px;
        gap: 10px;
    }

    .speed-btn {
        width: 36px;
        height: 36px;
    }

    .pomodoro-counter {
        padding: 10px 15px;
        gap: 10px;
    }

    .pomodoro-dots {
        gap: 8px;
    }

    .pomodoro-dot {
        width: 14px;
        height: 14px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }

    .info-card {
        padding: 20px;
        border-radius: var(--mobile-radius);
    }

    .goals-section {
        padding: 20px;
        border-radius: var(--mobile-radius);
    }

    .goals-section h2 {
        margin-bottom: 15px;
    }

    .goal-form {
        gap: 10px;
        margin-bottom: 15px;
    }

    .goal-input {
        padding: 12px 16px;
    }

    .add-goal-btn {
        padding: 12px 20px;
    }

    .goals-list {
        max-height: 200px;
    }

    .goal-item {
        padding: 12px 16px;
        margin-bottom: 10px;
    }

    .notification {
        top: 15px;
        right: 15px;
        left: 15px;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --mobile-padding: 12px;
        --mobile-radius: 15px;
    }

    .container {
        padding: 12px;
    }

    .timer-section {
        padding: 20px;
    }

    .timer-header h1 {
        font-size: 2rem;
    }

    .timer-circle {
        width: 200px;
        height: 200px;
    }

    .timer-text {
        font-size: 2.8rem;
    }

    .timer-label {
        font-size: 0.9rem;
    }

    .mode-selector {
        gap: 10px;
        margin-bottom: 20px;
    }

    .mode-btn {
        padding: 14px 20px;
        min-width: 100px;
        font-size: 0.85rem;
    }

    .timer-display {
        flex-direction: column;
        gap: 25px;
    }

    .main-controls {
        flex-direction: column;
    }

    .control-btn {
        width: 100%;
        font-size: 0.9rem;
    }

    .speed-controls {
        justify-content: space-between;
    }

    .speed-display {
        min-width: 45px;
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .pomodoro-counter {
        justify-content: space-between;
    }

    .info-card h2 {
        font-size: 1.3rem;
    }

    .info-card li {
        font-size: 0.9rem;
        padding: 6px 0;
        padding-left: 20px;
    }

    .goals-section h2 {
        font-size: 1.4rem;
    }

    .goal-form {
        flex-direction: column;
    }

    .goal-input {
        width: 100%;
    }

    .add-goal-btn {
        width: 100%;
    }

    .goal-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .goal-content {
        width: 100%;
    }

    .delete-goal-btn {
        align-self: flex-end;
    }

    .notification {
        padding: 12px 16px;
    }

    .notification-icon {
        font-size: 1.1rem;
    }

    .notification-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .timer-circle {
        width: 180px;
        height: 180px;
    }

    .timer-text {
        font-size: 2.5rem;
    }

    .timer-bg,
    .timer-progress {
        stroke-width: 8px;
    }

    .pomodoro-icon {
        width: 70px;
        height: 70px;
    }

    .control-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
        min-height: 40px;
    }

    .speed-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .pomodoro-dot {
        width: 12px;
        height: 12px;
    }

    .goal-checkbox {
        width: 20px;
        height: 20px;
    }

    .goal-checkbox.checked::after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 10px;
    }
}