@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #4a90e2 0%, #87ceeb 50%, #228b22 100%);
    font-family: 'Press Start 2P', cursive;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    image-rendering: pixelated;
}

/* Pixelated clouds */
.clouds {
    position: absolute;
    top: 10%;
    width: 100%;
    height: 200px;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: white;
    box-shadow: 
        0 0 0 8px white,
        0 0 0 16px white,
        16px 0 0 8px white,
        -16px 0 0 8px white;
    width: 32px;
    height: 16px;
    animation: float 20s linear infinite;
}

.cloud:nth-child(1) { left: -100px; top: 30px; animation-duration: 25s; }
.cloud:nth-child(2) { left: -150px; top: 80px; animation-duration: 30s; }
.cloud:nth-child(3) { left: -200px; top: 120px; animation-duration: 35s; }

@keyframes float {
    to { transform: translateX(calc(100vw + 200px)); }
}

.container {
    text-align: center;
    z-index: 10;
    background: rgba(139, 69, 19, 0.9);
    border: 8px solid #654321;
    padding: 40px;
    box-shadow: 
        0 8px 0 #3d2817,
        0 16px 0 #2d1f12,
        0 16px 20px rgba(0,0,0,0.5);
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    image-rendering: pixelated;
    border: 4px solid #654321;
    box-shadow: 0 4px 0 #3d2817;
}

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffff00;
    text-shadow: 
        4px 4px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;
    letter-spacing: 4px;
}

.subtitle {
    font-size: 0.8em;
    margin-top: 20px;
    color: #90ee90;
    text-shadow: 
        2px 2px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

/* Easter egg - hidden dante button */
.easter-egg {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    opacity: 0.01;
    cursor: pointer;
    transition: opacity 0.3s;
}

.easter-egg:hover {
    opacity: 1;
    background: #654321;
    border: 2px solid #ffff00;
    color: #ffff00;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 5px;
}

.easter-egg:hover::after {
    content: 'dante';
}

/* Grass blocks at bottom */
.grass {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 64px;
    background: repeating-linear-gradient(
        90deg,
        #228b22 0px,
        #228b22 32px,
        #2ea52e 32px,
        #2ea52e 64px
    );
    border-top: 4px solid #1a6b1a;
}

/* Join button */
.join-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #5865f2;
    color: white;
    text-decoration: none;
    font-size: 0.6em;
    border: 4px solid #4752c4;
    box-shadow: 
        0 4px 0 #4752c4,
        0 8px 0 #3c44a8;
    transition: transform 0.1s, box-shadow 0.1s;
    cursor: pointer;
}

.join-button:hover {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 #4752c4,
        0 4px 0 #3c44a8;
    background: #4752c4;
}

.join-button:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* Creator link at bottom */
.creator-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ffff00;
    text-decoration: none;
    font-size: 0.5em;
    z-index: 100;
    text-shadow: 
        2px 2px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    transition: transform 0.2s;
}

.creator-link:hover {
    color: #90ee90;
    transform: scale(1.2);
}
