/* =============================================
   StreetCatCam — main.css
   app/static/css/main.css
   ============================================= */

/* --- Variables --- */
:root {
  --red:         #ED0015;
  --blue:        #003087;
  --black:       #000000;
  --white:       #FFFFFF;
  --yellow:      #FFD700;
  --green:       #00A550;
  --pink:        #FF69B4;
  --pink-light:  #FFB3D9;
  --pink-dark:   #e0007a;
  --bg:          #1a1a1a;
  --pixel-border: 4px solid #000;
  --pixel-shadow: 4px 4px 0px #000;
  --font-pixel:  'Press Start 2P', monospace;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-pixel);
  overflow-x: hidden;
}

/* =============================================
   ACCENT COLORS (reusable)
   ============================================= */
.accent-green  { color: var(--green); }
.accent-pink   { color: var(--pink); }
.accent-yellow { color: var(--yellow); }
.accent-blue   { color: #00cfff; }

/* =============================================
   NAV
   ============================================= */
.nav {
  background: #111;
  padding: 12px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.1s;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-link:hover  { color: var(--pink); }
.nav-link.active { color: var(--pink); }


/* =============================================
   COOKIE NOTICE
   ============================================= */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, #2d0a4e 0%, #1a0a2e 40%, #3d1a1a 100%);
  border-top: 4px solid var(--pink);
  padding: 18px 48px;
  text-align: center;
  box-shadow: 0 -4px 32px rgba(255, 105, 180, 0.2);
}

.cookie-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cookie-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.cookie-emoji-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  font-size: 28px;
  line-height: 1;
}

.cookie-emoji-base { display: block; }

.cookie-bite {
  position: absolute;
  top: -2px;
  right: -4px;
  font-size: 14px;
  animation: bite 2.5s ease-in-out infinite;
  transform-origin: bottom left;
}

@keyframes bite {
  0%   { transform: rotate(-30deg) scale(0.8); opacity: 0; }
  15%  { transform: rotate(0deg)   scale(1.1); opacity: 1; }
  30%  { transform: rotate(-20deg) scale(0.9); opacity: 1; }
  50%  { transform: rotate(0deg)   scale(1);   opacity: 1; }
  100% { transform: rotate(-30deg) scale(0.8); opacity: 0; }
}

.cookie-title {
  font-family: var(--font-pixel);
  font-size: clamp(13px, 2.5vw, 20px);
  color: var(--white);
  letter-spacing: 2px;
}

.cookie-body {
  font-family: var(--font-pixel);
  font-size: clamp(6px, 1vw, 8px);
  color: var(--yellow);
  line-height: 2;
  letter-spacing: 1px;
  max-width: 680px;
  margin: 0;
}

.cookie-policy-link {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-policy-link:hover { color: var(--white); }

.cookie-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-pixel);
  transition: color 0.1s;
}

.cookie-close:hover { color: var(--white); }

@media (max-width: 700px) {
  .cookie-notice { padding: 16px 20px 20px; }
  .cookie-title  { font-size: 11px; }
  .cookie-body   { font-size: 6px; }
}

/* =============================================
   FEEDER COMING SOON POPUP
   ============================================= */
.feeder-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.feeder-popup-inner {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d0a4e 100%);
  border: 4px solid var(--pink);
  box-shadow: var(--pixel-shadow);
  padding: 40px 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.feeder-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
  font-family: var(--font-pixel);
}

.feeder-popup-close:hover { color: var(--white); }

.feeder-popup-icon { font-size: 48px; }

.feeder-popup-title {
  font-family: var(--font-pixel);
  font-size: clamp(18px, 4vw, 24px);
  color: var(--yellow);
  line-height: 1.4;
  letter-spacing: 2px;
}

.feeder-popup-text {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--white);
  line-height: 2;
}

.feeder-popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.feeder-popup-form .form-input {
  text-align: center;
  font-size: 9px;
}

.feeder-popup-success {
  font-family: var(--font-pixel);
  font-size: 10px;
  color: var(--green);
  line-height: 2;
}


/* =============================================
   TOAST BAR
   ============================================= */
.toast-bar {
  background: var(--pink);
  color: #000;
  text-align: center;
  padding: 8px 16px;
  font-size: 9px;
  letter-spacing: 1px;
  z-index: 100;
}

/* =============================================
   TOP HUD
   ============================================= */
.top-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
}

.hunger-hud {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hunger-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.heart-icon {
  font-size: 18px;
  animation: heartbeat 1s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.2); }
}

.hunger-bar-outer {
  width: 160px;
  height: 16px;
  border: 3px solid #555;
  background: #333;
}

.hunger-bar-inner {
  height: 100%;
  width: 0%;
  background: var(--green);
  transition: width 0.3s;
}

.hunger-label {
  font-size: 7px;
  color: var(--pink-light);
  letter-spacing: 1px;
}

.ready-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 9px;
}

.hourglass { font-size: 20px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  text-align: center;
  padding: 40px 24px 20px;
}

.hero-title {
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .line1,
.hero-title .line2 {
  font-size: clamp(52px, 10vw, 90px);
  display: block;
  background: linear-gradient(90deg, #ff69b4 0%, #ffb3d9 40%, #ffcc00 70%, #ff9900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(6px 6px 0px rgba(0,0,0,0.8));
  letter-spacing: 4px;
}

.hero-subtitle {
  font-size: 11px;
  line-height: 2;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-cta {
  display: inline-block;
  font-size: 13px;
  color: var(--pink);
  letter-spacing: 2px;
  cursor: pointer;
  padding: 8px 16px;
  transition: transform 0.1s;
  text-decoration: none;
}

.hero-cta:hover { transform: scale(1.05); color: var(--pink-light); }

.cat-row {
  font-size: 32px;
  margin-top: 20px;
  letter-spacing: 8px;
}

/* =============================================
   STREAM SECTION
   ============================================= */
.stream-section {
  width: 100%;
  padding: 32px 24px;
}

.stream-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

/* =============================================
   STREAM PLAYER
   ============================================= */
.stream-player-wrap { width: 100%; }

.stream-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  margin-bottom: 8px;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.ready-badge-small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 8px;
  margin-left: auto;
}

.stream-frame {
  border: 4px solid #555;
  background: #000;
  position: relative;
  overflow: hidden;
}

.stream-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.15) 3px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  z-index: 2;
}

.stream-titlebar {
  background: #333;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  color: #aaa;
}

.stream-titlebar-dots { display: flex; gap: 4px; }

.stream-titlebar-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
}

.stream-video-area {
  background: linear-gradient(180deg, #87ceeb 55%, #4a9c2f 55%);
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  font-size: 9px;
}

.stream-video-area video,
.stream-video-area iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stream-offline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #87ceeb 55%, #4a9c2f 55%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
}

.offline-msg {
  font-size: 9px;
  color: rgba(0,0,0,0.5);
  margin-bottom: 8px;
}

.stream-controls {
  /* background: #222;
  padding: 8px 12px; */
  display: none;
  /* align-items: center;
  gap: 10px;
  font-size: 8px;
  color: #aaa; */
}

.play-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: #444;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  width: 27%;
  background: var(--white);
}

.control-icons { display: flex; gap: 8px; font-size: 12px; }

/* =============================================
   STAT BARS
   ============================================= */
.stat-bars {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-row {
  display: grid;
  grid-template-columns: 28px 1fr 1fr;
  align-items: center;
  gap: 8px;
}

.stat-label { font-size: 8px; color: #aaa; }

.stat-bar-outer {
  height: 12px;
  background: #333;
  border: 2px solid #555;
}

.stat-bar-inner     { height: 100%; transition: width 0.5s; }
.stat-bar-inner.hp  { background: var(--green); width: 0%; }
.stat-bar-inner.mp  { background: #00cfff;      width: 0%; }
.stat-bar-inner.vt  { background: var(--pink);  width: 0%; }
.stat-bar-inner.sh  { background: #9b59b6;      width: 0%; }

.stat-text      { font-size: 7px; color: var(--yellow); }
.stat-text.warn { color: var(--pink); }

/* =============================================
   MISSION STATS BOX
   ============================================= */
.mission-stats-box {
  margin-top: 20px;
  border: 4px solid #000;
  box-shadow: var(--pixel-shadow);
  overflow: hidden;
}

.mission-stats-label {
  background: var(--bg);
  padding: 8px 12px;
  font-size: 10px;
  color: var(--white);
  text-align: center;
  border-bottom: 3px solid #000;
  letter-spacing: 2px;
}

.mission-stats-inner {
  background: var(--pink);
  padding: 16px 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mission-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mission-stat-icon  { font-size: 28px; }
.mission-stat-value { font-size: 13px; color: #000; }
.mission-stat-sub   { font-size: 7px; color: #000; margin-top: 2px; }

/* =============================================
   COMMAND PANEL
   ============================================= */
.command-title {
  font-size: 22px;
  line-height: 1.3;
  color: var(--yellow);
  margin-bottom: 20px;
}

.command-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.command-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.1s;
}

.command-item .arrow {
  color: var(--yellow);
  font-size: 13px;
  visibility: hidden;
}

.command-item.active             { background: var(--pink-dark); }
.command-item.active .arrow      { visibility: visible; }
.command-item:hover:not(.active) { background: rgba(255,255,255,0.05); }

.why-title {
  font-size: 13px;
  color: var(--pink);
  margin-bottom: 12px;
}

.why-text {
  font-family: monospace;
  font-size: 10px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 12px;
}

.why-text a { color: var(--pink); }

/* =============================================
   MISSION PROGRESS
   ============================================= */
.mission-progress-block {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mission-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gameboy-icon { font-size: 28px; }
.mission-info { flex: 1; }

.mission-label {
  font-size: 8px;
  color: var(--yellow);
  margin-bottom: 6px;
}

.mission-bar-wrap {
  position: relative;
  width: 90%;
}

.mission-bar-outer {
  height: 16px;
  background: #333;
  border: 3px solid #555;
}

.mission-bar-inner {
  height: 100%;
  width: 1%;
  background: #555;
}

.mission-pct {
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8px;
  color: #aaa;
}

.mission-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

/* =============================================
   PIXEL BUTTONS
   ============================================= */
.pixel-btn {
  font-family: var(--font-pixel);
  font-size: 9px;
  background: var(--pink);
  color: #000;
  border: 4px solid #000;
  box-shadow: var(--pixel-shadow);
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.05s, box-shadow 0.05s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pixel-btn:hover,
.pixel-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #000;
}

/* =============================================
   FEED BUTTON — 3 states
   ============================================= */
.feed-btn {
  font-family: var(--font-pixel);
  font-size: 11px;
  padding: 10px 16px;
  border: 4px solid #000;
  box-shadow: var(--pixel-shadow);
  cursor: pointer;
  transition: transform 0.05s, box-shadow 0.05s;
  letter-spacing: 1px;
  width: 100%;
  text-align: left;
}

.feed-btn--active { background: var(--green); color: #000; }

.feed-btn--active:hover  { transform: translate(2px,2px); box-shadow: 2px 2px 0 #000; }
.feed-btn--active:active { transform: translate(4px,4px); box-shadow: 0 0 0 #000; }

.feed-btn--dispensing {
  background: var(--yellow);
  color: #000;
  cursor: not-allowed;
  animation: pulse 0.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

.feed-btn--cooldown {
  background: #444;
  color: #aaa;
  cursor: not-allowed;
  box-shadow: none;
}

/* =============================================
   Cat Avatar
   ============================================= */

.cat-avatar {
  height: 80px;
  width: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--pink);
  box-shadow: var(--pixel-shadow);
}

/* =============================================
   FEED PAGE HERO
   ============================================= */
.feed-hero {
  position: relative;
  padding: 60px 24px 40px;
  text-align: center;
  overflow: hidden;
}

.feed-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 60%, #1a1a1a 100%);
  z-index: 0;
}

.feed-hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background:
    radial-gradient(ellipse 300px 120px at 20% 100%, #333 0%, transparent 70%),
    radial-gradient(ellipse 400px 150px at 70% 100%, #2a2a2a 0%, transparent 70%),
    radial-gradient(ellipse 250px 100px at 90% 100%, #333 0%, transparent 70%);
}

.feed-hero-content { position: relative; z-index: 1; }

.feed-hero-title {
  font-size: clamp(36px, 8vw, 72px);
  color: var(--pink);
  filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.8));
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.feed-hero-subtitle {
  font-family: monospace;
  font-size: 12px;
  line-height: 2;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 24px;
}

.feed-hunger-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

/* =============================================
   SQUAD STATS SECTION
   ============================================= */
.squad-stats-section {
  max-width: 960px;
  margin: 48px auto;
  padding: 0 24px;
}

.squad-stats-title {
  font-size: 20px;
  color: var(--pink);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.squad-stat-block {
  border: 3px solid #444;
  margin-bottom: 12px;
}

.squad-stat-header {
  display: grid;
  grid-template-columns: 40px 1fr 100px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-left: 6px solid #555;
}

.squad-stat-header.hp-border { border-left-color: var(--green); }
.squad-stat-header.mp-border { border-left-color: #00cfff; }
.squad-stat-header.vt-border { border-left-color: var(--pink); }
.squad-stat-header.sh-border { border-left-color: #9b59b6; }

.squad-stat-label  { font-size: 11px; color: #aaa; }

.squad-stat-bar-outer { height: 14px; background: #333; border: 2px solid #555; }

.squad-stat-bar-inner    { height: 100%; }
.squad-stat-bar-inner.hp { background: var(--green); width: 0%; }
.squad-stat-bar-inner.mp { background: #00cfff;      width: 0%; }
.squad-stat-bar-inner.vt { background: var(--pink);  width: 0%; }
.squad-stat-bar-inner.sh { background: #9b59b6;      width: 0%; }

.squad-stat-number { font-size: 9px; color: var(--white); text-align: right; }
.squad-stat-desc   { font-size: 9px; color: var(--yellow); }

.squad-stat-footer {
  display: flex;
  justify-content: space-between;
  padding: 6px 16px 8px 54px;
  font-size: 7px;
  color: #666;
  background: #111;
}

/* =============================================
   SQUAD GOALS SECTION
   ============================================= */
.squad-goals-section {
  max-width: 960px;
  margin: 48px auto;
  padding: 0 24px;
}

.squad-goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.squad-goals-title {
  font-size: 18px;
  color: var(--pink);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.squad-goals-text {
  font-family: monospace;
  font-size: 11px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 12px;
}

/* =============================================
   DONATE PAGE
   ============================================= */
.page-logo {
  text-align: center;
  padding: 16px;
  background: #111;
}

.page-logo .brand-title-sm .line1,
.page-logo .brand-title-sm .line2 {
  font-size: clamp(20px, 4vw, 32px);
}

.donate-hero {
  position: relative;
  padding: 48px 24px 40px;
  text-align: center;
  overflow: hidden;
}

.donate-hero-title {
  font-size: clamp(36px, 8vw, 72px);
  color: var(--pink);
  filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.8));
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.donate-hero-subtitle {
  font-family: monospace;
  font-size: 12px;
  line-height: 2;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto;
}

.donate-section {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 24px;
}

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.rank-title {
  font-size: 24px;
  color: var(--yellow);
  line-height: 1.3;
  margin: 28px 0 20px;
  letter-spacing: 2px;
}

.tier-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.tier-card {
  flex: 1;
  border: 4px solid #000;
  box-shadow: var(--pixel-shadow);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #111;
}

.tier-fan     { border-color: #00cfff; }
.tier-sponsor { border-color: var(--yellow); }
.tier-patron  { border-color: var(--green); }

.tier-name   { font-size: 10px; letter-spacing: 1px; }
.tier-label  { font-size: 7px; color: #aaa; letter-spacing: 1px; }
.tier-icon   { font-size: 28px; }

.tier-amount {
  font-size: 28px;
  color: var(--white);
  filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.8));
}

.tier-fan    .tier-amount { color: #00cfff; }
.tier-sponsor .tier-amount { color: var(--yellow); }
.tier-patron  .tier-amount { color: var(--green); }

.tier-btn {
  font-family: var(--font-pixel);
  font-size: 8px;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  padding: 8px 12px;
  cursor: pointer;
  transition: transform 0.05s, box-shadow 0.05s;
  margin-top: 4px;
  width: 100%;
}

.tier-btn:hover,
.tier-btn:active { transform: translate(3px,3px); box-shadow: 0 0 0 #000; }

.tier-btn--blue   { background: #00cfff;      color: #000; }
.tier-btn--yellow { background: var(--yellow); color: #000; }
.tier-btn--green  { background: var(--green);  color: #000; }
.tier-btn--pink   { background: var(--pink);   color: #000; }

.tier-guru-wrap  { margin-bottom: 24px; }
.tier-guru-label { font-size: 10px; margin-bottom: 8px; }

.tier-guru-card {
  border: 4px solid var(--pink);
  box-shadow: var(--pixel-shadow);
  background: #111;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.tier-guru-icon   { font-size: 40px; }
.tier-guru-text   { flex: 1; }

.tier-guru-amount {
  font-size: 24px;
  filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.8));
  margin-bottom: 4px;
}

.payment-security-section {
  max-width: 960px;
  margin: 48px auto;
  padding: 0 24px;
}

.payment-security-grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 48px;
  align-items: center;
}

.payment-security-title {
  font-size: 14px;
  color: var(--yellow);
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: 1px;
}

.payment-logo-box { display: flex; justify-content: center; }

.payment-logo-placeholder {
  border: 4px solid #555;
  box-shadow: var(--pixel-shadow);
  padding: 20px;
  text-align: center;
  font-size: 9px;
  color: #555;
  line-height: 2;
}

/* =============================================
   BRAND TITLE (footer + page logo)
   ============================================= */
.brand-title-sm .line1,
.brand-title-sm .line2 {
  font-size: clamp(28px, 5vw, 44px);
  display: block;
  background: linear-gradient(90deg, #ff69b4, #ffb3d9, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.8));
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #111;
  padding: 40px 24px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 32px;
}

.footer-links h3 { font-size: 11px; margin-bottom: 16px; }

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links ul li::before { content: '• '; color: var(--pink); }

.footer-links ul li a {
  font-size: 9px;
  color: var(--white);
  text-decoration: none;
}

.footer-links ul li a:hover { color: var(--pink); }

.footer-brand { text-align: center; }

.footer-cta {
  text-decoration: none; 
  cursor: pointer; 
  display: inline-block; 
}

.footer-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.footer-btns .pixel-btn {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.footer-btns .pixel-btn:hover {
    background: transparent;
    transform: scale(1.1);
    box-shadow: none;
}

.footer-btns a {
    display: inline-block;
    border: none;
    outline: none;
    line-height: 0;
}

.footer-btns a:hover {
    opacity: 0.8;
    transform: translate(2px, 2px);
    transition: all 0.1s;
}

.footer-btns img {
    display: block;
    image-rendering: pixelated;
}

.footer-copy {
  text-align: center;
  font-size: 8px;
  color: #555;
  padding-top: 24px;
  border-top: 2px solid #333;
  width: 100%;
  max-width: 800px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 700px) {
  .nav-links              { gap: 16px; }
  .nav-link               { font-size: 7px; }
  .stream-grid            { grid-template-columns: 1fr; }
  .squad-stat-header      { grid-template-columns: 32px 1fr; }
  .squad-stat-number,
  .squad-stat-desc        { display: none; }
  .squad-goals-grid       { grid-template-columns: 1fr; }
  .donate-grid            { grid-template-columns: 1fr; }
  .tier-row               { flex-direction: column; }
  .payment-security-grid  { grid-template-columns: 1fr; }
  .footer-main            { flex-direction: column; align-items: center; gap: 32px; }
  .hero-title .line1,
  .hero-title .line2      { font-size: clamp(36px, 14vw, 60px); }
  .cat-row                { font-size: 24px; }
  .feed-hero-title        { font-size: clamp(28px, 10vw, 48px); }
}

/* =============================================
   MISSION PAGE
   ============================================= */
.mission-section {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 24px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.mission-left-title {
  font-size: 18px;
  color: var(--pink);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.mission-left, .mission-right, 
.cats-left, .cats-right,
.stream-panel, .command-panel,
.donate-left, .donate-right,
.report-left, .report-right,
.cat-detail-left, .cat-detail-right,
.squad-goals-left, .squad-goals-right {
  min-width: 0;
}
/* --- SMV Cards (Story/Mission/Vision) --- */
.smv-cards {
  display: flex;
  gap: 12px;
  margin: 24px 0 8px;
}

.smv-card {
  flex: 1;
  background: var(--pink);
  border: 4px solid #000;
  box-shadow: var(--pixel-shadow);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.05s, box-shadow 0.05s;
}

.smv-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #000;
}

.smv-card-title { font-size: 11px; letter-spacing: 1px; }
.smv-card-icon  { font-size: 32px; }
.smv-card-sub   { font-size: 8px; color: #000; text-align: center; line-height: 1.6; }

/* --- SMV Expandable panels --- */
.smv-panel {
  display: none;
  border: 4px solid var(--yellow);
  box-shadow: var(--pixel-shadow);
  padding: 20px;
  margin-bottom: 16px;
  background: #111;
}

.smv-panel.active { display: block; }

.smv-panel-label {
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.smv-panel-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.smv-panel-img {
  width: 140px;
  height: 100px;
  border: 3px solid #555;
  overflow: hidden;
  flex-shrink: 0;
}

/* --- Gallery --- */
.gallery-section { margin-top: 40px; }

.gallery-title {
  font-size: 18px;
  color: var(--yellow);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.gallery-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  /* REMOVE overflow: hidden — it was clipping the arrows */
}

.gallery-track-clip {
  flex: 1;
  overflow: hidden; /* overflow goes HERE, not on gallery-wrap */
}

.gallery-track {
  display: flex;
  gap: 12px;
  transition: transform 0.3s ease;
  /* REMOVE overflow: hidden — it breaks translateX */
}

.gallery-item {
  flex: 0 0 calc(25% - 9px);
  border: 4px solid #555;
  box-shadow: var(--pixel-shadow);
  overflow: hidden;
  aspect-ratio: 1;
  background: #333;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.1);
}

.gallery-arrow {
  font-family: var(--font-pixel);
  font-size: 16px;
  background: none;
  border: none;
  color: var(--pink);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: color 0.1s;
}

.gallery-arrow:hover { color: var(--pink-light); }

.gallery-dots {
  display: none;
  /* justify-content: center;
  gap: 8px;
  margin-top: 12px; */
}

/* .gallery-dot {
  width: 10px;
  height: 10px;
  background: #444;
  border: 2px solid #555;
  cursor: pointer;
}

.gallery-dot.active { background: var(--pink); border-color: var(--pink); } */

/* --- Donate Now block --- */
.donate-now-block {
  border: 4px solid var(--yellow);
  box-shadow: var(--pixel-shadow);
  padding: 16px;
  margin-top: 16px;
  background: #111;
}

.donate-now-title {
  font-size: 16px;
  color: var(--yellow);
  line-height: 1.4;
  margin-bottom: 8px;
}

/* --- Donate CTA text block --- */
.mission-donate-cta {
  margin-top: 40px;
  padding: 24px;
  border-top: 3px solid #333;
}

@media (max-width: 700px) {
  .mission-grid   { grid-template-columns: 1fr; }
  .smv-cards      { flex-direction: column; }
  .smv-panel-inner{ grid-template-columns: 1fr; }
  .gallery-item   { flex: 0 0 calc(50% - 6px); }
}

/* =============================================
   REPORT PAGE
   ============================================= */
.report-hero-title {
  font-size: clamp(24px, 5vw, 52px);
  color: var(--pink);
  filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.8));
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.report-section {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 24px;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.report-form-title {
  font-size: 14px;
  color: var(--pink);
  margin-bottom: 24px;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* --- Form styles --- */
.report-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 9px;
  color: var(--white);
  letter-spacing: 1px;
}

.form-input {
  font-family: var(--font-pixel);
  font-size: 8px;
  background: #111;
  color: var(--white);
  border: 3px solid #555;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.1s;
  width: 100%;
}

.form-input:focus { border-color: var(--pink); }

.form-textarea { resize: vertical; min-height: 100px; }

.form-select-wrap { position: relative; }

.form-select {
  font-family: var(--font-pixel);
  font-size: 8px;
  background: #111;
  color: #aaa;
  border: 3px solid #555;
  padding: 10px 12px;
  width: 200px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.form-select:focus { border-color: var(--pink); color: var(--white); }

.form-hint {
  font-family: monospace;
  font-size: 10px;
  color: var(--pink);
}

.form-submit {
  align-self: flex-start;
  margin-top: 8px;
}

.form-success {
  display: none;
  background: var(--green);
  color: #000;
  border: 4px solid #000;
  box-shadow: var(--pixel-shadow);
  padding: 12px 16px;
  font-size: 9px;
  margin-top: 8px;
}

/* --- Report CTA section --- */
.report-cta-section {
  max-width: 960px;
  margin: 48px auto;
  padding: 0 24px;
}

.report-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.report-cta-left { display: flex; flex-direction: column; gap: 16px; }

.report-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.report-cta-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.report-cta-right { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 700px) {
  .report-grid     { grid-template-columns: 1fr; }
  .report-cta-grid { grid-template-columns: 1fr; }
}

/* =============================================
   CAT PROFILES PAGE
   ============================================= */
.cats-section {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 24px;
}

.cats-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.cats-squad-title {
  font-size: 22px;
  color: var(--yellow);
  letter-spacing: 2px;
  line-height: 1.2;
}

.cats-squad-sub {
  font-size: 9px;
  color: #aaa;
  letter-spacing: 2px;
  margin-top: 4px;
}

.pick-title {
  font-size: 20px;
  color: var(--yellow);
  line-height: 1.3;
  margin: 24px 0 16px;
  letter-spacing: 2px;
}

/* --- Cat Selector --- */
.cat-selector {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.cat-selected-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cat-arrow {
  font-size: 16px;
  color: var(--yellow);
}

.cat-selected-card {
  border: 4px solid var(--yellow);
  box-shadow: var(--pixel-shadow);
  background: #111;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 160px;
}

.cat-selected-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  display: block;
  border: 2px solid #333;
}

.cat-selected-nickname {
  font-size: 8px;
  color: var(--white);
  text-align: center;
}

.cat-selected-badge {
  background: var(--yellow);
  color: #000;
  font-size: 7px;
  padding: 4px 8px;
  border: 2px solid #000;
}

/* --- Other cat thumbnails --- */
.cat-others {
  display: grid;
  grid-template-columns: repeat(3, 72px);
  gap: 12px;
  align-content: start;
  justify-content: center;  
}

.cat-thumb-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.cat-thumb-nickname {
  min-height: 15px; 
  font-size: 7px;
  color: #aaa;
  text-align: center;
}

.cat-thumb {
  width: 72px;
  height: 72px;
  border: 3px solid #555;
  box-shadow: 3px 3px 0 #000;
  overflow: hidden;
  transition: border-color 0.1s, transform 0.1s;
}

.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-thumb:hover  { border-color: var(--pink); transform: translate(-2px,-2px); }
.cat-thumb.selected { border-color: var(--yellow); }

.cat-thumb-name {
  font-size: 7px;
  color: var(--white);
  letter-spacing: 1px;
}

/* --- Quickview panel --- */
.quickview-panel {
  border: 4px solid var(--pink);
  box-shadow: var(--pixel-shadow);
  background: #111;
  padding: 16px;
  margin-bottom: 24px;
}

.quickview-label {
  background: var(--pink);
  color: #000;
  font-size: 10px;
  padding: 6px 12px;
  margin: -16px -16px 16px;
  letter-spacing: 2px;
}

.quickview-field {
  margin-bottom: 12px;
}

.quickview-field-title {
  font-size: 9px;
  color: #aaa;
  margin-bottom: 6px;
}

.quickview-field-value {
  font-family: monospace;
  font-size: 10px;
  color: var(--white);
  background: #000;
  border: 2px solid #333;
  padding: 8px 10px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .cats-grid      { grid-template-columns: 1fr; }
  .cat-selector   { flex-direction: column; align-items: center; }
  .cat-others     { flex-direction: row; justify-content: center; }
}

/* =============================================
   CAT DETAIL PAGE
   ============================================= */
.cat-detail-hero {
  position: relative;
  padding: 48px 24px 40px;
  overflow: hidden;
}

.cat-detail-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  align-items: center;
}

.cat-detail-name {
  font-size: clamp(36px, 8vw, 72px);
  color: var(--white);
  filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.8));
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.cat-detail-tagline {
  font-family: monospace;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.cat-detail-hero-img img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 4px solid #555;
  box-shadow: var(--pixel-shadow);
}

/* --- You Picked --- */
.you-picked-section {
  text-align: center;
  padding: 24px;
  background: #111;
}

.you-picked-label {
  font-size: 14px;
  color: var(--yellow);
  margin-bottom: 8px;
}

.you-picked-nickname {
  font-size: clamp(28px, 6vw, 52px);
  background: linear-gradient(90deg, #ff69b4, #ffb3d9, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.8));
}

/* --- Main grid --- */
.cat-detail-section {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 24px;
}

.cat-detail-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

/* --- Profile block --- */
.cat-detail-profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.cat-detail-story-title {
  font-size: 12px;
  color: var(--yellow);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

/* --- Full stats --- */
.cat-full-stats {
  border: 4px solid var(--pink);
  box-shadow: var(--pixel-shadow);
  padding: 16px;
  background: #111;
  margin-bottom: 24px;
}

.cat-full-stats-title {
  font-size: 12px;
  color: var(--pink);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.cat-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cat-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-stat-key {
  font-size: 8px;
  color: #aaa;
}

.cat-stat-val {
  font-family: monospace;
  font-size: 10px;
  color: var(--white);
}

/* --- Meet em all --- */
.meet-all-section {
  margin-bottom: 32px;
}

.meet-all-title {
  font-size: 16px;
  color: var(--pink);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.meet-all-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 12px;
  margin: 16px 0;
}

.meet-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.meet-cat-name { font-size: 9px; letter-spacing: 1px; }

@media (max-width: 700px) {
  .cat-detail-hero-content { grid-template-columns: 1fr; }
  .cat-detail-grid         { grid-template-columns: 1fr; }
  .cat-detail-profile      { flex-direction: column; align-items: center; }
  .cat-stats-grid          { grid-template-columns: 1fr; }
  .meet-all-cats           { justify-content: center; }
}
/* =============================================
   COMING SOON BANNER
   ============================================= */
.coming-soon-banner {
  background: var(--yellow);
  color: #000;
  text-align: center;
  padding: 10px 16px;
  font-size: 9px;
  letter-spacing: 2px;
  border: 4px solid #000;
  box-shadow: var(--pixel-shadow);
  margin: 8px 0;
  animation: pulse 1.5s infinite;
}
/* =============================================
   FEED LOCATION POPUP
   ============================================= */
.feed-location-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feed-location-inner {
  background: var(--bg);
  border: 4px solid var(--pink);
  box-shadow: var(--pixel-shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  width: 90%;
}

.feed-location-title {
  font-size: 10px;
  color: var(--yellow);
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.6;
}

.feed-location-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

/* --- Coming soon banner fix --- */
.coming-soon-banner {
  background: var(--yellow) !important;
  color: #000 !important;
  text-align: center !important;
  padding: 10px 16px !important;
  font-size: 9px !important;
  letter-spacing: 2px !important;
  border: 4px solid #000 !important;
  box-shadow: 4px 4px 0 #000 !important;
  margin: 8px 0 !important;
  display: block !important;
  animation: none !important;
}
/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  border-top: 4px solid var(--pink);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 999;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 8px;
  color: var(--white);
  line-height: 2;
  flex: 1;
}

.cookie-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-emoji-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.cookie-svg {
  animation: cookieBite 2s ease-in-out infinite;
}

@keyframes cookieBite {
  0%, 40%  { }
  50%      { }
  90%, 100%{ }
}

/* =============================================
   KO-FI SECTION
   ============================================= */
.kofi-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 32px 0;
  width: 100%;
}

.kofi-btn img {
  height: 36px;
  border: 4px solid #000;
  box-shadow: var(--pixel-shadow);
  transition: transform 0.05s, box-shadow 0.05s;
}

.kofi-btn:hover img {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #000;
}
