﻿/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Gluten";
  src: url("font/Gluten-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* CRT Monitor Effect */
@keyframes flicker {
  0% {
    opacity: 0.97;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.98;
  }
}

@keyframes scanlines {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}

/* Body Styling - Retro CRT Monitor Feel */
body {
  font-family: "Courier New", monospace;
  background: #0a0a0a;
  color: #00ff41;
  text-align: center;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
.gif-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("./back.gif");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.2;
}
/* CRT Scanline Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  animation: scanlines 8s linear infinite;
}

/* Noise texture overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  z-index: 2;
  pointer-events: none;
}

body {
  position: relative;
}
body::before,
body::after {
  z-index: 0;
}
/* Hero Section - Matrix-like Terminal */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 20px;
  flex-wrap: wrap;
  gap: 50px;
  z-index: 3;
  border-bottom: 2px solid #00ff41;
  box-shadow: 0 0 50px rgba(0, 255, 65, 0.2);
}

/* Matrix rain effect background */
.hero::before {
  content: "01001011 01001001 01010100 01001111";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  color: rgba(0, 255, 65, 0.05);
  font-size: 20px;
  line-height: 1.5;
  word-wrap: break-word;
  animation: matrix-rain 20s linear infinite;
  font-family: "Courier New", monospace;
  letter-spacing: 10px;
}

@keyframes matrix-rain {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50%);
  }
}

.hero-wrapper {
  flex: 1;
  height: 100%;
  width: 100%;
  cursor: pointer;
  user-select: none;
}

audio {
  display: none;
}

/* Cat Image - Cyberpunk Neon Glow */
.cat-image {
  width: 100%;
  max-width: 310px;
  border-radius: 50%;
  margin: 10px;
  filter: contrast(1.2) brightness(0.9);
  border: 3px solid #00ff41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.5), 0 0 60px rgba(0, 255, 65, 0.3),
    inset 0 0 30px rgba(0, 255, 65, 0.1);
  animation: neon-pulse 2s ease-in-out infinite alternate;
  position: relative;
}

@keyframes neon-pulse {
  0% {
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5), 0 0 60px rgba(0, 255, 65, 0.3),
      inset 0 0 30px rgba(0, 255, 65, 0.1);
  }
  100% {
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.8), 0 0 80px rgba(0, 255, 65, 0.5),
      inset 0 0 40px rgba(0, 255, 65, 0.2);
  }
}
.cat-image,
.cat-box {
  opacity: 0;
}

@media (min-width: 769px) {
  .hero.in .cat-image {
    animation: slide-in-left 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero.in .cat-box {
    animation: slide-in-right 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
  }
  @keyframes slide-in-left {
    from {
      transform: translateX(-120vw);
      opacity: 1;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
  @keyframes slide-in-right {
    from {
      transform: translateX(120vw);
      opacity: 1;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
}

@media (max-width: 768px) {
  .hero.in .cat-image {
    animation: slide-in-top 1.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero.in .cat-box {
    animation: slide-in-bottom 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
  }
  @keyframes slide-in-top {
    from {
      transform: translateY(-120vh);
      opacity: 1;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
  @keyframes slide-in-bottom {
    from {
      transform: translateY(120vh);
      opacity: 1;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.in .cat-image,
  .hero.in .cat-box {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.cat-box-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Cat Box - Terminal Window Style */
.cat-box {
  background: #0d1117;
  border: 2px solid #00ff41;
  padding: 40px;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3),
    inset 0 0 20px rgba(0, 255, 65, 0.05);
  text-align: center;
  position: relative;
  animation: flicker 3s infinite;
}

/* Terminal window header */
.cat-box::before {
  content: ">>> SYSTEM.MURK.INITIALIZE()";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 12px;
  color: #00ff41;
  opacity: 0.7;
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
}

/* Cat Title - Glitchy Retro Text */
.cat-title {
  margin: 20px 0;
  font-size: 4.5em;
  font-weight: 900;
  color: #00ff41;
  text-transform: uppercase;
  font-family: "Courier New", monospace;
  letter-spacing: 5px;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.8), 0 0 20px rgba(0, 255, 65, 0.5),
    0 0 30px rgba(0, 255, 65, 0.3), 2px 2px 0px #ff00de;
  animation: glitch 2s infinite;
  position: relative;
}

@keyframes glitch {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8), 0 0 20px rgba(0, 255, 65, 0.5),
      0 0 30px rgba(0, 255, 65, 0.3), 2px 2px 0px #ff00de;
  }
  25% {
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8), 0 0 20px rgba(0, 255, 65, 0.5),
      0 0 30px rgba(0, 255, 65, 0.3), -2px 0 0px #00ffff;
  }
  50% {
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8), 0 0 20px rgba(0, 255, 65, 0.5),
      0 0 30px rgba(0, 255, 65, 0.3), 2px -2px 0px #ff00de;
  }
}

/* Tagline - Terminal Text */
.tagline {
  margin: 15px 0;
  font-size: 1.2em;
  color: #00ff41;
  text-align: center;
  font-family: "Courier New", monospace;
  opacity: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tagline::before {
  content: "> ";
  color: #00ff41;
}

/* Social Icons - Retro Pixel Style */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.social-icons img {
  width: 40px;
  height: 40px;
  filter: brightness(0) saturate(100%) invert(56%) sepia(89%) saturate(2686%)
    hue-rotate(86deg) brightness(118%) contrast(119%);
  transition: all 0.3s ease;
  cursor: pointer;
  image-rendering: pixelated;
}

.social-icons img:hover {
  transform: scale(1.1);
  filter: brightness(0) saturate(100%) invert(56%) sepia(89%) saturate(2686%)
    hue-rotate(86deg) brightness(150%) contrast(119%);
  animation: pixel-bounce 0.3s ease;
}

@keyframes pixel-bounce {
  0%,
  100% {
    transform: translateY(0) scale(1.1);
  }
  50% {
    transform: translateY(-5px) scale(1.1);
  }
}

/* CA Wrapper - Command Line Style */
.ca-wrapper {
  margin-top: 20px;
  padding: 20px;
  background: #000;
  border: 1px solid #00ff41;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3),
    inset 0 0 10px rgba(0, 255, 65, 0.05);
  font-family: "Courier New", monospace;
}

/* CA Button - Retro Terminal Button */
.ca-button {
  background: #000;
  color: #00ff41;
  padding: 12px 24px;
  border: 2px solid #00ff41;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  font-family: "Courier New", monospace;
}

.ca-button:hover {
  background: #00ff41;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

/* CA Address - Monospace Terminal Font */
.ca-address {
  font-size: 0.9em;
  color: #00ff41;
  word-wrap: break-word;
  line-break: anywhere;
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
}

/* About Section - Dark Retro Terminal */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 40px;
  border: 2px solid #00ff41;
  margin: 2rem;
  border-radius: 0;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2),
    inset 0 0 20px rgba(0, 255, 65, 0.02);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "LOADING MURK.DATA...";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 10px;
  color: #00ff41;
  opacity: 0.5;
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
}

.about-content {
  max-width: 600px;
  z-index: 5;
}

.about-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #00ff41;
  text-transform: uppercase;
  font-family: "Courier New", monospace;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5), 2px 2px 0px #ff00de;
}

.about-description {
  font-size: 1em;
  line-height: 1.8;
  color: #00ff41;
  font-family: "Courier New", monospace;
  opacity: 0.9;
  text-align: justify;
}

.about-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.about-image {
  width: 100%;
  max-width: 450px;
  border-radius: 0;
  filter: contrast(1.2) brightness(0.8) sepia(0.2);
  border: 2px solid #00ff41;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3), 0 0 40px rgba(0, 255, 65, 0.1);
  transition: all 0.5s ease;
}

.about-image:hover {
  transform: scale(1.05);
  filter: contrast(1.3) brightness(0.9) sepia(0.1);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.5), 0 0 60px rgba(0, 255, 65, 0.2);
}

/* Chart Section - Terminal Display */
.chart-section {
  padding: 4rem 2rem;
  border: 2px solid #00ff41;
  margin: 2rem;
  border-radius: 0;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2),
    inset 0 0 20px rgba(0, 255, 65, 0.02);
  position: relative;
}

.chart-section::before {
  content: "$ cat /price/chart/MURK";
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 12px;
  color: #00ff41;
  opacity: 0.7;
  font-family: "Courier New", monospace;
}

.chart-title {
  font-size: 2.5rem;
  color: #00ff41;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "Courier New", monospace;
  letter-spacing: 3px;
  text-shadow: 0 0 15px rgba(0, 255, 65, 0.5), 2px 2px 0px #ff00de;
}

.chart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  border: 1px solid #00ff41;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2),
    inset 0 0 10px rgba(0, 255, 65, 0.05);
}

/* Community Section - Cyberpunk Terminal */
.community {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  border: 2px solid #00ff41;
  margin: 2rem;
  border-radius: 0;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2),
    inset 0 0 20px rgba(0, 255, 65, 0.02);
  gap: 50px;
  position: relative;
}

.community::before {
  content: "// CONNECTING TO MURK.NETWORK";
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 12px;
  color: #00ff41;
  opacity: 0.7;
  font-family: "Courier New", monospace;
  animation: blink 1s infinite;
}

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

.community-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.community-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 0;
  border: 2px solid #00ff41;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
  filter: contrast(1.1) brightness(0.8) hue-rotate(10deg);
  transition: all 0.5s ease;
}

.community-image img:hover {
  transform: scale(1.05) rotate(-1deg);
  filter: contrast(1.2) brightness(0.9) hue-rotate(0deg);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

.community-card {
  flex: 1;
  max-width: 600px;
  background: #000;
  border: 1px solid #00ff41;
  border-radius: 0;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2),
    inset 0 0 10px rgba(0, 255, 65, 0.05);
  padding: 30px;
  text-align: left;
  transition: all 0.3s ease-in-out;
  font-family: "Courier New", monospace;
}

.community-card:hover {
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.4),
    inset 0 0 15px rgba(0, 255, 65, 0.1);
}

.community-card h2 {
  font-size: 2em;
  color: #00ff41;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.community-card p {
  font-size: 1em;
  color: #00ff41;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.9;
}

.community-card a {
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.community-card a:hover {
  color: #ff00de;
  text-shadow: 0 0 10px rgba(255, 0, 222, 0.5);
}

/* Join Button - Cyberpunk Neon */
.community-btn {
  background: #000;
  color: #00ff41;
  padding: 15px 30px;
  border: 2px solid #00ff41;
  border-radius: 0;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Courier New", monospace;
  position: relative;
  overflow: hidden;
}

.community-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #00ff41;
  transition: all 0.3s ease;
  z-index: -1;
}

.community-btn:hover {
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5),
    inset 0 0 20px rgba(0, 255, 65, 0.1);
}

.community-btn:hover::before {
  left: 0;
}

/* Meme Gallery - Retro Grid */
.meme-gallery {
  min-height: 100vh;
  padding: 50px 20px;
  border: 2px solid #00ff41;
  margin: 2rem;
  border-radius: 0;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2),
    inset 0 0 20px rgba(0, 255, 65, 0.02);
  text-align: center;
  position: relative;
}

.meme-gallery::before {
  content: "MEME.EXE LOADING...";
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 12px;
  color: #00ff41;
  opacity: 0.7;
  font-family: "Courier New", monospace;
}

.gallery-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #00ff41;
  text-transform: uppercase;
  font-family: "Courier New", monospace;
  letter-spacing: 3px;
  text-shadow: 0 0 15px rgba(0, 255, 65, 0.5), 2px 2px 0px #ff00de;
}

/* Image Grid - CRT Monitor Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
  justify-items: center;
}

.image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
  transition: all 0.3s ease-in-out;
  border: 2px solid #00ff41;
  filter: contrast(1.1) brightness(0.8) saturate(0.8);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.image-grid img:hover {
  transform: scale(1.05);
  filter: contrast(1.2) brightness(0.9) saturate(1);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5), 0 0 40px rgba(0, 255, 65, 0.2);
  border-color: #00ffff;
}

/* Load More Button - Terminal Command */
.load-more {
  padding: 15px 30px;
  background-color: #000;
  border: 2px solid #00ff41;
  border-radius: 0;
  color: #00ff41;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Courier New", monospace;
  font-weight: bold;
}

.load-more:hover {
  background-color: #00ff41;
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

/* Masonry Gallery - Cyberpunk Grid */
.masonry-gallery {
  padding: 50px 20px;
  border: 2px solid #00ff41;
  margin: 2rem;
  border-radius: 0;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2),
    inset 0 0 20px rgba(0, 255, 65, 0.02);
  text-align: center;
  position: relative;
}

.masonry-gallery::before {
  content: "VIDEO.STREAM //ACTIVE";
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 12px;
  color: #00ff41;
  opacity: 0.7;
  font-family: "Courier New", monospace;
  animation: blink 2s infinite;
}

.masonry-grid {
  column-count: 3;
  column-gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 0;
  overflow: hidden;
  border: 2px solid #00ff41;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
  transition: all 0.3s ease;
  filter: contrast(1.1) brightness(0.8);
}

.masonry-item:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.5);
  border-color: #00ffff;
  filter: contrast(1.2) brightness(0.9);
}

.masonry-item video {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 0;
}

/* Copy Button - Retro Style */
.copy-button {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-left: 10px;
  border: 1px solid #00ff41;
  background: #000;
  border-radius: 0;
  padding: 8px;
  transition: all 0.3s ease;
}

.copy-button:hover {
  background: #00ff41;
  transform: scale(1.1);
}

.copy-button:hover .copy-icon {
  filter: brightness(0) saturate(100%);
}

.copy-icon {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  filter: brightness(0) saturate(100%) invert(56%) sepia(89%) saturate(2686%)
    hue-rotate(86deg) brightness(118%) contrast(119%);
}

/* Lightbox - Dark Terminal Style */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #00ff41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

.lightbox-content img,
.lightbox-content video {
  width: 100%;
  height: auto;
  border: 1px solid #00ff41;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #00ff41;
  font-size: 2em;
  cursor: pointer;
  font-family: "Courier New", monospace;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: #ff00de;
  text-shadow: 0 0 20px rgba(255, 0, 222, 0.5);
  transform: scale(1.2);
}

/* Footer - Terminal Bottom */
footer {
  padding: 20px;
  background: #000;
  color: #00ff41;
  position: relative;
  bottom: 0;
  width: 100%;
  border-top: 2px solid #00ff41;
  box-shadow: 0 -10px 30px rgba(0, 255, 65, 0.2);
  font-family: "Courier New", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Popup styles */
.popup {
  position: absolute;
  color: #00ff41 !important;
  padding: 10px 20px;
  border-radius: 0;
  font-size: 10em;
  font-weight: 800;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 1;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.8), 0 0 40px rgba(0, 255, 65, 0.5),
    2px 2px 0px #ff00de;
  font-family: "Courier New", monospace;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }

  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    gap: 30px;
  }

  .cat-title {
    font-size: 2.5em;
    letter-spacing: 2px;
  }

  .tagline {
    font-size: 1em;
  }

  .ca-wrapper {
    flex-direction: column;
  }

  .cat-image {
    max-width: 200px;
  }

  .about {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .about-title {
    font-size: 2em;
  }

  .about-description {
    font-size: 0.9em;
  }

  .community {
    flex-direction: column;
    padding: 30px 10px;
  }

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

  .community-card h2 {
    font-size: 1.8em;
  }

  .community-card p {
    font-size: 0.9em;
  }

  .chart-section {
    padding: 2rem 1rem;
    margin: 1rem;
  }

  .chart-title {
    font-size: 2rem;
  }

  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .image-grid img {
    height: 150px;
  }

  .masonry-grid {
    column-count: 1;
  }
}

@media (max-width: 480px) {
  .cat-title {
    font-size: 2em;
    letter-spacing: 1px;
  }

  .tagline {
    font-size: 0.9em;
  }

  .ca-wrapper {
    padding: 10px;
    gap: 10px;
  }

  .ca-address {
    font-size: 0.7em;
  }

  .social-icons {
    gap: 15px;
  }

  .social-icons img {
    width: 30px;
    height: 30px;
  }

  .cat-image {
    max-width: 150px;
  }

  .about-title {
    font-size: 1.8em;
  }

  .about-description {
    font-size: 0.85em;
  }

  .about-image {
    max-width: 300px;
  }

  .community-card {
    padding: 20px;
  }

  .community-card h2 {
    font-size: 1.5em;
  }

  .community-card p {
    font-size: 0.85em;
  }

  .community-btn {
    font-size: 0.9em;
    padding: 12px 25px;
  }

  .chart-section {
    padding: 1.5rem 0.5rem;
    margin: 0.5rem;
  }

  .chart-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .image-grid img {
    height: 120px;
  }

  .load-more {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .gallery-title {
    font-size: 1.5em;
    letter-spacing: 1px;
  }

  footer {
    font-size: 0.85em;
  }

  /* Hide terminal prompts on small screens for space */
  .cat-box::before,
  .about::before,
  .chart-section::before,
  .community::before,
  .meme-gallery::before,
  .masonry-gallery::before,
  .roadmap::before {
    display: none;
  }
}

/* Additional enhancements for the cyberpunk aesthetic */

/* Glowing scrollbar */
::-webkit-scrollbar {
  width: 10px;
  background-color: #000;
}

::-webkit-scrollbar-track {
  background-color: #0a0a0a;
  border: 1px solid #00ff41;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ff41, #00cc33);
  border-radius: 0;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00ff41, #00ff8c);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.7);
}

/* Selection color */
::selection {
  background-color: #00ff41;
  color: #000;
}

::-moz-selection {
  background-color: #00ff41;
  color: #000;
}

/* Input focus states for any future forms */
input:focus,
textarea:focus,
button:focus {
  outline: 2px solid #00ff41;
  outline-offset: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

/* Terminal cursor animation */
@keyframes terminal-cursor {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

/* Add a blinking cursor after certain elements */
.ca-address::after,
.tagline::after {
  content: "_";
  animation: terminal-cursor 1s infinite;
  color: #00ff41;
  font-weight: bold;
}

/* Matrix digital rain enhancement */
@keyframes matrix-fall {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Retro TV static effect on hover for images */
@keyframes tv-static {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

/* Add subtle RGB shift effect */
@keyframes rgb-shift {
  0%,
  100% {
    filter: contrast(1.2) brightness(0.9);
  }
  33% {
    filter: contrast(1.2) brightness(0.9) hue-rotate(120deg);
  }
  66% {
    filter: contrast(1.2) brightness(0.9) hue-rotate(240deg);
  }
}

/* Apply RGB shift to specific elements on hover */
.cat-image:hover,
.about-image:hover,
.community-image img:hover {
  animation: rgb-shift 0.5s ease-in-out;
}

/* Enhance the retro feel with ASCII art borders */
.cat-box::after {
  content: "═══════════════════════════════";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #00ff41;
  opacity: 0.3;
  font-family: "Courier New", monospace;
  letter-spacing: -1px;
}

/* Roadmap Section */
.roadmap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 40px;
  border: 2px solid #00ff41;
  margin: 2rem;
  border-radius: 0;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2),
    inset 0 0 20px rgba(0, 255, 65, 0.02);
  position: relative;
  overflow: hidden;
}

.roadmap::before {
  content: "$ cd roadmap/MURK & sh roadmap.sh";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 10px;
  color: #00ff41;
  opacity: 0.5;
  font-family: "Courier New", monospace;
  letter-spacing: 2px;
}

.roadmap-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.roadmap-content {
  flex: 1;
  text-align: left;
}

.roadmap-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #00ff41;
  text-transform: uppercase;
  font-family: "Courier New", monospace;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5), 2px 2px 0px #ff00de;
}

.roadmap-subtitle {
  font-family: "Courier New", monospace;
  font-size: 1.2rem;
  color: #00ff41;
  margin-bottom: 40px;
  opacity: 0.8;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.main-goals {
  margin-bottom: 40px;
}

.goals-title {
  font-family: "Courier New", monospace;
  font-size: 1.3rem;
  color: #00ff41;
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.goals-list {
  list-style: none;
  padding: 0;
}

.goals-list li {
  font-family: "Courier New", monospace;
  font-size: 1.1rem;
  color: #00ff41;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
  opacity: 0.9;
}

.goals-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #00ff41;
  font-size: 0.8rem;
  top: 2px;
}

.roadmap-icons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.roadmap-icons a {
  display: inline-block;
  transition: all 0.3s ease;
}

.roadmap-icons a:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.8));
}

.roadmap-icons .icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 2px solid #00ff41;
  padding: 8px;
  background: rgba(0, 255, 65, 0.1);
  transition: all 0.3s ease;
}

.roadmap-icons .icon:hover {
  background: rgba(0, 255, 65, 0.2);
  border-color: #00ff41;
}

.roadmap-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 1;
}

.worker-image {
  width: 100%;
  max-width: 400px;
  border-radius: 0;
  filter: contrast(1.1) brightness(0.8) hue-rotate(10deg);
  transition: all 0.5s ease;
}

.worker-image:hover {
  transform: scale(1.05) rotate(-1deg);
  filter: contrast(1.2) brightness(0.9) hue-rotate(0deg);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
  animation: rgb-shift 0.5s ease-in-out;
}

/* Responsive Design for Roadmap */
@media (max-width: 768px) {
  .roadmap {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .roadmap-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .roadmap-content {
    text-align: center;
  }

  .roadmap-title {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .roadmap-subtitle {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .goals-list li {
    font-size: 1rem;
    text-align: left;
    max-width: 300px;
    margin: 0 auto 15px auto;
  }

  .roadmap-icons {
    justify-content: center;
  }

  .roadmap-image {
    justify-content: center;
  }

  .worker-image {
    max-height: 300px;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .roadmap-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .roadmap-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .goals-list li {
    font-size: 0.9rem;
    max-width: 280px;
  }

  .roadmap-icons .icon {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .worker-image {
    max-height: 250px;
    max-width: 220px;
  }
}
