:root {
  --stone-900: #1a1714;
  --stone-800: #2d2924;
  --stone-700: #3f3a33;
  --stone-600: #5c554b;
  --stone-500: #6b6458;
  --stone-400: #9e9588;
  --stone-300: #c4bdb2;
  --stone-200: #ddd8d0;
  --stone-100: #edeae5;
  --cream: #faf8f5;
  --gold: #b8923f;
  --gold-light: #d4af5e;
}

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

body {
  font-family: 'Libre Franklin', sans-serif;
  background: var(--stone-900);
  color: var(--stone-200);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* Subtle stone texture background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
  z-index: 0;
}

/* Gold accent line at top */
.top-accent {
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  flex-shrink: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 2rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo area */
.logo-wrap {
  margin-bottom: 1.75rem;
  animation: fadeDown 0.6s ease both;
}

.logo-wrap img {
  height: 70px;
  filter: invert(1);
}

/* Thank you message */
.message {
  text-align: center;
  margin-bottom: 2.5rem;
  animation: fadeDown 0.6s ease 0.15s both;
}

.message h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.message h1 span {
  color: var(--gold);
}

.message p {
  font-size: 0.95rem;
  color: var(--stone-400);
  font-weight: 300;
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto;
}

/* Stars decoration */
.stars-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: fadeDown 0.6s ease 0.3s both;
}

.star {
  font-size: 1.6rem;
  color: var(--gold);
  animation: starPop 0.4s ease both;
}
.star:nth-child(1) { animation-delay: 0.5s; }
.star:nth-child(2) { animation-delay: 0.6s; }
.star:nth-child(3) { animation-delay: 0.7s; }
.star:nth-child(4) { animation-delay: 0.8s; }
.star:nth-child(5) { animation-delay: 0.9s; }

@keyframes starPop {
  0% { opacity: 0; transform: scale(0) rotate(-20deg); }
  60% { transform: scale(1.3) rotate(5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Review buttons */
.review-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.review-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.06);
  animation: fadeUp 0.5s ease both;
}

.review-btn:nth-child(1) { animation-delay: 0.4s; }
.review-btn:nth-child(2) { animation-delay: 0.5s; }
.review-btn:nth-child(3) { animation-delay: 0.6s; }
.review-btn:nth-child(4) { animation-delay: 0.7s; }
.review-btn:nth-child(5) { animation-delay: 0.8s; }

/* Google */
.review-btn.google {
  background: linear-gradient(135deg, rgba(66,133,244,0.1), rgba(66,133,244,0.05));
  border-color: rgba(66,133,244,0.15);
}
.review-btn.google:hover, .review-btn.google:active {
  background: linear-gradient(135deg, rgba(66,133,244,0.2), rgba(66,133,244,0.1));
  border-color: rgba(66,133,244,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66,133,244,0.15);
}
.review-btn.google .btn-icon { background: rgba(66,133,244,0.15); }

/* Facebook */
.review-btn.facebook {
  background: linear-gradient(135deg, rgba(24,119,242,0.1), rgba(24,119,242,0.05));
  border-color: rgba(24,119,242,0.15);
}
.review-btn.facebook:hover, .review-btn.facebook:active {
  background: linear-gradient(135deg, rgba(24,119,242,0.2), rgba(24,119,242,0.1));
  border-color: rgba(24,119,242,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24,119,242,0.15);
}
.review-btn.facebook .btn-icon { background: rgba(24,119,242,0.15); }

/* Yelp */
.review-btn.yelp {
  background: linear-gradient(135deg, rgba(211,35,35,0.1), rgba(211,35,35,0.05));
  border-color: rgba(211,35,35,0.15);
}
.review-btn.yelp:hover, .review-btn.yelp:active {
  background: linear-gradient(135deg, rgba(211,35,35,0.2), rgba(211,35,35,0.1));
  border-color: rgba(211,35,35,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211,35,35,0.15);
}
.review-btn.yelp .btn-icon { background: rgba(211,35,35,0.15); }

/* Instagram */
.review-btn.instagram {
  background: linear-gradient(135deg, rgba(225,48,108,0.1), rgba(193,53,132,0.05));
  border-color: rgba(225,48,108,0.15);
}
.review-btn.instagram:hover, .review-btn.instagram:active {
  background: linear-gradient(135deg, rgba(225,48,108,0.2), rgba(193,53,132,0.1));
  border-color: rgba(225,48,108,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225,48,108,0.15);
}
.review-btn.instagram .btn-icon { background: rgba(225,48,108,0.15); }

/* Nextdoor */
.review-btn.nextdoor {
  background: linear-gradient(135deg, rgba(0,177,79,0.1), rgba(0,177,79,0.05));
  border-color: rgba(0,177,79,0.15);
}
.review-btn.nextdoor:hover, .review-btn.nextdoor:active {
  background: linear-gradient(135deg, rgba(0,177,79,0.2), rgba(0,177,79,0.1));
  border-color: rgba(0,177,79,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,177,79,0.15);
}
.review-btn.nextdoor .btn-icon { background: rgba(0,177,79,0.15); }

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.btn-text {
  flex: 1;
}

.btn-text .platform {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  display: block;
  line-height: 1.2;
}

.btn-text .action {
  font-size: 0.78rem;
  color: var(--stone-400);
  font-weight: 300;
}

.btn-arrow {
  color: var(--stone-500);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.review-btn:hover .btn-arrow, .review-btn:active .btn-arrow {
  transform: translateX(3px);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 2rem;
  animation: fadeUp 0.5s ease 0.9s both;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--stone-700), transparent);
}

.divider span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-400);
  white-space: nowrap;
}

/* Contact bar */
.contact-bar {
  text-align: center;
  animation: fadeUp 0.5s ease 1s both;
}

.contact-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  transition: color 0.3s;
}

.contact-bar a:hover { color: var(--gold-light); }

.contact-bar p {
  font-size: 0.78rem;
  color: var(--stone-400);
  margin-top: 0.5rem;
  font-weight: 300;
}

/* Footer branding */
.footer-brand {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  animation: fadeUp 0.5s ease 1.1s both;
}

.footer-brand p {
  font-size: 0.7rem;
  color: var(--stone-400);
  font-weight: 300;
}

.footer-brand .est {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--stone-400);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

/* SVG icons */
svg.icon {
  width: 22px;
  height: 22px;
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Tappability on mobile */
@media (hover: none) {
  .review-btn:active {
    transform: scale(0.98) !important;
  }
}

/* Accessibility helpers */
.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; }
.skip-link { position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2000; padding: 0.75rem 1.25rem; border-radius: 4px; background: var(--gold); color: #1a1714; font-weight: 600; text-decoration: none; transform: translateY(-200%); transition: transform 0.2s ease; }
.skip-link:focus { transform: translateY(0); outline: 3px solid #1a1714; outline-offset: 2px; }
#main:focus { outline: none; }
