:root {
  --bg: #070707;
  --bg-soft: #121212;
  --surface: rgba(18, 14, 10, 0.72);
  --surface-strong: rgba(24, 18, 12, 0.9);
  --line: rgba(255, 216, 143, 0.24);
  --line-strong: rgba(255, 216, 143, 0.45);
  --gold: #f3cf87;
  --gold-soft: #b98d45;
  --gold-deep: #7f5a23;
  --text: #fff7eb;
  --muted: rgba(255, 247, 235, 0.72);
  --shadow: rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,3,3,0.28), rgba(3,3,3,0.82)),
    radial-gradient(circle at top, rgba(201, 150, 71, 0.22), transparent 36%),
    url('./assets/background.png') center/cover no-repeat;
  z-index: -3;
  transform: scale(1.03);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(243, 207, 135, 0.12), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(243, 207, 135, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 55%);
  pointer-events: none;
  z-index: -2;
}

.bg-orb {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.28;
}

.orb-1 {
  top: -120px;
  left: -140px;
  background: rgba(243, 207, 135, 0.2);
}

.orb-2 {
  right: -160px;
  bottom: -100px;
  background: rgba(185, 141, 69, 0.22);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.card {
  width: min(100%, 560px);
  background:
    linear-gradient(180deg, rgba(35, 25, 15, 0.74), rgba(11, 9, 7, 0.86)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow:
    0 28px 80px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(255, 216, 143, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  padding: 28px 20px 18px;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 26%, transparent 70%, rgba(243,207,135,0.08));
  pointer-events: none;
}

.share-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0,0,0,0.24);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 34px rgba(0,0,0,0.3), 0 0 24px rgba(243,207,135,0.12);
}

.share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero {
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo-shell {
  width: 178px;
  height: 178px;
  margin: 10px auto 18px;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255,232,185,0.92), rgba(124,87,29,0.9));
  box-shadow:
    0 0 0 4px rgba(255, 216, 143, 0.1),
    0 18px 42px rgba(0,0,0,0.45),
    0 0 34px rgba(243,207,135,0.16);
}

.logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255, 245, 225, 0.5);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 216, 143, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.1;
  letter-spacing: 0.8px;
  text-shadow: 0 2px 22px rgba(243, 207, 135, 0.15);
}

.subtitle {
  margin: 10px 0 0;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.intro {
  max-width: 420px;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.buttons {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  position: relative;
  z-index: 1;
}

.link-btn {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 216, 143, 0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(12, 10, 8, 0.7);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.link-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 216, 143, 0.34);
  box-shadow:
    0 18px 38px rgba(0,0,0,0.36),
    0 0 26px rgba(243,207,135,0.08);
}

.link-btn.primary {
  background:
    linear-gradient(135deg, rgba(243,207,135,0.18), rgba(127,90,35,0.14)),
    rgba(12, 10, 8, 0.82);
  border-color: rgba(255, 216, 143, 0.32);
}

.link-btn.disabled {
  opacity: .52;
  pointer-events: none;
  user-select: none;
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(255,235,196,0.15), rgba(122,86,35,0.08));
  border: 1px solid rgba(255, 216, 143, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.icon-wrap.social img {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%) invert(87%) sepia(28%) saturate(495%) hue-rotate(344deg) brightness(101%) contrast(91%);
}

.text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.text-wrap strong {
  font-size: 16px;
  font-weight: 700;
}

.text-wrap small {
  font-size: 13px;
  color: var(--muted);
}

.map-wrap {
  margin-top: 22px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 216, 143, 0.18);
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
  position: relative;
  z-index: 1;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 290px;
}

.footer {
  margin-top: 18px;
  text-align: center;
  color: rgba(255, 247, 235, 0.52);
  font-size: 12px;
  position: relative;
  z-index: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(10px);
  padding: 10px 14px;
  border-radius: 14px;
  color: var(--text);
  background: rgba(12, 10, 8, 0.88);
  border: 1px solid rgba(255, 216, 143, 0.22);
  box-shadow: 0 18px 36px rgba(0,0,0,0.42);
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 560px) {
  .card {
    border-radius: 24px;
    padding: 24px 16px 16px;
  }

  .logo-shell {
    width: 156px;
    height: 156px;
  }

  .share-btn {
    width: 42px;
    height: 42px;
    top: 14px;
    right: 14px;
  }

  .link-btn {
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .text-wrap strong {
    font-size: 15px;
  }

  .text-wrap small {
    font-size: 12px;
  }

  .map-wrap iframe {
    min-height: 250px;
  }
}
