:root {
  --bg1: #0f172a;
  --bg2: #1e293b;
  --card: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --accent: #f59e0b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.14), transparent 24%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
}

.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.card {
  width: min(760px, 100%);
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 28px 28px 32px;
  text-align: center;
  position: relative;
}

.logo-lockup {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-badge {
  width: min(420px, 100%);
  min-height: 124px;
  display: grid;
  place-items: center;
  padding: 6px 0 2px;
}

.logo-mark {
  display: block;
  width: min(100%, 340px);
  height: auto;
}

.contact-email {
  margin: 8px 0 16px;
  color: #f8d88b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #94a3b8;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.sub {
  margin: 0 auto;
  max-width: 620px;
  font-size: clamp(16px, 2.3vw, 20px);
  line-height: 1.6;
  color: var(--muted);
}

.emoji-row {
  margin: 20px 0 10px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.message-stage {
  margin: 26px auto 10px;
  max-width: 640px;
  animation: messageFloat 4.2s ease-in-out infinite;
}

.message-label {
  margin: 0 0 10px;
  color: #f8d88b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 40px;
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: bob 1.9s ease-in-out infinite;
}

.emoji:nth-child(2) {
  animation-delay: 0.2s;
}

.emoji:nth-child(3) {
  animation-delay: 0.4s;
}

.emoji:nth-child(4) {
  animation-delay: 0.6s;
}

.scene {
  margin: 30px auto 18px;
  width: min(620px, 100%);
  height: 230px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 22px,
      rgba(255, 255, 255, 0.08) 22px 24px
    );
  opacity: 0.6;
}

.house {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 180px;
  height: 120px;
  transform: translateX(-50%);
  animation: wobble 3s ease-in-out infinite;
}

.roof {
  position: absolute;
  left: 20px;
  top: 0;
  width: 0;
  height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 60px solid #ef4444;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}

.body {
  position: absolute;
  left: 18px;
  top: 54px;
  width: 144px;
  height: 66px;
  background: #f8fafc;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.door {
  position: absolute;
  left: 56px;
  bottom: 0;
  width: 34px;
  height: 42px;
  background: #8b5e3c;
  border-radius: 8px 8px 0 0;
  transform-origin: left center;
  animation: doorSwing 2.8s ease-in-out infinite;
}

.window {
  position: absolute;
  width: 24px;
  height: 20px;
  top: 18px;
  background: #7dd3fc;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.window.left {
  left: 18px;
}

.window.right {
  right: 18px;
}

.ladder {
  position: absolute;
  right: 118px;
  bottom: 52px;
  width: 10px;
  height: 118px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  transform: rotate(18deg);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
}

.ladder::before,
.ladder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 10px,
      rgba(15, 23, 42, 0.22) 10px 14px
    );
  border-radius: inherit;
}

.worker {
  position: absolute;
  right: 162px;
  bottom: 118px;
  width: 56px;
  height: 72px;
  animation: workerBounce 1.8s ease-in-out infinite;
}

.head {
  position: absolute;
  left: 17px;
  top: 0;
  width: 22px;
  height: 22px;
  background: #fde68a;
  border-radius: 50%;
}

.hat {
  position: absolute;
  left: 13px;
  top: -3px;
  width: 30px;
  height: 12px;
  background: var(--accent);
  border-radius: 10px 10px 4px 4px;
}

.torso {
  position: absolute;
  left: 14px;
  top: 20px;
  width: 28px;
  height: 28px;
  background: #fb923c;
  border-radius: 10px;
}

.arm {
  position: absolute;
  width: 10px;
  height: 28px;
  background: #fde68a;
  border-radius: 8px;
  top: 24px;
  transform-origin: top center;
}

.arm.left {
  left: 6px;
  transform: rotate(24deg);
  animation: hammerArm 1s ease-in-out infinite;
}

.arm.right {
  right: 6px;
  transform: rotate(-18deg);
}

.leg {
  position: absolute;
  width: 10px;
  height: 28px;
  background: #93c5fd;
  border-radius: 8px;
  top: 46px;
}

.leg.left {
  left: 15px;
}

.leg.right {
  right: 15px;
}

.hammer {
  position: absolute;
  left: -5px;
  top: 18px;
  width: 30px;
  height: 8px;
  transform: rotate(28deg);
}

.hammer::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -5px;
  width: 16px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 3px;
}

.hammer::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 4px;
  background: #8b5e3c;
  border-radius: 3px;
}

.sign {
  position: absolute;
  left: 54px;
  bottom: 45px;
  width: 132px;
  height: 76px;
  transform: rotate(-5deg);
  animation: signShake 3.5s ease-in-out infinite;
}

.post {
  position: absolute;
  left: 56px;
  bottom: -52px;
  width: 12px;
  height: 70px;
  background: #8b5e3c;
  border-radius: 6px;
}

.board {
  position: absolute;
  inset: 0;
  background: #f59e0b;
  color: #1f2937;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  line-height: 1.05;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cone {
  position: absolute;
  bottom: 40px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 34px solid #f97316;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  animation: bob 1.8s ease-in-out infinite;
}

.cone::after {
  content: "";
  position: absolute;
  left: -16px;
  top: 26px;
  width: 32px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 4px;
}

.cone.one {
  left: 140px;
}

.cone.two {
  right: 132px;
  animation-delay: 0.45s;
}

.speech {
  margin: 0 auto;
  display: block;
  width: 100%;
  min-height: 108px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.82));
  color: #e2e8f0;
  padding: 24px 28px;
  border-radius: 24px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  animation: pulse 3.6s ease-in-out infinite;
}

.speech::before {
  content: "";
  position: absolute;
  inset: -120% 35% auto -35%;
  height: 240%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(14deg);
  animation: messageSweep 5.2s linear infinite;
  pointer-events: none;
}

.footer {
  margin: 18px 0 0;
  color: #94a3b8;
  font-size: 14px;
}

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  filter: blur(1px);
  animation: floatUp linear infinite;
  z-index: -1;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes wobble {
  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }

  25% {
    transform: translateX(-50%) rotate(-1.2deg);
  }

  75% {
    transform: translateX(-50%) rotate(1.2deg);
  }
}

@keyframes doorSwing {
  0%,
  100% {
    transform: perspective(200px) rotateY(0deg);
  }

  25% {
    transform: perspective(200px) rotateY(-38deg);
  }

  50% {
    transform: perspective(200px) rotateY(-8deg);
  }

  75% {
    transform: perspective(200px) rotateY(-28deg);
  }
}

@keyframes workerBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes hammerArm {
  0%,
  100% {
    transform: rotate(24deg);
  }

  50% {
    transform: rotate(72deg);
  }
}

@keyframes signShake {
  0%,
  100% {
    transform: rotate(-5deg);
  }

  50% {
    transform: rotate(2deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  }

  50% {
    transform: scale(1.03);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  }
}

@keyframes messageFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes messageSweep {
  0% {
    transform: translateX(-140%) rotate(14deg);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  55% {
    opacity: 1;
  }

  100% {
    transform: translateX(185%) rotate(14deg);
    opacity: 0;
  }
}

@keyframes floatUp {
  from {
    transform: translateY(30px) scale(0.8);
    opacity: 0;
  }

  20% {
    opacity: 0.8;
  }

  to {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}

@media (max-width: 700px) {
  .card {
    padding: 24px 18px 28px;
  }

  .logo-badge {
    width: min(100%, 320px);
    min-height: 104px;
  }

  .scene {
    height: 190px;
  }

  .speech {
    min-height: 120px;
    padding: 20px 18px;
    font-size: clamp(22px, 6vw, 30px);
  }

  .house {
    transform: translateX(-50%) scale(0.88);
  }

  .ladder {
    right: 82px;
    bottom: 44px;
    transform: rotate(18deg) scale(0.88);
  }

  .worker {
    right: 120px;
    bottom: 105px;
    transform: scale(0.88);
  }

  .sign {
    left: 24px;
    transform: rotate(-5deg) scale(0.9);
  }

  .cone.one {
    left: 80px;
  }

  .cone.two {
    right: 72px;
  }
}
