/* --- Base Styles --- */
body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #0a0c10;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

#game-container {
    width: 90%;
    max-width: 900px;
    margin: 20px;
    padding: 30px;
    background: rgba(19, 25, 41, 0.8);
    border: 1px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hidden {
    display: none !important;
}

/* --- Header --- */
.main-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #00ffff80;
    padding-bottom: 20px;
}

.main-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3em;
    margin: 0;
    color: #fff;
    letter-spacing: 5px;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
}

.main-header h1 span {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
}

.subtitle {
    font-family: 'Orbitron', sans-serif;
    color: #00ffff;
    margin: 0;
    letter-spacing: 3px;
}

/* --- Status & Setup --- */
#status, #secret-input-area h2 {
    text-align: center;
    font-size: 1.5em;
    color: #00ffff;
    margin-bottom: 20px;
}

#secret-input-area {
    text-align: center;
}

/* --- Inputs & Buttons --- */
input[type="text"], input[type="password"] {
    font-family: 'Orbitron', sans-serif;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ffff;
    color: #e0e0e0;
    padding: 15px;
    font-size: 1.5em;
    width: 180px;
    text-align: center;
    border-radius: 5px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    box-shadow: 0 0 15px #00ffff;
}

button {
    font-family: 'Orbitron', sans-serif;
    background-color: transparent;
    border: 2px solid #ff00ff;
    color: #ff00ff;
    padding: 15px 30px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #ff00ff;
}

button:hover {
    background-color: #ff00ff;
    color: #0a0c10;
    box-shadow: 0 0 20px #ff00ff;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Game Board --- */
#game-board {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.game-panel {
    width: 48%;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #00ffff40;
}

.game-panel h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00ffff;
    text-align: center;
    margin-top: 0;
}

.input-group {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.history-list {
    list-style-type: none;
    padding: 0;
    height: 250px;
    overflow-y: auto;
    border: 1px solid #00ffff40;
    border-radius: 5px;
    padding: 10px;
}

.history-list li {
    padding: 10px;
    border-bottom: 1px solid #00ffff20;
    font-size: 1.1em;
}

.history-list li:last-child {
    border-bottom: none;
}

/* --- Result Screen --- */
#result-area {
    text-align: center;
    padding: 40px 0;
}

#result-message {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    color: #ff00ff;
    text-shadow: 0 0 15px #ff00ff;
}