body { background: #f8f9fa; display: flex; flex-direction: column; min-height: 100vh; position: relative; color: #333; }

.profile-header {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    padding: 40px 20px 20px; color: #fff; text-align: center;
    border-bottom-left-radius: 30px; border-bottom-right-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-menu { margin: 20px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

.menu-item { display: flex; align-items: center; padding: 16px 20px; text-decoration: none; color: #333; border-bottom: 1px solid #f0f0f0; transition: background 0.2s; }
.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: #fdf2f8; }

.menu-icon { font-size: 20px; margin-right: 15px; width: 24px; text-align: center; }
.menu-label { flex: 1; font-size: 15px; font-weight: 500; }
.menu-chevron { color: #ccc; font-size: 18px; }

.logout-btn {
    margin: 20px; padding: 15px; background: #fff; color: #e91e63;
    text-align: center; border-radius: 12px; font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); cursor: pointer;
    border: 1px solid #fee2e2;
}

#google_translate_element { display: none; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }

/* ===== Custom Profile Balance Card ===== */
.custom-profile-section {
    margin: 20px 20px 0;
}
.cp-title {
    color: #f7d24a;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.yellow-bar {
    width: 2px;
    height: 16px;
    background-color: #f7d24a;
    margin-right: 8px;
}
.cp-card {
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border: 1px solid rgba(247, 210, 74, 0.4);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.cp-bg-pattern {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; height: 150%;
    background: 
        radial-gradient(ellipse at bottom, rgba(200, 180, 100, 0.1) 0%, transparent 60%),
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.02) 8px, rgba(255, 255, 255, 0.02) 9px),
        repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255, 255, 255, 0.02) 8px, rgba(255, 255, 255, 0.02) 9px);
    z-index: 1;
    pointer-events: none;
}
.cp-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; height: 50px;
    background: radial-gradient(ellipse at bottom, rgba(247, 210, 74, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.cp-usdt {
    font-size: 13px;
    color: #e5c354;
    font-weight: 500;
    position: relative;
    z-index: 2;
    margin-bottom: 5px; /* Reduced from 15px */
}
.cp-invite {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}
.cp-invite-code {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 15px;
    font-weight: 700;
    color: #f7d24a;
}
.cp-copy-icon {
    font-size: 10px;
    font-weight: 600;
    color: #000;
    background: #f7d24a;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
}
.cp-balance {
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}
.cp-divider {
    border-top: 1px dashed rgba(247, 210, 74, 0.3);
    margin: 0 -20px 15px -20px;
    position: relative;
    z-index: 2;
}
.cp-actions {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 2;
}
.cp-action-btn {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
    text-align: center;
    padding: 5px;
}
.cp-recharge { color: #f43f5e; }
.cp-withdraw { color: #10b981; }
.cp-vertical-divider {
    width: 1px;
    height: 15px;
    background: rgba(247, 210, 74, 0.3);
}
