* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}

body {
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  background: #06142d;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  overflow-x: hidden;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.bg-video-mobile {
  display: none;
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(rgba(3, 13, 35, 0.18), rgba(3, 13, 35, 0.42));
}

.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.top-brand {
  width: 100%;
  max-width: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  animation: fadeUp 0.8s ease both;
}

.brand-logo-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  animation: logoFloat 4s ease-in-out infinite;
}

.brand-logo {
  display: block;
  width: 310px;
  max-width: 56vw;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.35));
}

.top-pasta {
  width: 98px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  animation: cornerDrop 0.9s ease 0.1s both;
}

.top-pasta-right {
  width: 145px;
  max-width: 25vw;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 348px;
  padding: 28px 18px;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(7, 38, 86, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.36),
    0 0 26px rgba(255, 255, 255, 0.08),
    inset 0 0 22px rgba(255, 255, 255, 0.08);
  animation: cardIn 0.8s ease both;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.48);
}

.card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.subtitle {
  margin: 0 0 16px;
  color: white;
  font-size: 17px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  animation: fadeUp 0.8s ease 0.15s both;
}

.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.image-button {
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease;
  animation: fadeUp 0.7s ease both;
}

.image-button:nth-child(1) {
  animation-delay: 0.18s;
}

.image-button:nth-child(2) {
  animation-delay: 0.28s;
}

.image-button:nth-child(3) {
  animation-delay: 0.38s;
}

.image-button img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.image-button:hover {
  transform: translateY(-3px) scale(1.025);
  filter: brightness(1.08) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.image-button:active {
  transform: translateY(0) scale(0.985);
}

.food-button,
.drink-button {
  width: 225px;
}

.gallery-button {
  width: 203px;
}

.quick-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin-top: 2px;
  animation: fadeUp 0.7s ease 0.48s both;
}

.quick-button {
  width: 136px;
  max-width: calc(50% - 9px);
  margin: 0;
}

.quick-button img {
  border-radius: 22px;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.16));
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes cornerDrop {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  body {
    align-items: flex-start;
    padding: 18px 12px;
  }

  .bg-video-desktop {
    display: none;
  }

  .bg-video-mobile {
    display: block;
  }

  .page-shell {
    gap: 16px;
  }

  .top-brand {
    gap: 8px;
  }

  .brand-logo {
    width: 235px;
    max-width: 58vw;
  }

  .top-pasta {
    width: 68px;
    max-width: 18vw;
  }

  .top-pasta-right {
    width: 94px;
    max-width: 22vw;
  }

  .card {
    max-width: 340px;
    padding: 24px 16px;
  }

  .subtitle {
    font-size: 16px;
  }

  .buttons {
    gap: 20px;
  }

  .food-button,
  .drink-button {
    width: 214px;
  }

  .gallery-button {
    width: 194px;
  }

  .quick-buttons {
    gap: 14px;
  }

  .quick-button {
    width: 128px;
    max-width: calc(50% - 7px);
  }
}
