 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #d1cfcf;
  color: #000;
  padding: 20px;
  font-family: 'Press Start 2P', 'Space Mono', 'VT323', monospace;
  height: auto;
  overflow: visible !important;
  background-image: url('https://i.pinimg.com/originals/61/a4/a9/61a4a9dc409fcf1e641bcb24a3c158d5.gif');
  background-size: cover;
  background-attachment: fixed;
 
}

#minicircle {
  width: 18px;
  height: 18px;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 4px;
  background: #fff;
  border: 2px solid #000;
  box-shadow: 0 0 8px #000, 0 0 2px #000, 2px 2px 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.1s;
  font-size: 14px;
  color: #0f0f0f;
}

header {
  background: #fbfbfb;
  border: 2px solid #000;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: scanline 0.1s infinite linear;
}

header nav a {
  margin-right: 20px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.hero {
  background: #fff;
  border: 2px solid #000;
  margin-top: 20px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: flicker 1.5s infinite;
}

.hero-text h1 {
  font-size: 1.5rem;
  text-transform: uppercase;
}

.hero-text p {
  margin: 10px 0;
  font-size: 0.8rem;
}

.btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 1rem;
  color: #000;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000, 0 0 8px #fcfcfc;
  padding: 0.7em 2em;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
  border-radius: 10px;
}

.btn:active {
  background: #222;
  color: #fff;
  box-shadow: 2px 2px 0 #000;
  transform: translate(2px, 2px);
}

.quick-links {
  display: flex;
  gap: 20px;
  margin: 30px 0;
}

.quick-links a {
  border: 2px solid #000;
  padding: 10px 15px;
  background: #fff;
  text-decoration: none;
  color: #000;
}

.projects {
  margin-top: 20px;
}

.project-card {
  border: 2px solid #000;
  background: #fff;
  padding: 10px;
  animation: pixelFade 2s ease-in-out infinite alternate;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #000;
  image-rendering: pixelated;
}

.project-card h3 {
  margin-top: 10px;
  font-size: 0.9rem;
}

.project-card p {
  font-size: 0.7rem;
  margin: 10px 0;
}

/* About Section */
.about-content {
  background: #ffffff;
  border: 2px solid #000;
  margin: 40px auto;
  max-width: 700px;
  padding: 40px 30px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.9rem;
  color: #111;
  box-shadow: 4px 4px 0 #000, 0 0 8px #fefffe;
}

.about-content h1 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #111;
  text-shadow: 4px 4px 3px #000, 0 0 8px #fefffe;
}

/* Loader & Flicker */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #ebe5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transform: translateY(0);
  background-image: url('https://c10.patreonusercontent.com/4/patreon-media/p/campaign/10250383/2230640bd63e4bbf81539a9edc70d4c0/eyJ3IjoxOTIwLCJ3ZSI6MX0%3D/1.gif?token-hash=eIGlM7ZA9_yagYMXXeAGFySmhZkfJNOOarpwgT8Z5Ns%3D&token-time=1754265600');
  background-size: cover;
  background-attachment: fixed;
border: #d1cfcf 50px solid ;
 

}

.loader-content {

  text-align: center;
  font-family: 'Press Start 2P', monospace;
  color: #d14343;
}

.typewriter-text {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #ffffff;
  width: 0;
  font-size: 30px;
  animation: typing 2s steps(22, end) forwards, blinkCursor 0.7s step-end infinite;
  margin-bottom: 20px;
}

.loading-bar {
  width: 200px;
  height: 6px;
  border: 2px solid #000;
  margin: auto;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  background: rgb(255, 255, 255);
  animation: load 2s ease-out forwards;
}

#shutdown-flicker {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999999;
  display: none;
  animation: tvShutdown 0.4s ease forwards;
  transform-origin: center;
}

body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.05) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 999;
}

/* Animations */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes pixelFade {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.02); opacity: 0.9; }
}

@keyframes scanline {
  0% { transform: translateY(0); }
  100% { transform: translateY(1px); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 22ch; }
}

@keyframes blinkCursor {
  from { border-color: black; }
  to { border-color: transparent; }
}

@keyframes load {
  to { width: 100%; }
}

@keyframes tvShutdown {
  0% { transform: scaleY(1); opacity: 1; }
  60% { transform: scaleY(0.05); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 30px 10px;
    text-align: center;
  }

  .hero-img {
    margin-top: 20px;
  }

  .project-card img {
    height: 120px;
  }
}
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 40px 0;
}@media (max-width: 700px) {
  .projects {
    grid-template-columns: 1fr;
  }
}




