/* Простые стили для приложения знакомств */

/* ===== FIGMA DESIGN SYSTEM - CSS Variables ===== */
:root {
    /* Brand Colors */
    --color-primary-purple: #8B5CF6;
    --color-primary-dark-blue: #1E3A8A;
    --color-oli-purple: #9333EA;
    --color-match-dark: #1E293B;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1E3A8A 0%, #8B5CF6 50%, #EC4899 100%);
    --gradient-button: linear-gradient(135deg, #1E3A8A 0%, #8B5CF6 100%);
    --gradient-button-hover: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-purple-light: linear-gradient(135deg, #E9D5FF 0%, #DDD6FE 100%);
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-light-purple: #F5F3FF;
    --bg-dark: #1A1A2E;
    --bg-dark-purple: #2D1B4E;
    
    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --text-white: #FFFFFF;
    --text-dark: #1E293B;
    
    /* Border Colors */
    --border-light: #E0E0E0;
    --border-purple: #8B5CF6;
    --border-dark-blue: #1E3A8A;
    
    /* Action Colors */
    --color-dislike: #F44336;
    --color-like: #2196F3;
    --color-superlike: #FFEB3B;
    
    /* Spacing */
    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 25px;
    --radius-round: 50%;
    
    /* Shadows */
    --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-purple: 0 6px 25px rgba(139, 92, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #333;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    padding: 15px 20px;
    max-width: 100%;
    margin: 0;
}

/* Компактная информация о пользователе */
.user-info-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.user-info-row-1 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
}

.user-info-row-2 {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: #666;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.restart-onboarding-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.3s;
    line-height: 1;
    opacity: 0.7;
}

.restart-onboarding-btn:hover {
    opacity: 1;
    background: var(--bg-light-purple);
    transform: scale(1.1);
}

.user-info-row-3 {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #333;
    margin-top: 4px;
    justify-content: center;
}

.user-info-row-3 span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-light-purple);
    padding: 4px 12px;
    border-radius: var(--radius-medium);
    font-weight: 500;
}

.auth-button {
    background: var(--gradient-button);
    color: var(--text-white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-large);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-small);
}

.auth-button:hover {
    background: var(--gradient-button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 8px 15px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    position: relative;
}

.nav-item:hover {
    color: var(--color-primary-purple);
}

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

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

.nav-icon {
    font-size: 24px;
    display: block;
}

.nav-icon.menu-icon {
    font-size: 32px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #F44336;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.nav-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.footer-btn-small {
    width: 100%;
    background: #f44336;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 250px;
    margin: 8px auto 0;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.footer-btn-small:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    max-width: 100%;
    margin: 0;
    width: 100%;
    overflow-y: auto;
    min-height: 0; /* Allows flexbox to shrink */
}

/* Debug Container */
.debug-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: 100px; /* Space for footer */
}

/* Profile Container */
.profile-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    min-height: calc(100vh - 180px);
}

.profile-card {
    background: white;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: left;
    max-width: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.profile-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #0088cc;
}

.profile-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.profile-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.action-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dislike-btn {
    background: #ff6b6b;
    color: white;
}

.dislike-btn:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.like-btn {
    background: #4ecdc4;
    color: white;
}

.like-btn:hover {
    background: #45b7b8;
    transform: scale(1.1);
}

/* Auth Screen */
.auth-screen {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}

.auth-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.auth-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 10px;
    }
    
    .main-content {
        padding: 10px;
    }
    
    .profile-card {
        padding: 20px;
    }
    
    .profile-card img {
        width: 150px;
        height: 150px;
    }
    
    .action-buttons {
        gap: 20px;
    }
    
    .action-btn {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }
}

/* Profile Styles */
.profile-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.profile-card {
    background: var(--bg-white);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    width: 100%;
    height: calc(100vh - 180px);
    position: relative;
    max-width: 100%;
}

.profile-photo {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

/* Photo indicators (top) */
.photo-indicators {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.photo-indicator {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
}

.photo-indicator.active {
    width: 24px;
    background: rgba(255, 255, 255, 0.9);
}

/* Profile menu button (top right) */
.profile-menu-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--text-white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.profile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Swipe indicator (center, hidden by default) */
.swipe-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0;
    transition: opacity 0.2s, font-size 0.2s;
    pointer-events: none;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.photo-placeholder {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
    opacity: 0.7;
}

/* Profile info - скрыт, только фото видно */
.profile-info {
    display: none !important;
}

/* Кнопки действий профиля */
.profile-details-btn {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.profile-details-btn:hover {
    background: white;
    border-color: #667eea;
    transform: translateX(-50%) scale(1.05);
}

.profile-details-btn:active {
    transform: translateX(-50%) scale(0.95);
}

.profile-action-buttons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.profile-action-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-round);
    border: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 0;
}

.profile-action-btn svg {
    stroke: var(--color-primary-purple);
    fill: none;
}

.profile-action-btn-like svg {
    fill: var(--color-primary-purple);
    stroke: none;
}

.profile-action-btn-undo {
    background: rgba(255, 255, 255, 0.95);
}

.profile-action-btn-undo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.profile-action-btn-dislike {
    background: rgba(255, 255, 255, 0.95);
}

.profile-action-btn-dislike svg {
    stroke: var(--color-primary-purple);
}

.profile-action-btn-dislike:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.3);
}

.profile-action-btn-superlike {
    background: rgba(255, 255, 255, 0.95);
}

.profile-action-btn-superlike svg {
    stroke: var(--color-primary-purple);
}

.profile-action-btn-superlike:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.profile-action-btn-like {
    background: rgba(255, 255, 255, 0.95);
}

.profile-action-btn-like svg {
    fill: var(--color-primary-purple);
}

.profile-action-btn-like:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.profile-swipe-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* Swipe Animation */
.profile-card.swipeable {
    transition: transform 0.3s ease;
    cursor: grab;
    user-select: none;
}

.profile-card.swipeable:active {
    cursor: grabbing;
}

/* Swipe Feedback */
.profile-card.swiping-left {
    transform: translateX(-50px) rotate(-5deg);
}

.profile-card.swiping-right {
    transform: translateX(50px) rotate(5deg);
}

/* Premium Page Dark Theme */
.premium-page {
    background: var(--bg-dark);
    min-height: 100vh;
    color: var(--text-white);
    padding: 20px;
}

.premium-header {
    text-align: center;
    margin-bottom: 30px;
}

.premium-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.premium-logo .logo-part-1 {
    color: var(--color-oli-purple);
}

.premium-logo .logo-part-2 {
    color: var(--text-white);
}

.premium-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.premium-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.premium-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-medium);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.premium-feature-text {
    font-size: 16px;
    color: var(--text-white);
}

.premium-cta-button {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: 18px;
    border-radius: var(--radius-medium);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-purple);
    transition: all 0.3s ease;
}

.premium-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

/* Relationship Selection Screen */
.relationship-selection {
    padding: 20px;
    min-height: 100vh;
    background: var(--bg-white);
}

.relationship-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 10px;
}

.relationship-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
}

.relationship-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.relationship-option-card {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-medium);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.relationship-option-card:hover {
    background: var(--bg-light-purple);
    border-color: var(--color-primary-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-small);
}

.relationship-option-card.selected {
    background: var(--gradient-button);
    border-color: var(--color-primary-purple);
    color: var(--text-white);
    box-shadow: var(--shadow-medium);
}

.relationship-option-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.relationship-option-card.selected .relationship-option-title {
    color: var(--text-white);
}

.relationship-option-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.relationship-option-card.selected .relationship-option-description {
    color: rgba(255, 255, 255, 0.9);
}

.relationship-button {
    width: 100%;
    background: var(--gradient-button);
    color: var(--text-white);
    border: none;
    padding: 18px;
    border-radius: var(--radius-medium);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-small);
    margin-bottom: 15px;
}

.relationship-button:hover {
    background: var(--gradient-button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.relationship-button-secondary {
    width: 100%;
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--border-purple);
    padding: 18px;
    border-radius: var(--radius-medium);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.relationship-button-secondary:hover {
    background: var(--bg-light-purple);
}

/* ===== ONBOARDING STYLES ===== */
.onboarding-screen {
    background: var(--bg-white);
    min-height: 100vh;
}

.onboarding-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--bg-white);
}

.onboarding-header .back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 5px;
}

.onboarding-header .header-title {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.onboarding-content {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.onboarding-illustration {
    margin-bottom: 40px;
}

.onboarding-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.onboarding-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.onboarding-checkboxes {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-top: 2px;
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--gradient-primary);
    border-color: var(--color-primary-purple);
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.checkbox-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
}

.checkbox-link {
    color: var(--color-primary-purple);
    text-decoration: underline;
}

.onboarding-footer {
    padding: 20px;
    background: var(--bg-white);
}

.continue-button {
    width: 100%;
    padding: 18px;
    background: var(--gradient-button);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-medium);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-medium);
}

.continue-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--text-light);
}

.continue-button:not(:disabled):hover {
    background: var(--gradient-button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.back-button {
    width: 100%;
    padding: 18px;
    background: var(--bg-white);
    color: var(--color-primary-dark-blue);
    border: 2px solid var(--color-primary-dark-blue);
    border-radius: var(--radius-medium);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.back-button:hover {
    background: var(--bg-light-purple);
}

/* Relationship Cards */
.relationship-options {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.relationship-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-medium);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.relationship-card:hover {
    border-color: var(--color-primary-purple);
    box-shadow: var(--shadow-small);
}

.relationship-card.selected {
    background: var(--gradient-button);
    border-color: transparent;
    color: var(--text-white);
}

.relationship-icon {
    font-size: 32px;
    min-width: 40px;
    text-align: center;
}

.relationship-content {
    flex: 1;
}

.relationship-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.relationship-card.selected .relationship-title {
    color: var(--text-white);
}

.relationship-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.relationship-card.selected .relationship-description {
    color: rgba(255, 255, 255, 0.9);
}

.relationship-arrow {
    font-size: 20px;
    color: var(--text-light);
}

.relationship-card.selected .relationship-arrow {
    color: var(--text-white);
}

/* Chat Onboarding Styles */
.chat-onboarding-screen {
    background: var(--bg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.chat-onboarding-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    display: flex;
    margin-bottom: 10px;
}

.chat-message.user-message {
    justify-content: flex-end;
}

.chat-message.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.4;
}

.bot-bubble {
    background: var(--bg-light);
    color: var(--text-primary);
    border-radius: 18px 18px 18px 4px;
}

.user-bubble {
    background: var(--gradient-button);
    color: var(--text-white);
    border-radius: 18px 18px 4px 18px;
}

.chat-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}

.chat-option-button {
    background: var(--gradient-button);
    color: var(--text-white);
    border: none;
    padding: 15px 20px;
    border-radius: var(--radius-medium);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.chat-option-button:hover {
    background: var(--gradient-button-hover);
    transform: translateX(-5px);
}

.chat-onboarding-footer {
    padding: 15px 20px;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.chat-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--border-light);
    border-radius: 25px;
    font-size: 15px;
    background: var(--bg-light);
    color: var(--text-primary);
}

.chat-input:focus {
    outline: none;
    border-color: var(--color-primary-purple);
}

.chat-send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-button);
    color: var(--text-white);
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-send-btn:hover {
    background: var(--gradient-button-hover);
    transform: scale(1.1);
}

/* Premium Styles */
.premium-screen {
    background: var(--bg-dark);
    min-height: 100vh;
    color: var(--text-white);
}

.premium-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(26, 26, 46, 0.9);
}

.premium-header .back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-white);
    cursor: pointer;
}

.premium-header .header-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.payment-btn {
    background: var(--bg-white);
    color: var(--text-primary);
    border: none;
    padding: 8px 15px;
    border-radius: var(--radius-small);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.premium-content {
    padding: 40px 20px;
    text-align: center;
}

.premium-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.premium-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.premium-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.premium-feature-item {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-medium);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.premium-feature-icon {
    font-size: 24px;
    min-width: 40px;
}

.premium-feature-text {
    font-size: 16px;
    color: var(--text-white);
    text-align: left;
}

.premium-footer {
    padding: 20px;
    position: sticky;
    bottom: 0;
    background: var(--bg-dark);
}

.premium-activate-btn {
    width: 100%;
    padding: 18px;
    background: var(--gradient-button);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-medium);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-purple);
}

.premium-activate-btn:hover {
    background: var(--gradient-button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

/* Superlike Styles */
.superlike-screen {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.superlike-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(30, 58, 138, 0.2);
}

.superlike-header .back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-white);
    cursor: pointer;
}

.superlike-header .header-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.superlike-content {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.superlike-profile {
    position: relative;
    margin-bottom: 30px;
}

.superlike-profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.superlike-hearts {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
}

.superlike-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.superlike-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.superlike-input-section {
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
}

.superlike-input-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-white);
    font-size: 14px;
}

.superlike-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border-radius: var(--radius-medium);
    border: none;
    background: var(--bg-light-purple);
    font-size: 15px;
    color: var(--text-primary);
    resize: vertical;
}

.superlike-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.superlike-available {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
    color: var(--text-white);
    font-size: 14px;
}

.superlike-count {
    background: var(--bg-light-purple);
    padding: 8px 16px;
    border-radius: var(--radius-small);
    color: var(--text-primary);
    font-weight: 600;
}

.superlike-footer {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.superlike-send-btn {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-medium);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.superlike-send-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.superlike-close-btn {
    width: 100%;
    padding: 18px;
    background: rgba(30, 58, 138, 0.8);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-medium);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.superlike-close-btn:hover {
    background: rgba(30, 58, 138, 1);
}

/* Settings Styles */
.settings-screen {
    background: var(--bg-white);
    min-height: 100vh;
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--bg-white);
}

.settings-header .back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

.settings-header .header-title {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.settings-page-title {
    padding: 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.settings-content {
    padding: 0 20px 40px;
}

.settings-section {
    margin-bottom: 30px;
}

.settings-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.settings-list {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.2s;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item:hover {
    background: var(--bg-light);
}

.settings-item-label {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.settings-item-value {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 16px;
}

.settings-arrow {
    color: var(--text-light);
    font-size: 18px;
}

.settings-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.settings-link {
    color: var(--text-secondary);
    font-size: 15px;
    text-decoration: none;
    padding: 5px 0;
}

.settings-link:hover {
    color: var(--color-primary-purple);
}

.settings-link-danger {
    color: #F44336;
}

.settings-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.settings-info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.copy-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
}

.settings-version {
    color: var(--text-light);
    font-size: 12px;
}

/* Likes Screen Styles */
.likes-screen {
    background: var(--bg-white);
    min-height: 100vh;
}

.likes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--bg-white);
}

.likes-header .back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

.likes-header .header-title {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.likes-page-title {
    padding: 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.likes-content {
    padding: 0 20px 100px; /* Увеличено для footer */
}

.likes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.like-card {
    aspect-ratio: 1;
    border-radius: var(--radius-medium);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

.like-card.blurred {
    filter: blur(8px);
}

.like-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.like-heart {
    font-size: 40px;
}

.no-likes-message {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    min-height: 400px;
}

.no-likes-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.no-likes-message h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.no-likes-message p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 300px;
}

.invite-button {
    padding: 15px 30px;
    background: var(--gradient-button);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-medium);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.invite-button:hover {
    background: var(--gradient-button-hover);
    transform: translateY(-2px);
}

/* Boost Styles */
.boost-screen {
    background: var(--gradient-primary);
    min-height: 100vh;
    color: var(--text-white);
}

.boost-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(30, 58, 138, 0.2);
}

.boost-header .back-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-white);
    cursor: pointer;
}

.boost-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.boost-content {
    padding: 40px 20px;
    text-align: center;
}

.boost-illustration {
    font-size: 100px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.boost-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.boost-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.boost-current {
    margin-bottom: 40px;
}

.boost-count-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: var(--radius-medium);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.boost-packages {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.boost-package {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-medium);
    padding: 20px;
    min-width: 120px;
    cursor: pointer;
    transition: all 0.3s;
}

.boost-package:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.boost-package.selected {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.boost-package-label {
    background: rgba(30, 58, 138, 0.8);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: var(--radius-small);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.boost-package-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.boost-package-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
}

.boost-package-icon {
    font-size: 24px;
}

.boost-package-price {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.boost-footer {
    padding: 20px;
}

.boost-buy-button {
    width: 100%;
    padding: 18px;
    background: var(--bg-white);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-medium);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.boost-buy-button:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ===== CHAT ONBOARDING STYLES ===== */
.skip-onboarding-link {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    padding: 10px 0;
    margin-top: 8px;
    width: 100%;
    text-align: center;
    transition: color 0.3s;
}

.skip-onboarding-link:hover {
    color: var(--text-secondary);
}

/* ===== MENU SCREEN STYLES ===== */
.menu-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    background: var(--bg-white);
}

/* Top Bar */
.menu-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 20px;
    margin-bottom: 10px;
}

.menu-top-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s;
}

.menu-top-btn svg {
    stroke: var(--color-primary-purple);
}

.menu-top-btn:hover {
    background: var(--bg-light-purple);
}

.menu-top-btn:last-child {
    gap: 0;
}

/* Profile Card */
.menu-profile-card {
    background: var(--bg-white);
    border-radius: 25px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.menu-profile-photo-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.menu-profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.menu-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-profile-placeholder {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.7);
}

.menu-profile-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 4px solid;
    border-image: linear-gradient(135deg, var(--color-primary-purple) 0%, var(--color-primary-dark-blue) 100%) 1;
    border-radius: 50%;
    opacity: 0.6;
}

.menu-profile-info {
    text-align: center;
    margin-bottom: 20px;
}

.menu-profile-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.menu-profile-role {
    font-size: 16px;
    color: var(--text-secondary);
}

.menu-fill-profile-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--color-primary-purple) 0%, var(--color-primary-dark-blue) 50%, #EC4899 100%);
    color: var(--text-white);
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.menu-fill-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.menu-fill-profile-btn svg {
    stroke: var(--text-white);
}

/* Feature Cards */
.menu-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-feature-card {
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.menu-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.menu-feature-card-premium {
    background: linear-gradient(135deg, var(--color-primary-purple) 0%, var(--color-primary-dark-blue) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 120px;
}

.menu-feature-card-superlike {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    min-height: 140px;
}

.menu-feature-card-boost {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    min-height: 140px;
}

.menu-feature-card-messages {
    background: linear-gradient(135deg, var(--color-primary-purple) 0%, var(--color-primary-dark-blue) 100%);
    min-height: 120px;
}

.menu-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.menu-feature-content {
    position: relative;
    z-index: 2;
}

.menu-feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.menu-feature-title-small {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.menu-feature-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.menu-feature-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
}

.menu-feature-icon-small {
    font-size: 24px;
}

.menu-feature-icon-large {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.menu-feature-arrow-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--text-white);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s;
}

.menu-feature-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.menu-feature-bg-icon {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 100px;
    opacity: 0.2;
    z-index: 1;
}

.menu-feature-bg-icons {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 40px;
    opacity: 0.2;
    z-index: 1;
}