@font-face {
  font-family: "Great Vibes";
  src: url("assets/fonts/great-vibes-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mountains of Christmas";
  src: url("assets/fonts/mountains-of-christmas-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mountains of Christmas";
  src: url("assets/fonts/mountains-of-christmas-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --night: #08111f;
  --night-deep: #050a13;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --gold: #f0cd72;
  --gold-rich: #d4af37;
  --glass: rgba(255, 255, 255, 0.105);
  --glass-hover: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.19);
  --glass-highlight: rgba(255, 255, 255, 0.38);
  --red: rgba(174, 23, 32, 0.76);
  --red-hover: rgba(194, 28, 38, 0.9);
  --whatsapp: #25d366;
  --radius: 16px;
  --content-width: 460px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
}

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

html {
  min-height: 100%;
  background: var(--night-deep);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--night);
  background-image: url("assets/bg-festive.jpg");
  background-image: image-set(
    url("assets/bg-festive.webp") type("image/webp") 1x,
    url("assets/bg-festive.jpg") type("image/jpeg") 1x
  );
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

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

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.snow-canvas,
.background-glow,
.background-veil {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.snow-canvas {
  z-index: 0;
}

.background-glow {
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 220, 150, 0.16), transparent 46%),
    radial-gradient(ellipse at 50% 74%, rgba(112, 184, 226, 0.1), transparent 62%);
}

.background-veil {
  z-index: 0;
  background: linear-gradient(180deg, rgba(5, 10, 19, 0.28), rgba(5, 10, 19, 0.68));
}

.page-shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, calc(var(--content-width) + 32px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 34px 16px max(112px, calc(52px + env(safe-area-inset-bottom)));
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-link {
  width: min(82vw, 292px);
  border-radius: 18px;
  outline: none;
  transition: transform 220ms ease, filter 220ms ease;
}

.logo-link:hover {
  transform: translateY(-2px) scale(1.035);
  filter: drop-shadow(0 0 16px rgba(240, 205, 114, 0.3));
}

.logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38));
}

.brand-title {
  display: flex;
  margin: 5px 0 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--white);
  font-family: "Great Vibes", "Snell Roundhand", "Segoe Script", cursive;
  font-size: clamp(2.65rem, 11vw, 3.45rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  text-shadow: 0 0 16px rgba(255, 215, 130, 0.25);
}

.approval-mark {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 0.4em;
  transform: translateY(1px);
}

.bio {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.bio p {
  margin: 0;
}

.social-links {
  display: flex;
  margin-top: 22px;
  justify-content: center;
  gap: 18px;
}

.social-link {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.105);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(13px) saturate(115%);
  -webkit-backdrop-filter: blur(13px) saturate(115%);
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-2px) scale(1.06);
}

.social-link img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.glass-panel {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.countdown {
  width: min(100%, 360px);
  margin-top: 28px;
  padding: 13px 20px 15px;
  border-radius: var(--radius);
}

.countdown-label {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown-days {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 6vw, 1.62rem);
  font-weight: 700;
  line-height: 1.35;
}

.link-section {
  width: 100%;
  margin-top: 38px;
}

.section-title {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.link-list {
  display: grid;
  margin-top: 18px;
  gap: 12px;
}

.link-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 72px;
  padding: 13px 14px;
  align-items: center;
  gap: 13px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  outline: none;
  color: var(--white);
  text-align: left;
  text-decoration: none;
  background: var(--glass);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(12px) saturate(118%);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.link-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 40%, rgba(255, 255, 255, 0.035));
  content: "";
  pointer-events: none;
}

.link-card:hover {
  border-color: rgba(240, 205, 114, 0.34);
  background: var(--glass-hover);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25), 0 0 24px rgba(212, 175, 55, 0.12);
  transform: translateY(-2px) scale(1.012);
}

.link-card--featured {
  border-color: rgba(255, 221, 141, 0.42);
  background: linear-gradient(135deg, var(--red), rgba(110, 14, 25, 0.68));
}

.link-card--featured:hover {
  background: linear-gradient(135deg, var(--red-hover), rgba(132, 18, 29, 0.82));
}

.link-card--whatsapp {
  border-color: rgba(130, 245, 169, 0.28);
}

.link-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.62));
}

.link-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}

.link-title {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.35;
}

.link-subtitle {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  line-height: 1.35;
}

.link-badge {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 10, 19, 0.3);
  color: var(--white);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.enquiries {
  margin-top: 34px;
}

.footer {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer p {
  margin: 0;
}

.footer a {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.78);
  text-underline-offset: 3px;
  transition: color 160ms ease, background-color 160ms ease;
}

.footer a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.mobile-whatsapp {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: none;
  min-height: 48px;
  padding: 12px 16px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  outline: none;
  color: #06140c;
  background: var(--whatsapp);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mobile-whatsapp:hover {
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42), 0 0 20px rgba(37, 211, 102, 0.2);
  transform: translateY(-2px);
}

.mobile-whatsapp svg {
  width: 22px;
  height: 22px;
}

.noscript-message {
  position: fixed;
  z-index: 30;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 560px;
  margin: auto;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: #111a27;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.logo-link:focus-visible,
.social-link:focus-visible,
.link-card:focus-visible,
.mobile-whatsapp:focus-visible,
.footer a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body {
    background-attachment: scroll;
  }

  .mobile-whatsapp {
    display: flex;
  }

  .link-card--whatsapp {
    display: none;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .social-links {
    gap: 14px;
  }

  .logo-link {
    width: min(84vw, 270px);
  }

  .social-link {
    width: 72px;
    height: 72px;
  }

  .social-link img {
    width: 46px;
    height: 46px;
  }

  .link-card {
    min-height: 68px;
    padding: 12px;
    gap: 11px;
  }

  .link-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .link-title {
    font-size: 0.92rem;
  }

  .link-badge {
    padding: 3px 7px;
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .snow-canvas {
    display: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
