* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #000;
}

header {
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: linear-gradient(150deg, #ffd00081, #000, #ff00bf56);
}

header img {
    max-height: 50px;
    max-width: 100%;
    height: auto;
    width: auto;
    box-shadow: 0 0 5px #00ff37;
}

main {
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

footer {
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
}

.login-btn {
    width: 95%;
    max-width: 300px;
    height: 45px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    text-shadow: 0 0 0 #000;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

img {
    max-height: 50px;
    max-width: 100px;
    height: auto;
    width: auto;
    box-shadow: 0 0 5px #00ff37;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    animation: spinIntro 3s ease-out forwards;
}

.popup-content img {
    width: 100%;
    height: auto;
    max-height: 100%;
    max-width: 95vw;
    object-fit: contain;
}

@keyframes spinIntro {
    0% {
        opacity: 0;
        transform: scale(0.1) rotateY(0deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.8) rotateY(360deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(720deg);
    }
}

    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }

.popup-overlay.fade-out .popup-content {
    animation: fadeOut 1s ease-out forwards;
}


@media (max-width: 480px) {
    header {
        height: 45px;
        padding: 3px;
    }
    
    footer {
        height: 55px;
    }
    
    .login-btn {
        height: 40px;
        font-size: 16px;
    }
}
