@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', cursive;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
    position: relative;
    overflow-x: hidden;  /* Ukrywa tylko poziomy scroll */
    overflow-y: auto;    /* Pozwala na pionowy scroll */
    padding: 20px 0;     /* Dodaje padding góra/dół */
    padding-bottom: 100px; /* Dodatkowa przestrzeń na dole dla pieska */
}

/* Minecraft-style background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAUSURBVHjaYvz//z8DCFgZGRmJAwAaOwMBJNmJjQAAAABJRU5ErkJggg==');
    background-size: 100px 100px;
    z-index: -2;
    animation: backgroundScroll 20s linear infinite;
}

/* Grass block pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(34, 139, 34, 0.1) 2px,
            rgba(34, 139, 34, 0.1) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(34, 139, 34, 0.1) 2px,
            rgba(34, 139, 34, 0.1) 4px
        );
    z-index: -1;
}

@keyframes backgroundScroll {
    from { transform: translate(0, 0); }
    to { transform: translate(-100px, -100px); }
}

.container {
    text-align: center;
    z-index: 10;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-container {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
}

.logo {
    max-width: 600px;  /* Maksymalna szerokość na dużych ekranach */
    width: 100%;       /* Zajmuje całą dostępną szerokość */
    height: auto;      /* Zachowuje proporcje */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8));
    transition: all 0.3s ease;
}

/* Responsywność dla różnych rozmiarów ekranu */
@media (max-width: 1200px) {
    .logo {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .logo {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 250px;
    }
}

.logo:hover {
    transform: scale(1.05);
    filter:
        drop-shadow(0 15px 30px rgba(255,215,0,0.6))
        brightness(1.2)
        saturate(1.5);
}

.golden-text {
    display: inline-block;
    font-size: clamp(24px, 5vw, 48px);
    color: #FFD700;
    text-decoration: none;
    text-shadow:
        3px 3px 0px #B8860B,
        6px 6px 0px rgba(0,0,0,0.5),
        0 0 30px rgba(255,215,0,0.5);
    transition: all 0.3s ease;
    margin-top: 30px;
    letter-spacing: 2px;
}

.golden-text:hover {
    color: #FFF;
    text-shadow:
        3px 3px 0px #FFD700,
        6px 6px 0px #B8860B,
        9px 9px 0px rgba(0,0,0,0.5),
        0 0 50px rgba(255,215,0,0.8);
    transform: translateY(-5px) scale(1.1);
}

/* Discord variant of golden-text */
.golden-text.discord {
    color: #5865F2 !important;  /* Discord Blue */
    text-shadow:
        3px 3px 0px #4752C4,
        6px 6px 0px rgba(0,0,0,0.5),
        0 0 30px rgba(88,101,242,0.5) !important;
    margin-top: 20px;
}

.golden-text.discord:hover {
    color: #FFF !important;
    text-shadow:
        3px 3px 0px #5865F2,
        6px 6px 0px #4752C4,
        9px 9px 0px rgba(0,0,0,0.5),
        0 0 50px rgba(88,101,242,0.8) !important;
    transform: translateY(-5px) scale(1.1);
}

/* Minecraft particles effect */
.particle {
    position: fixed;
    pointer-events: none;
    opacity: 0;
    animation: particleFloat 4s linear;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-200px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-250px) scale(0);
    }
}

/* Dog with gold */
.dog-logo {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.server-ip {
    margin-top: 50px;
    color: #7a7a7a;
    font-size: 12px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .golden-text {
        font-size: 24px;
    }

    .dog-logo {
        width: 150px;
    }

    .server-ip {
        font-size: 10px;
    }
}
/* Server status */
.server-status {
    margin-top: 15px;
    color: #7a7a7a;
    font-size: 12px;
    text-shadow:
        1px 1px 0px #000,
        0 0 10px rgba(255,215,0,0.3);
}
.server-status.online {
    color: #FFD700;   /* Złoty dla online */
}
.server-status.offline {
    color: #7a7a7a;   /* Szary dla offline */
}
