/* Mobile Redirect Overlay - CSS */
/* Versteckt sich automatisch ab 1024px */

#mobile-redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 59, 30, 0.85); /* Semi-transparent um Hintergrund durchscheinen zu lassen */
    backdrop-filter: blur(8px); /* Weicher Blur-Effekt über dem Hintergrund */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    color: #f0f0f0;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Verstecke das Overlay ab 1024px Breite */
@media (min-width: 1024px) {
    #mobile-redirect-overlay {
        display: none !important;
    }
}

/* Explizit anzeigen unter 1024px */
@media (max-width: 1023px) {
    #mobile-redirect-overlay {
        display: flex !important;
    }
}

/* Magisches Siegel-Icon */
.mobile-seal {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3a6b3a, #4a8c4a, #3a6b3a);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(58, 107, 58, 0.8);
    animation: gentle-pulse 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes gentle-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(58, 107, 58, 0.8);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(58, 107, 58, 1);
    }
}

/* Überschrift */
.mobile-title {
    font-size: 28px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(58, 107, 58, 0.6);
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: normal;
}

/* Beschreibungstext */
.mobile-description {
    font-size: 18px;
    line-height: 1.6;
    color: #e8f5e8;
    max-width: 500px;
    margin-bottom: 30px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Technische Details */
.mobile-technical {
    font-size: 14px;
    color: #c8e6c8;
    font-style: italic;
    margin-bottom: 20px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* Aktuelle Bildschirmgröße anzeigen */
.screen-info {
    font-size: 16px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 25px;
    border-radius: 25px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

#current-width {
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Zusätzlicher dezenter Overlay-Effekt */
#mobile-redirect-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(30, 59, 30, 0.3) 100%);
    z-index: -1;
}
