:root {
  --card-bg: #221812;
  --bg-top: #8a847d;
  --bg-bottom: #f0b842;
  --text-main: #f9f7f4;
  --text-muted: #d3cec7;
  --accent: #19a7ff;
  --btn-bg: #ff993c;
}

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

body {
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.25), transparent 55%),
    linear-gradient(155deg, var(--bg-top), #5c554f 35%, #3c352e 55%, var(--bg-bottom));
  padding: 24px;
  overflow: hidden;
}

/* Yellow background slab */
.base-panel {
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 120%;
  height: 280px;
  background: #f4b738;
  border-radius: 40px;
  transform: rotate(-6deg);
  z-index: 0;
  opacity: 0.9;
}

/* Card */
.thank-card {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  background: var(--card-bg);
  border-radius: 32px;
  padding: 60px 60px 50px;
  color: var(--text-main);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.thank-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 12px;
}

.thank-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Social icons */
.social-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
}

.social-row a {
  color: var(--text-main);
  font-size: 20px;
  transition: 0.2s ease;
}

.social-row a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

/* Back to Home button */
.home-btn {
  margin-top: 10px;
  display: inline-block;
  padding: 14px 30px;
  font-size: 16px;
  background: var(--btn-bg);
  color: #000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 6px 15px rgba(255,153,60,0.4);
}

.home-btn:hover {
  transform: translateY(-3px);
  background: #ffae63;
  box-shadow: 0 8px 20px rgba(255,153,60,0.6);
}

/* Footer small note */
.brand-note {
  margin-top: 30px;
  font-size: 12px;
  color: rgba(230, 225, 217, 0.65);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .thank-card {
    padding: 40px 20px 35px;
  }
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #173f64;
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 99999;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }
#main-content { display: contents; }
