* { box-sizing: border-box; }

/* Same as screenshot: fonts + ice blue palette */
:root {
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --ice: #7dd3fc;
  --ice-dim: rgba(125, 211, 252, 0.85);
  --ice-border: rgba(56, 189, 248, 0.5);
  --ice-border-strong: rgba(56, 189, 248, 0.65);
  --ice-bg-glow: rgba(56, 189, 248, 0.5);
  --dark-bg: rgba(30, 58, 138, 0.9);
  --dark-bg-soft: rgba(30, 58, 138, 0.5);
  --white: #fff;
  --quote: rgba(255, 255, 255, 0.95);
  --quote-cite: rgba(255, 255, 255, 0.65);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: #e2e8f0;
}

/* Background — dark overlay, image visible (match screenshot) */
.bg {
  position: fixed;
  inset: 0;
  background: url('assets/background.png') center/cover no-repeat;
  z-index: -2;
}
.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.9) 100%);
}

/* Wind effect — streaks and particles blowing across */
.wind {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.wind-streak {
  position: absolute;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 15%,
    rgba(200, 230, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 85%,
    transparent 100%
  );
  animation: windBlow linear infinite;
}
.wind-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: windBlow linear infinite;
}
@keyframes windBlow {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* Main — centered, full viewport */
main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  text-align: center;
}

.token-label {
  margin: 0 0 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ice);
  letter-spacing: 0.1em;
}
/* PENGUIN title — one intense shine per refresh, then fade away */
.title-glow {
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: clamp(2.75rem, 9vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  animation: shineFade 7.5s ease-in-out 1 forwards;
}
@keyframes shineFade {
  0% {
    color: rgba(125, 211, 252, 0.5);
    text-shadow:
      0 0 12px rgba(125, 211, 252, 0.25),
      0 0 24px rgba(125, 211, 252, 0.15),
      0 0 40px rgba(56, 189, 248, 0.08);
    filter: brightness(0.85);
  }
  35% {
    color: #fff;
    text-shadow:
      0 0 4px rgba(255, 255, 255, 1),
      0 0 16px rgba(255, 255, 255, 1),
      0 0 48px rgba(255, 255, 255, 1),
      0 0 96px rgba(255, 255, 255, 0.95),
      0 0 160px rgba(220, 240, 255, 0.9),
      0 0 220px rgba(200, 230, 255, 0.7),
      0 0 280px rgba(180, 220, 255, 0.5);
    filter: brightness(1.5);
  }
  50% {
    color: #fff;
    text-shadow:
      0 0 6px rgba(255, 255, 255, 1),
      0 0 24px rgba(255, 255, 255, 1),
      0 0 64px rgba(255, 255, 255, 1),
      0 0 120px rgba(255, 255, 255, 0.98),
      0 0 200px rgba(230, 245, 255, 0.95),
      0 0 280px rgba(210, 235, 255, 0.85),
      0 0 360px rgba(190, 225, 255, 0.6);
    filter: brightness(1.6);
  }
  60% {
    color: #fff;
    text-shadow:
      0 0 6px rgba(255, 255, 255, 1),
      0 0 24px rgba(255, 255, 255, 0.95),
      0 0 64px rgba(220, 240, 255, 0.8),
      0 0 120px rgba(200, 230, 255, 0.5);
    filter: brightness(1.4);
  }
  67%, 100% {
    color: rgba(125, 211, 252, 0.5);
    text-shadow:
      0 0 12px rgba(125, 211, 252, 0.25),
      0 0 24px rgba(125, 211, 252, 0.15),
      0 0 40px rgba(56, 189, 248, 0.08);
    filter: brightness(0.85);
  }
}

.quote {
  margin: 0 0 1.1rem;
  max-width: 26rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--quote);
  line-height: 1.65;
}
.quote cite {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: normal;
  color: var(--quote-cite);
}

.cta-text {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ice);
  letter-spacing: 0.04em;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:hover { opacity: 0.95; }

/* Join on X — same as screenshot: ice blue fill, white text, glow */
.btn-glow {
  color: var(--white);
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 24px var(--ice-bg-glow), 0 0 48px rgba(14, 165, 233, 0.25);
}
.btn-glow:hover {
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.6), 0 0 64px rgba(14, 165, 233, 0.3);
}

/* Buy $PENGUIN — same as screenshot: dark bg, ice blue border + text */
.btn-buy {
  color: var(--ice);
  background: var(--dark-bg);
  border: 1px solid var(--ice-border);
}
.btn-buy:hover {
  border-color: var(--ice-border-strong);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

/* Contract bar — same as screenshot: address + Copy CA + X */
.contract-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: var(--dark-bg-soft);
  border: 1px solid var(--ice-border);
  border-radius: 8px;
  max-width: min(100%, 36rem);
}
.contract-address {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: var(--ice);
  word-break: break-all;
  flex: 1;
  min-width: 0;
}
.btn-copy {
  flex-shrink: 0;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ice);
  background: var(--dark-bg);
  border: 1px solid var(--ice-border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-copy:hover {
  background: rgba(30, 58, 138, 0.95);
  border-color: var(--ice-border-strong);
}
.btn-copy.copied {
  border-color: #4ade80;
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}
.btn-copy.copied::after { content: ' ✓'; }

/* X button — same as screenshot: ice blue circle */
.btn-close {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ice);
  background: transparent;
  border: 1px solid var(--ice-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.btn-close:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--ice-border-strong);
}
