/* ========== PROFILE PAGE STYLE ========== */

.profile-page {
    padding: 100px 0 3rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.profile-avatar i {
    font-size: 5rem;
    color: #ff4444;
}

.profile-info h1 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.profile-info p {
    color: #aaa;
    margin-bottom: 0.5rem;
}

.membership-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.membership-badge.free {
    background: #666;
}

.membership-badge.premium {
    background: linear-gradient(135deg, #2196f3, #0d47a1);
}

.membership-badge.vip {
    background: linear-gradient(135deg, #ffc107, #ff6f00);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-stats .stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
}

.profile-stats .stat-card i {
    font-size: 2rem;
    color: #ff4444;
    margin-bottom: 0.5rem;
}

.profile-stats .stat-card h3 {
    font-size: 1.5rem;
    color: #ff4444;
}

.profile-menu {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: 0.3s;
}

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

.menu-item:hover {
    background: rgba(255,68,68,0.1);
}

.menu-item i:first-child {
    font-size: 1.5rem;
    color: #ff4444;
    width: 40px;
}

.menu-item div {
    flex: 1;
}

.menu-item h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.menu-item p {
    font-size: 0.7rem;
    color: #aaa;
}

.menu-item i:last-child {
    color: #aaa;
    font-size: 0.8rem;
}

.logout-section {
    text-align: center;
}

.btn-logout {
    background: rgba(220,53,69,0.2);
    border: 1px solid rgba(220,53,69,0.3);
    padding: 0.8rem 2rem;
    border-radius: 10px;
    color: #dc3545;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.btn-logout:hover {
    background: rgba(220,53,69,0.4);
}

/* Edit Profile Page */
.edit-profile-page {
    padding: 100px 0 3rem;
}

.edit-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-save {
    background: #ff4444;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    color: white;
    cursor: pointer;
}

.btn-cancel {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
