:root {
    --primary-color: #6C5CE7;
    --secondary-color: #00CEC9;
    --background-color: #2D3436;
    --surface-color: #353b48;
    --text-color: #DFE6E9;
    --accent-color: #FD79A8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

h1,
h2,
h3 {
    color: var(--secondary-color);
    text-align: center;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #5849be;
}

.container {
    width: 90%;
    max-width: 800px;
    padding: 20px;
    background-color: var(--surface-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

/* Landing Page */
.landing-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.landing-options a {
    text-decoration: none;
}

.landing-button {
    display: block;
    width: 200px;
    text-align: center;
    padding: 15px;
    font-size: 1.2rem;
}

/* Host Page */
.number-display {
    font-size: 8rem;
    font-weight: bold;
    color: var(--accent-color);
    text-align: center;
    margin: 20px 0;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.board {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    margin-top: 20px;
}

.board-number {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.9rem;
}

.board-number.called {
    background-color: var(--secondary-color);
    color: var(--surface-color);
    font-weight: bold;
}

/* Player/Room Page */
.ticket {
    background-color: #fff;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    margin: 20px auto;
    max-width: 600px;
}

.ticket-row {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    border: 1px solid #ccc;
}

.ticket-cell {
    border: 1px solid #ccc;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
}

.ticket-cell.empty {
    background-color: #eee;
}

.ticket-cell.marked {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}