:root {
  --cream: #fff6e4;
  --muted: rgba(255, 246, 228, 0.76);
  --quiet: rgba(255, 246, 228, 0.54);
  --gold: #e5c883;
  --gold-deep: #ac8545;
  --leaf: #88a77e;
  --aqua: #8fc5bf;
  --ruby: #7f1d2f;
  --panel: rgba(15, 13, 11, 0.74);
  --panel-soft: rgba(255, 246, 228, 0.09);
  --line: rgba(255, 246, 228, 0.18);
  --shadow: 0 2.2rem 6rem rgba(0, 0, 0, 0.4);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--cream);
  background: #777b75;
}

button {
  font: inherit;
}

.tv-frame {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  overflow: hidden;
  background: #070706;
  box-shadow: var(--shadow);
}

.background,
.shade {
  position: absolute;
  inset: 0;
}

.background {
  background:
    url("../pictures-2026-07-09/tv-welcome-background.jpg") center / cover;
  filter: saturate(0.92) contrast(1.08);
  transform: scale(1.02);
}

.shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.9), rgba(5, 6, 5, 0.42) 48%, rgba(5, 6, 5, 0.78)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18) 48%, rgba(0, 0, 0, 0.74));
}

.masthead {
  position: absolute;
  top: 5%;
  left: 5.5%;
  right: 5.5%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  min-width: 0;
}

.brand__mark {
  width: 3.75rem;
  height: 3.75rem;
  display: grid;
  place-items: center;
  border: 0.12rem solid rgba(229, 200, 131, 0.68);
  color: var(--gold);
  background: rgba(0, 0, 0, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
}

.brand__copy {
  display: grid;
  gap: 0.32rem;
}

.brand strong {
  font-size: 1.26rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.9rem;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 700;
}

.status span {
  padding: 0.64rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.welcome-panel {
  position: absolute;
  z-index: 2;
  left: 5.5%;
  top: 17%;
  width: 37%;
  padding: 1.8rem 1.95rem;
  border: 1px solid var(--line);
  background: rgba(12, 10, 8, 0.64);
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.72rem;
  font-weight: 400;
  line-height: 0.96;
}

h2 {
  margin-bottom: 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.35rem;
  font-weight: 400;
  line-height: 0.98;
}

h3 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.05;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.42;
}

.guest-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.guest-line span {
  min-height: 2.3rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 0.9rem;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  font-weight: 800;
}

.tile-stage {
  position: absolute;
  z-index: 3;
  left: 44%;
  right: 5.5%;
  top: 15.8%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.64rem;
}

.service-tile {
  position: relative;
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  border: 1px solid rgba(255, 246, 228, 0.16);
  padding: 0.9rem;
  color: var(--cream);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(13, 11, 9, 0.7);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background:
    radial-gradient(circle at 18% 18%, rgba(229, 200, 131, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(136, 167, 126, 0.18), rgba(143, 197, 191, 0.05));
  pointer-events: none;
}

.service-tile:nth-child(2)::before,
.service-tile:nth-child(6)::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(143, 197, 191, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(229, 200, 131, 0.12), rgba(255, 255, 255, 0.02));
}

.service-tile:nth-child(4)::before,
.service-tile:nth-child(8)::before,
.service-tile:nth-child(9)::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(127, 29, 47, 0.26), transparent 35%),
    linear-gradient(135deg, rgba(229, 200, 131, 0.12), rgba(255, 255, 255, 0.03));
}

.service-tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.28rem;
  background: linear-gradient(90deg, var(--gold), rgba(229, 200, 131, 0));
  opacity: 0;
}

.service-tile.is-active,
.service-tile:focus-visible {
  border-color: rgba(229, 200, 131, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 246, 228, 0.22), rgba(255, 246, 228, 0.08)),
    rgba(16, 13, 10, 0.84);
  outline: 0.22rem solid rgba(229, 200, 131, 0.88);
  outline-offset: 0;
}

.service-tile.is-active::after,
.service-tile:focus-visible::after {
  opacity: 1;
}

.tile-icon,
.service-tile strong,
.service-tile small {
  position: relative;
  z-index: 1;
}

.tile-icon {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  width: 2.46rem;
  height: 2.46rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 200, 131, 0.42);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06rem;
}

.service-tile strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.08;
}

.service-tile small {
  display: block;
  min-height: 1.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.detail-panel {
  position: absolute;
  z-index: 4;
  left: 5.5%;
  right: 5.5%;
  bottom: 5.7%;
  min-height: 4.2rem;
  display: grid;
  grid-template-columns: 8.4rem 15rem minmax(0, 1fr);
  align-items: center;
  gap: 1.3rem;
  border: 1px solid var(--line);
  padding: 0.68rem 1.2rem;
  background: rgba(12, 10, 8, 0.72);
  backdrop-filter: blur(14px);
}

.detail-panel span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
}

.detail-panel strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.detail-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.remote-hint {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 2.3%;
  color: rgba(255, 246, 228, 0.86);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 900;
}

.page-view {
  position: absolute;
  inset: 0;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transform: translateX(2.5rem);
  transition: opacity 260ms ease, transform 360ms ease;
}

.page-view.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.page-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 4, 0.88), rgba(5, 5, 4, 0.34) 56%, rgba(5, 5, 4, 0.74)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76));
  z-index: 1;
}

.page-hero {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.05);
}

.page-hero--room {
  background-image: url("../pictures-2026-07-09/tv-room-service-dining.jpg");
}

.page-hero--weather {
  background-image: url("../pictures-2026-07-09/tv-weather-landscape.jpg");
}

.page-hero--wifi,
.page-hero--casting {
  background-image: url("../pictures-2026-07-09/tv-room-wifi-casting.jpg");
}

.page-hero--services {
  background-image: url("../pictures-2026-07-09/tv-hotel-services.jpg");
}

.page-hero--food {
  background-image: url("../pictures-2026-07-09/tv-food-beverage.jpg");
}

.page-hero--tv,
.page-hero--netflix,
.page-hero--vod {
  background-image: url("../pictures-2026-07-09/tv-entertainment-netflix.jpg");
}

.back-button {
  position: absolute;
  top: 5%;
  left: 5.5%;
  z-index: 4;
  min-width: 7.8rem;
  min-height: 3rem;
  border: 1px solid rgba(229, 200, 131, 0.54);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.back-button:focus-visible {
  outline: 0.22rem solid var(--gold);
  outline-offset: 0.16rem;
}

.page-card {
  position: absolute;
  z-index: 3;
  left: 8%;
  top: 22%;
  width: 42%;
  height: 33%;
  padding: 2rem 2.2rem;
  border: 1px solid var(--line);
  background: rgba(12, 10, 8, 0.7);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.page-card--compact {
  width: 38%;
}

.page-card--center {
  left: 50%;
  top: 50%;
  width: 42%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.page-card--wifi {
  left: 39%;
  width: 43%;
  height: 46%;
  padding: 1.25rem 1.75rem;
}

.page-card--wifi h2 {
  margin-bottom: 0.52rem;
  font-size: 2.35rem;
}

.page-card--wifi p {
  margin-bottom: 0.58rem;
  font-size: 0.96rem;
}

.page-card p {
  font-size: 1.13rem;
}

.page-card--wifi p {
  font-size: 1rem;
}

.qr-card {
  position: absolute;
  z-index: 3;
  right: 8%;
  top: 22%;
  width: 18rem;
  height: 33%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.34rem;
  border: 1px solid rgba(229, 200, 131, 0.42);
  padding: 0.78rem 1.18rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 246, 228, 0.12), rgba(255, 246, 228, 0.04)),
    rgba(12, 10, 8, 0.72);
  box-shadow: 0 1.6rem 3.8rem rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.qr-card .eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14rem;
}

.qr-card h3 {
  max-width: 100%;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.02;
}

.qr-card small {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.035rem;
  text-transform: uppercase;
}

.qr-card--wifi {
  right: 6%;
  top: 50%;
  width: 16rem;
  height: 46%;
  transform: translateY(-50%);
}

.sample-qr {
  position: relative;
  width: min(7.8rem, 50%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0.5rem solid #f7f0dc;
  background: #f7f0dc;
  box-shadow:
    inset 0 0 0 0.34rem #f7f0dc,
    0 0 0 1px rgba(229, 200, 131, 0.48),
    0 1rem 2rem rgba(0, 0, 0, 0.28);
}

.sample-qr img {
  display: block;
  width: 100%;
  height: 100%;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.page-actions span,
.menu-strip span,
.service-list span,
.channel-grid span {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 0 0.9rem;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.menu-strip,
.forecast-row,
.service-list,
.venue-row,
.vod-row,
.channel-grid {
  position: absolute;
  z-index: 3;
  left: 8%;
  right: 8%;
  bottom: 11%;
  display: grid;
  gap: 0.9rem;
}

.menu-strip {
  grid-template-columns: repeat(3, 1fr);
}

.forecast-row {
  grid-template-columns: repeat(4, 1fr);
}

.forecast-row div,
.venue-row div,
.vod-row div {
  min-height: 8rem;
  display: grid;
  align-content: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  padding: 1.1rem;
  background: rgba(12, 10, 8, 0.66);
}

.forecast-row strong,
.venue-row strong,
.vod-row strong {
  color: var(--gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
}

.forecast-row span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.55rem;
}

.forecast-row small,
.venue-row span,
.vod-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.credential-box {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
}

.credential-box span {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.credential-box strong {
  font-size: 1.45rem;
}

.service-list,
.channel-grid {
  grid-template-columns: repeat(4, 1fr);
}

.venue-row {
  grid-template-columns: repeat(3, 1fr);
}

.vod-row {
  grid-template-columns: repeat(3, 1fr);
  right: 26%;
}

.channel-grid {
  right: 43%;
}

.netflix-mark {
  width: 5.8rem;
  height: 5.8rem;
  display: grid;
  place-items: center;
  margin: 1.2rem auto 0;
  color: #fff;
  background: #b20710;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

@media (max-aspect-ratio: 16 / 9) {
  .tv-frame {
    width: 100vw;
    height: calc(100vw * 9 / 16);
  }
}

@media (min-aspect-ratio: 16 / 9) {
  .tv-frame {
    width: calc(100vh * 16 / 9);
    height: 100vh;
  }
}
