:root {
  --bg1: #06140e;
  --bg2: #0d2c1e;
  --bg3: #17412d;
  --gold: #ffd36a;
  --gold-dark: #b97809;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --card: rgba(18, 52, 37, 0.92);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, var(--bg3), var(--bg1));
  color: var(--text);
  overflow: hidden;
  user-select: none;
}

.temp-screen {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  isolation: isolate;
}

.temp-screen::before {
  content: "€";
  position: fixed;
  inset: auto -36px -80px auto;
  font-size: clamp(180px, 58vw, 340px);
  line-height: 1;
  font-weight: 950;
  color: rgba(255, 255, 255, 0.035);
  transform: rotate(-17deg);
  z-index: -2;
}

.temp-screen::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 211, 106, 0.18), transparent 24%),
    radial-gradient(circle at 88% 20%, rgba(134, 239, 172, 0.12), transparent 22%),
    radial-gradient(circle at 50% 92%, rgba(255, 211, 106, 0.08), transparent 28%);
  z-index: -3;
}

.nice-card {
  position: relative;
  width: min(430px, 100%);
  padding: 34px 22px 28px;
  border: 2px solid rgba(255, 211, 106, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    var(--card);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  text-align: center;
  overflow: hidden;
  z-index: 2;
}

.euro-mark {
  margin: 0 auto 6px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe49b, #ffbf3f);
  color: #123524;
  font-size: 38px;
  font-weight: 950;
  box-shadow: 0 8px 0 var(--gold-dark), 0 16px 28px rgba(0, 0, 0, 0.35);
}

.kicker {
  margin: 18px 0 4px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 950;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 15vw, 72px);
  line-height: 0.92;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.32);
}

h2 {
  margin: 12px 0 0;
  color: var(--gold);
  font-size: clamp(29px, 9vw, 44px);
  line-height: 1;
  word-break: break-word;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
}

.divider {
  margin: 24px auto 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 20px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 106, 0.8), transparent);
}

.message {
  margin: 0;
  font-size: 19px;
  font-weight: 850;
}

.submessage {
  margin: 10px auto 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@keyframes floatOne {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(14px) rotate(8deg); }
}

@keyframes floatTwo {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

@keyframes floatThree {
  0%, 100% { transform: translateY(0) rotate(-14deg); }
  50% { transform: translateY(-10px) rotate(-6deg); }
}

@keyframes ratMoveOne {
  0%, 100% { transform: translateX(0) rotate(-14deg); }
  50% { transform: translateX(-12px) rotate(-4deg); }
}

@keyframes ratMoveTwo {
  0%, 100% { transform: translateX(0) rotate(12deg); }
  50% { transform: translateX(10px) rotate(3deg); }
}

@keyframes ratMoveThree {
  0%, 100% { transform: scaleX(-1) translateX(0) rotate(5deg); }
  50% { transform: scaleX(-1) translateX(12px) rotate(13deg); }
}

@media (max-width: 380px) {
  .nice-card {
    padding: 28px 18px 24px;
    border-radius: 24px;
  }

  .euro-mark {
    width: 52px;
    height: 52px;
    font-size: 34px;
  }

  .message {
    font-size: 17px;
  }

  .submessage {
    font-size: 14px;
  }
}

@media (max-height: 660px) {
  .nice-card {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .kicker {
    margin-top: 14px;
  }

  .divider {
    margin: 18px auto 16px;
  }

  .rat-2,
  .rat-3 {
    display: none;
  }
}
