/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Скрытие стандартного скроллбара */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none; /* Chrome, Safari, Opera */
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: #0f0f23;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Анимированный фон северного сияния */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(120, 219, 226, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 0%, rgba(135, 206, 235, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(221, 160, 221, 0.3) 0%, transparent 50%),
        linear-gradient(135deg,
            rgba(25, 25, 112, 0.1) 0%,
            rgba(72, 61, 139, 0.1) 25%,
            rgba(123, 104, 238, 0.1) 50%,
            rgba(147, 112, 219, 0.1) 75%,
            rgba(186, 85, 211, 0.1) 100%
        );
    z-index: -2;
    animation: aurora 20s ease-in-out infinite;
}

/* Дополнительный слой для более сложного эффекта */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 60% 30%, rgba(138, 43, 226, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 70%, rgba(75, 0, 130, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 60%, rgba(106, 90, 205, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 90%, rgba(72, 209, 204, 0.2) 0%, transparent 60%);
    z-index: -1;
    animation: aurora-secondary 25s ease-in-out infinite reverse;
}

@keyframes aurora {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(0px) rotate(0deg) scale(1);
        filter: hue-rotate(0deg);
    }
    25% {
        opacity: 0.9;
        transform: translateY(-10px) rotate(1deg) scale(1.02);
        filter: hue-rotate(90deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) rotate(-1deg) scale(0.98);
        filter: hue-rotate(180deg);
    }
    75% {
        opacity: 0.9;
        transform: translateY(-15px) rotate(0.5deg) scale(1.01);
        filter: hue-rotate(270deg);
    }
}

@keyframes aurora-secondary {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0px) scale(1);
        filter: hue-rotate(0deg) brightness(1);
    }
    33% {
        opacity: 0.7;
        transform: translateX(10px) scale(1.05);
        filter: hue-rotate(120deg) brightness(1.1);
    }
    66% {
        opacity: 0.6;
        transform: translateX(-5px) scale(0.95);
        filter: hue-rotate(240deg) brightness(0.9);
    }
}

/* Дополнительные мерцающие точки */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    z-index: -1;
    animation: sparkle 15s linear infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Заголовок */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(186, 85, 211, 0.4));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 25px rgba(186, 85, 211, 0.6));
}

header h1 {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

header::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    margin: 20px auto;
    border-radius: 2px;
}

/* Навигация */
.main-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 16px 32px;
    border: none;
    background: rgba(138, 43, 226, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(186, 85, 211, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(186, 85, 211, 0.3), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    background: rgba(147, 112, 219, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    border-color: rgba(186, 85, 211, 0.5);
}

.nav-btn.active {
    background: rgba(186, 85, 211, 0.8);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
    border-color: rgba(221, 160, 221, 0.6);
}

/* Секции */
.section {
    display: none;
    background: rgba(15, 15, 35, 0.85);
    backdrop-filter: blur(25px);
    padding: 40px;
    border-radius: 24px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(186, 85, 211, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    border: 2px solid rgba(186, 85, 211, 0.4);
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(138, 43, 226, 0.05) 0%,
        rgba(75, 0, 130, 0.05) 50%,
        rgba(25, 25, 112, 0.05) 100%);
    border-radius: 22px;
    z-index: -1;
}

.section.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h2 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 2px 10px rgba(138, 43, 226, 0.3);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ba55d3, #9370db);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(186, 85, 211, 0.4);
}

/* Форма */
.meeting-form {
    max-width: 900px;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    position: relative;
    text-shadow: 0 1px 3px rgba(138, 43, 226, 0.3);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(186, 85, 211, 0.5);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    color: #2d3748;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(45, 55, 72, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(186, 85, 211, 0.8);
    box-shadow:
        0 0 0 4px rgba(138, 43, 226, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(186, 85, 211, 0.6);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-group input[type="datetime-local"],
.form-group input[type="date"] {
    color: #4a5568;
}

/* Динамические поля */
.dynamic-fields {
    margin-bottom: 16px;
}

.field-row,
.contact-row,
.result-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

.contact-row input {
    flex: 1;
}

.result-row textarea {
    flex: 2;
}

.result-row input[type="date"] {
    flex: 1;
    min-width: 180px;
}

.field-row input,
.field-row textarea {
    flex: 1;
}

.remove-field {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.remove-field:hover {
    background: linear-gradient(135deg, #ee5a52, #ff6b6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.remove-field:active {
    transform: translateY(0);
}

.add-field {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.add-field:hover {
    background: linear-gradient(135deg, #44a08d, #4ecdc4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.add-field:active {
    transform: translateY(0);
}

/* Кнопки форм */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-export {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.btn-primary {
    background: linear-gradient(135deg, #9370db, #ba55d3);
    color: white;
    box-shadow: 0 8px 25px rgba(147, 112, 219, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ba55d3, #9370db);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(186, 85, 211, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #708090, #696969);
    color: white;
    box-shadow: 0 8px 25px rgba(112, 128, 144, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #696969, #708090);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(112, 128, 144, 0.4);
}

.btn-export {
    background: linear-gradient(135deg, #48cae4, #0077b6);
    color: white;
    box-shadow: 0 8px 25px rgba(72, 202, 228, 0.3);
}

.btn-export:hover {
    background: linear-gradient(135deg, #0077b6, #48cae4);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(72, 202, 228, 0.4);
}

.btn-primary:active,
.btn-secondary:active,
.btn-export:active {
    transform: translateY(-1px);
}

/* История встреч */
.meeting-list {
    display: grid;
    gap: 20px;
}

.meeting-item {
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(186, 85, 211, 0.3);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.meeting-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(186, 85, 211, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(186, 85, 211, 0.5);
    background: rgba(255, 255, 255, 0.98);
}

.meeting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.meeting-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.meeting-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.meeting-summary {
    color: #666;
    margin-bottom: 15px;
}

.meeting-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-edit {
    background: #3498db;
    color: white;
}

.btn-edit:hover {
    background: #2980b9;
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.btn-delete:hover {
    background: #c0392b;
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(25, 25, 112, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(186, 85, 211, 0.2);
}

.empty-state p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Предварительный просмотр протокола */
.protocol-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border: 2px solid rgba(186, 85, 211, 0.3);
    border-radius: 16px;
    margin-bottom: 30px;
    font-family: 'Times New Roman', serif;
    line-height: 1.8;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #2d3748;
}

.protocol-content h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.protocol-content h4 {
    color: #4a5568;
    margin: 20px 0 12px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.protocol-content ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

.protocol-content li {
    margin-bottom: 8px;
    color: #2d3748;
}

.preview-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.export-buttons {
    display: flex;
    gap: 10px;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

/* Модальное окно конфиденциальности */
.privacy-modal {
    z-index: 2000;
    background-color: transparent;
    backdrop-filter: none;
}

.privacy-content {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(186, 85, 211, 0.4);
    color: rgba(255, 255, 255, 0.95);
    max-width: 400px;
    text-align: left;
    position: fixed;
    top: 20px;
    right: 20px;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: slideInFromRight 0.5s ease-out;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.privacy-content h3 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
    text-shadow: 0 2px 10px rgba(138, 43, 226, 0.3);
}

.privacy-text {
    margin-bottom: 25px;
}

.privacy-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.6;
}

.privacy-text ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.privacy-text li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.privacy-note {
    background: rgba(138, 43, 226, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid rgba(186, 85, 211, 0.6);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
}

.privacy-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}


/* Адаптивность */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 16px;
    }
    
    .section {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    header {
        padding: 20px 0;
        margin-bottom: 30px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        height: 60px;
    }

    .main-nav {
        gap: 6px;
        margin-bottom: 30px;
    }

    .nav-btn {
        padding: 14px 24px;
        font-size: 15px;
        min-width: 120px;
    }

    .section {
        padding: 24px;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 24px;
    }

    .field-row,
    .contact-row,
    .result-row {
        flex-direction: column;
        gap: 8px;
        position: relative;
    }

    .remove-field {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .form-actions,
    .preview-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-export {
        padding: 14px 24px;
        min-width: auto;
        width: 100%;
    }

    .export-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .meeting-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .meeting-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 20px;
        border-radius: 16px;
    }

    .protocol-content {
        padding: 20px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }

    header {
        padding: 16px 0;
        margin-bottom: 24px;
    }

    .logo {
        height: 50px;
    }

    .main-nav {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .nav-btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .section {
        padding: 20px;
        border-radius: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }

    .meeting-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn-small {
        width: 100%;
        padding: 12px;
        font-size: 14px;
    }

    .meeting-item {
        padding: 16px;
    }

    .meeting-title {
        font-size: 1.1rem;
    }

    .modal-content {
        margin: 2% auto;
        width: 98%;
        padding: 16px;
        max-height: 95vh;
    }

}

/* Дополнительные медиа-запросы для очень маленьких экранов */
@media (max-width: 320px) {
    .container {
        padding: 4px;
    }
    
    .section {
        padding: 16px;
    }
    
    .nav-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Стили для слайдера прокрутки */
.scroll-slider {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40vh;
    max-height: 300px;
    min-height: 150px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.scroll-slider:hover {
    width: 10px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 8px;
}

.slider-thumb {
    position: absolute;
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, #9370db, #ba55d3);
    border-radius: 8px;
    top: 0;
    cursor: grab;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(147, 112, 219, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-thumb:hover {
    background: linear-gradient(135deg, #ba55d3, #9370db);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(186, 85, 211, 0.5);
}

.slider-thumb:active {
    cursor: grabbing;
    background: linear-gradient(135deg, #8a2be2, #9370db);
    transform: scale(0.98);
}

/* Адаптивность для слайдера */
@media (max-width: 768px) {
    .scroll-slider {
        right: 12px;
        width: 5px;
        height: 35vh;
        max-height: 250px;
    }
    
    .scroll-slider:hover {
        width: 8px;
    }
    
    .slider-thumb {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .scroll-slider {
        right: 8px;
        width: 4px;
        height: 30vh;
        max-height: 200px;
        min-height: 120px;
    }
    
    .scroll-slider:hover {
        width: 6px;
    }
    
    .slider-thumb {
        height: 25px;
    }
}

@media (max-width: 320px) {
    .scroll-slider {
        right: 4px;
        width: 3px;
        height: 25vh;
        max-height: 150px;
    }
    
    .scroll-slider:hover {
        width: 5px;
    }
    
    .slider-thumb {
        height: 20px;
    }
}

/* Стили для кнопки с котиком-GIF */
.cat-gif-button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    outline: none;
}

.cat-gif-button.idle {
    background-image: url('./chill.gif');
}

.cat-gif-button.typing {
    background-image: url('./type.gif');
    animation: catButtonBounce 0.5s ease-in-out infinite alternate;
}

@keyframes catButtonBounce {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.cat-gif-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.cat-gif-button:active {
    transform: translateY(0);
}

/* Адаптивность для кнопки с котиком */
@media (max-width: 768px) {
    .cat-gif-button {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .cat-gif-button {
        width: 32px;
        height: 32px;
    }
}

/* Футер */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    background: rgba(15, 15, 35, 0.85);
    backdrop-filter: blur(25px);
    border-radius: 24px 24px 0 0;
    border: 2px solid rgba(186, 85, 211, 0.4);
    border-bottom: none;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(138, 43, 226, 0.05) 0%,
        rgba(75, 0, 130, 0.05) 50%,
        rgba(25, 25, 112, 0.05) 100%);
    border-radius: 22px 22px 0 0;
    z-index: -1;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer {
        padding: 20px 16px;
        margin-top: 30px;
        border-radius: 16px 16px 0 0;
    }
    
    .footer p {
        font-size: 13px;
    }
}

/* Адаптивность для модального окна конфиденциальности */
@media (max-width: 768px) {
    .privacy-content {
        max-width: 350px;
        top: 15px;
        right: 15px;
        padding: 20px;
    }
    
    .privacy-content h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .privacy-text p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .privacy-text li {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .privacy-note {
        padding: 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .privacy-content {
        max-width: 300px;
        top: 10px;
        right: 10px;
        padding: 16px;
        border-radius: 12px;
    }
    
    .privacy-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .privacy-text p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .privacy-text li {
        font-size: 12px;
        margin-bottom: 6px;
        padding-left: 20px;
    }
    
    .privacy-note {
        padding: 10px;
        font-size: 11px;
        margin-top: 12px;
    }
    
    .privacy-actions .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .privacy-content {
        max-width: 280px;
        top: 8px;
        right: 8px;
        padding: 12px;
    }
    
    .privacy-content h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .privacy-text p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .privacy-text li {
        font-size: 11px;
        margin-bottom: 5px;
        padding-left: 18px;
    }
    
    .privacy-note {
        padding: 8px;
        font-size: 10px;
        margin-top: 10px;
    }
    
    .privacy-actions .btn-primary {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 16px 12px;
        margin-top: 24px;
        border-radius: 12px 12px 0 0;
    }
    
    .footer p {
        font-size: 12px;
    }
}