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

:root {
  --red: #FF0000;
  --blue: #0033FF;
  --yellow: #FFFF00;
  --green: #00CC00;
  --magenta: #FF00FF;
  --cyan: #00FFFF;
  --black: #000000;
  --white: #FFFFFF;
  --link: #0000EE;
  --gray: #999999;
  --gray-light: #E0E0E0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive, sans-serif;
  background-color: var(--white);
  background-image:
    radial-gradient(circle, #ddd 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 15px;
  cursor: crosshair;
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:hover {
  color: var(--red);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* ===== SPLASH SCREEN ===== */
.splash {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000080;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

.splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  max-width: 500px;
  padding: 20px;
}

.splash-cat {
  width: 150px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
  image-rendering: auto;
}

.splash-text {
  text-align: left;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--gray-light);
  margin-bottom: 20px;
}

.splash-line {
  display: block;
  min-height: 1.4em;
}

.splash-bar-outer {
  width: 100%;
  height: 24px;
  border: 2px solid var(--gray-light);
  background: var(--black);
  padding: 3px;
}

.splash-bar-inner {
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(
    90deg,
    var(--cyan) 0px,
    var(--cyan) 8px,
    var(--blue) 8px,
    var(--blue) 16px
  );
  transition: width 0.1s;
}

.splash-status {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--cyan);
  margin-top: 12px;
}

/* ===== CURSOR CANVAS ===== */
#cursorCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ===== BLINK ===== */
.blink {
  animation: blinker 1s step-end infinite;
  color: var(--red);
}

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

/* ===== FLOATING STICKERS ===== */
.floating-sticker {
  position: fixed;
  pointer-events: none;
  z-index: 2;
  opacity: 0.07;
  filter: grayscale(30%);
}

.sticker-1 {
  width: 150px;
  top: 45%;
  right: -10px;
  transform: rotate(15deg);
  animation: floatSticker1 8s ease-in-out infinite;
  opacity: 0.09;
}

.sticker-2 {
  width: 80px;
  top: 55%;
  left: 10px;
  transform: rotate(-20deg);
  animation: floatSticker2 10s ease-in-out infinite;
  opacity: 0.06;
}

.sticker-3 {
  width: 100px;
  top: 75%;
  left: 3%;
  transform: rotate(8deg);
  animation: floatSticker3 12s ease-in-out infinite;
  opacity: 0.08;
}

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

@keyframes floatSticker2 {
  0%, 100% { transform: rotate(-20deg) translateY(0); }
  50% { transform: rotate(-16deg) translateY(-15px); }
}

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

/* ===== SECTION STICKERS (overlap sections) ===== */
.section-sticker {
  position: absolute;
  z-index: 10;
  width: 100px;
  pointer-events: none;
  opacity: 0.85;
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.15));
}

.sticker-peek-right {
  right: -50px;
  top: -20px;
  transform: rotate(12deg);
}

.sticker-peek-left {
  left: -50px;
  top: -10px;
  transform: rotate(-10deg);
}

/* ===== TOP BANNER ===== */
.top-banner {
  background: var(--black);
  color: var(--green);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.top-banner .sep {
  color: #444;
  margin: 0 8px;
}

.visitor-num {
  color: var(--cyan);
  font-weight: bold;
}

/* ===== NAV ===== */
.nav {
  background: var(--white);
  border-bottom: 3px solid var(--black);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--red);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  font-weight: bold;
  color: var(--blue);
  padding: 4px 8px;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-links a:hover {
  background: var(--yellow);
  border: 1px dashed var(--black);
  color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 2px solid var(--black);
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
}

/* ===== HERO ===== */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #FFFFF8;
  background-image:
    radial-gradient(circle, rgba(255, 0, 0, 0.04) 1px, transparent 1px),
    radial-gradient(circle, rgba(0, 51, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px, 20px 20px;
  background-position: 0 0, 15px 10px;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/confettit2.gif') repeat center center;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero {
  padding: 60px 20px 50px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  min-height: 70vh;
  z-index: 1;
}

/* Stars */
.star {
  position: absolute;
  animation: spinStar linear infinite;
  pointer-events: none;
}

.star-1 { top: 8%; left: 3%; font-size: 2rem; color: var(--red); animation-duration: 3s; }
.star-2 { top: 5%; right: 8%; font-size: 1.5rem; color: var(--yellow); animation-duration: 5s; }
.star-3 { bottom: 25%; left: 8%; font-size: 1.8rem; color: var(--magenta); animation-duration: 4s; }
.star-4 { top: 45%; right: 3%; font-size: 1.3rem; color: var(--cyan); animation-duration: 6s; }
.star-5 { bottom: 8%; right: 15%; font-size: 2.2rem; color: var(--green); animation-duration: 3.5s; }
.star-6 { bottom: 40%; left: 2%; font-size: 1.6rem; color: var(--red); animation-duration: 7s; }

@keyframes spinStar {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.3); }
  to { transform: rotate(360deg) scale(1); }
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 5;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: bold;
  font-size: 13px;
  padding: 4px 14px;
  border: 2px dashed var(--red);
  margin-bottom: 16px;
}

.hero-title-top {
  display: block;
  font-size: 1.2rem;
  color: var(--gray);
  font-style: italic;
}

.hero-title-main {
  display: block;
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--red);
  font-weight: bold;
  line-height: 1;
  text-shadow:
    3px 3px 0 var(--yellow),
    -1px -1px 0 var(--blue);
  animation: glitchText 4s ease-in-out infinite;
}

@keyframes glitchText {
  0%, 95%, 100% { text-shadow: 3px 3px 0 var(--yellow), -1px -1px 0 var(--blue); }
  96% { text-shadow: -3px 2px 0 var(--cyan), 2px -2px 0 var(--magenta); }
  97% { text-shadow: 4px -1px 0 var(--green), -2px 3px 0 var(--red); }
  98% { text-shadow: -2px -3px 0 var(--yellow), 3px 1px 0 var(--blue); }
}

.hero-subtitle {
  font-size: 1.05rem;
  margin-top: 16px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.hero-image {
  flex-shrink: 0;
  text-align: center;
  position: relative;
  z-index: 5;
}

.hero-image-frame {
  border: 3px solid var(--black);
  padding: 6px;
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(0, 51, 255, 0.2);
  display: inline-block;
  transform: rotate(2deg);
  transition: transform 0.3s;
}

.hero-image-frame:hover {
  transform: rotate(-3deg) scale(1.05);
}

.hero-cat {
  width: 280px;
  height: 280px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.hero-cat:hover {
  animation: squashStretch 0.5s ease;
}

@keyframes squashStretch {
  0% { transform: scale(1, 1); }
  15% { transform: scale(1.15, 0.85); }
  30% { transform: scale(0.9, 1.1); }
  45% { transform: scale(1.08, 0.92); }
  60% { transform: scale(0.97, 1.03); }
  75% { transform: scale(1.02, 0.98); }
  100% { transform: scale(1, 1); }
}

.hero-caption {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--gray);
  margin-top: 6px;
}

/* CA Banner strip */
.ca-banner {
  background: var(--black);
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ca-banner-label {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: bold;
  color: var(--yellow);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: blinker 1s step-end infinite;
}

.ca-banner code {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  font-weight: bold;
  color: var(--white);
  letter-spacing: 1px;
  word-break: break-all;
}

.ca-banner-copy {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: bold;
  background: var(--yellow);
  border: 2px solid var(--yellow);
  padding: 4px 14px;
  cursor: pointer;
  color: var(--black);
  transition: background 0.15s, color 0.15s;
}

.ca-banner-copy:hover {
  background: var(--white);
  color: var(--black);
}

.ca-banner-copy.copied {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* Under construction tape */
.construction-tape {
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 12px,
    var(--black) 12px,
    var(--black) 24px
  );
  color: var(--black);
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 6px 16px;
  margin-top: 12px;
  text-align: center;
  border: 2px solid var(--black);
  text-shadow: 0 0 4px var(--yellow);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 8px 20px;
  font-family: 'Comic Neue', 'Comic Sans MS', cursive;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  border: 3px outset;
  text-decoration: none;
  text-align: center;
  transition: none;
  color: var(--white);
}

.btn:active {
  border-style: inset;
}

.btn:hover {
  color: var(--white);
}

.btn-big {
  padding: 12px 28px;
  font-size: 15px;
  min-width: 220px;
  text-align: center;
  justify-content: center;
}

.btn-small {
  padding: 4px 12px;
  font-size: 12px;
}

.btn-red { background: var(--red); border-color: #CC0000; }
.btn-red:hover { background: #CC0000; }
.btn-blue { background: var(--blue); border-color: #0022AA; }
.btn-blue:hover { background: #0022AA; }
.btn-green { background: var(--green); border-color: #009900; }
.btn-green:hover { background: #009900; }
.btn-dark { background: #333; border-color: #111; }
.btn-dark:hover { background: #111; }

/* ===== MARQUEES ===== */
.retro-marquee {
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
  padding: 10px 0;
  overflow: hidden;
}

.marquee-red { background: var(--red); }
.marquee-blue { background: var(--blue); }
.marquee-yellow { background: var(--yellow); }

.retro-marquee-track {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 3px;
  white-space: nowrap;
  animation: scrollMarquee 20s linear infinite;
}

.marquee-red .retro-marquee-track,
.marquee-blue .retro-marquee-track {
  color: var(--white);
}

.marquee-yellow .retro-marquee-track {
  color: var(--black);
}

.track-reverse {
  animation: scrollMarqueeReverse 28s linear infinite;
}

.track-fast {
  animation: scrollMarquee 14s linear infinite;
}

.track-slow {
  animation: scrollMarquee 35s linear infinite;
}

/* Stock ticker marquee */
/* Emoji dividers */
/* Morse code divider */
.morse-divider {
  text-align: center;
  padding: 12px 0;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  letter-spacing: 4px;
  color: var(--gray);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0.4;
}

.morse-line {
  display: inline-block;
}

.emoji-divider {
  background: var(--black);
  text-align: center;
  padding: 4px 0;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 2px;
  border-top: 2px solid #333;
  border-bottom: 2px solid #333;
  overflow: hidden;
  white-space: nowrap;
}

.emoji-row {
  display: inline-block;
}

.sparkle-divider {
  background: #1a1a2e;
}

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

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

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-hr {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0px, var(--red) 12px,
    var(--blue) 12px, var(--blue) 24px,
    var(--yellow) 24px, var(--yellow) 36px,
    var(--green) 36px, var(--green) 48px
  );
  margin: 10px 0;
}

.section-title {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: var(--blue);
  text-shadow: 2px 2px 0 var(--yellow);
  display: inline-block;
}

.section-desc {
  text-align: center;
  color: var(--gray);
  margin-bottom: 28px;
  font-size: 14px;
}

/* Vary section desc per section */
.tokenomics .section-desc { font-size: 12px; font-style: italic; letter-spacing: 0.5px; text-align: left; padding-left: 10px; }
.tokenomics .section-header { margin-bottom: 20px; }
.how-to-buy .section-desc { font-size: 15px; font-weight: bold; color: var(--black); }
.how-to-buy .section-header { margin-bottom: 22px; }
.community .section-desc { font-size: 16px; color: var(--black); font-weight: bold; }

/* Vary section title colors per section */
.tokenomics .section-title { color: var(--red); text-shadow: 2px 2px 0 var(--yellow); }
.how-to-buy .section-title { color: var(--green); text-shadow: 2px 2px 0 var(--cyan); }

/* ===== RETRO FRAME ===== */
.retro-frame {
  border: 3px solid var(--black);
  padding: 6px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--gray-light);
  display: inline-block;
}

/* Varied frame styles per section */
.about .retro-frame { border-width: 4px; box-shadow: 6px 6px 0 rgba(255, 0, 255, 0.25); padding: 8px 8px 28px 8px; }
.community .retro-frame { border: 3px double var(--black); box-shadow: 5px 5px 0 rgba(0, 204, 0, 0.25); padding: 6px 6px 22px 6px; }

.polaroid-caption {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: var(--gray);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}

.frame-tilted {
  transform: rotate(-3deg);
  transition: transform 0.3s;
}

.frame-tilted:hover {
  transform: rotate(2deg) scale(1.03);
}

.image-label {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--gray);
  margin-top: 6px;
  text-align: center;
}

/* ===== WINDOW STYLE ===== */
.text-window,
.shoutbox-window {
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--gray-light);
}

.window-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
  padding: 3px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.window-dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0,0,0,0.3);
}

.dot-close { background: #C0C0C0; }
.dot-min { background: #C0C0C0; }
.dot-max { background: #C0C0C0; }

.window-title {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--white);
  font-weight: bold;
  margin-left: 6px;
}

.window-body {
  padding: 16px;
  background: #FDF8EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.window-body p {
  margin-top: 10px;
  line-height: 1.6;
}

.window-body p:first-child {
  margin-top: 0;
}

.window-cursor {
  animation: blinker 1s step-end infinite;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  color: var(--black);
}

/* ===== ABOUT ===== */
.about {
  padding: 55px 0;
  /* Checkerboard tile - faint rose tint */
  background-color: #FFF5F5;
  background-image:
    linear-gradient(45deg, #f0dede 25%, transparent 25%),
    linear-gradient(-45deg, #f0dede 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f0dede 75%),
    linear-gradient(-45deg, transparent 75%, #f0dede 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
}

.about-cat {
  width: 260px;
  height: auto;
}

.about-stats {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.stat {
  border: 2px solid var(--black);
  background: var(--white);
  padding: 10px 14px;
  text-align: center;
  flex: 1;
  box-shadow: 3px 3px 0 var(--gray-light);
}

.stat-value {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--red);
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--gray);
  margin-top: 2px;
}

/* ===== TOKENOMICS ===== */
.tokenomics {
  padding: 38px 0;
  /* Tiny scattered dots tile */
  background-color: #FFFEF5;
  background-image:
    radial-gradient(circle, rgba(255, 200, 0, 0.18) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 200, 0, 0.10) 1px, transparent 1px);
  background-size: 24px 24px, 12px 12px;
  background-position: 0 0, 6px 12px;
}

.retro-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid var(--black);
  font-size: 14px;
  box-shadow: 5px 5px 0 var(--gray-light);
}

.retro-table thead {
  background: #000080;
  color: var(--white);
}

.retro-table th {
  padding: 8px 14px;
  text-align: left;
  border: 1px solid var(--black);
  font-family: 'Courier New', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.retro-table td {
  padding: 10px 14px;
  border: 1px solid var(--black);
}

.retro-table tbody tr:nth-child(even) {
  background: #E8E8FF;
}

.retro-table tbody tr:hover {
  background: var(--yellow);
  cursor: pointer;
}

.td-highlight {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  color: var(--red);
  font-size: 1.1rem;
}

.contract-box {
  margin-top: 28px;
  text-align: right;
  margin-right: 20px;
}

.contract-label {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 8px;
  display: block;
}

.contract-addr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  padding: 10px 20px;
  border: 2px solid var(--green);
  font-family: 'Courier New', monospace;
}

.contract-addr code {
  color: var(--green);
  font-size: 14px;
  letter-spacing: 1px;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--cyan);
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: bold;
}

.copy-btn:hover { color: var(--yellow); text-decoration: underline; }
.copy-btn.copied { color: var(--green); }

/* ===== HOW TO BUY ===== */
.how-to-buy {
  padding: 40px 0;
  /* Diagonal stripes tile */
  background-color: #F0F8FF;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(0, 51, 255, 0.04) 8px,
    rgba(0, 51, 255, 0.04) 16px
  );
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.step-card {
  border: 2px solid var(--black);
  padding: 18px;
  background: #FDF8EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  box-shadow: 4px 4px 0 var(--gray-light);
  transition: transform 0.2s;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto 1fr;
  gap: 0 12px;
}


.step-icon {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.step-icon-double {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.step-icon-double .print-logo {
  display: block;
  height: auto;
  width: 86px;
}

.step-icon svg {
  display: block;
  border-radius: 8px;
}

.step-card:hover {
  transform: rotate(-1deg);
  background: #FFFFF0;
}

/* Colored borders per step card */
.step-card:nth-child(1) { border-color: var(--red); box-shadow: 4px 4px 0 rgba(255,0,0,0.2); }
.step-card:nth-child(2) { border-color: var(--blue); box-shadow: 4px 4px 0 rgba(0,51,255,0.2); }
.step-card:nth-child(3) { border-color: var(--yellow); box-shadow: 4px 4px 0 rgba(200,180,0,0.3); }
.step-card:nth-child(4) { border-color: var(--green); box-shadow: 4px 4px 0 rgba(0,204,0,0.2); }

.step-number {
  grid-column: 1;
  grid-row: 1;
  font-family: 'Courier New', monospace;
  font-size: 1.8rem;
  font-weight: bold;
  color: #003300;
  background: #C5E1A5;
  border: 2px inset #999;
  display: inline-block;
  padding: 2px 10px;
  margin-bottom: 10px;
  letter-spacing: 3px;
  text-shadow: 1px 1px 0 rgba(0,80,0,0.2);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.15);
  align-self: start;
  justify-self: start;
}

.step-card h3 {
  grid-column: 1;
  grid-row: 2;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: var(--red);
}

.step-card p {
  grid-column: 1;
  grid-row: 3;
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}

/* ===== SHOUTBOX ===== */
.shoutbox-section {
  padding: 50px 0;
}

.shoutbox-messages {
  padding: 12px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--white);
  font-size: 13px;
}

.shout {
  padding: 3px 0;
  border-bottom: 1px dotted var(--gray-light);
}

.shout-user {
  font-weight: bold;
  margin-right: 6px;
}

.user-red { color: var(--red); }
.user-blue { color: var(--blue); }
.user-green { color: #009900; }
.user-magenta { color: var(--magenta); }

.shoutbox-input {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-top: 2px solid var(--black);
  background: #F0F0F0;
}

.shoutbox-field {
  flex: 1;
  font-family: 'Comic Neue', 'Comic Sans MS', cursive;
  font-size: 13px;
  padding: 6px 10px;
  border: 2px inset #999;
  background: var(--white);
}

.shoutbox-field:disabled {
  background: #EEEEEE;
  color: var(--gray);
}

/* ===== COMMUNITY ===== */
.community {
  padding: 60px 0;
  /* Star dots tile - stronger green tint */
  background-color: #E8FFF0;
  background-image:
    radial-gradient(circle, rgba(0, 204, 0, 0.16) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(0, 204, 0, 0.12) 1px, transparent 1px);
  background-size: 28px 28px, 14px 14px;
  background-position: 0 0, 14px 14px;
}

.community-inner {
  text-align: center;
}

.community .retro-frame {
  margin-left: -20px;
}

.community-cats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.community-cats-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-cat {
  width: 150px;
  height: auto;
  display: block;
}

.tuba {
  width: 80px;
  height: auto;
}

.tuba-left {
  transform: scaleX(-1);
}

.tuba-top {
  width: 70px;
  margin-bottom: 6px;
}

.community-inner .retro-frame {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 3px solid var(--black);
  padding: 28px 0;
  /* Zigzag tile */
  background-color: #F0F0F0;
  background-image:
    linear-gradient(135deg, #e0e0e0 25%, transparent 25%),
    linear-gradient(225deg, #e0e0e0 25%, transparent 25%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 0;
}

.footer-inner {
  text-align: center;
}

.footer-links {
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-links a {
  margin: 0 4px;
}

.footer-links .sep {
  color: var(--gray);
  margin: 0 4px;
}

/* 88x31 BADGES */
.badge-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.badge-88 {
  width: 88px;
  height: 31px;
  border: 1px solid var(--black);
  font-family: 'Courier New', monospace;
  font-size: 8px;
  font-weight: bold;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #C0C0C0;
  color: var(--black);
  box-shadow: 1px 1px 0 var(--gray);
}

.badge-green { background: var(--green); color: var(--white); }
.badge-blue { background: #000080; color: var(--white); }
.badge-red { background: var(--red); color: var(--white); }
.badge-magenta { background: var(--magenta); color: var(--white); }
.badge-yellow { background: var(--yellow); color: var(--black); }
.badge-cyan { background: #008080; color: var(--white); }

.footer-disclaimer {
  font-size: 11px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.footer-copy {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: var(--gray);
  margin-top: 10px;
}

/* ===== RIGHT CLICK MODAL ===== */
.right-click-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99998;
  align-items: center;
  justify-content: center;
}

.right-click-modal.show {
  display: flex;
}

.right-click-box {
  border: 2px solid var(--black);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
  max-width: 400px;
  width: 90%;
}

.right-click-body {
  background: var(--white);
  padding: 24px;
  text-align: center;
}

.right-click-body p {
  margin-bottom: 12px;
  font-size: 14px;
}

/* ===== KONAMI OVERLAY ===== */
.konami-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,128,0.95);
  z-index: 99998;
  align-items: center;
  justify-content: center;
}

.konami-overlay.show {
  display: flex;
}

.konami-content {
  text-align: center;
  color: var(--white);
  padding: 40px;
}

.konami-cat {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px;
  animation: spinStar 2s linear infinite;
  filter: drop-shadow(0 0 20px var(--cyan)) drop-shadow(0 0 40px var(--magenta));
}

.konami-content h2 {
  font-size: 2rem;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--red);
  margin-bottom: 12px;
  animation: blinker 1s step-end infinite;
}

.konami-content p {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* ===== SPARKLE / TWINKLE ===== */
.sparkle-wrap {
  position: relative;
}

.sparkle {
  position: absolute;
  font-size: 1rem;
  pointer-events: none;
  animation: twinkle 1.5s ease-in-out infinite;
}

.sparkle.s1 {
  top: -8px;
  left: -14px;
  color: var(--yellow);
  animation-delay: 0s;
}

.sparkle.s2 {
  top: -10px;
  right: -14px;
  color: var(--cyan);
  animation-delay: 0.4s;
}

.sparkle.s3 {
  bottom: -8px;
  left: 20%;
  color: var(--magenta);
  animation-delay: 0.8s;
}

.sparkle.s4 {
  bottom: -6px;
  right: 20%;
  color: var(--green);
  animation-delay: 1.2s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

/* ===== FLAME DIVIDER ===== */
.flame-divider {
  overflow: hidden;
  line-height: 1;
  background: var(--black);
  padding: 2px 0;
  border-top: 2px solid #330000;
  border-bottom: 2px solid #330000;
}

.flame-row {
  display: flex;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}

.flame {
  font-size: 1.4rem;
  display: inline-block;
}

.flame.f1 { animation: flicker 0.3s ease-in-out infinite alternate; }
.flame.f2 { animation: flicker 0.4s ease-in-out infinite alternate-reverse; }
.flame.f3 { animation: flicker 0.35s ease-in-out infinite alternate; animation-delay: 0.1s; }
.flame.f4 { animation: flicker 0.25s ease-in-out infinite alternate-reverse; animation-delay: 0.05s; }
.flame.f5 { animation: flicker 0.45s ease-in-out infinite alternate; animation-delay: 0.15s; }
.flame.f6 { animation: flicker 0.3s ease-in-out infinite alternate-reverse; animation-delay: 0.2s; }
.flame.f7 { animation: flicker 0.38s ease-in-out infinite alternate; animation-delay: 0.08s; }
.flame.f8 { animation: flicker 0.28s ease-in-out infinite alternate-reverse; animation-delay: 0.12s; }

@keyframes flicker {
  0% { transform: scaleY(1) translateY(0); opacity: 0.8; }
  100% { transform: scaleY(1.3) translateY(-3px); opacity: 1; }
}

/* ===== NEW! BADGE ===== */
.new-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Courier New', monospace;
  font-size: 9px;
  font-weight: bold;
  padding: 1px 5px;
  border: 1px solid var(--black);
  margin-left: 6px;
  vertical-align: super;
  letter-spacing: 1px;
  animation: blinker 1s step-end infinite;
}

/* ===== BOUNCING ARROW ===== */
.buy-btn-wrapper {
  position: relative;
  display: inline-block;
}

.bouncing-arrow {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: bold;
  color: var(--red);
  text-align: center;
  animation: bounceArrow 0.6s ease-in-out infinite;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

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

/* ===== DIGIT-BOX VISITOR COUNTER ===== */
.visitor-counter {
  display: inline-flex;
  gap: 1px;
}

.digit {
  display: inline-block;
  width: 14px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: var(--black);
  color: var(--green);
  border: 1px solid #444;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: bold;
}

/* ===== STARBURST ===== */
.starburst {
  position: absolute;
  width: 90px;
  height: 90px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  clip-path: polygon(
    50% 0%, 63% 13%, 80% 5%, 78% 23%, 98% 25%,
    87% 38%, 100% 50%, 87% 62%, 98% 75%, 78% 77%,
    80% 95%, 63% 87%, 50% 100%, 37% 87%, 20% 95%,
    22% 77%, 2% 75%, 13% 62%, 0% 50%, 13% 38%,
    2% 25%, 22% 23%, 20% 5%, 37% 13%
  );
  animation: spinStarburst 8s linear infinite;
}

.starburst span {
  font-family: 'Comic Neue', 'Comic Sans MS', cursive;
  font-size: 13px;
  font-weight: bold;
  color: var(--red);
  text-align: center;
  line-height: 1.1;
  animation: spinStarburstText 8s linear infinite;
}

.starburst-1 {
  top: -10px;
  right: -20px;
}

.starburst-2 {
  position: relative;
  display: inline-block;
  margin: 20px auto 0;
  width: 80px;
  height: 80px;
}

.starburst-2 span {
  font-size: 11px;
}

@keyframes spinStarburst {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinStarburstText {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 50px 0;
  /* Cork board */
  background-color: #D4A96A;
  background-image: url('assets/cork-texture.jpg');
  background-size: 400px 400px;
  border-top: 8px solid #7B5230;
  border-bottom: 8px solid #7B5230;
  box-shadow:
    inset 0 4px 12px rgba(0,0,0,0.25),
    inset 0 -4px 12px rgba(0,0,0,0.25),
    inset 4px 0 8px rgba(0,0,0,0.1),
    inset -4px 0 8px rgba(0,0,0,0.1);
  position: relative;
}

.testimonials .section-title {
  color: var(--white);
  text-shadow:
    2px 2px 0 var(--black),
    -1px -1px 0 var(--black),
    1px -1px 0 var(--black),
    -1px 1px 0 var(--black);
}

.testimonials .section-hr {
  opacity: 1;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 10px;
}

.testimonial-card {
  background-color: #FDF8EE;
  padding: 24px 18px 18px 42px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 2px 3px 6px rgba(0,0,0,0.25);
  border: none;
  /* Lined paper + parchment texture */
  background-image: repeating-linear-gradient(
    transparent,
    transparent 27px,
    rgba(180, 210, 240, 0.35) 27px,
    rgba(180, 210, 240, 0.35) 28px
  ), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-position: 0 40px;
}

/* Red margin line on left */
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  width: 1px;
  height: 100%;
  background: rgba(255, 100, 100, 0.3);
}

/* Pushpin */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  z-index: 3;
  box-shadow:
    0 2px 3px rgba(0,0,0,0.3),
    inset -2px -2px 3px rgba(0,0,0,0.2),
    inset 2px 2px 3px rgba(255,255,255,0.6);
}

/* Different colored pushpins */
.testimonial-card:nth-child(1)::before { background: #E53935; }
.testimonial-card:nth-child(2)::before { background: #1E88E5; }
.testimonial-card:nth-child(3)::before { background: #43A047; }
.testimonial-card:nth-child(4)::before { background: #FFB300; }

.testimonial-card:nth-child(1)  { transform: none; }
.testimonial-card:nth-child(2) { transform: none; }
.testimonial-card:nth-child(3) { transform: none; }
.testimonial-card:nth-child(4) { transform: none; }

.testimonial-card:hover {
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 4px 6px 12px rgba(0,0,0,0.35);
}

.testimonial-stars {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-shadow: 1px 1px 0 #CC9900;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #333;
}

.testimonial-author {
  border-top: 1px dotted #ccc;
  padding-top: 8px;
}

.testimonial-name {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: bold;
  color: var(--blue);
}

.testimonial-location {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: var(--gray);
  margin-top: 2px;
}

.testimonial-disclaimer {
  text-align: center;
  font-size: 10px;
  color: var(--black);
  background: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,0.1);
  margin-top: 20px;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 30px;
    gap: 20px;
    min-height: auto;
  }

  .hero-buttons { justify-content: center; }
  .hero-cat { width: 220px; height: 220px; }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-cat { width: 200px; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .starburst { width: 70px; height: 70px; }
  .starburst span { font-size: 10px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--black);
    flex-direction: column;
    padding: 12px 20px;
    gap: 8px;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .top-banner { font-size: 9px; }
  .floating-sticker { display: none; }
  .section-sticker { display: none; }
  .star { display: none; }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .badge-row {
    gap: 3px;
  }

  /* Reset polish pass offsets for mobile */
  .testimonial-card:nth-child(n) { margin-top: 0 !important; }
  .contract-box { text-align: center; margin-right: 0; }
  .tokenomics .section-desc { text-align: center; padding-left: 0; }
  .community .retro-frame { margin-left: 0; }
  .testimonial-disclaimer { text-align: center !important; margin-left: auto !important; }
}
