/* Чёрно-фиолетовые motion-стили */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #0d0d0f;
    color: #e6e6e6;
    transition: background 0.4s ease;
}

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

.profile-header h2 {
    color: #a67cfc;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.profile-header h2:hover {
    color: #cfa9ff;
}

.profile-header p {
    color: #aaa;
    font-size: 16px;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-card, .settings-card {
    background: #1a1a1f;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(166, 124, 252, 0.15);
    border: 1px solid #2a2a33;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover, .settings-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(166, 124, 252, 0.35);
}

.profile-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at top left, #6a0dad, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: white;
    border: 4px solid #2d004d;
    box-shadow: 0 0 20px rgba(166,124,252,0.4), inset 0 0 10px rgba(166,124,252,0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.avatar-large:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 30px rgba(166,124,252,0.8), inset 0 0 15px rgba(166,124,252,0.5);
}

.profile-info {
    flex: 1;
}

.info-group {
    margin-bottom: 24px;
}

.info-group h3 {
    color: #cfa9ff;
    margin-bottom: 16px;
    font-size: 18px;
    border-bottom: 2px solid #2a2a33;
    padding-bottom: 8px;
    transition: color 0.3s;
}

.info-group h3:hover {
    color: #e0c8ff;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a33;
}

.info-item label {
    font-weight: 600;
    color: #bbb;
    min-width: 200px;
}

.info-item span {
    color: #e6e6e6;
    font-weight: 500;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #bbb;
    font-size: 14px;
}

.form-group input, .form-group select {
    padding: 12px 16px;
    background: #0f0f14;
    border: 2px solid #2a2a33;
    border-radius: 8px;
    font-size: 14px;
    color: #e6e6e6;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #a67cfc;
    box-shadow: 0 0 8px rgba(166,124,252,0.6);
}

.danger-zone {
    border-left: 4px solid #b3003c;
}

.danger-zone h3 {
    color: #ff4d6d;
    margin-bottom: 16px;
}

.danger-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.danger-actions p {
    color: #aaa;
    margin: 0;
    flex: 1;
}

.avatar-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.delete-warning {
    background: rgba(102,0,102,0.1);
    border: 1px solid #a67cfc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.delete-warning i {
    color: #a67cfc;
    font-size: 20px;
    margin-top: 2px;
}

.delete-warning p {
    color: #cfa9ff;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .info-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .info-item label {
        min-width: auto;
    }

    .danger-actions {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}