/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #000;
  --surface: #0a0a16;
  --card-bg: #080810;
  --text: #f0f0ff;
  --text-muted: #aaaacc;
  --text-dim: #666688;
  --r1: #ff0040;
  --r2: #ff8c00;
  --r3: #ffe600;
  --r4: #00cc44;
  --r5: #0099ff;
  --r6: #cc00ff;
  --rainbow: linear-gradient(90deg, #ff0000, #ff8800, #ffff00, #00ff00, #0088ff, #8800ff, #ff0088);
  --rainbow-loop: linear-gradient(90deg, #ff0000, #ff8800, #ffff00, #00ff00, #0088ff, #8800ff, #ff0088, #ff0000);
  --gold: linear-gradient(180deg, #fff5a0, #ffd700, #ff8c00, #b85c00);
  --neon-green: #00ff88;
  --neon-pink: #ff44cc;
  --neon-blue: #00d4ff;
  --neon-purple: #b44dff;
}

html {
  background: #000;
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-pink) #000;
}

/* Rainbow scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: var(--rainbow);
  border-radius: 5px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(136, 0, 255, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 50%, rgba(255, 0, 64, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 70%, rgba(0, 136, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(255, 68, 204, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 20%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
    #000;
  cursor: none;
}

/* Animated tiled BG */
.bg-layer {
  position: fixed;
  inset: 0;
  background: url('https://gayandretarded.net/bg30.gif') repeat;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
  animation: bgHueShift 20s linear infinite;
}

@keyframes bgHueShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Comic Sans for select elements */
.comic-sans {
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif !important;
}

/* Gold gradient text */
.gold-text {
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Neon green */
.green-text {
  color: var(--neon-green) !important;
  -webkit-text-fill-color: var(--neon-green) !important;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Blink */
.blink {
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* === Custom Cursor === */
.cursor-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  box-shadow: 0 0 8px #fff, 0 0 16px var(--neon-pink);
  transition: transform 0.05s ease;
  transform: translate(-50%, -50%);
}

.sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  font-size: 14px;
  animation: sparkleFade 0.8s ease-out forwards;
  transform: translate(-50%, -50%);
}

@keyframes sparkleFade {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% - 30px)) scale(0.2) rotate(180deg); }
}

/* Ensure clickable things show pointer */
a, button, .hype-item, .meme-thumb, .corner-clickable, input {
  cursor: none !important;
}

/* === Floating particles === */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  font-size: 20px;
  animation: float linear infinite;
  opacity: 0.4;
  user-select: none;
  pointer-events: none;
}

@keyframes float {
  0% { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* Floating CT PFP circles */
.floating-pfp {
  position: absolute;
  border-radius: 50%;
  padding: 3px;
  background: var(--rainbow);
  background-size: 200% 200%;
  animation: pfpFloat linear infinite, rainbowBorder 3s linear infinite;
  opacity: 0;
  pointer-events: auto;
  cursor: none;
  user-select: none;
  box-shadow: 0 0 12px rgba(255, 68, 204, 0.3), 0 0 24px rgba(0, 136, 255, 0.15);
  transition: box-shadow 0.2s;
}

.floating-pfp:hover {
  box-shadow: 0 0 20px rgba(255, 68, 204, 0.6), 0 0 40px rgba(0, 136, 255, 0.3);
  opacity: 0.8 !important;
}

.floating-pfp img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

@keyframes pfpFloat {
  0% { transform: translateY(110vh) rotate(0deg) scale(0.8); opacity: 0; }
  5% { opacity: 0.35; }
  50% { opacity: 0.25; }
  95% { opacity: 0.35; }
  100% { transform: translateY(-10vh) rotate(360deg) scale(1); opacity: 0; }
}

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

/* === Corner GIFs === */
.corner-gif {
  position: fixed;
  z-index: 2;
  pointer-events: none;
  width: 100px;
  height: auto;
  opacity: 0.7;
  filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.4));
}

.corner-bl { bottom: 40px; left: 8px; }
.corner-br { bottom: 40px; right: 8px; }

.corner-clickable {
  pointer-events: auto !important;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  animation: cornerBounce 2s ease-in-out infinite;
}

.corner-clickable:hover {
  transform: scale(1.3) !important;
  filter: drop-shadow(0 0 20px rgba(255, 68, 204, 0.8)) brightness(1.2);
}

@keyframes cornerBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* === Confetti Canvas === */
#confettiCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

/* === Ticker Bars === */
.ticker-bar {
  position: fixed;
  left: 0;
  right: 0;
  height: 34px;
  background: var(--rainbow);
  z-index: 999;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-top { top: 0; }
.ticker-bottom { bottom: 0; }

.ticker-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
}

.ticker-track span {
  flex-shrink: 0;
}

.ticker-reverse {
  animation-direction: reverse;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Meme Marquee Strip === */
.meme-marquee {
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 12px;
  border: 2px solid;
  border-image: var(--rainbow) 1;
  position: relative;
}

.meme-marquee::before,
.meme-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.meme-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #000, transparent);
}

.meme-marquee::after {
  right: 0;
  background: linear-gradient(-90deg, #000, transparent);
}

.meme-track {
  display: flex;
  gap: 8px;
  animation: memeScroll 45s linear infinite;
  width: max-content;
}

.meme-track-reverse {
  animation-direction: reverse;
}

@keyframes memeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.meme-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.meme-thumb:hover {
  opacity: 1;
  transform: scale(1.15);
  z-index: 3;
  border-color: var(--neon-pink);
  box-shadow: 0 0 15px rgba(255, 68, 204, 0.4);
}

/* === Rainbow HR === */
.rainbow-hr {
  width: 100%;
  height: 4px;
  background: var(--rainbow);
  border-radius: 2px;
  margin: 20px 0;
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.3), 0 0 20px rgba(0, 136, 255, 0.2);
}

/* === Page Layout === */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* === Top Bar (CA + Socials) === */
.top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ca-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  position: relative;
}

.ca-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-dim);
}

.ca-address {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--neon-green);
  text-shadow: 0 0 6px rgba(0, 255, 136, 0.2);
  user-select: all;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-address.coming-soon {
  color: var(--text-dim);
  font-style: italic;
  text-shadow: none;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  font-size: 0.7rem;
}

.ca-copy {
  background: none;
  border: none;
  color: var(--text-dim);
  padding: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.ca-copy:hover:not(:disabled) {
  color: var(--neon-green);
}

.ca-copy:disabled {
  opacity: 0.25;
  cursor: default;
}

.ca-dex {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.ca-dex.disabled {
  opacity: 0.25;
  pointer-events: none;
}

.dex-icon {
  width: 16px;
  height: 16px;
}

.ca-copied {
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--neon-green);
  opacity: 0;
  transition: opacity 0.2s;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.ca-copied.show {
  opacity: 1;
}

.social-pills {
  display: flex;
  gap: 8px;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}

.social-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* === PFP Generator CTA — slim accent strip === */
.pfp-cta-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 18px;
  margin-bottom: 20px;
  text-decoration: none;
  border-radius: 100px;
  background: var(--rainbow);
  background-size: 300% 100%;
  animation: rainbowShift 4s linear infinite;
  transition: all 0.2s;
  position: relative;
}

.pfp-cta-strip:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 68, 204, 0.4), 0 0 50px rgba(136, 0, 255, 0.2);
}

.pfp-cta-badge {
  background: #000;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  animation: blink 1.2s step-end infinite;
  flex-shrink: 0;
}

.pfp-cta-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pfp-cta-title {
  font-size: 0.78rem;
  font-weight: 900;
  color: #000;
  letter-spacing: 0.04em;
  flex: 1;
}

.pfp-cta-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.pfp-cta-arrow {
  font-size: 1.2rem;
  font-weight: 900;
  color: #000;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.pfp-cta-strip:hover .pfp-cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 520px) {
  .pfp-cta-sub { display: none; }
  .pfp-cta-title { font-size: 0.7rem; }
}

@media (max-width: 520px) {
  .top-bar {
    flex-direction: column;
    gap: 8px;
  }
  .ca-address {
    max-width: 140px;
  }
}

/* === Pride Stripe === */
.pride-stripe {
  display: flex;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 0 12px rgba(255, 0, 128, 0.3);
}

.stripe { flex: 1; }
.s1 { background: #ff0018; }
.s2 { background: #ffa52c; }
.s3 { background: #ffff41; }
.s4 { background: #008018; }
.s5 { background: #0000f9; }
.s6 { background: #86007d; }

/* === Hero === */
.hero {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(255, 0, 128, 0.15);
  border: 2px solid;
  border-image: var(--rainbow) 1;
  border-radius: 100px;
  border: 2px solid var(--neon-pink);
  color: var(--neon-pink);
  margin-bottom: 20px;
  animation: badgePulse 2s ease-in-out infinite;
}

.badge-gif {
  width: 24px;
  height: auto;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 68, 204, 0.2); }
  50% { box-shadow: 0 0 30px rgba(255, 68, 204, 0.5), 0 0 60px rgba(255, 0, 128, 0.2); }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 0 0 40px rgba(255, 0, 128, 0.3);
}

.hero-solana {
  display: block;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.rainbow-text-animated {
  background: linear-gradient(90deg, #ff0000, #ff8800, #ffff00, #00ff00, #0088ff, #8800ff, #ff0088, #ff0000, #ff8800, #ffff00);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 2s linear infinite;
}

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

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.hero-subtext {
  font-size: 0.85rem;
  color: var(--neon-pink);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 68, 204, 0.4);
}

/* === Inline Stats (inside hero, no card) === */
.hero-inline-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.inline-stat {
  font-weight: 600;
}

.inline-dot {
  color: var(--text-dim);
  opacity: 0.4;
}

.stat-num {
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  background: var(--rainbow);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 3s linear infinite;
}

/* === Gay Quote — inline text, not a card === */
.gay-quote-inline {
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
}

.quote-mark {
  font-size: 2rem;
  font-family: 'Times New Roman', serif;
  font-weight: 900;
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  vertical-align: middle;
  line-height: 1;
}

.quote-text {
  font-size: 0.95rem;
  color: var(--neon-green);
  font-style: italic;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* === Input Section === */
.input-section {
  width: 100%;
  margin-bottom: 28px;
  position: relative;
}

.input-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(255, 68, 204, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 30px;
  animation: inputGlow 3s ease-in-out infinite;
}

@keyframes inputGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: #000;
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 8px 8px 8px 22px;
  gap: 14px;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  background-clip: padding-box;
}

.input-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 21px;
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: rainbowShift 3s linear infinite;
  z-index: -1;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.input-wrapper:focus-within::before {
  opacity: 1;
  animation: borderPulse 1.5s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.input-at {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--rainbow);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 2s linear infinite;
  user-select: none;
}

#handleInput {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  font-family: inherit;
  padding: 16px 0;
  min-width: 0;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

#handleInput::placeholder {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.generate-btn {
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: rainbowShift 3s linear infinite;
  color: #000;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
  text-shadow: none;
  position: relative;
  overflow: hidden;
}

.generate-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
}

.generate-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 30px rgba(255, 68, 204, 0.5), 0 0 60px rgba(255, 136, 0, 0.3);
}

.generate-btn:active {
  transform: scale(0.96);
}

.btn-emoji {
  font-size: 1.1rem;
}

.input-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

/* === Card Section === */
.card-section {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  animation: cardReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 28px;
}

.card-section.visible {
  display: flex;
}

@keyframes cardReveal {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.card-wrapper {
  width: 100%;
  position: relative;
}

.card-glow {
  position: absolute;
  inset: -30px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 0, 64, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 136, 255, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 68, 204, 0.12) 0%, transparent 60%);
  border-radius: 30px;
  pointer-events: none;
  z-index: 0;
  animation: cardGlow 4s ease-in-out infinite;
}

@keyframes cardGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

/* === The Card === */
.card {
  background: var(--card-bg);
  border: 2px solid rgba(255, 68, 204, 0.15);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(255, 68, 204, 0.1),
    0 0 160px rgba(0, 136, 255, 0.06);
}

.card-rainbow-bar {
  height: 5px;
  background: var(--rainbow);
  width: 100%;
  background-size: 200% 100%;
  animation: rainbowShift 2s linear infinite;
}

.card-stamp {
  position: absolute;
  top: 50px;
  right: -22px;
  background: rgba(255, 68, 204, 0.15);
  border: 2px solid rgba(255, 68, 204, 0.3);
  color: var(--neon-pink);
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  transform: rotate(12deg);
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 2;
  text-shadow: 0 0 8px rgba(255, 68, 204, 0.4);
}

.card-top {
  padding: 28px 28px 20px;
}

.card-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.label-icon {
  font-size: 0.8rem;
}

.card-handle-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.card-pfp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid;
  border-image: var(--rainbow) 1;
  border-radius: 50%;
  border: 3px solid var(--neon-pink);
  box-shadow: 0 0 15px rgba(255, 68, 204, 0.4);
  flex-shrink: 0;
  object-fit: cover;
}

.card-handle {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.card-handle .handle-name {
  background: var(--rainbow);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 2s linear infinite;
}

.card-confessions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.confession {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 10px 14px;
  border-left: 3px solid;
  border-image: var(--rainbow) 1;
  font-style: italic;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
}

/* === Card Divider === */
.card-divider {
  height: 2px;
  background: var(--rainbow);
  margin: 0 28px;
  position: relative;
  opacity: 0.4;
}

.divider-emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card-bg);
  padding: 0 10px;
  font-size: 0.9rem;
}

/* === Relationship Section === */
.card-bottom {
  padding: 20px 28px 24px;
}

.rel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 18px;
}

.rel-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rel-key {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.rel-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-green);
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.2);
}

/* === Loyalty Bar === */
.loyalty-section {
  margin-bottom: 20px;
}

.loyalty-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.loyalty-label {
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--rainbow);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 2s linear infinite;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
}

.loyalty-bar-bg {
  height: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.loyalty-bar-fill {
  height: 100%;
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: rainbowShift 2s linear infinite;
  border-radius: 7px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 15px rgba(255, 68, 204, 0.5), 0 0 30px rgba(0, 136, 255, 0.3);
}

/* === Timeline === */
.timeline-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-entry {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border-left: 3px solid;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
}

.timeline-entry:nth-child(1) { border-image: linear-gradient(180deg, #ff0000, #ff8800) 1; }
.timeline-entry:nth-child(2) { border-image: linear-gradient(180deg, #ffff00, #00ff00) 1; }
.timeline-entry:nth-child(3) { border-image: linear-gradient(180deg, #0088ff, #8800ff) 1; }

/* === Card Footer === */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.card-domain {
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--rainbow);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShift 3s linear infinite;
}

.card-ticker {
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  color: #000;
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: rainbowShift 2s linear infinite;
  padding: 6px 16px;
  border-radius: 8px;
  letter-spacing: 0.05em;
}

/* === Action Buttons === */
.actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
}

.share-btn, .download-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 14px;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.share-btn {
  background: linear-gradient(135deg, #1d9bf0, #0066cc);
  color: #fff;
  box-shadow: 0 4px 20px rgba(29, 155, 240, 0.3);
}

.download-btn {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.share-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 30px rgba(29, 155, 240, 0.5);
}

.download-btn:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--neon-pink);
}

.share-btn:active, .download-btn:active {
  transform: scale(0.97);
}

.share-cta {
  text-align: center;
  font-size: 0.78rem;
  color: var(--neon-green);
  margin-top: 14px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

/* === Hype Section === */
.hype-section {
  width: 100%;
  margin-bottom: 24px;
}

.hype-card {
  text-align: center;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  margin-bottom: 16px;
}

.hype-emoji {
  font-size: 2rem;
  margin-bottom: 10px;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hype-title {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
  font-family: 'Times New Roman', serif;
}

.hype-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.hype-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hype-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.hype-item:hover {
  background: rgba(255, 68, 204, 0.1);
  border-color: rgba(255, 68, 204, 0.3);
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(255, 68, 204, 0.2);
}

.hype-handle {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neon-green);
  font-family: 'JetBrains Mono', monospace;
  text-shadow: 0 0 6px rgba(0, 255, 136, 0.2);
}

.hype-peek {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--neon-pink);
}

/* === Facts Section === */
.facts-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.facts-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
  font-family: 'Times New Roman', serif;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.fact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.2s;
}

.fact-card:hover {
  border-color: rgba(255, 68, 204, 0.2);
  background: rgba(255, 68, 204, 0.04);
}

.fact-emoji {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.fact-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* === Token Banner === */
.token-banner {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 2px solid;
  border-image: var(--rainbow) 1;
  border-radius: 18px;
  border: 2px solid rgba(255, 68, 204, 0.2);
  margin-bottom: 16px;
}

.banner-rainbow {
  height: 5px;
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: rainbowShift 3s linear infinite;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.banner-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.banner-ticker {
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #000;
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: rainbowShift 2s linear infinite;
  padding: 8px 18px;
  border-radius: 10px;
}

.banner-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.banner-link {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--neon-green);
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 20px;
  border: 2px solid rgba(0, 255, 136, 0.2);
  border-radius: 10px;
  transition: all 0.2s;
  font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Chalkduster', sans-serif;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.banner-link:hover {
  background: rgba(0, 255, 136, 0.08);
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.banner-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 0 24px 16px;
}

/* === Pride Parade Overlay === */
.parade-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.parade-overlay.active {
  display: flex;
}

.parade-text-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: paradeTextPulse 0.4s ease-in-out infinite alternate;
  transform-origin: center center;
}

.parade-big {
  font-size: clamp(2.5rem, 10vw, 6rem);
  font-weight: 900;
  font-family: 'Impact', 'Arial Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--rainbow);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowShiftFast 0.5s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(255, 0, 128, 0.6)) drop-shadow(0 0 60px rgba(0, 136, 255, 0.4));
}

.parade-sub {
  font-size: clamp(1rem, 3vw, 1.8rem);
  color: #fff;
  margin-top: 10px;
  animation: paradeBlink 0.3s step-end infinite;
}

@keyframes rainbowShiftFast {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

@keyframes paradeTextPulse {
  from { transform: scale(1) rotate(-0.5deg); }
  to { transform: scale(1.06) rotate(0.5deg); }
}

@keyframes paradeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.parade-emojis {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.parade-emoji {
  position: absolute;
  font-size: 60px;
  animation: paradeEmojiFloat linear forwards;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

@keyframes paradeEmojiFloat {
  0% { transform: translateY(110vh) rotate(0deg) scale(0.5); opacity: 0; }
  10% { opacity: 1; transform: translateY(90vh) rotate(30deg) scale(1); }
  90% { opacity: 1; }
  100% { transform: translateY(-15vh) rotate(720deg) scale(1.2); opacity: 0; }
}

.parade-timer {
  position: fixed;
  bottom: 50px;
  right: 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  z-index: 4;
  opacity: 0.4;
  text-shadow: 0 0 20px rgba(255, 68, 204, 0.5);
}

/* Parade body effects — shake on .page not body (transform on body breaks position:fixed) */
body.parade-active .bg-layer {
  opacity: 0.2 !important;
}

body.parade-active .page {
  animation: paradeShake 0.15s ease-in-out infinite, paradeHueRotate 0.5s linear infinite;
}

@keyframes paradeShake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-3px, 2px) rotate(-0.5deg); }
  50% { transform: translate(3px, -2px) rotate(0.5deg); }
  75% { transform: translate(-2px, -3px) rotate(-0.3deg); }
}

@keyframes paradeHueRotate {
  0% { filter: hue-rotate(0deg) saturate(1.5) brightness(1.1); }
  100% { filter: hue-rotate(360deg) saturate(1.5) brightness(1.1); }
}

/* Rainbow flash overlay */
.parade-overlay.active::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--rainbow);
  background-size: 400% 400%;
  animation: paradeFlash 0.6s linear infinite;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

@keyframes paradeFlash {
  0% { background-position: 0% 0%; opacity: 0.05; }
  25% { background-position: 100% 0%; opacity: 0.12; }
  50% { background-position: 100% 100%; opacity: 0.05; }
  75% { background-position: 0% 100%; opacity: 0.12; }
  100% { background-position: 0% 0%; opacity: 0.05; }
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  line-height: 1;
  padding-bottom: 4px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-arrow:hover {
  background: rgba(255, 68, 204, 0.2);
  border-color: var(--neon-pink);
  box-shadow: 0 0 15px rgba(255, 68, 204, 0.3);
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 16px;
  border-radius: 20px;
}

.lightbox-img-wrap {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid var(--neon-pink);
  box-shadow: 0 0 40px rgba(255, 68, 204, 0.3), 0 0 80px rgba(0, 136, 255, 0.15);
  animation: lbFadeIn 0.25s ease;
}

@keyframes lbFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 520px) {
  .lightbox-arrow {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* === Shake animation === */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10% { transform: translateX(-4px) rotate(-1deg); }
  20% { transform: translateX(4px) rotate(1deg); }
  30% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  50% { transform: translateX(-2px); }
  60% { transform: translateX(2px); }
  70% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

/* === Mobile Responsive === */
@media (max-width: 520px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-stats {
    gap: 12px;
    padding: 12px 16px;
  }

  .stat-num { font-size: 0.95rem; }

  .input-wrapper {
    padding: 4px 4px 4px 14px;
    gap: 8px;
  }

  #handleInput {
    font-size: 0.95rem;
  }

  .generate-btn {
    padding: 14px 16px;
    font-size: 0.82rem;
  }

  .card-top, .card-bottom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .card-handle {
    font-size: 1.3rem;
  }

  .card-divider {
    margin: 0 18px;
  }

  .card-footer {
    padding: 12px 18px;
  }

  .card-stamp {
    display: none;
  }

  .actions {
    flex-direction: column;
  }

  .hype-grid {
    grid-template-columns: 1fr;
  }

  .banner-content {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .banner-main {
    flex-direction: column;
    gap: 8px;
  }

  .corner-gif {
    width: 60px;
    opacity: 0.5;
  }

  .meme-thumb {
    width: 60px;
    height: 60px;
  }

  .gay-quote {
    padding: 14px 16px;
  }
}
