 :root {
            --primary: #D63384;
            --primary-dark: #B52A6F;
            --primary-light: #F8BBD9;
            --primary-gradient: linear-gradient(135deg, #D63384, #E91E63);
            --secondary: #5A5A5A;
            --light-bg: #FDF8F8;
            --text-dark: #2D3748;
            --text-light: #718096;
            --shadow: 0 8px 30px rgba(214, 51, 132, 0.15);
            --border-radius: 20px;
            --success: #48BB78;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #FFF 0%, #FDF8F8 100%);
            color: var(--text-dark);
            line-height: 1.6;
            min-height: 100vh;
        }

        /* Шапка как в чате */
        .header {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 15px 25px;
            margin-bottom: 20px;
            border: 1px solid rgba(214, 51, 132, 0.1);
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            font-size: 1.3rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .logo a {
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .logo i {
            font-size: 1.5rem;
        }

        .nav-links {
            display: flex;
            gap: 25px;
            align-items: center;
        }

        .nav-link {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            padding: 8px 16px;
            border-radius: 12px;
            white-space: nowrap;
        }

        .nav-link:hover {
            color: var(--primary);
            background: rgba(214, 51, 132, 0.05);
        }

        .nav-link.active {
            color: var(--primary);
            background: rgba(214, 51, 132, 0.08);
        }

        .auth-links {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .login-link {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 10px;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .login-link:hover {
            background: rgba(214, 51, 132, 0.05);
            color: var(--primary);
        }

        .register-link {
            background: var(--primary-gradient);
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 10px 20px;
            border-radius: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(214, 51, 132, 0.25);
            font-size: 0.9rem;
            white-space: nowrap;
        }

        .register-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(214, 51, 132, 0.35);
        }

        /* Мобильное меню */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-dark);
            cursor: pointer;
            padding: 5px;
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            z-index: 2000;
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 20px;
            background: linear-gradient(135deg, #D63384 0%, #E91E63 50%, #9C27B0 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .mobile-menu-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
        }

        .mobile-menu-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            font-size: 1.3rem;
            color: white;
            position: relative;
            z-index: 1;
        }

        .mobile-menu-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            font-size: 1.5rem;
            color: white;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .mobile-menu-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .mobile-menu-content {
            flex: 1;
            padding: 20px;
            background: white;
        }

        .mobile-menu-section {
            margin-bottom: 30px;
        }

        .mobile-menu-section-title {
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--text-dark);
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-light);
        }

        .mobile-menu-section-title::before {
            content: '';
            width: 4px;
            height: 20px;
            background: var(--primary-gradient);
            border-radius: 2px;
        }

        .mobile-menu-link {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            color: var(--text-dark);
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
            background: white;
            width: 100%;
            text-align: left;
            font-size: 1rem;
            border-radius: 12px;
            margin-bottom: 8px;
            border: 1px solid #f0f0f0;
            position: relative;
            overflow: hidden;
        }

        .mobile-menu-link::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 0;
            background: var(--primary-gradient);
            transition: width 0.3s ease;
            z-index: 0;
        }

        .mobile-menu-link:hover {
            transform: translateX(5px);
            border-color: var(--primary-light);
            box-shadow: 0 4px 15px rgba(214, 51, 132, 0.1);
        }

        .mobile-menu-link:hover::before {
            width: 4px;
        }

        .mobile-menu-link.active {
            background: linear-gradient(135deg, rgba(214, 51, 132, 0.05) 0%, rgba(233, 30, 99, 0.05) 100%);
            border-color: var(--primary);
            color: var(--primary);
            font-weight: 600;
        }

        .mobile-menu-link.active::before {
            width: 4px;
        }

        .mobile-menu-link i {
            width: 20px;
            text-align: center;
            position: relative;
            z-index: 1;
            color: var(--primary);
        }

        .mobile-menu-link span {
            position: relative;
            z-index: 1;
        }

        .mobile-menu-link.active i {
            color: var(--primary);
        }

        /* Основной контент */
        .main-content {
            max-width: 1400px;
            margin: 0 auto 40px;
            padding: 0 20px;
        }

        /* Герой секция с формой */
        .hero-section {
            text-align: center;
            padding: 60px 40px;
            background: linear-gradient(135deg, #FFF 0%, #FDF8F8 100%);
            border-radius: var(--border-radius);
            margin-bottom: 40px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 1px solid rgba(214, 51, 132, 0.1);
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(214, 51, 132, 0.05) 0%, transparent 70%);
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 1400px;
            margin: 0 auto;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 20px;
            background: linear-gradient(135deg, #D63384, #E91E63, #9C27B0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: var(--text-light);
            margin-bottom: 40px;
            font-weight: 400;
        }

        /* Форма внутри героя */
        .generator-form {
            background: white;
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(214, 51, 132, 0.1);
            margin-bottom: 30px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-dark);
            font-size: 1.1rem;
        }

        .form-hint {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-top: 5px;
        }

        .prompt-input {
            width: 100%;
            min-height: 140px;
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid #e2e8f0;
            border-radius: 16px;
            padding: 20px;
            color: var(--text-dark);
            font-size: 1rem;
            resize: vertical;
            transition: all 0.3s ease;
            font-family: inherit;
            line-height: 1.5;
        }

        .prompt-input:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.1);
        }

        .prompt-input::placeholder {
            color: #a0aec0;
            font-style: italic;
        }

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

        .control-group {
            display: flex;
            flex-direction: column;
        }

        /* Ползунок длины рассказа */
        .slider-container {
            margin-top: 10px;
        }

        .slider-wrapper {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .length-slider {
            flex: 1;
            -webkit-appearance: none;
            height: 8px;
            border-radius: 5px;
            background: #e2e8f0;
            outline: none;
        }

        .length-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(214, 51, 132, 0.3);
        }

        .length-slider::-moz-range-thumb {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(214, 51, 132, 0.3);
            border: none;
        }

        .length-value {
            font-weight: 600;
            color: var(--primary);
            min-width: 80px;
            text-align: center;
        }

        /* Стили для рассказов */
        .style-container {
            margin-top: 8px;
        }

        .style-select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            background: white;
            color: var(--text-dark);
            font-size: 1rem;
            transition: all 0.3s ease;
            cursor: pointer;
            display: none;
        }

        .style-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.1);
        }

        .style-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 8px;
        }

        .style-tag {
            padding: 10px 14px;
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--text-dark);
            white-space: nowrap;
        }

        .style-tag:hover {
            background: white;
            border-color: var(--primary-light);
            transform: translateY(-1px);
        }

        .style-tag.active {
            background: var(--primary-gradient);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
        }

        .style-tag.locked {
            opacity: 0.5;
            cursor: not-allowed;
            position: relative;
        }

        .style-tag.locked::after {
            content: '🔒';
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Переключатель аудио */
        .audio-toggle-compact {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: white;
            padding: 15px 20px;
            border-radius: 12px;
            border: 2px solid #e2e8f0;
            transition: all 0.3s ease;
            cursor: pointer;
            margin-top: 20px;
        }

        .audio-toggle-compact:hover {
            border-color: var(--primary-light);
        }

        .audio-toggle-compact.active {
            border-color: var(--primary);
            background: rgba(214, 51, 132, 0.05);
        }

        .audio-toggle-compact.locked {
            opacity: 0.7;
            cursor: not-allowed;
            position: relative;
        }

        .audio-toggle-compact.locked::after {
            content: '🔒';
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .audio-toggle-label {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
        }

        .audio-toggle-icon {
            font-size: 1.2rem;
            color: var(--primary);
        }

        .audio-toggle-switch {
            position: relative;
            width: 50px;
            height: 26px;
            background: #e2e8f0;
            border-radius: 13px;
            transition: all 0.3s ease;
        }

        .audio-toggle-switch::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            top: 3px;
            left: 3px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .audio-toggle-compact.active .audio-toggle-switch {
            background: var(--primary);
        }

        .audio-toggle-compact.active .audio-toggle-switch::after {
            transform: translateX(24px);
        }

        /* Выбор голоса */
        .voice-selection-wrapper {
            margin-top: 15px;
            transition: all 0.3s ease;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
        }

        .voice-selection-wrapper.show {
            max-height: 160px;
            opacity: 1;
        }

        .voice-options-row {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-bottom: 10px;
        }

        .voice-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px;
            background: white;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .voice-btn:hover {
            border-color: var(--primary-light);
        }

        .voice-btn.active {
            border-color: var(--primary);
            background: rgba(214, 51, 132, 0.05);
            color: var(--primary);
        }

        .preview-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            background: rgba(214, 51, 132, 0.1);
            border: 1px solid rgba(214, 51, 132, 0.2);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--primary);
            white-space: nowrap;
        }

        .preview-toggle:hover {
            background: rgba(214, 51, 132, 0.15);
        }

        .preview-toggle.active {
            background: var(--primary);
            color: white;
        }

        .generate-btn {
            width: 100%;
            background: var(--primary-gradient);
            color: white;
            border: none;
            padding: 20px;
            border-radius: 16px;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            box-shadow: 0 8px 25px rgba(214, 51, 132, 0.3);
            margin-top: 10px;
        }

        .generate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(214, 51, 132, 0.4);
        }

        .input-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 15px;
            font-size: 0.85rem;
            color: var(--text-light);
        }

        .char-counter {
            font-weight: 600;
        }

        .char-counter.warning {
            color: #e53e3e;
        }

        /* Категории */
        .categories-section {
            margin-top: 25px;
            padding: 20px;
            background: rgba(214, 51, 132, 0.03);
            border-radius: 12px;
            border: 1px solid rgba(214, 51, 132, 0.1);
        }

        .categories-title {
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-dark);
        }

        .categories-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            max-height: 150px;
            overflow-y: auto;
            padding: 10px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 8px;
        }

        .category-btn {
            padding: 10px 16px;
            background: rgba(255, 255, 255, 0.8);
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--text-dark);
            white-space: nowrap;
        }

        .category-btn:hover {
            background: white;
            border-color: var(--primary-light);
            transform: translateY(-1px);
        }

        .category-btn.active {
            background: var(--primary-gradient);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
        }

        .cta-features {
            display: flex;
            justify-content: center;
            gap: 30px;
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 20px;
        }

        .cta-feature {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Преимущества */
        .benefits-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 60px;
        }

        .benefit-card {
            background: white;
            padding: 30px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid rgba(214, 51, 132, 0.1);
        }

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

        .benefit-icon {
            width: 70px;
            height: 70px;
            background: var(--primary-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 1.8rem;
            color: white;
        }

        .benefit-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text-dark);
        }

        .benefit-description {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Примеры аудио */
        .audio-examples-section {
            background: white;
            border-radius: var(--border-radius);
            padding: 50px 40px;
            box-shadow: var(--shadow);
            margin-bottom: 60px;
            border: 1px solid rgba(214, 51, 132, 0.1);
        }

        .section-title {
            text-align: center;
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text-dark);
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: var(--text-light);
            margin-bottom: 40px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

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

        .audio-example-card {
            background: var(--light-bg);
            padding: 25px;
            border-radius: 16px;
            border-left: 4px solid var(--primary);
        }

        .audio-example-title {
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .audio-example-title i {
            color: var(--primary);
        }

        .audio-example-text {
            color: var(--text-light);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .audio-player {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }

        .play-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .play-btn:hover {
            background: var(--primary-dark);
            transform: scale(1.05);
        }

        .play-btn.playing {
            background: var(--success);
        }

        .audio-progress {
            flex: 1;
            height: 6px;
            background: #e2e8f0;
            border-radius: 3px;
            overflow: hidden;
            position: relative;
        }

        .audio-progress-bar {
            height: 100%;
            background: var(--primary);
            width: 0%;
            transition: width 0.1s linear;
        }

        .audio-time {
            font-size: 0.8rem;
            color: var(--text-light);
            min-width: 80px;
            text-align: right;
        }

        .voice-type {
            display: inline-block;
            padding: 4px 8px;
            background: rgba(214, 51, 132, 0.1);
            color: var(--primary);
            border-radius: 12px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-left: 10px;
        }

        /* Статистика */
        .stats-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 60px;
        }

        .stat-card {
            background: white;
            padding: 30px 20px;
            border-radius: var(--border-radius);
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid rgba(214, 51, 132, 0.1);
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .stat-label {
            color: var(--text-light);
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Футер */
        .footer {
            background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%);
            color: white;
            padding: 50px 20px 30px;
            margin-top: 60px;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 30px;
        }

        .footer-section h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: white;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #CBD5E0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #4A5568;
            color: #CBD5E0;
            font-size: 0.9rem;
        }

        /* Адаптивность */
        @media (max-width: 910px) {
            .nav-links, .auth-links {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .header {
                padding: 12px 20px;
            }

            .header-content {
                flex-direction: row;
                justify-content: space-between;
                gap: 0;
            }

            .logo {
                font-size: 1.2rem;
            }

            .logo i {
                font-size: 1.3rem;
            }

            .hero-title {
                font-size: 2.2rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
            }

            .hero-section {
                padding: 40px 20px;
            }

            .generator-form {
                padding: 25px 20px;
            }

            .controls-grid {
                grid-template-columns: 1fr;
            }

            .style-tags {
                justify-content: center;
            }

            .cta-features {
                flex-direction: column;
                gap: 15px;
            }

            .benefits-section {
                grid-template-columns: 1fr;
            }

            .audio-examples-grid {
                grid-template-columns: 1fr;
            }

            .stats-section {
                grid-template-columns: repeat(2, 1fr);
            }

            .voice-options-row {
                flex-direction: row;
                align-items: center;
            }

            .voice-btn {
                flex: 1;
                min-width: 0;
            }

            .preview-toggle {
                width: auto;
                min-width: 80px;
                justify-content: center;
            }

            .voice-selection-wrapper.show {
                max-height: 160px;
            }

            .audio-toggle-switch {
                width: 52px;
                height: 20px;
            }

            .audio-toggle-switch::after {
                width: 16px !important;
                height: 16px !important;
                top: 2px !important;
                left: 2px !important;
            }

            .audio-toggle-compact.active .audio-toggle-switch::after {
                transform: translateX(20px);
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 1.8rem;
            }

            .stats-section {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .style-tag {
                padding: 8px 12px;
                font-size: 0.8rem;
            }
        }

/* Дополнительные стили для хедера */
.profile-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.profile-link:hover {
    background: rgba(214, 51, 132, 0.05);
    color: var(--primary);
}

.logout-icon {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.logout-icon:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    transform: scale(1.1);
}
