/* Playful Roblox-style generator */
.page-playful {
  font-family: "Nunito", "Plus Jakarta Sans", system-ui, sans-serif;
}

.page-playful .navbar-play {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.page-playful .logo-icon {
  font-size: 1.3rem;
}

.trust-fun {
  background: color-mix(in srgb, var(--game-accent) 20%, transparent);
  border-color: color-mix(in srgb, var(--game-accent) 40%, transparent);
  color: #fff;
  font-weight: 700;
}

/* Animated background */
.play-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(165deg, #1a0a2e 0%, #0d1f3c 45%, #0a1628 100%);
}

.play-bg-game {
  position: absolute;
  width: 140%;
  height: 140%;
  object-fit: cover;
  left: -20%;
  top: -15%;
  opacity: 0.12;
  filter: blur(4px) saturate(1.3);
  animation: bgDrift 25s ease-in-out infinite;
}

@keyframes bgDrift {
  0%,
  100% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.05) translate(-2%, 1%);
  }
}

.play-bg-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, color-mix(in srgb, var(--game-accent) 35%, transparent), transparent 60%);
}

.float-icon {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.35;
  animation: floatIcon 8s ease-in-out infinite;
  pointer-events: none;
}

.fi-1 {
  top: 15%;
  left: 8%;
}
.fi-2 {
  top: 25%;
  right: 10%;
  animation-delay: -2s;
}
.fi-3 {
  bottom: 30%;
  left: 12%;
  animation-delay: -4s;
}
.fi-4 {
  bottom: 20%;
  right: 8%;
  animation-delay: -1s;
}

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

.gen-page {
  max-width: 560px;
  padding-bottom: 2.5rem;
}

.gen-hero-fun {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0 1.25rem;
  animation: fadeUp 0.5s ease;
}

.gen-hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  border: 3px solid #fff;
  box-shadow: 0 12px 40px color-mix(in srgb, var(--game-accent) 50%, transparent);
  animation: heroBob 3s ease-in-out infinite;
}

.gen-hero-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--game-accent);
  color: #fff;
  margin-bottom: 0.35rem;
}

.gen-hero-fun h1 {
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.gen-hero-fun p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

/* Main card */
.gen-fun-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  margin-bottom: 1.75rem;
}

.gen-fun-card.is-flying {
  box-shadow: 0 0 60px color-mix(in srgb, var(--game-accent) 35%, transparent);
}

.gen-fun-card-bg {
  position: absolute;
  inset: 0;
  background: url("https://cdn.roblox.com/images/Logo/logo_R.svg") center / 40% no-repeat;
  opacity: 0.03;
  pointer-events: none;
}

.form-zone,
.delivery-zone {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.25rem 1.5rem;
}

.fun-status {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 1.1rem;
}

/* Steps indicator */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.35s ease;
}

.step-dot.active {
  background: var(--game-accent);
  color: #fff;
  border-color: var(--game-accent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--game-accent) 50%, transparent);
  transform: scale(1.1);
}

.step-dot.done {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.step-line {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

/* Pseudo search */
.pseudo-fun label,
.rewards-fun label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 0.45rem;
}

.pseudo-search-row {
  display: flex;
  gap: 0.5rem;
}

.pseudo-search-row input {
  flex: 1;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.pseudo-search-row input:focus {
  outline: none;
  border-color: var(--game-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--game-accent) 30%, transparent);
}

.btn-search-pseudo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 1rem;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, var(--game-accent), color-mix(in srgb, var(--game-accent) 70%, #000));
  box-shadow: 0 4px 0 color-mix(in srgb, var(--game-accent) 50%, #000);
  transition: transform 0.15s;
  white-space: nowrap;
}

.btn-search-pseudo:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn-search-pseudo:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-search-pseudo:disabled .btn-search-icon {
  animation: searchSpin 0.8s linear infinite;
}

@keyframes searchSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Search loading animation */
.search-status {
  margin-top: 0.85rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  animation: fadeUp 0.35s ease;
}

.search-loader {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.5rem;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--game-accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loader-mag {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: magPulse 1s ease-in-out infinite;
}

@keyframes magPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.search-status-text {
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  min-height: 1.3em;
}

.search-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.search-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--game-accent);
  animation: dotBounce 1.2s ease-in-out infinite;
}

.search-dots span:nth-child(2) {
  animation-delay: 0.15s;
}
.search-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dotBounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

/* [hidden] must win over display:flex */
.pseudo-found-card[hidden],
.search-status[hidden],
.modal-overlay[hidden],
.success-fun[hidden] {
  display: none !important;
}

/* Green found card */
.pseudo-found-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(22, 163, 74, 0.12));
  border: 2px solid #4ade80;
  box-shadow: 0 0 24px rgba(74, 222, 128, 0.25);
  animation: foundPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes foundPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.pseudo-found-card img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid #fff;
  object-fit: cover;
  flex-shrink: 0;
}

.found-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}

.found-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.found-info strong {
  font-size: 1rem;
  color: #fff;
}

.found-username {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Locked rewards — visible but greyed */
.rewards-fun {
  margin: 1.2rem 0;
  transition: opacity 0.4s, filter 0.4s;
}

.rewards-fun.is-locked {
  opacity: 0.42;
  pointer-events: none;
  filter: grayscale(0.75);
}

.rewards-fun.is-locked .reward-card {
  cursor: not-allowed;
}

.rewards-fun.is-unlocked {
  opacity: 1;
  pointer-events: auto;
  filter: none;
  animation: fadeUp 0.5s ease;
}

.lock-label {
  font-weight: 600;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

/* SEO hero top */
.seo-hero-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1rem 0 1rem;
}

.seo-hero-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--game-accent);
}

.seo-hero-top h1 {
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 0.2rem 0;
}

.seo-hero-lead {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.eligibility-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--game-accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--game-accent) 35%, transparent);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  text-align: center;
}

/* SEO article bottom */
.seo-article-full {
  padding: 1.5rem 1.35rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.seo-article-full h2 {
  font-size: 1.1rem;
  color: #fff;
  margin: 1.25rem 0 0.5rem;
}

.seo-article-full h2:first-child {
  margin-top: 0;
}

.seo-article-full p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.seo-article-full p:last-of-type {
  margin-bottom: 0;
}

.seo-article-full .reward-list {
  margin: 0.75rem 0 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.65);
}

.seo-note {
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.5) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  margin-top: 1rem !important;
}

/* Verification modal */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.35s ease;
}

.modal-popup {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 1.5rem 1.35rem 1.35rem;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  animation: modalPop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 0.35rem;
}

.modal-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.modal-alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.45);
}

.modal-alert-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.modal-alert-text strong {
  display: block;
  color: #fecaca;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.modal-alert-text p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.modal-alert-text p strong {
  display: inline;
  color: #fca5a5;
}

.modal-recap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  padding: 0.85rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-recap-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.modal-recap-info {
  flex: 1;
  min-width: 0;
}

.modal-recap-name {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
}

.modal-recap-user {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.modal-recap-reward {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.modal-recap-reward-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.modal-recap-reward-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.1rem;
}

.modal-recap-reward strong {
  display: block;
  color: #86efac;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.modal-recap-game {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.modal-popup h2 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.modal-lead {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.modal-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  margin-bottom: 1rem;
}

.modal-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.btn-modal-verify {
  display: block;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #fff;
  font-family: inherit;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 0 #15803d;
  transition: transform 0.15s;
}

.btn-modal-verify:hover {
  transform: translateY(-2px);
  color: #fff;
}

.modal-foot {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.75rem;
}

/* verification.html page */
.verify-page .verify-edu-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.verify-edu-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
  color: #fde047;
  margin-bottom: 0.75rem;
}

.verify-edu-card h1 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.verify-lead {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.verify-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  margin-bottom: 0.5rem;
}

.verify-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.verify-video-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}

.verify-list {
  margin: 0.75rem 0 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.verify-cta-row {
  margin-top: 1.5rem;
}

.pseudo-hint {
  font-size: 0.78rem;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.pseudo-hint.ok {
  color: #86efac;
}

.pseudo-hint.err {
  color: #fca5a5;
}

.pseudo-hint.err code {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.72rem;
}

.pseudo-hint.err a {
  color: #93c5fd;
  font-weight: 800;
}

/* Rewards */
.rewards-fun {
  margin: 1.2rem 0;
}

.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.reward-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.reward-card:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.25);
}

.reward-card.selected {
  border-color: var(--game-accent);
  background: color-mix(in srgb, var(--game-accent) 22%, transparent);
  transform: scale(1.04);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--game-accent) 35%, transparent);
}

.rc-icon {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.rc-label {
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.15;
}

.rc-sub {
  font-size: 0.68rem;
  opacity: 0.65;
  margin-top: 0.15rem;
}

/* Launch button */
.btn-launch {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 16px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, #ff6b6b 0%, #ee5a24 100%);
  box-shadow: 0 8px 0 #c4451c, 0 12px 28px rgba(238, 90, 36, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-launch:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #c4451c, 0 16px 32px rgba(238, 90, 36, 0.5);
}

.btn-launch:not(:disabled):active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #c4451c;
}

.btn-launch:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
}

.rocket-emoji {
  font-size: 1.35rem;
  animation: rocketWiggle 1s ease-in-out infinite;
}

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

/* Delivery / rocket */
.delivery-zone {
  text-align: center;
}

.delivery-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}

.delivery-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.25rem 0 1rem;
}

.rocket-track {
  position: relative;
  height: 200px;
  margin: 0 0.5rem 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 55%, #312e81 100%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.rocket-track-bg {
  position: absolute;
  inset: 0;
}

.rocket-track-bg .cloud {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.5;
  animation: cloudDrift 6s ease-in-out infinite;
}

.c1 {
  bottom: 20%;
  left: 10%;
}
.c2 {
  bottom: 35%;
  right: 15%;
  animation-delay: -3s;
}

.rocket-track-bg .planet {
  position: absolute;
  top: 12%;
  right: 15%;
  font-size: 2rem;
  opacity: 0.7;
}

@keyframes cloudDrift {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(12px);
  }
}

.rocket-ship {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: bottom 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
  z-index: 2;
}

.rocket-body {
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  animation: rocketShake 0.15s ease infinite;
}

.gen-fun-card.is-flying .rocket-body {
  animation: rocketShake 0.12s ease infinite;
}

@keyframes rocketShake {
  0%,
  100% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(1px);
  }
}

.rocket-flame {
  width: 12px;
  height: 20px;
  margin-top: -6px;
  background: linear-gradient(180deg, #fbbf24, #ef4444, transparent);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: flameFlicker 0.1s ease infinite alternate;
}

@keyframes flameFlicker {
  from {
    transform: scaleY(0.85);
    opacity: 0.8;
  }
  to {
    transform: scaleY(1.15);
    opacity: 1;
  }
}

.fun-progress {
  margin-bottom: 1rem;
}

.fun-progress-bar {
  height: 14px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.fun-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--game-accent), #fde047, var(--game-accent));
  background-size: 200% 100%;
  animation: progressShine 1.5s linear infinite;
  transition: width 0.55s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes progressShine {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.fun-progress-text {
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  margin-top: 0.5rem;
  min-height: 1.3em;
}

/* Story steps */
.story-steps {
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 0;
}

.story-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.35rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s, transform 0.35s;
}

.story-step.show {
  opacity: 1;
  transform: translateX(0);
}

.story-step.done {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.story-step.active {
  border: 1px solid color-mix(in srgb, var(--game-accent) 50%, transparent);
  background: color-mix(in srgb, var(--game-accent) 15%, transparent);
}

.ss-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ss-text {
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Verify fun */
.verify-fun {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.2);
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.verify-fun-icon {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.verify-fun p {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.verify-fun-bar {
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 999px;
  margin-top: 0.65rem;
  overflow: hidden;
}

.verify-fun-bar div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #818cf8, #c084fc);
  border-radius: 999px;
  transition: width 0.1s linear;
}

/* Success */
.success-fun {
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(16, 185, 129, 0.15));
  border: 2px solid rgba(74, 222, 128, 0.4);
  animation: fadeUp 0.5s ease;
}

.success-bounce {
  font-size: 3rem;
  animation: successBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successBounce {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.success-fun h3 {
  color: #86efac;
  font-size: 1.2rem;
  font-weight: 900;
}

.success-fun p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Reveal */
.reveal-fun {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.12);
  border: 2px solid rgba(251, 191, 36, 0.35);
  text-align: left;
}

.reveal-fun h2 {
  color: #fde047;
  font-size: 1rem;
  font-weight: 900;
}

.reveal-fun p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.35rem;
}

.seo-below {
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-below h2,
.seo-below h3 {
  color: #fff;
}

.seo-below p,
.seo-below li {
  color: rgba(255, 255, 255, 0.65);
}

.confetti-piece {
  position: absolute;
  z-index: 100;
}
