body { background: #f8fafc !important; }

.premium-top-ticker { display: none !important; }

.profile-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.profile-container {
    margin-top: -50px;
    padding: 0 20px 50px 20px;
    flex: 1 0 auto;
    min-height: 60vh;
}

.profile-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.avatar-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 3px solid #0d6efd;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-wrap:hover .upload-overlay { opacity: 1; }
.avatar-wrap:hover img { transform: scale(1.1); }

.info-box {
    background: #f1f5f9;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; }
.value { font-weight: 700; color: #0f172a; font-size: 1.1rem; }

.btn-edit {
    border: none;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-edit-username {
    background: #e0f2fe;
    color: #0369a1;
}

.btn-edit-username:hover {
    background: #0369a1;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-change-password {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-change-password:hover {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
    transform: translateY(-1px);
}

.btn-logout {
    display: block;
    width: 100%;
    padding: 15px;
    background: #fee2e2;
    color: #dc2626;
    text-align: center;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-logout:hover { background: #dc2626; color: white; }

.error-msg {
    background: #fee2e2;
    color: #b91c1c;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    transition: opacity 0.5s ease;
}

.custom-input-group { position: relative; margin-top: 20px; }

.beautiful-input {
    width: 100%;
    height: 55px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    padding: 0 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: all 0.3s ease;
}

.beautiful-input:focus {
    border-color: #0d6efd;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.btn-save-custom {
    height: 55px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    background: #0d6efd;
    border: none;
    transition: all 0.3s ease;
}

.btn-save-custom:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.btn-delete-account {
    background: transparent;
    color: #ef4444;
    border: 1px solid #fee2e2;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    margin-top: 15px;
    transition: all 0.2s;
}

.btn-delete-account:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

#copy-profile-btn:hover {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}
#copy-profile-btn:active {
    transform: translateY(1px) scale(0.95);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04) !important;
}
#copy-profile-btn:hover i {
    transform: rotate(15deg);
}