/* Base & Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif;

    /* Dark animated gradient background */
    background: linear-gradient(
        130deg,
        #0b0b0b,
        #141414,
        #1f0f2e,
        #2a0f0f
    );
    background-size: 600% 600%;
    animation: gradientShift 20s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Subtle overlay */
body::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(255,255,255,0.03) 0%,
        transparent 70%
    );
    z-index: 0;
    pointer-events: none;
}

/* Gradient animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

/* Floating Squares */
.background-squares {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.background-squares::before,
.background-squares::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        50vw 10vh 0 0 rgba(255, 255, 255, 0.04),
        80vw 30vh 0 0 rgba(255, 255, 255, 0.04),
        20vw 70vh 0 0 rgba(255, 255, 255, 0.04),
        60vw 50vh 0 0 rgba(255, 255, 255, 0.04),
        30vw 90vh 0 0 rgba(255, 255, 255, 0.04),
        90vw 80vh 0 0 rgba(255, 255, 255, 0.04);
    animation: floatSquares 20s linear infinite;
}

.background-squares::after {
    animation-delay: 10s;
}

@keyframes floatSquares {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

/* Container & Text */
.container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 200px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

h1 {
    font-size: 4rem;
    color: #f1f1f1;
    font-family: "Bebas Neue", serif;
    margin-bottom: 20px;
}

.slogan {
    font-size: 2rem;
    color: #dcdcdc;
    font-family: "Bebas Neue", serif;
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

.social-links a {
    color: #e0e0e0;
    font-size: 1.8rem;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: #b22222;
    transform: scale(1.3);
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Server Info */
.server-info-header {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: #f1f1f1;
    font-family: "Bebas Neue", serif;
    font-size: 1.2rem;
    align-items: center;
}

.server-info-header p {
    margin: 0;
}

/* Copy IP Button */
#copy-ip {
    padding: 6px 15px;
    background: #8b0000;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-family: "Bebas Neue", serif;
    transition: background 0.3s, transform 0.3s;
}

#copy-ip:hover {
    background: #b22222;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .slogan { font-size: 1.5rem; }
    .social-links a { font-size: 1.5rem; }
    .social-links { margin-top: 30px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    .slogan { font-size: 1.2rem; }
    .social-links a { font-size: 1.2rem; }
    .social-links { margin-top: 20px; }
}
