/* ========== ORIGINAL-STILE (Logo & Container) ========== */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #000000;
    font-family: system-ui, 'Segoe UI', 'Roboto', sans-serif;
}

.logo-container {
    background-color: black;
    padding: 20px;
    border-radius: 10px;
    border-width: 2px;
    border-color: rgb(241, 6, 171);
    border-style: solid;
    box-shadow: 0 0 15px rgba(241, 6, 171, 0.3);
}

.logo {
    width: 600px;
    height: auto;
    opacity: 0;
    animation: fadeIn 20s forwards;
    display: block;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ========== SCHWEBENDES ELEMENT MIT PNG-WELTKARTE ========== */
.attack-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    background: linear-gradient(135deg, #1a2a3a, #0f1a24);
    backdrop-filter: blur(4px);
    border-radius: 60px;
    padding: 10px 24px 10px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.attack-float:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(241, 6, 171, 0.6);
    background: linear-gradient(135deg, #243b4e, #12222e);
}

.attack-float:active {
    transform: scale(0.98);
}

.world-icon-img {
    width: auto;
    height: 34px;
    display: block;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
    transition: filter 0.2s;
}

.attack-float:hover .world-icon-img {
    filter: drop-shadow(0 0 4px rgba(241, 6, 171, 0.6));
}

.attack-text {
    color: #9e9e9c;
    font-family: inherit;
    font-weight: 700;
    text-shadow: 0 1px 2px #00000080;
    font-size: 1.2rem;
}

/* ========== MODAL / LAYER ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1300px;
    height: 85%;
    max-height: 90vh;
    background: #111418;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(241, 6, 171, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalZoomIn 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

@keyframes modalZoomIn {
    from {
        transform: scale(0.96);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(241, 6, 171, 0.4);
}

.close-modal-btn {
    background: rgba(30, 30, 40, 0.9);
    border: none;
    color: #ffb7c5;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    width: 42px;
    height: 42px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-family: monospace;
    line-height: 1;
}

.close-modal-btn:hover {
    background: rgb(241, 6, 171);
    color: white;
    transform: rotate(90deg);
    box-shadow: 0 0 12px rgba(241, 6, 171, 0.6);
}

.modal-iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: #fff;
    border-radius: 0 0 26px 26px;
}

/* Responsive Anpassungen */
@media (max-width: 760px) {
    .modal-container {
        width: 95%;
        height: 90%;
        border-radius: 20px;
    }
    .attack-float {
        padding: 6px 18px 6px 14px;
        bottom: 16px;
        right: 16px;
    }
    .world-icon-img {
        height: 26px;
    }
    .attack-text {
        font-size: 1rem;
    }
    .logo {
        width: 90vw;
        max-width: 600px;
    }
    .logo-container {
        padding: 12px;
    }
}

.attack-float:focus-visible {
    outline: 3px solid rgb(241, 6, 171);
    outline-offset: 4px;
}