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

body {
    font-family: 'Press Start 2P', cursive;
    background: linear-gradient(45deg, #4a4a4a 25%, #3a3a3a 25%, #3a3a3a 50%, #4a4a4a 50%, #4a4a4a 75%, #3a3a3a 75%);
    background-size: 40px 40px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* Animated background blocks */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(139, 69, 19, 0.3) 100%),
        linear-gradient(transparent 98%, rgba(139, 69, 19, 0.3) 100%);
    background-size: 40px 40px;
    animation: blockShift 20s linear infinite;
}

@keyframes blockShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.container {
    background: rgba(0, 0, 0, 0.8);
    border: 4px solid #8B4513;
    border-radius: 0;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 0 0 2px #654321,
        0 8px 16px rgba(0, 0, 0, 0.5);
}

.logo {
    margin-bottom: 30px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    padding: 20px;
    border-radius: 50%;
}

.logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

h1 {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px #B8860B;
    line-height: 1.4;
}

.subtitle {
    color: #FF6B35;
    font-size: 14px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 0px #CC4500;
}

.message {
    color: #90EE90;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 0px #228B22;
}

.tools {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tool {
    width: 32px;
    height: 32px;
    background: #8B4513;
    border: 2px solid #654321;
    position: relative;
    animation: toolBob 2s ease-in-out infinite;
}

.tool:nth-child(1) { animation-delay: 0s; }
.tool:nth-child(2) { animation-delay: 0.5s; }
.tool:nth-child(3) { animation-delay: 1s; }

.tool::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #D2691E;
}

.tool:nth-child(1)::before {
    width: 16px;
    height: 16px;
    background: #C0C0C0; /* Pickaxe */
}

.tool:nth-child(2)::before {
    width: 18px;
    height: 12px;
    background: #8B4513; /* Crafting table */
}

.tool:nth-child(3)::before {
    width: 14px;
    height: 18px;
    background: #228B22; /* Creeper */
}

@keyframes toolBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #2a2a2a;
    border: 2px solid #654321;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #228B22, #32CD32);
    width: 0;
    animation: building 8s ease-in-out infinite;
}

@keyframes building {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 0%; }
}

.footer {
    color: #A9A9A9;
    font-size: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 18px;
    }
    
    .subtitle {
        font-size: 12px;
    }
    
    .message {
        font-size: 10px;
    }
    
    .logo img {
        max-width: 150px;
    }
}
