/* Inherits from ../../assets/css/style.css */
.game-container {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: calc(100vh - 80px);
}

.game-header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.rules-box {
    margin: 1.5rem auto;
    max-width: 500px;
    text-align: left;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    backdrop-filter: blur(10px);
}

.game-board {
    max-width: 500px;
    margin: 0 auto;
}

.input-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

#guessInput {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    border-radius: 4px;
    font-family: inherit;
    text-align: center;
    letter-spacing: 0.3rem;
    transition: border-color var(--transition-fast);
}

#guessInput:focus {
    outline: none;
    border-color: var(--text-secondary);
}

#guessInput:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

.message-area {
    min-height: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-area.error { color: #ff6b6b; }
.message-area.success { color: #51cf66; font-size: 1.2rem; font-weight: 500; }

.history-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-secondary);
}

.history-table th, .history-table td {
    padding: 0.8rem;
    text-align: center;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.history-table th {
    font-weight: 500;
    color: var(--text-primary);
}

.history-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Specific styling for results */
.res-a { color: #51cf66; font-weight: 600; margin-right: 2px;}
.res-b { color: #fcc419; font-weight: 600; }
