 body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
    padding-top: 100px;
        }

 .score-display {
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1.8em;
    font-weight: bold;
    margin: 15px 0;
    color: #333;
 }

 .play-button {
    background-color: white;
    border: 2px solid black;
    color: black;
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 2.2em;
    padding: 20px 50px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    margin: 20px 0;
    transition: color 0.3s ease;
 }

 .play-button:hover {
    color: gray;
 }

 .number-display {
    background-color: white;
    border: 2px solid black;
    color: black;
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 4.5em;
    padding: 20px 50px;
    text-align: center;
    user-select: none;
    margin: 20px 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
 }

 .input-section {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
 }

 #userInput {
    padding: 12px 20px !important;
    font-size: 1.3em !important;
    border: 2px solid #333 !important;
    border-radius: 5px !important;
    font-family: 'Courier New', monospace !important;
    width: 600px !important;
    max-width: none !important;
    min-width: auto !important;
    box-sizing: border-box !important;
    text-align: center !important;
 }

 #userInput:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
 }

#submitButton {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 0 12px 0;
    font-size: 2em;
    border-radius: 5px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 60px;
    box-sizing: border-box;
    line-height: 1;
 }

 #submitButton:hover {
    background-color: #0056b3;
 }

 .message {
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
 }

.message.correct {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
 }

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
 }

 .game-over {
    text-align: center;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
 }

 .final-score {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Courier New', monospace;
 }

 .play-again {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.3em;
    border-radius: 5px;
    cursor: pointer;
    font-family: Impact, 'Arial Black', sans-serif;
    transition: background-color 0.3s ease;
 }

 .play-again:hover {
    background-color: #218838;
 }
 
 .main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100px;
    background: #861e13;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    }
.main-header-text {
    color: #fff;
    font-family: Impact, Charcoal, 'Arial Black', sans-serif;
    font-size: 2.7em;
    font-style: italic;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    user-select: none;
    margin-top: 18px;
    line-height: 1.1;
}

#sub-footer {
        width: 100vw;
        background: #f5f5f5;
        border-top: 1px solid #e0e0e0;
        left: 0;
        bottom: 0;
        z-index: 999;
    }
#sub-footer-core {
    max-width: 900px;
    margin: 0 auto;
    padding: 22px 16px 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85em;
}
.copyright {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.mispoliticas {
    margin-bottom: 6px;
}
.mispoliticas a {
          margin-bottom: 6px;
    font-size: 0.85em;
    text-decoration: underline;
    margin: 0 2px;
}
.mispoliticas a:hover {
    color: #2980b9;
}
.micopyright {
    color: #888;
    font-size: 0.85em;
}
@media (max-width: 600px) {
    #sub-footer-core { font-size: 0.85em; }
    .mispoliticas a, .micopyright { font-size: 0.85em; }
}

.info-msg {
    max-width: 600px;
    min-width: 320px;
    background: #f9f6e7;
    border: 1.5px solid #f1e1a6;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.12);
    padding: 32px 24px 24px 24px;
        margin: 60px auto 39px auto; /* separación de 3 líneas aprox, aumentado 30% */
    text-align: center;
    font-size: 1.08em;
    color: #333;
    font-weight: 500;
    display: block;
}
.info-msg .info-title {
    font-weight: bold;
    display: block;
    margin-bottom: 1.2em;
    font-size: 1.13em;
}
.info-msg .info-line {
    display: block;
    margin-bottom: 0.7em;
}
.info-msg a {
    color: #c0392b;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}
.info-msg a:hover {
    color: #2980b9;
    text-decoration: underline;
}

h1 {
            margin-bottom: 5px;
            color: #2c3e50;
            text-align: center;
            font-size: 1.9rem;
            letter-spacing: 1px;
        }


