:root {
  --brand-brown: #803e25;
  --brand-gold: #f6ab52;
  --bg: #fcf8f2;
  --bg-deep: #f4ecdf;
  --card: rgba(255, 252, 248, 0.94);
  --card-line: rgba(128, 62, 37, 0.08);
  --frame: rgba(246, 171, 82, 0.18);
  --text: #4f2918;
  --text-soft: rgba(79, 41, 24, 0.76);
  --shadow: 0 28px 70px rgba(128, 62, 37, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Google Sans", "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 22% 36%, rgba(246, 171, 82, 0.18), transparent 0 28%),
    radial-gradient(circle at 78% 70%, rgba(128, 62, 37, 0.1), transparent 0 24%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
}

.page-shell {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 32px;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: absolute;
  width: min(980px, 74vw);
  height: min(980px, 74vw);
  left: max(-120px, 5vw);
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(246, 171, 82, 0.22), rgba(246, 171, 82, 0.09) 38%, rgba(246, 171, 82, 0) 68%);
  filter: blur(40px);
  opacity: 0.95;
}

.page-shell::after {
  content: "";
  position: absolute;
  width: min(860px, 66vw);
  height: min(860px, 66vw);
  right: max(-80px, 6vw);
  bottom: max(-220px, -8vw);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(128, 62, 37, 0.12), rgba(128, 62, 37, 0.05) 42%, rgba(128, 62, 37, 0) 72%);
  filter: blur(48px);
}

.page-content {
  position: relative;
  z-index: 1;
  width: min(746px, 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: card-fade-in 700ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.card {
  --copy-gap: 30px;
  width: 100%;
  padding: 48px;
  border: 1px solid var(--card-line);
  border-radius: 28px;
  background: var(--card);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.media-frame {
  width: 100%;
  aspect-ratio: 1.56 / 1;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--frame);
  background:
    linear-gradient(180deg, rgba(246, 171, 82, 0.09), rgba(128, 62, 37, 0.03)),
    #fdf7ef;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.media-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.logo-wrap {
  width: min(220px, 54vw);
  margin-top: 28px;
  margin-bottom: var(--copy-gap);
}

.logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.message {
  margin: 0;
  max-width: 31ch;
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  margin-top: 28px;
  border-radius: 999px;
  border: 1px solid rgba(128, 62, 37, 0.16);
  text-decoration: none;
  font-weight: 700;
  color: #fffaf4;
  background: linear-gradient(180deg, #8a4327, var(--brand-brown));
  box-shadow: 0 14px 28px rgba(128, 62, 37, 0.22);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #94482a, #753822);
  box-shadow: 0 18px 34px rgba(128, 62, 37, 0.28);
}

.divider {
  width: 100%;
  height: 1px;
  margin-top: var(--copy-gap);
  background: linear-gradient(
    90deg,
    rgba(128, 62, 37, 0),
    rgba(128, 62, 37, 0.16) 14%,
    rgba(128, 62, 37, 0.16) 86%,
    rgba(128, 62, 37, 0)
  );
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px;
}

.footer-email {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.footer-email:hover {
  color: var(--text);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-brown);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(128, 62, 37, 0.1);
  box-shadow: 0 10px 18px rgba(128, 62, 37, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 24px rgba(128, 62, 37, 0.1);
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-link:first-child svg {
  fill: currentColor;
}

.social-link:last-child svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes card-fade-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-content {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .button {
    transition: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px;
  }

  .card {
    --copy-gap: 24px;
    padding: 20px;
    border-radius: 24px;
  }

  .page-content {
    gap: 14px;
  }

  .media-frame {
    border-radius: 18px;
  }

  .logo-wrap {
    width: min(180px, 56vw);
    margin-top: 22px;
    margin-bottom: var(--copy-gap);
  }

  .message {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .footer-bar {
    padding: 0 2px;
  }
}
