body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background-color: #000;
    color: white;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

h1 {
    font-size: 4rem;
    margin-top: 2rem;
    text-align: center;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255,255,255,0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255,255,255,0.8),
                     0 0 30px rgba(30,144,255,0.6),
                     0 0 40px rgba(30,144,255,0.4);
    }
}

#globe {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(0, 255, 255, 0.5); }
    50% { border-color: rgba(0, 255, 255, 0.1); }
}

@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes glowingText {
    0% { text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.8); }
    50% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 30px rgba(0, 255, 255, 0.8); }
    100% { text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.8); }
}

.join-button {
    padding: 1.5rem 3.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, 
        rgba(0, 24, 36, 0.9) 0%,
        rgba(0, 36, 54, 0.9) 50%,
        rgba(0, 24, 36, 0.9) 100%);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: borderGlow 2s infinite, buttonPulse 2s infinite;
    backdrop-filter: blur(5px);
}

.join-button::before,
.join-button::after {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(45deg,
        #00ffff,
        #001aff,
        #00ffff,
        #001aff);
    background-size: 400%;
    animation: borderRotate 4s linear infinite;
    border-radius: 15px;
}

.join-button::after {
    filter: blur(10px);
    opacity: 0.6;
}

@keyframes borderRotate {
    0% { background-position: 0 0; }
    100% { background-position: 400% 0; }
}

.join-button span {
    position: relative;
    z-index: 2;
    animation: glowingText 2s infinite;
}

.join-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4),
              0 0 60px rgba(0, 255, 255, 0.2),
              0 0 90px rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.6);
}

.join-button:hover::after {
    opacity: 0.8;
    filter: blur(15px);
}

.join-button:active {
    transform: scale(0.98);
}

/* Mobile Styles */
@media (max-width: 428px) {
    h1 {
        font-size: 3rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .content {
        justify-content: center;
        padding-bottom: 8rem;
    }

    .join-button {
        position: fixed;
        bottom: 5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        max-width: 300px;
        padding: 1.2rem 2rem;
        font-size: 1.5rem;
    }
}

/* Tablet Styles */
@media (min-width: 429px) and (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
}
