/* Resetowanie marginesów, paddingu */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ustawienia globalne */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #6e7ddf, #0a2540); /* Gradientowy kolor tła */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-image: url('./background.jpeg'); /* Twój obrazek tła */
    background-size: cover; /* Pokrywa całą przestrzeń ekranu */
    background-position: center center; /* Wyśrodkowuje obrazek */
    background-attachment: fixed; /* Zapewnia, że tło nie przesuwa się podczas przewijania */
    background-repeat: no-repeat; /* Zapobiega powtarzaniu się tła */
}

/* Kontener główny */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Zawartość strony */
.content-wrapper {
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    animation: fadeIn 1.2s ease-out;
}

/* Logo */
.logo h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ff6f61;
    margin-bottom: 20px;
}

/* Tytuł strony */
h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

/* Podtytuł */
.subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 30px;
}

/* Przycisk logowania */
.login-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    background: #7289da;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.login-button:hover {
    background: #5a6d99;
}

/* Link rejestracji */
.footer-text {
    font-size: 0.9rem;
    color: #b0b0b0;
}

.footer-text .link-text {
    color: #ff6f61;
    text-decoration: none;
    font-weight: 600;
}

.footer-text .link-text:hover {
    text-decoration: underline;
}

/* Ikony social media */
.social-media-links {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.social-icon {
    font-size: 2.5rem;
    margin: 0 15px;
    color: #b0b0b0;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #fff;
}

/* Kolory specyficzne dla ikon */
.social-icon.discord:hover {
    color: #7289da; /* Discord */
}

.social-icon.youtube:hover {
    color: #ff0000; /* YouTube */
}

.social-icon.github:hover {
    color: #333; /* GitHub */
}

/* Animacja w fade-in */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .content-wrapper {
        padding: 20px;
    }

    .logo h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .login-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .social-icon {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .content-wrapper {
        padding: 15px;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .login-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .social-icon {
        font-size: 1.8rem;
    }
}
/* Kontener przycisków w prawym dolnym rogu */
.buttons-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

/* Styl przycisków */
.button {
    background-color: #4CAF50; /* Zielony kolor tła przycisków */
    color: white;
    padding: 12px 25px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px; /* Dystans pomiędzy ikoną a tekstem */
    transition: background-color 0.3s, transform 0.3s;
}

/* Styl ikon */
.button i {
    font-size: 1.4rem; /* Powiększenie ikon */
    transition: transform 0.3s;
}

/* Efekt hover dla przycisków */
.button:hover {
    background-color: #45a049;
    transform: translateY(-5px);
}

/* Efekt hover dla ikon */
.button:hover i {
    transform: rotate(10deg); /* Obrót ikony podczas hover */
}

/* Styl dla przycisku Changelog */
.button:first-child {
    background-color: #3498db; /* Kolor przycisku Changelog */
}

.button:first-child:hover {
    background-color: #2980b9;
}

/* Styl dla przycisku Staff */
.button:nth-child(2) {
    background-color: #e67e22; /* Kolor przycisku Staff */
}

.button:nth-child(2):hover {
    background-color: #d35400;
}

/* Styl dla przycisku Rules */
.button:nth-child(3) {
    background-color: #f39c12; /* Kolor przycisku Rules */
}

.button:nth-child(3):hover {
    background-color: #e67e22;
}

/* Media Queries dla urządzeń mobilnych */
@media screen and (max-width: 768px) {
    .buttons-container {
        bottom: 10px;
        right: 10px;
        gap: 8px; /* Mniejszy odstęp między przyciskami na małych ekranach */
    }

    .button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .button i {
        font-size: 1.2rem; /* Mniejsze ikony na mobilkach */
    }
}

@media screen and (max-width: 480px) {
    .buttons-container {
        bottom: 8px;
        right: 8px;
    }

    .button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .button i {
        font-size: 1rem; /* Jeszcze mniejsze ikony na bardzo małych ekranach */
    }
}
