body {
    background-color: #000;
    color: #fff;
    overflow: hidden; 
}

.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    position: relative;
}

/* Top Header */
.top-header {
    height: 40px;
    background-color: #000; /* Match body bg or slightly lighter */
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem; /* Adjust as needed */
    z-index: 1000;
    flex-shrink: 0;
}

/* Bottom Navigation */
.bottom-nav {
    height: 60px;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #121212;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item-link {
    color: #888;
    text-decoration: none;
    text-align: center;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-item-link.active {
    color: #fff;
    font-weight: bold;
}

.nav-item-link i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

/* Snap Scroll Container (for Home) */
.snap-container {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.snap-section {
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.event-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    padding: 20px;
    width: 100%;
}

/* Glassmorphism Cards */
.glass-card {
    margin: 0px;
    margin-bottom: 60px;
}

/* Container del Banner PWA */
#install-container {
    position: fixed;
    bottom: 80px; /* Sopra la tua bottom-nav esistente */
    left: 15px;
    right: 15px;
    z-index: 1050;
    display: none; /* Nascosto di default */
}

/* Stile del Banner */
.pwa-install-banner {
    background: rgba(33, 37, 41, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgb(255, 0, 0);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(88, 10, 10, 0.5);
}

.pwa-content {
    display: flex;
    align-items: center;
    color: white;
}

.pwa-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
}

.pwa-text h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.pwa-text p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.8;
}

#btn-install {
    padding: 6px 15px;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 600;
}