html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
}

  
  
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.float-logo {
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
}

#particles-js {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

h1,
p {
    background: none !important;
}

.divider {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    height: 30px;
}

.status-online {
    color: #4ade80;
    font-weight: bold;
}

.status-offline {
    color: #ef4444;
    font-weight: bold;
}

.players-count {
    color: #cccccc;
    font-weight: bold;
}

.nav-button {
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.copy-container {
    display: flex;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 8px;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.copy-btn {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.copy-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    cursor: pointer;
}

.game-icon {
    width: 36px;
    height: 36px;
    filter: brightness(0) invert(1);
}

.ip-text {
    font-weight: bold;
    color: #fff;
}

.bedrock-text {
    font-weight: bold;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 10px;
    display: inline-block;
}

.login-btn {
    padding: 6px 12px;
    background-color: #4ade80;
    color: #000;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.login-btn:hover {
    background-color: #22c55e;
}

.button-82-pushable {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin-top: 30px;
}

.button-82-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: hsl(0deg 0% 0% / 0.25);
    will-change: transform;
    transform: translateY(2px);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}

.button-82-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(to left, #1e3a8a 0%, #2563eb 8%, #2563eb 92%, #1e3a8a 100%);
}

.button-82-front {
    display: block;
    position: relative;
    padding: 12px 27px;
    border-radius: 12px;
    font-size: 1.1rem;
    color: white;
    background: #3b82f6;
    will-change: transform;
    transform: translateY(-4px);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}

@media (min-width: 768px) {
    .button-82-front {
        font-size: 1.25rem;
        padding: 12px 42px;
    }
}

.button-82-pushable:hover {
    filter: brightness(110%);
    -webkit-filter: brightness(110%);
}

.button-82-pushable:hover .button-82-front {
    transform: translateY(-6px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.button-82-pushable:active .button-82-front {
    transform: translateY(-2px);
    transition: transform 34ms;
}

.button-82-pushable:hover .button-82-shadow {
    transform: translateY(4px);
    transition: transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.button-82-pushable:active .button-82-shadow {
    transform: translateY(1px);
    transition: transform 34ms;
}

.button-82-pushable:focus:not(:focus-visible) {
    outline: none;
}

@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px;
    }
    .nav-button {
        min-width: auto;
        font-size: 12px;
    }
    .divider {
        display: none;
    }
    .text-6xl {
        font-size: 2rem;
    }
    .text-xl {
        font-size: 1rem;
    }
    .game-icon {
        width: 28px;
        height: 28px;
    }
    .copy-icon {
        width: 24px;
        height: 24px;
    }
    .nav-menu {
        display: none;
        width: 100%;
    }
    .nav-menu.show {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .hamburger {
        display: block;
    }
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}