/* ==========================================================================
   ZENTRIERTES TRANSLATION BANNER MIT WABERNDEM WEISSEM GLOW-SCHIMMER
   ========================================================================== */
.translation-hint-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: 90vw;
    max-width: 780px;
    z-index: 10000;
    background: rgba(6, 12, 22, 0.96) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3), 0 20px 60px rgba(0, 0, 0, 0.95) !important;
    border-radius: 24px;
    padding: 2.2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    opacity: 0;
    visibility: hidden;
    color: #ffffff;
    text-align: left;
}

/* Exakte Bildschirmmitte + Wabernde Schimmer-Aura */
.translation-hint-banner.active {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: aura-wabern 3.5s ease-in-out infinite;
}

/* Wabernder Hintergrund-Schimmer (Größe und Position bleiben vollkommen starr) */
@keyframes aura-wabern {
    0% {
        border-color: #ffffff !important;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), 0 20px 60px rgba(0, 0, 0, 0.95) !important;
    }

    50% {
        border-color: rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 0 55px rgba(255, 255, 255, 0.65), 0 25px 75px rgba(0, 0, 0, 0.98) !important;
    }

    100% {
        border-color: #ffffff !important;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.25), 0 20px 60px rgba(0, 0, 0, 0.95) !important;
    }
}

.translation-hint-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.translation-hint-icon {
    font-size: 2.8rem;
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 4px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.translation-hint-text {
    flex: 1;
}

/* Schreibmaschinen Überschrift */
.translation-hint-text h4 {
    margin: 0 0 10px 0;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    min-height: 2rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

/* Blinkender Schreibmaschinen-Cursor */
.typewriter-cursor {
    display: inline-block;
    color: #ffffff;
    font-weight: 300;
    margin-left: 2px;
    animation: blink-cursor 0.8s infinite;
    text-shadow: 0 0 10px #ffffff;
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.translation-hint-text p {
    color: #e2e8f0;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.translation-hint-text ul {
    margin-top: 8px;
    padding-left: 0;
    list-style: none;
}

.translation-hint-text ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.translation-hint-text ul li::before {
    content: "➔";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-size: 0.85rem;
}

.translation-hint-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.translation-hint-close:hover {
    background: #ffffff;
    color: #050508;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

@media (max-width: 650px) {
    .translation-hint-banner {
        padding: 1.5rem 1.2rem;
    }

    .translation-hint-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .translation-hint-text h4 {
        justify-content: center;
        font-size: 1.25rem;
    }

    .translation-hint-text ul li {
        text-align: left;
    }
}