body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    max-width: 800px;
    animation: glow 3s infinite alternate;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(to right, #9c27b0, #3f51b5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.server-address {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    gap: 10px;
}

.ip {
    font-size: 1.5rem;
    font-weight: bold;
    color: #9c27b0;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    margin: 0;
    text-shadow: 0 0 5px rgba(156, 39, 176, 0.5);
    letter-spacing: 1px;
}

#copy-ip {
    background: linear-gradient(135deg, #9c27b0, #3f51b5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

#copy-ip:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.8);
}

.whitelist-notice {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 193, 7, 0.2);
    border-left: 4px solid #FFC107;
    border-radius: 4px;
    text-align: center;
    animation: pulse 2s infinite alternate;
}

.whitelist-notice p {
    color: #FFC107;
    font-weight: bold;
    margin: 0;
    font-size: 1.1rem;
}

.no-session-notice {
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: rgba(158, 158, 158, 0.2);
    border-radius: 8px;
    text-align: center;
    max-width: 80%;
    border: 2px dashed rgba(158, 158, 158, 0.5);
}

.no-session-notice p {
    color: #e0e0e0;
    font-size: 1.3rem;
    margin: 0;
}

@keyframes pulse {
    from { box-shadow: 0 0 5px rgba(255, 193, 7, 0.3); }
    to { box-shadow: 0 0 15px rgba(255, 193, 7, 0.5); }
}

.server-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
    width: 100%;
}

.info-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem 2rem;
    margin: 1rem;
    min-width: 250px;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.5);
}

.info-box h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #9c27b0;
    text-shadow: 0 0 5px rgba(156, 39, 176, 0.5);
}

.info-box ul {
    list-style-type: none;
    padding: 0;
}

.info-box li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

#connected-players li {
    transition: all 0.3s ease;
}

#connected-players li:hover {
    transform: scale(1.05);
    color: #9c27b0;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
    }
}

@keyframes twinkle {
    0% {opacity: 0.3;}
    50% {opacity: 1;}
    100% {opacity: 0.3;}
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: white;
    border-radius: 50%;
}
