/* 
 * 🏛️ ATLAS-CIV-CLICKER | UI: MOBILE OVERFLOW MENU (Nova v4.0 Elite)
 * -----------------------------------------------------------------------------
 * MENSCH: Dieses Modul steuert das "Mehr"-Menü auf dem Handy.
 * Es enthält Styles für das Bottom-Sheet (Aktiv) und das Popover (Vorbereitet).
 * 
 * KI: @ui-mobile @more-menu @glassmorphism @animation
 * -----------------------------------------------------------------------------
 */

/* 🏛️ OVERLAY BACKDROP: Verdunkelung des Hintergrunds */
.more-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.more-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* 🏛️ IDEE 1: BOTTOM SHEET (Standard) */
.more-menu-sheet {
    position: fixed;
    bottom: -100%; /* Startet außerhalb des Bildschirms */
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px 24px 0 0;
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
    z-index: 10001;
    transition: bottom 0.4s cubic-bezier(0.36, 1.1, 0.2, 1);
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.6);
}

.more-menu-sheet.active {
    bottom: 0;
}

/* Der "Handle" oben am Sheet */
.more-menu-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* 🏛️ GRID LAYOUT: Die versteckten Dienste */
.more-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.more-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.more-menu-item:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.08);
}

.more-menu-item .material-symbols-outlined {
    font-size: 1.8rem;
    color: var(--color-gold-elite);
}

.more-menu-item span:not(.material-symbols-outlined) {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 🏛️ IDEE 2: POPOVER (Vorbereitet/Inaktiv) */
.more-menu-popover {
    display: none; /* Erstmal deaktiviert */
}
