/* studentsavingshub.com clone — plain CSS, no external deps
   Faithful reproduction of the LEGO-style $500 offer landing page.
   All styles self-contained so the folder drops straight onto Netlify. */

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

html, body {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
}

/* Page background gradient */
.page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f9f9f9, #f3f4f6, #e7e8ea);
}

/* ===== Floating gradient blur blobs (background decoration) ===== */
.blob-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.blur-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.blur-blob:nth-child(1)  { animation-delay: 0s; }
.blur-blob:nth-child(2)  { animation-delay: -2s; }
.blur-blob:nth-child(3)  { animation-delay: -4s; }
.blur-blob:nth-child(4)  { animation-delay: -6s; }
.blur-blob:nth-child(5)  { animation-delay: -8s; }
.blur-blob:nth-child(6)  { animation-delay: -10s; }
.blur-blob:nth-child(7)  { animation-delay: -12s; }
.blur-blob:nth-child(8)  { animation-delay: -14s; }
.blur-blob:nth-child(9)  { animation-delay: -16s; }
.blur-blob:nth-child(10) { animation-delay: -18s; }

.blue-blob   { background: rgba(100, 150, 255, 0.6); }
.red-blob    { background: rgba(255, 120, 140, 0.6); }
.yellow-blob { background: rgba(255, 230, 120, 0.6); }
.green-blob  { background: rgba(150, 255, 180, 0.6); }
.pink-blob   { background: rgba(255, 180, 200, 0.6); }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -30px) scale(1.1); }
  66%      { transform: translate(-20px, 20px) scale(0.9); }
}

/* ===== Social-proof notification toast ===== */
.toast {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -100%);
  background: rgba(255, 255, 255, 0.98);
  color: #111827;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  width: calc(100% - 2rem);
  max-width: 24rem;
  backdrop-filter: blur(4px);
  border: 2px solid #ffed00;
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  pointer-events: none;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast .sparkle {
  font-size: 20px;
  line-height: 1;
}

.toast .name {
  font-weight: 700;
}

/* ===== Main card ===== */
.main-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  z-index: 2;
}

.card {
  max-width: 24rem;
  width: 100%;
}

.card-inner {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* LEGO-yellow header band with logo */
.logo-band {
  text-align: center;
  padding: 24px 20px;
  background: #ffcd00;
}

.logo-band img {
  width: 100%;
  max-width: 110px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Body */
.body {
  padding: 16px 20px 24px;
}

/* $500 headline */
.amount {
  text-align: center;
  margin-bottom: 16px;
}

.amount .price {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: #e3000b;
}

.amount .offertag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: #e3000b;
}

/* Steps box */
.steps-box {
  background: #fef2f2;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.625;
  color: #1f2937;
}

.step-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9999px;
  color: #ffffff;
  background: #e3000b;
}

.step-label {
  font-weight: 500;
  padding-top: 4px;
}

/* Claim button */
.claim-button {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: none;
  background: #e3000b;
  box-shadow: 0 4px 0 #b30009, 0 6px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  top: 0;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.claim-button:hover {
  background: #ffcd00;
  color: #000000;
  box-shadow: 0 4px 0 #cca300, 0 6px 12px rgba(0, 0, 0, 0.2);
  top: -2px;
}

.claim-button:active {
  top: 2px;
  box-shadow: 0 2px 0 #b30009, 0 3px 6px rgba(0, 0, 0, 0.2);
}
