:root {
  --black: #050505;
  --black-soft: #0c0c0c;
  --surface: rgba(17, 17, 16, 0.82);
  --surface-hover: rgba(24, 23, 20, 0.95);
  --gold: #c49a42;
  --gold-bright: #ebcf7c;
  --gold-dark: #76591b;
  --ivory: #f1ede3;
  --muted: #918b80;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--black);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% -8%, rgba(190, 142, 36, 0.13), transparent 31rem),
    radial-gradient(circle at 110% 88%, rgba(105, 76, 17, 0.11), transparent 25rem),
    linear-gradient(180deg, #0a0a09 0%, #030303 100%);
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image: repeating-linear-gradient(125deg, transparent 0, transparent 2px, rgba(255, 255, 255, 0.012) 2px, rgba(255, 255, 255, 0.012) 3px);
}

.star-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  min-width: 2px;
  min-height: 2px;
  border-radius: 50%;
  opacity: 0.62;
  background: #f7e9bd;
  box-shadow: 0 0 8px rgba(236, 206, 119, 0.82);
  animation-name: star-drift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.star:nth-child(3n) {
  background: #fff;
  box-shadow: 0 0 9px rgba(255, 255, 255, 0.7);
}

.star:nth-child(even) { animation-name: star-drift-reverse; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(105px);
  pointer-events: none;
  background: rgba(151, 108, 22, 0.08);
}

.ambient-top { top: -15rem; left: 50%; transform: translateX(-50%); }
.ambient-bottom { right: -17rem; bottom: -10rem; }

.page-card {
  width: min(100%, 35rem);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(2rem, 5.5svh, 4rem) 1.1rem 2rem;
}

.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.welcome-line {
  margin: 0 0 0.3rem;
  color: #c1baad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.76rem, 2.9vw, 0.9rem);
  line-height: 1.45;
  letter-spacing: 0.07em;
}

.welcome-line strong {
  color: var(--gold-bright);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92em;
  letter-spacing: 0.13em;
}

.logo-window {
  width: min(88%, 27rem);
  height: auto;
  margin: 0.85rem auto 0.3rem;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.logo-window img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: transparent;
  filter: none;
}

.tagline {
  margin: 0.55rem 0 0;
  color: #c8c0b1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  font-style: italic;
  letter-spacing: 0.13em;
}

.intro {
  margin: 0.8rem 0 0;
  color: #777269;
  font-size: clamp(0.72rem, 2.8vw, 0.8rem);
  letter-spacing: 0.13em;
}

.link-stack {
  display: grid;
  gap: 0.72rem;
  margin-top: clamp(1.8rem, 4.6svh, 2.7rem);
}

.link-card {
  position: relative;
  min-height: 5rem;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 1.75rem;
  align-items: center;
  gap: 0.9rem;
  padding: 0.78rem 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(197, 155, 66, 0.22);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(20, 20, 18, 0.88), rgba(8, 8, 8, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.022), 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

.link-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(108deg, transparent 32%, rgba(255, 255, 255, 0.07) 48%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 620ms ease;
  animation: card-sheen 900ms ease both;
}

.link-card:nth-child(1)::after { animation-delay: 680ms; }
.link-card:nth-child(2)::after { animation-delay: 790ms; }
.link-card:nth-child(3)::after { animation-delay: 900ms; }
.link-card:nth-child(4)::after { animation-delay: 1010ms; }
.link-card:nth-child(5)::after { animation-delay: 1120ms; }

.link-card-primary {
  min-height: 5.45rem;
  border-color: rgba(238, 205, 119, 0.62);
  background: linear-gradient(120deg, #5f4715 0%, #b68a32 42%, #72551a 100%);
  color: #070707;
  box-shadow: 0 17px 42px rgba(126, 87, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.link-card:active { transform: scale(0.985); }
.link-card:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

@media (hover: hover) {
  .link-card:hover {
    transform: translateY(-3px) scale(1.008);
    border-color: rgba(226, 188, 103, 0.58);
    background: var(--surface-hover);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(197, 155, 66, 0.05);
  }

  .link-card-primary:hover {
    background: linear-gradient(120deg, #6c5118 0%, #c0963b 42%, #7a5b1d 100%);
  }

  .link-card:hover::after { transform: translateX(130%); }

  .link-card:hover .brand-icon { transform: scale(1.08) rotate(-2deg); }
  .link-card:hover .link-arrow { opacity: 0.9; transform: translateX(4px); }
}

.brand-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(209, 166, 72, 0.26);
  border-radius: 0.85rem;
  background: rgba(4, 4, 4, 0.33);
  color: var(--gold-bright);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease;
}

.link-card-primary .brand-icon {
  border-color: rgba(0, 0, 0, 0.34);
  background: rgba(0, 0, 0, 0.13);
  color: #0a0a0a;
}

.brand-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-whatsapp .brand-icon { color: #61d88b; }
.brand-instagram .brand-icon, .brand-tiktok .brand-icon, .brand-maps .brand-icon { color: #fff; }

.tiktok-cyan { stroke: #22d3d8; transform: translate(-0.7px, 0.6px); }
.tiktok-pink { stroke: #ff3158; transform: translate(0.7px, -0.3px); }
.tiktok-main { stroke: #fff; }

.link-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.link-copy small {
  margin-bottom: 0.16rem;
  color: #8e877b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.68rem;
  font-style: italic;
}

.link-copy strong {
  overflow: hidden;
  font-size: clamp(0.82rem, 3.6vw, 0.94rem);
  line-height: 1.2;
  letter-spacing: 0.075em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-copy > span {
  overflow: hidden;
  margin-top: 0.22rem;
  color: #777269;
  font-size: clamp(0.58rem, 2.8vw, 0.67rem);
  letter-spacing: 0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-card-primary .link-copy small,
.link-card-primary .link-copy > span { color: rgba(8, 8, 8, 0.67); }

.link-arrow {
  display: grid;
  place-items: center;
  opacity: 0.55;
  transition: opacity 220ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.link-arrow svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  margin-top: 1.75rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: #68635a;
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.site-footer span {
  display: block;
  margin-top: 0.55rem;
  color: #3e3c38;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
}

.reveal {
  opacity: 1;
  animation: reveal-up 820ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes reveal-up {
  0% { opacity: 0; filter: blur(5px); transform: translateY(1.4rem) scale(0.965); }
  72% { opacity: 1; filter: blur(0); transform: translateY(-2px) scale(1.004); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes star-drift {
  0%, 100% { opacity: 0.38; transform: translate3d(-6px, 10px, 0) scale(0.82); }
  50% { opacity: 0.95; transform: translate3d(12px, -25px, 0) scale(1.18); }
}

@keyframes star-drift-reverse {
  0%, 100% { opacity: 0.42; transform: translate3d(8px, 11px, 0) scale(0.88); }
  50% { opacity: 0.9; transform: translate3d(-14px, -23px, 0) scale(1.13); }
}

@keyframes card-sheen {
  0% { opacity: 0; transform: translateX(-130%); }
  16% { opacity: 1; }
  68% { opacity: 1; transform: translateX(130%); }
  69% { opacity: 0; transform: translateX(130%); }
  100% { opacity: 0; transform: translateX(-130%); }
}

@media (min-width: 720px) {
  .site-shell { padding: 2rem 0; }

  .page-card {
    min-height: calc(100svh - 4rem);
    padding: 3.3rem 2rem 2.5rem;
    border: 1px solid rgba(196, 154, 66, 0.12);
    border-radius: 2rem;
    background: rgba(5, 5, 5, 0.3);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(3px);
  }
}

@media (max-width: 370px) {
  .page-card { padding-inline: 0.82rem; }
  .link-card { grid-template-columns: 2.65rem minmax(0, 1fr) 1.4rem; gap: 0.67rem; padding-inline: 0.72rem; }
  .brand-icon { width: 2.65rem; height: 2.65rem; }
  .link-copy strong { font-size: 0.78rem; }
}

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