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

.reset-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    padding: 10px 20px;
    background: #c62828;
    color: #fff;
    border: 3px solid #8B0000;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 0.7em;
    cursor: pointer;
    text-shadow: 2px 2px 0px #000;
    transition: all 0.2s;
    z-index: 100;
}

.reset-btn:hover {
    background: #e53935;
    transform: scale(1.05);
}

.reset-btn:active {
    transform: scale(0.95);
}

body {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    background: linear-gradient(to bottom, #87CEEB 0%, #98D8E8 50%, #7CB342 50%, #558B2F 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

h1 {
    color: #fff;
    text-shadow: 3px 3px 0px #000;
    margin-bottom: 40px;
    font-size: 2em;
}

h2 {
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 30px;
    font-size: 1.5em;
}

.worlds-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.world-card {
    background: rgba(0, 0, 0, 0.7);
    border: 4px solid #8B4513;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.world-card.available {
    border-color: #4CAF50;
}

.world-card.available:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.world-card.locked {
    opacity: 0.6;
    border-color: #666;
}

.world-icon {
    width: 100px;
    height: 100px;
    border: 3px solid #000;
    flex-shrink: 0;
    image-rendering: pixelated;
}

.world-icon.overworld {
    background: linear-gradient(to bottom,
        #87CEEB 0%,
        #87CEEB 30%,
        #7CB342 30%,
        #7CB342 60%,
        #946C4E 60%,
        #946C4E 100%
    );
}

.world-icon.nether {
    background: linear-gradient(to bottom,
        #8B0000 0%,
        #8B0000 50%,
        #4A0000 50%,
        #4A0000 100%
    );
    background-size: 20px 20px;
}

.world-icon.end {
    background: linear-gradient(to bottom,
        #1a1a2e 0%,
        #1a1a2e 50%,
        #0f0f1e 50%,
        #0f0f1e 100%
    );
    background-size: 20px 20px;
}

.world-info {
    flex: 1;
    text-align: left;
}

.world-card h3 {
    color: #fff;
    font-size: 1.3em;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 0px #000;
}

.world-card p {
    color: #ddd;
    font-size: 0.7em;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.unlock-requirement {
    color: #FFD700;
    font-size: 0.65em;
    margin-top: 10px;
    font-weight: bold;
}

.world-card > a,
.world-card > button {
    margin-left: auto;
}

.play-button {
    background: #4CAF50;
    color: white;
    border: 3px solid #2d6b2f;
    padding: 15px 30px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    font-size: 0.9em;
    cursor: pointer;
    text-shadow: 2px 2px 0px #000;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    margin-left: auto;
}

.play-button:hover {
    background: #45a049;
    transform: scale(1.05);
}

.play-button:active {
    transform: scale(0.95);
}

.play-button.disabled {
    background: #666;
    border-color: #444;
    cursor: not-allowed;
}

.play-button.disabled:hover {
    transform: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.2em;
    }

    h2 {
        font-size: 1em;
    }

    .world-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .world-icon {
        width: 80px;
        height: 80px;
    }

    .world-card h3 {
        font-size: 1em;
    }

    .world-card p {
        font-size: 0.6em;
    }

    .play-button {
        font-size: 0.7em;
        padding: 12px 20px;
        margin-left: 0;
    }
}
