/* ===== fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Rubik+Wet+Paint&family=Press+Start+2P&family=VT323&display=swap');

* {
  box-sizing: border-box;
}

/* ===== palette ===== */
:root {
  --black: #0a0006;
  --card: #1c0410;
  --card2: #260615;
  --cherry: #d21034;
  --hot-pink: #ff1f8f;
  --pink-light: #ff6fb8;
  --magenta: #a3005c;
  --cream: #ffeaf2;
  --white: #ffffff;

  --cursor-default:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 7' width='28' height='25'><rect x='1' y='0' width='2' height='1' fill='%23ff1f8f' stroke='%23000' stroke-width='0.25'/><rect x='5' y='0' width='2' height='1' fill='%23ff1f8f' stroke='%23000' stroke-width='0.25'/><rect x='0' y='1' width='8' height='1' fill='%23ff1f8f' stroke='%23000' stroke-width='0.25'/><rect x='0' y='2' width='8' height='1' fill='%23d21034' stroke='%23000' stroke-width='0.25'/><rect x='0' y='3' width='8' height='1' fill='%23d21034' stroke='%23000' stroke-width='0.25'/><rect x='1' y='4' width='6' height='1' fill='%23d21034' stroke='%23000' stroke-width='0.25'/><rect x='2' y='5' width='4' height='1' fill='%23a3005c' stroke='%23000' stroke-width='0.25'/><rect x='3' y='6' width='2' height='1' fill='%23a3005c' stroke='%23000' stroke-width='0.25'/></svg>")
    4 3, auto;

  --cursor-pointer:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='26'><text x='13' y='14' font-size='22' text-anchor='middle' dominant-baseline='central' fill='%23ffffff' stroke='%23ff1f8f' stroke-width='0.6'>%E2%98%86</text></svg>")
    13 13, pointer;
}

/* ===== background ===== */

body {
  margin: 0;
  padding: 20px;
  font-family: 'VT323', monospace;
  font-size: 1.15rem;
  color: var(--cream);
  background-image:
    linear-gradient(120deg, rgba(10,0,6,0.6), rgba(42,3,19,0.6), rgba(77,6,32,0.6), rgba(26,2,16,0.6), rgba(10,0,6,0.6)),
    url("images/bg-tile.gif");
  background-repeat: no-repeat, repeat;
  background-size: 300% 300%, auto;
  animation: holo-shift 22s ease infinite;
  position: relative;
  overflow-x: hidden;
}

@keyframes holo-shift {
  0%   { background-position: 0% 50%, 0 0; }
  50%  { background-position: 100% 50%, 0 0; }
  100% { background-position: 0% 50%, 0 0; }
}


.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.glow-blob.one {
  width: 340px;
  height: 340px;
  background: var(--hot-pink);
  top: -80px;
  left: -80px;
  animation: pulse 9s ease-in-out infinite;
}

.glow-blob.two {
  width: 280px;
  height: 280px;
  background: var(--cherry);
  bottom: -60px;
  right: -60px;
  animation: pulse 7s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 0.6;  transform: scale(1.15); }
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 10% 20%, #fff, transparent),
    radial-gradient(2px 2px at 30% 70%, #ff6fb8, transparent),
    radial-gradient(3px 3px at 50% 15%, #fff, transparent),
    radial-gradient(2px 2px at 70% 85%, #ff6fb8, transparent),
    radial-gradient(2px 2px at 85% 35%, #fff, transparent),
    radial-gradient(3px 3px at 92% 65%, #ff1f8f, transparent),
    radial-gradient(2px 2px at 15% 90%, #fff, transparent),
    radial-gradient(2px 2px at 60% 45%, #ff1f8f, transparent),
    radial-gradient(2px 2px at 40% 30%, #fff, transparent),
    radial-gradient(2px 2px at 78% 12%, #ff6fb8, transparent);
  opacity: 0.75;
  animation: twinkle 2.5s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.3; }
  to   { opacity: 0.9; }
}

/* ===== sparkle cursor trail (JS-spawned) ===== */
.sparkle-trail {
  position: fixed;
  z-index: 999;
  pointer-events: none;
  font-size: 14px;
  transform: translate(-50%, -50%);
  animation: sparkle-fade 0.7s ease-out forwards;
}

@keyframes sparkle-fade {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(-50%, -140%) scale(0.4) rotate(45deg); }
}

/* ===== page wrap ===== */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  background: rgba(20, 3, 12, 0.92);
  border: 3px solid var(--hot-pink);
  outline: 1px solid var(--black);
  outline-offset: -6px;
  border-radius: 0;
  padding: 26px 32px 36px;
  box-shadow: 6px 6px 0px var(--cherry), 0 0 50px rgba(255, 31, 143, 0.25);
}

/* ===== pixel icons ===== */
.pixel-icon {
  width: 18px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
.pixel-icon rect { fill: currentColor; }
.icon-heart { color: var(--hot-pink); }
.icon-skull { color: var(--white); }

.dingbat-star {
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--cream);
  text-shadow: 0 0 6px rgba(255, 111, 184, 0.8);
}

.sticker-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 8px 0 4px;
}
.sticker-row > * {
  animation: sticker-bounce 1.6s ease-in-out infinite;
}
.sticker-row > *:nth-child(2n) { animation-delay: 0.2s; }
.sticker-row > *:nth-child(3n) { animation-delay: 0.4s; }

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

/* ===== checkerboard pixel divider ===== */
.pixel-divider {
  height: 14px;
  margin: 22px 0;
  background: repeating-conic-gradient(var(--black) 0% 25%, var(--hot-pink) 0% 50%) 0 0 / 14px 14px;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

/* ===== header ===== */
.site-header {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 3px double var(--hot-pink);
  margin-bottom: 6px;
}

.blink {
  animation: blink 1.1s steps(1) infinite;
  color: var(--pink-light);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  letter-spacing: 1px;
}

@keyframes blink {
  50% { opacity: 0; }
}

.site-title {
  font-family: 'Rubik Wet Paint', cursive;
  font-size: 3rem;
  margin: 8px 0 0;
  background: linear-gradient(90deg, var(--hot-pink), var(--cherry), var(--pink-light), var(--magenta), var(--hot-pink));
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: title-shine 7s linear infinite;
  text-shadow: 0 0 18px rgba(255, 31, 143, 0.6);
}

@keyframes title-shine {
  to { background-position: 250% center; }
}

.site-subtitle {
  margin: 8px 0 16px;
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  color: var(--pink-light);
}

.page-heading {
  text-align: center;
}

.page-heading .site-title {
  font-size: 2.3rem;
}

.back-home {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: var(--cream);
  background: var(--black);
  border: 2px solid var(--hot-pink);
  padding: 8px 12px;
  text-decoration: none;
}
.back-home:hover { background: var(--hot-pink); color: var(--black); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  background: var(--black);
  color: var(--cream);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  border: 2px solid var(--hot-pink);
  box-shadow: 3px 3px 0 var(--cherry);
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.site-nav a:hover,
.site-nav a.current {
  background: var(--hot-pink);
  color: var(--black);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--cherry);
}

/* ===== ticker ===== */
.ticker {
  margin: 18px 0;
  padding: 8px 0;
  background: var(--black);
  border-top: 2px solid var(--hot-pink);
  border-bottom: 2px solid var(--hot-pink);
  color: var(--pink-light);
  font-family: 'VT323', monospace;
  font-size: 1.15rem;
}

/* ===== banner buttons (index -> gallery/blog) ===== */
.banner-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px 0;
}

.banner-button {
  position: relative;
  overflow: hidden;
  flex: 1 1 220px;
  text-align: center;
  padding: 22px 16px;
  background: linear-gradient(160deg, var(--card2), var(--card));
  border: 3px solid var(--hot-pink);
  box-shadow: 5px 5px 0 var(--cherry);
  text-decoration: none;
  color: var(--cream);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  line-height: 1.8;
  transition: transform 0.15s ease;
}

.banner-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.banner-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--cherry);
}

.banner-button:hover::after {
  left: 130%;
}

.banner-button .bb-sub {
  display: block;
  margin-top: 8px;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  color: var(--pink-light);
}

/* ===== panels ===== */
.panel {
  margin: 30px 0;
}

.panel h2 {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.9rem;
  color: var(--black);
  background: var(--hot-pink);
  padding: 8px 14px;
  border: 2px solid var(--black);
  margin-bottom: 12px;
  box-shadow: 3px 3px 0 var(--cherry);
}

.section-note {
  font-size: 0.95rem;
  color: #c98aa8;
  margin-top: -4px;
}

/* ===== cat zone ===== */
.pet-zone {
  text-align: center;
  margin: 26px 0;
}

.polaroid {
  position: relative;
  display: inline-block;
  background: #fff8fb;
  padding: 14px 14px 46px;
  border: 2px solid var(--hot-pink);
  box-shadow: 5px 5px 0 var(--cherry);
  transform: rotate(-3deg);
  margin: 10px 0 4px;
}

.polaroid::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 70px;
  height: 26px;
  background: rgba(255, 111, 184, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transform: translateX(-50%) rotate(-4deg);
}

.polaroid img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  background: var(--card2);
  image-rendering: pixelated;
  border: 1px solid #e8b8cf;
}

.pet-caption {
  margin: 12px 0 0;
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  color: #7a1f4d;
}

.paw-stickers {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  font-size: 1.3rem;
}
.paw-stickers span { display: inline-block; animation: sticker-bounce 1.6s ease-in-out infinite; }
.paw-stickers span:nth-child(2) { animation-delay: 0.2s; }
.paw-stickers span:nth-child(3) { animation-delay: 0.4s; }

/* ===== now playing ===== */
.player-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 3px solid var(--hot-pink);
  border-style: outset;
  padding: 18px 22px;
  box-shadow: 4px 4px 0 var(--cherry);
}

.cd {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--hot-pink), var(--black), var(--cherry), var(--white), var(--hot-pink));
  border: 2px solid var(--cream);
  position: relative;
  animation: spin 3s linear infinite;
}

.cd::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--card);
  border: 2px solid var(--hot-pink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

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

.game-cover {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 2px solid var(--cream);
  image-rendering: pixelated;
  background: var(--card2);
}

.press-start {
  margin: 8px 0 0;
}

.player-info { flex: 1; }

.np-label {
  margin: 0;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  letter-spacing: 1px;
  color: var(--hot-pink);
}

.np-track {
  margin: 4px 0 8px;
  font-size: 1.5rem;
  color: var(--cream);
}

.np-artist {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: var(--pink-light);
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.eq span {
  width: 4px;
  background: linear-gradient(180deg, var(--hot-pink), var(--cherry));
  animation: bounce 0.9s ease-in-out infinite;
}

.eq span:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq span:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.eq span:nth-child(3) { height: 55%; animation-delay: 0.2s; }
.eq span:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.eq span:nth-child(5) { height: 65%; animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

/* ===== scenes (layered graphic scenes, e.g. a room with pngs placed in it) ===== */
.scene {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 320px;
  margin: 18px auto;
  background-color: var(--card2);
  background-size: cover;
  background-position: center;
  border: 3px solid var(--hot-pink);
  box-shadow: 5px 5px 0 var(--cherry);
  overflow: hidden;
}

.scene-item {
  position: absolute;
  image-rendering: pixelated;
}

/* ===== scattered stickers (freely placed decorative gifs/pngs) ===== */
.sticker-scatter {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  image-rendering: pixelated;
}

/* ===== gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  border: 3px solid var(--hot-pink);
  overflow: hidden;
  text-decoration: none;
  background: var(--card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-item:hover {
  transform: rotate(-1deg) scale(1.03);
  box-shadow: 4px 4px 0 var(--cherry);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: var(--card2);
  image-rendering: pixelated;
}

.gallery-item .caption {
  display: block;
  padding: 6px 8px;
  font-size: 1rem;
  text-align: center;
  color: var(--cream);
  background: var(--black);
}

/* ===== blog ===== */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.blog-post {
  background: var(--card);
  border: 2px solid var(--hot-pink);
  padding: 10px 16px;
  box-shadow: 3px 3px 0 var(--cherry);
}

.blog-post summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
}

.blog-post summary::-webkit-details-marker {
  display: none;
}

.blog-post summary .pixel-icon {
  flex-shrink: 0;
}

.blog-date {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: var(--pink-light);
}

.blog-title {
  color: var(--cream);
}

.blog-body {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--hot-pink);
  font-size: 1.05rem;
  color: var(--cream);
}

/* ===== links ===== */
.link-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-list a {
  display: inline-block;
  padding: 9px 16px;
  background: var(--black);
  color: var(--cream);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  border: 2px solid var(--hot-pink);
  box-shadow: 3px 3px 0 var(--cherry);
  transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.link-list a:hover {
  background: var(--hot-pink);
  color: var(--black);
  transform: translate(-1px, -1px);
}

/* ===== footer ===== */
.site-footer {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 3px double var(--hot-pink);
  text-align: center;
  font-size: 0.95rem;
  color: #c98aa8;
}

.under-construction {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.6rem;
  color: var(--pink-light);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 14px 0;
}

.badge {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.45rem;
  color: var(--cream);
  background: var(--black);
  border: 2px solid var(--hot-pink);
  padding: 6px 8px;
  line-height: 1.6;
}

.hit-counter {
  display: inline-block;
  margin: 10px 0;
  padding: 6px 10px;
  background: var(--black);
  border: 2px groove var(--hot-pink);
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--hot-pink);
}

.site-footer a { color: var(--pink-light); }

.neocities-badge {
  display: block;
  margin: 10px auto 0;
  image-rendering: pixelated;
}

/* ===== responsive ===== */
@media (max-width: 520px) {
  .site-title { font-size: 2.1rem; }
  .page-wrap { padding: 20px 18px 28px; }
  .banner-row { flex-direction: column; }
}
