:root {
    color-scheme: dark;
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body,
#display-stage {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #111;
}

body {
    cursor: none;
}

.display-slide,
.empty-display {
    width: 100vw;
    height: 100vh;
}

.empty-display {
    display: grid;
    place-items: center;
    color: #777;
    font-size: 3vw;
}

.message-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5vw;
    padding: 7vh 7vw;
    color: white;
    background: linear-gradient(135deg, #172554, #0f766e);
}

.message-slide:not(:has(.message-image)) {
    grid-template-columns: 1fr;
    text-align: center;
}

.message-slide h1,
.price-list-slide h1 {
    margin: 0 0 4vh;
    font-size: clamp(3rem, 7vw, 8rem);
    line-height: 1;
}

.message-slide p {
    margin: 0;
    white-space: pre-line;
    font-size: clamp(2rem, 4vw, 5rem);
}

.message-image img {
    display: block;
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 1rem;
}

.countdown {
    margin-top: 5vh;
    font-size: clamp(2.5rem, 6vw, 7rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.price-list-slide {
    position: relative;
    padding: 6vh 7vw 13vh;
    color: #1f2937;
    background: #fff7ed;
}

.price-list-slide h1 {
    color: #9a3412;
    text-align: center;
}

.price-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5vh 6vw;
}

.price-item {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 0.5vh;
    border-bottom: 2px dotted #fed7aa;
    font-size: clamp(1.5rem, 3vw, 3.5rem);
}

.price-item span:last-child {
    font-weight: 700;
    white-space: nowrap;
}

.specials-ticker {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    padding: 2vh 0;
    color: white;
    background: #9a3412;
    white-space: nowrap;
    font-size: clamp(1.5rem, 3vw, 3.5rem);
}

.specials-ticker span {
    display: inline-block;
    min-width: 100%;
    padding-left: 100%;
    animation: ticker 14s linear infinite;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
