@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Use min-height for better responsiveness */
    margin: 0;
    background: linear-gradient(to bottom right, #ece9e6, #ffffff); /* Subtle gradient background */
    font-family: 'Roboto', sans-serif;
    color: #333;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

#game-container {
    display: flex;
    align-items: flex-start;
    background-color: #fdfdfd;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Softer, larger shadow */
    padding: 20px;
    gap: 30px; /* Space between canvas and info */
}

canvas {
    border: none; /* Remove hard border */
    background-color: #e0e0e0; /* Slightly darker background for the board */
    border-radius: 8px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1); /* Inner shadow for depth */
}

#info-display {
    font-family: 'Roboto', sans-serif;
    color: #555;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space */
    height: 384px; /* Match canvas height */
}

#info-display h2, #info-display h3 {
    color: #444;
    margin-top: 0;
    margin-bottom: 10px;
}

#score {
    font-size: 1.8em;
    font-weight: 700;
    color: #007bff; /* Highlight score */
}

#nextPuyoCanvas {
    border: none; /* Remove hard border */
    background-color: #e0e0e0;
    border-radius: 8px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

#game-over {
    color: #dc3545;
    font-size: 2em;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hidden {
    display: none;
}