/* =========================
   FUENTE MINECRAFT
   ========================= */
@font-face {
    font-family: 'Minecraft';
    src: url('fonts/Minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Forzar fuente en TODOS los elementos */
html, body, button, input, select, textarea, p, div, span {
    font-family: 'Minecraft', monospace !important;
}

/* Quitar suavizado (CLAVE para look pixel) */
* {
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: auto;
    font-smooth: never;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================
   BODY Y FONDO
   ========================= */
body {
    background: url('assets/bg.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Tamaño base importante para la fuente */
    font-size: 18px;
}

/* =========================
   CONTENEDOR PRINCIPAL
   ========================= */
.container {
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.55);
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

/* =========================
   LOGO
   ========================= */
.logo {
    max-width: 500px;
    width: 90%;
    margin-bottom: 20px;
}

/* =========================
   TEXTO ESTADO
   ========================= */
#current-world {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 2px 2px #000;
}

#current-difficulty {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #ddd;
    text-shadow: 1px 1px #000;
}

/* =========================
   BOTONES
   ========================= */
.button {
    display: block;
    width: 220px;
    margin: 10px auto;
    padding: 12px;

    background: #4CAF50;
    color: #fff;

    font-size: 18px;
    letter-spacing: 1px;
    font-weight: normal;

    border: 2px solid #000;
    border-radius: 5px;

    cursor: pointer;
    transition: all 0.15s ease;
    text-shadow: 2px 2px #000;
}

.button:hover {
    background: #3e8e41;
    transform: scale(1.05);
}

/* =========================
   MÓVILES
   ========================= */
@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .container {
        width: 90%;
        padding: 18px;
    }

    .button {
        width: 95%;
        font-size: 16px;
    }

    #current-world {
        font-size: 1.2em;
    }

    #current-difficulty {
        font-size: 1.1em;
    }
}

.button-active {
    background: #c0392b;        /* rojo suave */
    border-color: #922b21;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.85;
    text-shadow: 1px 1px #000;
}

.button-active:hover {
    transform: none;
    background: #c0392b;
}
