
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.bg-gradient-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}



.modern-filter-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    border: none;
}

.filter-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.filter-title {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.filter-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

.filter-field-label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.filter-field {
    border: none;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease;
}

.filter-field:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}

.modern-search-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    border: none;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.modern-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
    background: linear-gradient(45deg, #ff5252, #e53935);
    color: white;
}

@media (max-width: 768px) {
    .modern-filter-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .filter-title {
        font-size: 1.3rem;
    }
}
.city-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}
.city-card.hidden {
    display: none !important;
}
.cities-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.cities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.8)" points="0,0 1000,1000 0,1000"/></svg>');
    background-size: cover;
    opacity: 0.5;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

.city-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-card:hover {
    transform: translateY(-5px);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.city-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    color: #667eea;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.city-card:hover .city-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: scale(1.1);
}

.card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.city-card:hover .card {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(102, 126, 234, 0.2);
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
}

.search-box .form-control {
    padding-left: 45px;
    border-radius: 25px;
    border: 2px solid #e2e8f0;
    background: white;
    transition: all 0.3s ease;
}

.search-box .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.city-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.city-card:nth-child(1) { animation-delay: 0.1s; }
.city-card:nth-child(2) { animation-delay: 0.2s; }
.city-card:nth-child(3) { animation-delay: 0.3s; }
.city-card:nth-child(4) { animation-delay: 0.4s; }
.city-card:nth-child(5) { animation-delay: 0.5s; }
.city-card:nth-child(6) { animation-delay: 0.6s; }

/* Адаптивность */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.8rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .card-body {
        padding: 1.5rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .city-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
.chat-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.message-bubble {
    position: relative;
    transition: all 0.3s ease;
}

.message-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-label {
    display: block;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-label:hover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.rounded-top-4 {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

/* Скрываем скроллбар но оставляем функциональность */
.chat-container::-webkit-scrollbar {
    width: 6px;
}

.chat-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .message-bubble {
        max-width: 85% !important;
    }

    .chat-container {
        max-height: 300px;
    }
}

.bg-gradient-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.category-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-8px);
}

.shadow-hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover .shadow-hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}



.category-card:hover .icon-wrapper {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scale(1.1) rotate(5deg);
}

.text-gradient-category {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.category-card:hover .text-gradient-category {
    -webkit-text-fill-color: white;
}

.card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.category-card:hover .card {
    background: rgba(255, 255, 255, 1);
}

.badge {
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 1;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

/* Адаптивность */
@media (max-width: 768px) {
    .display-6 {
        font-size: 1.8rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }

    .card-body {
        padding: 1.5rem 1rem !important;
    }

}

/* Modern Header */
.modern-header {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-100);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-badge:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    display: block;
}

.stat-label {
    color: var(--dark-color);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Swiper Container */
.modern-container {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

/* Swiper Styles */
.swiper {
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    background: white;
    height: auto;
    min-height: 80vh;
}

/* Photo Container */
.photo-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.photo-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    z-index: 1;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.swiper-slide:hover .photo-container img {
    transform: scale(1.03);
}

/* Profile Badges */
.profile-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.profile-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.profile-badge i {
    font-size: 0.875rem;
}

.badge-verified {
    background: linear-gradient(135deg, var(--success-color), #34d399);
    color: white;
}

.badge-online {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.badge-premium {
    background: linear-gradient(135deg, var(--warning-color), #fbbf24);
    color: white;
}

/* Like Button */
.like-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, white, var(--gray-100));
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.like-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.3);
}

.like-btn.liked {
    background: linear-gradient(135deg, #ff3366, #ff6699);
    color: white;
}

.like-btn.liked i {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.like-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.4);
}

/* Profile Info Overlay */
.profile-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-details {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.profile-details i {
    margin-right: 4px;
}

/* Form Container */
.form-container {
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1%, transparent 1%);
    background-size: 20px 20px;
    opacity: 0.1;
}

.form-input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    background: white;
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: var(--gray-300);
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent-color), #f472b6);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 16px;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    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;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}

.submit-btn:hover::after {
    left: 100%;
}

/* Swiper Navigation */
/*.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
}*/

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1rem;
    font-weight: 700;
}

/*.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}*/

.swiper-button-next {
    right: 15px;
}

.swiper-button-prev {
    left: 15px;
}

/* Info Section */
.info-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-top: 30px;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 25px;
    border-radius: var(--border-radius-sm);
    background: white;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-300);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* How it works */
.how-it-works {
    background: linear-gradient(135deg, var(--gray-100), white);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 40px;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h6 {
    font-weight: 600;
    margin-bottom: 4px;
}

.step-content small {
    color: var(--gray-300);
}

/* Mobile Bottom Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid var(--gray-100);
    padding: 10px 0;
    display: none;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: var(--gray-300);
    transition: var(--transition);
    padding: 8px 0;
    width: 100%;
}

.nav-btn.active {
    color: var(--primary-color);
}

.nav-btn i {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.nav-btn span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .swiper {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .photo-container {
        height: 350px;
    }

    .form-container {
        padding: 25px;
    }

    .info-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .modern-header {
        padding: 1.5rem;
    }

    .photo-container {
        height: 300px;
    }

    .profile-name {
        font-size: 1.25rem;
    }

    .profile-details {
        font-size: 0.85rem;
    }

    .like-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        bottom: 15px;
        right: 15px;
    }

    .like-count {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -6px;
        right: -6px;
    }

    .form-container {
        padding: 20px;
    }

    .form-input {
        padding: 12px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 14px;
        font-size: 0.95rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .info-section {
        padding: 25px;
        margin-top: 25px;
    }

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

    .mobile-nav {
        display: block;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 576px) {
    .modern-header {
        padding: 1.25rem;
    }

    .photo-container {
        height: 250px;
    }

    .profile-badges {
        top: 15px;
        left: 15px;
    }

    .profile-badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .profile-info-overlay {
        padding: 15px;
    }

    .profile-name {
        font-size: 1.1rem;
    }

    .profile-details {
        gap: 10px;
        font-size: 0.8rem;
    }

    .like-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .form-container {
        padding: 15px;
    }

    .form-input {
        padding: 10px;
        margin-bottom: 10px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 0.9rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 0.875rem;
    }

    .info-section {
        padding: 20px;
        margin-top: 20px;
    }

    .feature-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .how-it-works {
        padding: 20px;
    }

    .step-card {
        padding: 15px;
    }

    .nav-btn i {
        font-size: 1.1rem;
    }

    .nav-btn span {
        font-size: 0.7rem;
    }
}

@media (max-width: 375px) {
    .photo-container {
        height: 220px;
    }

    .modern-header h1 {
        font-size: 1.75rem;
    }

    .stat-badge {
        padding: 8px;
    }

    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 1rem;
    }
}

/* Utility Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--accent-color), #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}









.modern-interests-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.interest-chip {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 0.5rem;
    border-radius: 20px;
    font-size: 0.700rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.interest-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.modern-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
}

.avatar-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.online-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    background: #22c55e;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.btn-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.description-text {
    line-height: 1.7;
    color: #4b5563;
    font-size: 1.05rem;
}

.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.interest-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.action-btn {
    padding: 1rem 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.photo-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

/* Стили для секции отзывов */
.rating-overview {
    padding: 2rem;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 20px;
}

.rating-score {
    font-size: 3rem;
    font-weight: bold;
    color: #f59e0b;
    line-height: 1;
}

.rating-stars {
    color: #fbbf24;
    margin: 0.5rem 0;
}

.rating-count {
    color: #6b7280;
    font-size: 0.875rem;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.rating-progress {
    height: 100%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 4px;
}

.rating-percent {
    font-size: 0.875rem;
    color: #6b7280;
    min-width: 40px;
}

.review-item {
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    background: white;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

.review-verified {
    margin-left: 1rem;
    font-size: 0.75rem;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
}

.review-content {
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
}

.review-actions {
    display: flex;
    gap: 0.5rem;
}

.empty-state {
    padding: 3rem 1rem;
}

/* Исправления для модальных окон */
.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-header {
        flex-direction: column;
        gap: 1rem;
    }

    .avatar-img {
        width: 300px;
        height: 300px;
    }

    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.zodiac-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.zodiac-card:hover .zodiac-icon {
    transform: scale(1.1) rotate(5deg);
}



.minimal-nav-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.minimal-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.minimal-nav-btn:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
    text-decoration: none;
}

@media (max-width: 768px) {
    .minimal-nav-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .minimal-nav-btn {
        justify-content: center;
        padding: 0.875rem 1rem;
    }
}


.photo-required-alert,
.description-required-alert {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffd43b;
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 212, 59, 0.2);
}

.photo-required-alert {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: #ffd43b;
}

.description-required-alert {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border-color: #0dcaf0;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.alert-icon {
    color: #e67700;
    flex-shrink: 0;
}

.description-required-alert .alert-icon {
    color: #0dcaf0;
}

.alert-text {
    flex: 1;
}

.alert-text h5 {
    color: #856404;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.description-required-alert .alert-text h5 {
    color: #055160;
}

.alert-text p {
    color: #666;
    margin-bottom: 0.25rem;
}

.alert-text small {
    color: #888;
    font-style: italic;
}

.alert-actions {
    flex-shrink: 0;
}

.btn-edit-advertisement {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.btn-edit-advertisement:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.publish-btn {
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.publish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(25, 135, 84, 0.4);
    background: #198754;
}

/* Адаптивность */
@media (max-width: 768px) {
    .alert-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .alert-actions {
        width: 100%;
    }

    .btn-edit-advertisement {
        width: 100%;
    }
}

/*кнопки объявлений и лайков*/
.modern-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.image-container {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    color: #9e9e9e;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.favorite-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    border-color: #ff4757;
    color: #ff4757;
    background: rgba(255,255,255,0.95);
}

.favorite-btn.active {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    border-color: #ff4757;
    color: white;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.favorite-btn.active:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.5);
    background: linear-gradient(135deg, #ff3742, #ff2a35);
}

.favorite-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.favorite-btn:hover i {
    transform: scale(1.1);
}

.favorite-btn.active i {
    transform: scale(1.1);
}

/* Анимация пульсации при клике */
.favorite-btn:active {
    transform: scale(0.95);
}

/* Эффект ripple */
.favorite-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.favorite-btn:active::after {
    width: 100%;
    height: 100%;
}

/* Микро-анимация для иконки */
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.favorite-btn.active i {
    animation: heartBeat 0.4s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .favorite-btn {
        width: 40px;
        height: 40px;
    }

    .favorite-btn i {
        font-size: 16px;
    }
}

.card-body {
    border-radius: 0 0 16px 16px;
    /*background: white;*/
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2, #667eea);
}
/*кнопки объявлений и лайков*/

.alert-modern {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 320px;
    max-width: 400px;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease-out;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.alert-success-modern {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.alert-error-modern {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.alert-content {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
}

.alert-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.alert-close {
    background: none;
    border: none;
    color: currentColor;
    cursor: pointer;
    opacity: 0.7;
    padding: 4px;
    border-radius: 4px;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Автоматическое скрытие через 5 секунд */
.alert-modern {
    animation: slideInRight 0.3s ease-out, slideOutRight 0.3s ease-in 4.7s forwards;
}

@keyframes slideOutRight {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}


.parallax-section {
    background-image: url('https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?auto=format&fit=crop&w=1600&q=80');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding: 4rem 1rem;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* затемнение */
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll; /* отключаем fixed на мобилках */
    }
}



.file-upload-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.file-upload-label {
    display: block;
    padding: 3rem;
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-label:hover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.file-upload-design i {
    transition: transform 0.3s;
}

.file-upload-label:hover .file-upload-design i {
    transform: translateY(-5px);
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.form-control, .form-select {
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-custom {
    background: linear-gradient(135deg, #6610f2, #6f42c1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2)
}
.swiper {
    width: 100%;
    max-width: 800px;
}

.like-btn {
    font-size: 1.2rem;
    border-radius: 999px;
}

.like-btn i.bi-heart-fill {
    color: red;
}
.modern-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #fff;
}

.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.image-container {
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.image-container img {
    height: 220px;
    width: 100%;
    transition: transform 0.3s ease;
}

.modern-card:hover .image-container img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 50%);
    opacity: 0.8;
}

.info-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    background: #f8f9fa;
    color: #374151;
    transition: all 0.2s ease;
}

.age-tag {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.gender-tag {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: white;
    border: none;
}

.looking-tag {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    color: white;
    border: none;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.object-fit-cover {
    object-fit: cover;
}

/* Адаптивность */
@media (max-width: 768px) {
    .modern-card {
        border-radius: 12px;
    }

    .image-container img {
        height: 180px;
    }

    .info-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modern-card {
    animation: fadeIn 0.5s ease;
}


.bg-purple {
    background-color: #6f42c1 !important;
}

.photo-item {
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-3px);
}

.photo-item:hover .photo-overlay {
    opacity: 1 !important;
}

.transition {
    transition: all 0.3s ease;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

/* Единый стиль для всех select */
.custom-select {
    border: none;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 50px;
    background-color: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.2s;
    width: 100%;
}

.custom-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0,123,255,.25);
}

/* Стрелка */
.custom-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23333' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

/* Choices.js inner height */
.choices__inner {
    min-height: 44px;
}


.user-card img {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
}

.user-card .username {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.user-card small {
    color: #888;
    font-size: 0.85rem;
}

.user-card {
    border: 1px solid #f0f0f0;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    background-color: #fff;
    transition: box-shadow 0.2s ease-in-out;
    height: 100%;
}

.user-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.05);
}



.ticket-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-status {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-status:hover {
    transform: scale(1.02);
}

.rounded-top-4 {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .card-title {
        font-size: 1rem;
    }

    .btn-status {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .badge.fs-6 {
        font-size: 0.8rem !important;
    }


    .file-upload-wrapper {
        position: relative;
    }

    .file-upload-label {
        display: block;
        border: 2px dashed #dee2e6;
        border-radius: 12px;
        padding: 2rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }

    .file-upload-label:hover {
        border-color: #0d6efd;
        background-color: rgba(13, 110, 253, 0.05);
        transform: translateY(-2px);
    }

    .file-upload-content i {
        transition: transform 0.3s ease;
    }

    .file-upload-label:hover .file-upload-content i {
        transform: translateY(-5px);
    }

    .form-control {
        border: 1px solid #dee2e6;
        transition: all 0.3s ease;
    }

    .form-control:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    .form-control-lg {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }

    .rounded-top-4 {
        border-top-left-radius: 1rem !important;
        border-top-right-radius: 1rem !important;
    }

    .btn-primary {
        background: linear-gradient(45deg, #0d6efd, #0a58ca);
        border: none;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    }

    /* Анимация появления */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .card {
        animation: fadeIn 0.5s ease;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .card-body {
            padding: 1.5rem;
        }

        .file-upload-content {
            padding: 1.5rem !important;
        }

        .btn-lg {
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
        }
    }

    .favorite-card {
        transition: all 0.3s ease;
    }

    .favorite-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    }

    .empty-state-icon {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }

    .btn-primary {
        background: linear-gradient(45deg, #0d6efd, #0a58ca);
        border: none;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    }

    .rounded-4 {
        border-radius: 1rem !important;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .card-body {
            padding: 1.5rem;
        }

        .btn-lg {
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
        }

        .d-flex.gap-2 {
            flex-direction: column;
        }
    }

    /* Анимация появления */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .favorite-card {
        animation: fadeInUp 0.5s ease;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.35em 0.65em;
    }

    .empty-state-icon {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }

    .card {
        transition: all 0.3s ease;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    }



    .rounded-4 {
        border-radius: 1rem !important;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .card-body {
            padding: 2rem 1rem;
        }

        .btn-lg {
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
        }

       /* .d-flex.justify-content-center {
            flex-direction: column;
            gap: 1rem !important;
        }*/
    }

    /* Анимация появления */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .card {
        animation: fadeInUp 0.6s ease;
    }

    .card {
        transition: all 0.3s ease;
    }

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    }

    .rounded-top-4 {
        border-top-left-radius: 1rem !important;
        border-top-right-radius: 1rem !important;
    }

    .input-group-text {
        background: #f8f9fa;
        border-color: #dee2e6;
    }

    .form-select, .form-control {
        border: 1px solid #dee2e6;
        transition: all 0.3s ease;
    }

    .form-select:focus, .form-control:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    .btn {
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .btn:hover {
        transform: translateY(-1px);
    }

    .bg-light {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }

    /* Анимации */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .card {
        animation: fadeIn 0.5s ease;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .card-body {
            padding: 1.5rem;
        }

        .btn {
            padding: 0.5rem 1rem;
        }

        .d-flex.justify-content-end {
            justify-content: center !important;
        }

        .gap-3 {
            gap: 1rem !important;
        }
    }

    .empty-state-icon {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }

    .card {
        transition: all 0.3s ease;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    }

    .btn-primary {
        background: linear-gradient(45deg, #0d6efd, #0a58ca, #764ba2);
        border: none;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    }

    .rounded-4 {
        border-radius: 1rem !important;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .card-body {
            padding: 2rem 1rem;
        }

        .btn-lg {
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
        }

        h4 {
            font-size: 1.25rem;
        }

       /* .fas.fa-bullhorn {
            font-size: 3rem;
        }*/
    }

    /* Анимация появления */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .card {
        animation: fadeInUp 0.6s ease;
    }

    .message-card {
        border-radius: 12px;
        transition: all 0.3s ease;
        border: 1px solid rgba(0,0,0,0.05);
    }

    .message-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        border-color: rgba(0,0,0,0.1);
    }

    .message-avatar {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border: 3px solid #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .message-sender {
        font-weight: 600;
        color: #2c3e50;
    }

    .message-text {
        color: #5a6c7d;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .message-contact {
        font-size: 0.9rem;
    }

    /* Анимации */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .message-card {
        animation: fadeIn 0.3s ease;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .message-avatar {
            width: 55px;
            height: 55px;
        }

        .card-body {
            padding: 1.5rem;
        }

        .message-content {
            text-align: center;
        }

        .text-end {
            /*text-align: center !important;*/
            margin-top: 1rem;
        }
    }

    .rounded-top-4 {
        border-top-left-radius: 1rem !important;
        border-top-right-radius: 1rem !important;
    }

    .btn-outline-danger {
        border: 1px solid;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-outline-danger:hover {
        background-color: #dc3545;
        border-color: #dc3545;
    }
    .bg-indigo {
        background-color: #6610f2 !important; /* оттенок индиго из Bootstrap */
    }

    .file-upload-wrapper {
        position: relative;
        width: 100%;
    }

    .file-upload-label {
        display: block;
        width: 100%;
        padding: 2rem 1.5rem;
        background: #f8f9fa;
        border: 2px dashed #dee2e6;
        border-radius: 12px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .file-upload-label:hover {
        background: #e9ecef;
        border-color: #0d6efd;
        transform: translateY(-2px);
    }

    .file-upload-design {
        color: #6c757d;
    }

    .avatar-preview, .gallery-preview {
        min-height: 60px;
    }

    .gallery-preview {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.75rem;
    }

    .preview-item {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        aspect-ratio: 1;
        border: 2px solid #e9ecef;
    }

    .preview-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .remove-preview {
        position: absolute;
        top: 3px;
        right: 3px;
        width: 22px;
        height: 22px;
        background: rgba(220, 53, 69, 0.9);
        color: white;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
        opacity: 0;
    }

    .preview-item:hover .remove-preview {
        opacity: 1;
    }

    .remove-preview:hover {
        background: #dc3545;
        transform: scale(1.1);
    }

    .file-info {
        display: none;
        margin-top: 1rem;
        padding: 0.75rem;
        background: #f1f3f4;
        border-radius: 8px;
        font-size: 0.85rem;
    }

    .file-info.show {
        display: block;
    }

    /* Специальные стили для аватарки */
    .avatar-preview .preview-item {
        max-width: 150px;
        margin: 0 auto;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .col-6 {
            width: 100% !important;
            /*max-width: 100% !important;*/
            flex: 0 0 100% !important;
        }

        .gallery-preview {
            grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
            gap: 0.5rem;
        }
    }


    .interests-container {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 1.5rem;
        border: 2px dashed #dee2e6;
    }

    .interest-checkbox {
        transform: scale(1.1);
        margin-right: 0.5rem;
    }

    .interest-checkbox:checked {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

    .form-check-label {
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 0.5rem 0;
    }

    .form-check-label:hover {
        color: #0d6efd;
        transform: translateX(5px);
    }

    .bg-purple {
        background-color: #6f42c1 !important;
    }

    .form-control, .form-select {
        border: 1px solid #dee2e6;
        transition: all 0.3s;
    }

    .form-control:focus, .form-select:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    .btn-primary {
        background-color: #0d6efd;
        border: none;
        transition: all 0.3s;
    }

    .btn-primary:hover {
        background-color: #0b5ed7;
        transform: translateY(-2px);
    }

    .card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
    }


    .sympathy-card {
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
    }

    .sympathy-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    }

    .sympathy-image-container {
        height: 200px;
        background: #f8f9fa;
        overflow: hidden;
    }

    .sympathy-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .sympathy-card:hover .sympathy-img {
        transform: scale(1.05);
    }

    .sympathy-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #e9ecef, #dee2e6);
    }

    .sympathy-gradient-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
        pointer-events: none;
    }

    .sympathy-name {
        color: #2d3748;
        font-size: 1.1rem;
    }

    .sympathy-details {
        font-size: 0.875rem;
    }

    .sympathy-actions .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .remove-sympathy-btn {
        transition: all 0.3s ease;
    }

    .remove-sympathy-btn:hover {
        background-color: #dc3545;
        color: white;
    }

    /* Адаптивность */
    @media (max-width: 768px) {
        .sympathy-image-container {
            height: 180px;
        }

        .sympathy-name {
            font-size: 1rem;
        }
    }

    @media (max-width: 576px) {
        .sympathy-image-container {
            height: 160px;
        }

        .sympathy-actions .btn {
            font-size: 0.75rem;
            padding: 0.4rem 0.6rem;
        }
    }

    .modern-card {
        background: white;
        border-radius: 20px;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .modern-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    }

    .card-content {
        padding: 24px;
    }

    /* ===== ЗАГОЛОВОК КАРТОЧКИ - ПОЛНАЯ АДАПТИВНОСТЬ ===== */
    .card-header {
        margin-bottom: 20px;
    }

    .user-info {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    /* Левая часть - фото и имя */
    .user-main-info {
        display: flex;
        align-items: center;
        gap: 16px;
        flex: 1;
        min-width: 0;
    }

    .avatar-wrapper {
        position: relative;
        width: 70px;
        height: 70px;
        border-radius: 16px;
        overflow: hidden;
        flex-shrink: 0;
    }

    .avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .avatar-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
    }

    .verified-badge {
        position: absolute;
        bottom: -4px;
        right: -4px;
        width: 24px;
        height: 24px;
        background: #10b981;
        border: 2px solid white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 12px;
    }

    .user-name-section {
        flex: 1;
        min-width: 0;
    }

    .user-name {
        font-size: 1.4rem;
        font-weight: 700;
        color: #1f2937;
        margin: 0;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    /* Правая часть - город и просмотры */
    .user-meta-info {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        flex-shrink: 0;
    }

    .meta-items {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }

    .location, .views {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
        color: #6b7280;
        font-weight: 500;
        white-space: nowrap;
    }

    .location i, .views i {
        color: #667eea;
        flex-shrink: 0;
    }

    /* ===== ОСТАЛЬНЫЕ СЕКЦИИ ===== */
    .description-section {
        position: relative;
        margin: 24px 0;
     /*   padding: 0 0 0 40px;*/
    }

    .quote-icon {
        position: absolute;
        left: 0;
        top: 0;
        color: #667eea;
        opacity: 0.3;
        font-size: 24px;
    }

    .description-text {
        font-size: 1rem;
        line-height: 1.6;
        color: #4b5563;
        margin: 0;
        font-style: italic;
    }

    .interests-section {
        margin: 24px 0;
    }

    .section-title {
        font-size: 1rem;
        font-weight: 600;
        color: #374151;
        margin-bottom: 12px;
    }

    .interests-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .interest-tag {
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
        border: 1px solid rgba(102, 126, 234, 0.2);
        transition: all 0.2s ease;
    }

    .interest-tag:hover {
        background: #667eea;
        color: white;
        transform: translateY(-1px);
    }

    .stats-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 16px;
        margin: 24px 0;
        padding: 20px;
        background: rgba(102, 126, 234, 0.05);
        border-radius: 16px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #667eea;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .stat-info {
        display: flex;
        flex-direction: column;
    }

    .stat-label {
        font-size: 0.75rem;
        color: #6b7280;
        font-weight: 500;
    }

    .stat-value {
        font-size: 0.9rem;
        color: #1f2937;
        font-weight: 600;
    }

    .action-section {
        margin-top: 20px;
    }

    .action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 14px 24px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        text-decoration: none;
        border-radius: 14px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        border: none;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    .action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        color: white;
    }

    /* ===== ПОЛНАЯ АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ===== */

    /* Планшеты (768px и меньше) */
    @media (max-width: 768px) {
        .card-content {
            padding: 20px;
        }

        .user-info {
            gap: 12px;
        }

        .user-main-info {
            gap: 12px;
        }

        .avatar-wrapper {
            width: 60px;
            height: 60px;
        }

        .user-name {
            font-size: 1.2rem;
        }

        .location, .views {
            font-size: 0.8rem;
        }

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

        .description-section {
          /*  padding-left: 32px;*/
        }

        .quote-icon {
            font-size: 20px;
        }

        .interests-tags {
            justify-content: flex-start;
        }
    }

    /* Мобильные устройства (576px и меньше) */
    @media (max-width: 576px) {
        .card-content {
            padding: 16px;
        }

        .user-info {
            align-items: flex-start;
            gap: 12px;
        }

        .user-main-info {
            gap: 12px;
            flex: 1;
        }

        .user-meta-info {
            align-items: flex-end;
        }

        .avatar-wrapper {
            width: 50px;
            height: 50px;
            border-radius: 12px;
        }

        .avatar-placeholder {
            font-size: 20px;
        }

        .user-name {
            font-size: 1.1rem;
            -webkit-line-clamp: 2;
        }

        .meta-items {
            gap: 4px;
        }

        .location, .views {
            font-size: 0.75rem;
            gap: 4px;
        }

        .verified-badge {
            width: 20px;
            height: 20px;
            font-size: 10px;
        }

        .description-section {
       /*     padding-left: 28px;*/
            margin: 20px 0;
        }

        .quote-icon {
            font-size: 18px;
        }

        .description-text {
            font-size: 0.9rem;
        }

        .interests-section {
            margin: 20px 0;
        }

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

        .interest-tag {
            font-size: 0.8rem;
            padding: 5px 10px;
        }

        .stats-section {
            margin: 20px 0;
            padding: 16px;
            gap: 10px;
        }

        .stat-item {
            gap: 10px;
        }

        .stat-icon {
            width: 36px;
            height: 36px;
        }

        .stat-label {
            font-size: 0.7rem;
        }

        .stat-value {
            font-size: 0.85rem;
        }

        .action-btn {
            padding: 12px 20px;
            font-size: 0.9rem;
        }
    }

    /* Очень маленькие экраны (400px и меньше) */
    @media (max-width: 400px) {
        .card-content {
            padding: 12px;
        }

        .user-info {
            gap: 8px;
        }

        .user-main-info {
            gap: 8px;
        }

        .avatar-wrapper {
            width: 44px;
            height: 44px;
        }

        .avatar-wrapper-show {
            width: 300px;
            height: 300px;
        }

        .user-name {
            font-size: 0.8rem;
        }

        .location, .views {
            font-size: 0.7rem;
        }

       /* .description-section {
            padding-left: 24px;
        }*/

        .quote-icon {
            font-size: 16px;
        }

        .description-text {
            font-size: 0.85rem;
        }

        .interests-tags {
            gap: 6px;
        }

        .interest-tag {
            font-size: 0.75rem;
            padding: 4px 8px;
        }

        .stats-section {
            padding: 12px;
        }

        .action-btn {
            padding: 10px 16px;
            font-size: 0.85rem;
        }
    }

    /* Гарантия что контент не выходит за границы */
    .user-name-section,
    .user-details {
        overflow: hidden;
    }

    .meta-items span {
        text-align: right;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


}
