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

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    display: flex;
    gap: 20px;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.side-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hold-container, .next-container {
    background-color: #2a2a2a;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.hold-container h3, .next-container h3 {
    margin-bottom: 10px;
    color: #00ffff;
    font-size: 14px;
}

.stats {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 5px;
}

.stats > div {
    margin-bottom: 15px;
}

.stats h3 {
    color: #00ffff;
    font-size: 14px;
    margin-bottom: 5px;
}

.stats div[id] {
    font-size: 24px;
    font-weight: bold;
}

.game-board {
    position: relative;
}

#gameCanvas {
    border: 2px solid #444;
    background-color: #000;
}

.game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.game-over h2 {
    color: #ff0000;
    margin-bottom: 20px;
}

.game-over p {
    margin-bottom: 20px;
    font-size: 18px;
}

.game-over button {
    background-color: #00ffff;
    color: #000;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.game-over button:hover {
    background-color: #00cccc;
}

.controls {
    margin-top: 20px;
    color: #888;
    font-size: 14px;
}

#holdCanvas, #nextCanvas {
    border: 1px solid #333;
}

.github-link {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #24292e;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.github-link:hover {
    background-color: #2f363d;
}

.github-link svg {
    width: 20px;
    height: 20px;
}