/* Reset i podstawy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    background: #000 url(../images/bg.jpg) no-repeat center center fixed;
    background-size: cover;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Ciemny overlay na tło */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Główny kontener planszy */
.splash-screen {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

/* Kontener logo */
.logo-container {
    max-width: 90%;
    width: 100%;
    margin-top: 8vh;
    animation: fadeIn 1.2s ease-in-out;
}

/* Logo */
.logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.7));
}

/* Animacja fadeIn */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsywność dla tabletów */
@media screen and (max-width: 1024px) {
    .splash-screen {
        padding: 3rem 1.5rem 1.5rem;
    }

    .logo-container {
        margin-top: 6vh;
    }
}

/* Responsywność dla małych tabletów */
@media screen and (max-width: 768px) {
    .splash-screen {
        padding: 2.5rem 1rem 1rem;
    }

    .logo-container {
        margin-top: 4vh;
    }
}

/* Responsywność dla smartfonów */
@media screen and (max-width: 480px) {
    .splash-screen {
        padding: 2rem 1rem 1rem;
    }

    .logo-container {
        max-width: 95%;
        margin-top: 3vh;
    }
}

/* Responsywność dla bardzo małych ekranów */
@media screen and (max-width: 320px) {
    .splash-screen {
        padding: 1.5rem 0.5rem 0.5rem;
    }

    .logo-container {
        margin-top: 2vh;
    }
}

/* Optymalizacja dla wysokich ekranów (landscape na mobile) */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .splash-screen {
        padding: 1rem;
        align-items: center;
    }

    .logo-container {
        margin-top: 0;
    }

    .logo {
        max-height: 70vh;
    }
}