:root { color-scheme: dark; font-family: Georgia, 'Times New Roman', serif; background: #17100b; color: #fff; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: radial-gradient(circle at 12% 15%, #6d4223 0, #2b170c 25%, #110b07 72%); }
.screen { width: 100vw; height: 100vh; display: grid; grid-template-rows: 11vh 1fr 8vh; padding: 2vh 3vw 0; }
.brand { display: flex; align-items: center; justify-content: space-between; gap: 2vw; }
.logo-main { width: min(34vw, 460px); height: 7vh; object-fit: contain; object-position: left center; }
.brand-meta { display: flex; align-items: center; gap: 2vw; margin-left: auto; font-family: Arial, sans-serif; }
.welcome { color: #f5c76b; letter-spacing: .18em; font-size: clamp(12px, 1.2vw, 22px); }
#brand { display: none; }
#clock { font-size: clamp(16px, 1.4vw, 28px); opacity: .72; }
.content { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 28vw); gap: 2vw; align-items: center; }
.slides { height: 100%; min-height: 0; display: grid; place-items: center; overflow: hidden; border-radius: 28px; border: 1px solid #eab86655; background: linear-gradient(135deg, #412212aa, #140b07cc), url('content/logo-andys-kitchen.png') center/55% auto no-repeat; box-shadow: inset 0 0 100px #0008, 0 20px 60px #0008; }
.slide { display: none; width: 100%; height: 88%; object-fit: contain; border-radius: 20px; box-shadow: 0 16px 50px #0008; }
.slide.active { display: block; animation: fade .5s ease; }
.empty { color: #cbd5e1; text-align: center; font-size: clamp(22px, 3vw, 48px); }
.hero-fallback { text-align: center; padding: 4vw; text-shadow: 0 3px 15px #000; }
.eyebrow { color: #f5c76b; font: 600 clamp(12px, 1.1vw, 20px)/1.4 Arial,sans-serif; letter-spacing: .32em; }
.hero-fallback h1 { margin: 1.5vh 0; font-size: clamp(36px, 5vw, 92px); line-height: .98; }
.hero-fallback h1 em { color: #f6c66c; font-weight: normal; }
.hero-fallback p { color: #ead9c0; font: clamp(14px, 1.4vw, 25px) Arial,sans-serif; }
.payment { text-align: center; background: linear-gradient(150deg, #fffdf7, #f5dfb4); color: #28160a; border: 3px solid #f5c76b; border-radius: 24px; padding: 1.5vh 2vw 2vh; max-height: 80vh; box-shadow: 0 12px 36px #0008; }
.logo-wakara { display: block; width: min(19vw, 300px); height: 8vh; margin: 0 auto 1vh; object-fit: contain; }
.payment h2 { margin: 0 0 1vh; font-size: clamp(20px, 2vw, 36px); }
.payment > #qris { display: block; width: min(22vw, 360px); height: min(22vw, 360px); min-width: 180px; min-height: 180px; margin: auto; object-fit: contain; }
.payment p { margin: 1vh 0 0; font-size: clamp(14px, 1.4vw, 24px); }
footer { display: flex; align-items: center; overflow: hidden; margin-top: 1vh; background: #080604dd; border-top: 2px solid #eab866; font-family: Arial,sans-serif; }
.ticker-label { flex: 0 0 auto; padding: 0 1.2vw; color: #1b1008; background: #f5c76b; font-weight: 800; font-size: clamp(14px, 1.2vw, 24px); height: 100%; display: grid; place-items: center; }
.ticker { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; font-size: clamp(18px, 1.7vw, 32px); color: #fff3d3; }
.ticker span { display: inline-block; padding-left: 100%; animation: ticker 22s linear infinite; }
.digital-clock { flex: 0 0 auto; min-width: 8.5vw; text-align: center; color: #f5c76b; font: 700 clamp(19px, 2vw, 36px) Consolas,monospace; border-left: 1px solid #ffffff33; }
.offline { position: fixed; right: 1vw; bottom: 9vh; display: none; padding: 8px 12px; border-radius: 8px; background: #b91c1c; font-size: 14px; }
@keyframes ticker { to { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (orientation: portrait) { .content { grid-template-columns: 1fr; grid-template-rows: 1fr auto; } .payment { max-height: 35vh; } .payment > #qris { width: 22vh; height: 22vh; } .logo-main { width: 65vw; } }
