
/* ===== FIXED APP HEADER ===== */
.app-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 72px !important;
    background: #0a0a1a !important;
    z-index: 1000 !important;
    padding: 0 !important;
    border: none !important;
    backdrop-filter: none !important;
}

/* Add padding to app content for fixed header */
#app {
    padding-top: 72px;
}

/* Adjust screens to account for header */
.screen {
    min-height: calc(100vh - 72px);
}

/* ===== SMALL SCREENS (height <= 688px) - NO HEADER ===== */
@media (max-height: 780px) {
    .app-header {
        display: none !important;
    }
    
    #app {
        padding-top: 0 !important;
    }
    
    #main-screen .promo-banner {
        margin-top: 0 !important;
    }
    #main-screen .promo-banner.eifavpn-banner {
        margin-top: 16px !important;
    }
    
    .screen {
        min-height: 100vh;
    }
}

/* ===== HERO PROFILE CARD ===== */
.profile-hero {
    position: relative;
    margin: 16px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 50%, rgba(236, 72, 153, 0.08) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.profile-hero .profile-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(99, 102, 241, 0.3) 50%, rgba(236, 72, 153, 0.2) 100%);
    border-radius: 24px 24px 50% 50%;
}

.profile-hero .profile-hero-content {
    position: relative;
    padding: 20px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-hero .profile-avatar-wrapper {
    position: relative;
    margin-bottom: 16px;
}

/* Hide the animated ring */
.profile-hero .profile-avatar-ring {
    display: none !important;
}

/* Large avatar - override header-fix.css */
.profile-hero .profile-avatar {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: 4px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5) !important;
}

.profile-hero .profile-avatar svg {
    width: 60px !important;
    height: 60px !important;
    fill: white !important;
}

.profile-hero .profile-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Profile info - vertical layout, no arrow */
.profile-hero .profile-info {
    margin-bottom: 16px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Remove the arrow from profile-info */
.profile-hero .profile-info::after {
    display: none !important;
    content: none !important;
}

.profile-hero .profile-name {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 4px 0 !important;
}

.profile-hero .profile-username {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
}

.profile-hero .profile-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    width: 100%;
    max-width: 280px;
}

.profile-hero .profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.profile-hero .profile-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-hero .profile-stat-value .stat-star {
    font-size: 16px;
}

.profile-hero .profile-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-hero .profile-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* Remove old profile-card styles override */
.profile-content .profile-card {
    display: none;
}
.profile-content .profile-stats {
    display: none;
}

/* Hide app-header on main screen, show on other screens */
body.main-screen-active .app-header {
    display: none !important;
}

/* Add margin to promo-banner when on main screen (instead of header) */
#main-screen .promo-banner {
    margin-top: 72px;
}
#main-screen .promo-banner.eifavpn-banner {
    margin-top: 20px;
}

/* Remove top padding from #app when on main screen */
body.main-screen-active #app {
    padding-top: 0 !important;
}
