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

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

.guess-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transition: transform 0.3s ease;
}

.guess-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    letter-spacing: 2px;
}

#guide {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #e0e0e0;
}

#entry_box {
    margin-top: 1.5rem;
}

label#guess {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ff00cc;
    text-shadow: 0 0 5px rgba(255, 0, 204, 0.3);
}

#guessInput {
    background: transparent;
    border: none;
    border-bottom: 2px solid #00f3ff;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

#guessInput:focus {
    border-bottom-color: #ff00cc;
}

#submit, #newGame {
    background: linear-gradient(45deg, #ff00cc, #333399);
    border: none;
    border-radius: 50px;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 204, 0.3);
    margin-top: 1rem;
}

#submit:hover, #newGame:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 0, 204, 0.5);
    background: linear-gradient(45deg, #333399, #ff00cc);
}

#result_box {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 15px;
}

#previous_guess, #guess_remaining {
    font-size: 1rem;
    margin: 0.3rem 0;
    color: #ccc;
}

.guesses, .lastResult {
    font-weight: bold;
    color: #00f3ff;
    font-family: 'Orbitron', sans-serif;
}

#hint {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    min-height: 2rem;
    color: #ff00cc;
    text-shadow: 0 0 8px rgba(255, 0, 204, 0.4);
}

/* Dynamic classes that might be added by JS or useful for hint styling */
#hint h3 {
    margin: 0;
    font-weight: normal;
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .guess-box {
        padding: 2rem;
    }
    
    #guessInput {
        font-size: 1.5rem;
    }
}

