@charset "UTF-8";

:root {
  --card-width: 442px;
  --card-radius: 32px;
  --text: #ffffff;
  --gold: #dec97d;
  --divider: rgba(255, 255, 255, 0.25);
  --overlay-top: rgba(12, 24, 45, 0.70);
  --overlay-middle: rgba(6, 14, 26, 0.34);
  --overlay-bottom: rgba(2, 9, 12, 0.76);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at top, #f8fafc 0%, #e5e9f0 62%, #d5dbe5 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Arial, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding:
    max(6px, env(safe-area-inset-top))
    max(6px, env(safe-area-inset-right))
    max(6px, env(safe-area-inset-bottom))
    max(6px, env(safe-area-inset-left));
}

.link-card {
  position: relative;
  isolation: isolate;
  width: min(100%, var(--card-width));
  min-height: min(885px, calc(100svh - 12px));
  overflow: hidden;
  border-radius: var(--card-radius);
  background-color: #17243b;
  box-shadow:
    0 26px 70px rgba(18, 28, 45, 0.22),
    0 8px 24px rgba(18, 28, 45, 0.16);
}

.background-slider,
.background-slide {
  position: absolute;
  inset: 0;
}

.background-slider {
  z-index: 0;
  overflow: hidden;
  background: #17243b;
}

.background-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1.05s ease, transform 4.2s ease;
  will-change: opacity, transform;
}

.background-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.background-slide--1 {
  background-image: url("../images/background-1.webp");
  background-image: image-set(
    url("../images/background-1.webp") type("image/webp") 1x,
    url("../images/background-1@2x.webp") type("image/webp") 2x
  );
}

.background-slide--2 {
  background-image: url("../images/background-2.webp");
  background-image: image-set(
    url("../images/background-2.webp") type("image/webp") 1x,
    url("../images/background-2@2x.webp") type("image/webp") 2x
  );
}

.background-slide--3 {
  background-image: url("../images/background-3.webp");
  background-image: image-set(
    url("../images/background-3.webp") type("image/webp") 1x,
    url("../images/background-3@2x.webp") type("image/webp") 2x
  );
}

.background-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      var(--overlay-top) 0%,
      rgba(12, 24, 45, 0.58) 30%,
      var(--overlay-middle) 54%,
      var(--overlay-bottom) 100%
    ),
    linear-gradient(to right, rgba(2, 10, 18, 0.15), transparent 50%, rgba(2, 10, 18, 0.14));
}

.content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:
    clamp(44px, 7vh, 78px)
    clamp(24px, 8vw, 52px)
    max(28px, env(safe-area-inset-bottom));
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.68);
}

.brand {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(44px, 7.6vh, 70px);
}

.brand-logo {
  width: min(150px, 42vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
}

.restaurant-info h1 {
  margin: 0 0 14px;
  font-size: clamp(1.18rem, 4.8vw, 1.38rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.restaurant-info p {
  margin: 5px 0;
  font-size: clamp(0.99rem, 4vw, 1.09rem);
  line-height: 1.28;
  font-weight: 600;
}

.menu-links {
  width: 100%;
  margin-top: 20px;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.menu-link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 45px;
  padding: 10px 12px;
  font-size: clamp(0.96rem, 3.8vw, 1.04rem);
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    letter-spacing 180ms ease;
}

.menu-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.menu-link:hover,
.menu-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.025em;
  outline: none;
}

.menu-link:hover::after,
.menu-link:focus-visible::after {
  width: min(150px, 54%);
}

.menu-link:active {
  transform: scale(0.985);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(23px, 7vw, 34px);
  margin-top: 24px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.social-links svg {
  width: 31px;
  height: 31px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.48));
}

.social-links svg path:not(.fill) {
  fill: currentColor;
  stroke: none;
}

.social-links svg .fill {
  fill: #17243b;
  stroke: none;
}

.footer {
  margin-top: auto;
  padding-top: 42px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.footer p {
  margin: 0;
}

.footer .hotel-name {
  color: var(--gold);
  font-weight: 600;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 44px);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 15, 27, 0.88);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 480px) {
  body {
    background: #17243b;
  }

  .page-shell {
    display: block;
    padding: 0;
  }

  .link-card {
    width: 100%;
    min-height: 100svh;
    border-radius: 0;
    box-shadow: none;
  }

  .content {
    min-height: 100svh;
    padding-top: max(44px, env(safe-area-inset-top));
  }
}

@media (max-height: 760px) and (min-width: 481px) {
  .content {
    padding-top: 36px;
  }

  .brand {
    margin-bottom: 28px;
  }

  .menu-link {
    min-height: 43px;
  }

  .footer {
    padding-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
