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

body {
    min-height: 100vh;
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: system-ui, -apple-system, sans-serif;
    color: #eee;
}

.game-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.board-wrapper {
    background: #16213e;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;
}

.panel {
    background: #16213e;
    padding: 1.5rem;
    border-radius: 8px;
}

.panel h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 1rem;
}

.player-indicator {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.player-indicator.active {
    background: #e94560;
}

.player-indicator .piece-preview {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.player-indicator .piece-preview.dark {
    background: #c41e3a;
    border: 2px solid #ff6b6b;
}

.player-indicator .piece-preview.light {
    background: #f0f0f0;
    border: 2px solid #ccc;
}

.winner-banner {
    background: #e94560;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.winner-banner h2 {
    color: #fff;
    margin-bottom: 1rem;
}

button {
    background: #0f3460;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

button:hover {
    background: #1a5090;
}

.rules-subtitle {
    color: #aaa;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rules-list li {
    padding-left: 1rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ccc;
}

.rules-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #e94560;
}