:root {
    --primary: #171a21;
    --secondary: #1b2838;
    --accent: #66c0f4;
    --text: #c7d5e0;
    --bg: #0f1216;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    color: var(--accent);
    text-align: center;
}

.card {
    background: var(--primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    background: var(--secondary);
    border: 1px solid #2a475e;
    color: white;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background: linear-gradient(90deg, #06BFFF 0%, #2D73FF 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

button:hover {
    opacity: 0.9;
}

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

.secondary-btn {
    background: #3d4450;
    width: auto;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.list-container {
    max-height: 400px;
    overflow-y: auto;
    background: var(--secondary);
    border-radius: 4px;
    margin-top: 10px;
    border: 1px solid #2a475e;
}

.game-item {
    padding: 10px;
    border-bottom: 1px solid #2a475e;
    cursor: pointer;
    transition: background 0.2s;
}

.game-item:hover {
    background: #2a475e;
}

.game-item.selected {
    background: var(--accent);
    color: var(--primary);
}

.controls {
    display: flex;
    gap: 10px;
}

.options {
    margin: 15px 0;
    display: flex;
    gap: 20px;
}

.status {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9em;
}

.success { color: #5cb85c; }
.error { color: #d9534f; }

pre {
    background: var(--bg);
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.8em;
}
