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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: linear-gradient(180deg, #363a49 0%, #10141d 50%, #171922 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

:root{
  --bg-start: #0e0f13;
  --bg-end: #171922;
  --accent: #8ef0ff;
  --text: #e9ecf1;
  --muted: #b7beca;
  --ring: rgba(236, 236, 236, 0.281);
  --card-bg: #1a1d28;
}

.hero{
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 8rem) 1.25rem;
  background: radial-gradient(1200px 600px at 70% -10%, var(--ring), transparent 60%),
              linear-gradient(180deg, var(--bg-start), var(--bg-end));
  overflow: hidden;
  text-align: center;
}

.hero::after{
 
  content:"";
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 60%, transparent 100%);
  pointer-events:none;
}
.hero__titlespan.pixels {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 500;
  color: #8ef0ff;
  display: inline-block;
  position: relative;
  overflow: visible;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: glitch 2s infinite;
  will-change: transform;
}

.pixels::before,
.pixels::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: none;
  overflow: hidden;
  clip: rect(0, 9999px, 0, 0);
}

.pixels::before {
  left: 2px;
  text-shadow: -2px 0 red;
  animation: glitchTop 2s infinite linear alternate-reverse;
}

.pixels::after {
  left: -2px;
  text-shadow: -2px 0 blue;
  animation: glitchBottom 1.5s infinite linear alternate-reverse;
}

@media (max-width: 768px) {
  .hero__titlespan.pixels {
    overflow: visible;
    letter-spacing: 1px;
  }

  .pixels::before,
  .pixels::after {
    clip: rect(0, 9999px, 0, 0);
  }

  .pixels::before {
    left: 1px;
    text-shadow: -1px 0 red;
  }

  .pixels::after {
    left: -1px;
    text-shadow: -1px 0 blue;
  }
}

@media (max-width: 480px) {
  .hero__titlespan.pixels {
    letter-spacing: 0.5px;
  }
}


.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  animation: slide-down 1s ease-in both;
  animation-delay: 4.2s;
  opacity: 0;
}

.cta-button {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2rem);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button.primary {
  background: var(--accent);
  color: var(--bg-start);
  border: 2px solid var(--accent);
  box-shadow: 0 0 20px rgba(142, 240, 255, 0.35);
}

.cta-button.primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 30px rgba(142, 240, 255, 0.5);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}

.cta-button.secondary:hover {
  background: var(--text);
  color: var(--bg-start);
  transform: translateY(-2px);
}


.cta-section {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  margin: clamp(2rem, 4vw, 4rem) auto;
  max-width: 800px;
}

.cta-section.final {
  background: radial-gradient(1200px 600px at 50% 50%, var(--ring), transparent 60%),
              linear-gradient(180deg, var(--bg-start), var(--bg-end));
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(236, 236, 236, 0.1);
}

.cta-heading {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--accent);
  text-shadow: 0 0 22px rgba(142, 240, 255, 0.35);
  margin-bottom: 1rem;
  position: relative;
}

.cta-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}


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

  .cta-button {
    width: 100%;
    max-width: 280px;
  }

  /* Disable hover effects on mobile, use active states instead */
  .cta-button.primary:hover {
    transform: none;
  }

  .cta-button.primary:active {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 30px rgba(142, 240, 255, 0.5);
    transform: scale(0.98);
  }

  .cta-button.secondary:hover {
    transform: none;
  }

  .cta-button.secondary:active {
    background: var(--text);
    color: var(--bg-start);
    transform: scale(0.98);
  }
}

.featured-work {
  max-width: 1200px;
  margin: clamp(3rem, 6vw, 6rem) auto;
  padding: 0 1.25rem;
  text-align: center;
}

.featured-title {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--accent);
  text-shadow: 0 0 22px rgba(142, 240, 255, 0.35);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.featured-subtitle {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 3rem;
}


.gallery-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}


.gallery-item {
  min-width: 100%;
  padding: 2rem;
  background: radial-gradient(1200px 600px at 70% -10%, var(--ring), transparent 60%),
              linear-gradient(180deg, var(--bg-start), var(--bg-end));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(236, 236, 236, 0.1);
}


.gallery-image-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-img {
  border: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(142, 240, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(142, 240, 255, 0.4);
}

.gallery-img.desktop {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.gallery-img.mobile {
  width: 100%;
  max-width: 200px;
  height: auto;
}


.gallery-info {
  text-align: center;
}

.project-name {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--text);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.project-desc {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.project-tags {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.6rem, 1.2vw, 0.75rem);
  background: rgba(142, 240, 255, 0.1);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(142, 240, 255, 0.3);
  text-transform: uppercase;
}


.gallery-nav {
  background: rgba(142, 240, 255, 0.1);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gallery-nav:hover {
  background: var(--accent);
  color: var(--bg-start);
  box-shadow: 0 0 20px rgba(142, 240, 255, 0.5);
  transform: scale(1.1);
}

.gallery-nav:active {
  transform: scale(0.95);
}


.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(142, 240, 255, 0.3);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--accent);
  box-shadow: 0 0 15px rgba(142, 240, 255, 0.6);
  transform: scale(1.3);
}

.dot:hover {
  background: var(--accent);
  transform: scale(1.2);
}


.view-all-link {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.view-all-link:hover {
  background: var(--accent);
  color: var(--bg-start);
  box-shadow: 0 0 20px rgba(142, 240, 255, 0.5);
  transform: translateY(-2px);
}


@media (max-width: 768px) {
  .featured-work {
    margin: 2rem auto;
    padding: 0 0.5rem;
  }

  .featured-title {
    font-size: 1.2rem;
    line-height: 1.4;
    padding: 0 0.5rem;
  }

  .featured-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .gallery-container {
    padding: 0;
  }

  
  .gallery-nav {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    background: rgba(14, 15, 19, 0.95);
    backdrop-filter: blur(8px);
  }

  .gallery-nav.prev {
    left: 0.5rem;
  }

  .gallery-nav.next {
    right: 0.5rem;
  }

  /* Disable hover, use active states for touch */
  .gallery-nav:hover {
    transform: translateY(0);
    box-shadow: none;
  }

  .gallery-nav:active {
    background: var(--accent);
    color: var(--bg-start);
    box-shadow: 0 0 20px rgba(142, 240, 255, 0.5);
    transform: scale(0.95);
  }

  .gallery-img:hover {
    transform: none;
  }

  .gallery-item {
    padding: 1.5rem 1rem;
  }

  .gallery-image-container {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .gallery-img.desktop {
    max-width: 100%;
  }

  .gallery-img.mobile {
    max-width: 180px;
  }

  .project-name {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .project-desc {
    font-size: 0.85rem;
  }

  .project-tags {
    gap: 0.5rem;
  }

  .tag {
    font-size: 0.55rem;
    padding: 0.4rem 0.7rem;
  }

  .gallery-dots {
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .view-all-link {
    font-size: 0.7rem;
    padding: 0.65rem 1.2rem;
  }

  .view-all-link:hover {
    transform: none;
  }

  .view-all-link:active {
    background: var(--accent);
    color: var(--bg-start);
    box-shadow: 0 0 20px rgba(142, 240, 255, 0.5);
    transform: scale(0.97);
  }

  .dot:hover {
    transform: none;
  }

  .dot:active {
    background: var(--accent);
    transform: scale(1.2);
  }
}


@media (max-width: 480px) {
  .featured-title {
    font-size: 1rem;
  }

  .featured-subtitle {
    font-size: 0.85rem;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .gallery-nav.prev {
    left: 0.25rem;
  }

  .gallery-nav.next {
    right: 0.25rem;
  }

  .gallery-item {
    padding: 1.25rem 0.75rem;
  }

  .gallery-img.mobile {
    max-width: 150px;
  }

  .project-name {
    font-size: 0.8rem;
  }

  .project-desc {
    font-size: 0.8rem;
  }

  .tag {
    font-size: 0.5rem;
    padding: 0.35rem 0.6rem;
  }
}




@keyframes glitch {
  0% {
    transform: none;
  }
  20% {
    transform: skew(0.5deg);
  }
  40% {
    transform: skew(-0.5deg);
  }
  60% {
    transform: translateX(2px);
  }
  80% {
    transform: translateX(-2px);
  }
  100% {
    transform: none;
  }
}

@keyframes glitchTop {
  0% {
    clip: rect(0, 9999px, 0, 0);
  }
  10% {
    clip: rect(10px, 9999px, 50px, 0);
    transform: translate(-5px, -3px);
  }
  20% {
    clip: rect(85px, 9999px, 140px, 0);
    transform: translate(3px, 0);
  }
  30% {
    clip: rect(20px, 9999px, 65px, 0);
    transform: translate(-2px, 2px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
  }
}

@keyframes glitchBottom {
  0% {
    clip: rect(0, 9999px, 0, 0);
  }
  10% {
    clip: rect(55px, 9999px, 90px, 0);
    transform: translate(3px, 2px);
  }
  20% {
    clip: rect(5px, 9999px, 80px, 0);
    transform: translate(-2px, -1px);
  }
  30% {
    clip: rect(45px, 9999px, 65px, 0);
    transform: translate(2px, -2px);
  }
  100% {
    clip: rect(0, 9999px, 0, 0);
  }
}

@media (max-width: 768px) {
  @keyframes glitch {
    0%, 100% {
      transform: none;
    }
    50% {
      transform: skew(0.3deg);
    }
  }

  @keyframes glitchTop {
    0%, 100% {
      clip: rect(0, 9999px, 0, 0);
    }
    50% {
      clip: rect(10px, 9999px, 60px, 0);
      transform: translate(-2px, -1px);
    }
  }

  @keyframes glitchBottom {
    0%, 100% {
      clip: rect(0, 9999px, 0, 0);
    }
    50% {
      clip: rect(40px, 9999px, 80px, 0);
      transform: translate(2px, 1px);
    }
  }
}


.hero__title{
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 2vw, 8rem);
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  text-align: center;
  
}
.hero_inner {
  animation: slide-down 1s ease-in both;
  animation-delay: 0.3s;
  will-change: transform, opacity;
}

.hero__title span{
  color: var(--accent);
  text-shadow: 0 0 22px rgba(142,240,255,0.35);
}
.abtme {
  font-family: "Press Start 2P", monospace;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.abtme h2 {
   font-family: "Press Start 2P", monospace;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem; 
}

.abtmep {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 1vw, 1.25rem);
  color: #ffffff;
  max-width: 65ch;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

/* Mission Card with Neon Border */
.mission-card-wrapper {
  max-width: 1000px;
  margin: clamp(3rem, 6vw, 6rem) auto;
  padding: 0 1.25rem;
}

.mission-card {
  position: relative;
  background: radial-gradient(1200px 600px at 70% -10%, var(--ring), transparent 60%),
              linear-gradient(180deg, var(--bg-start), var(--bg-end));
  border: 2px solid var(--accent);
  border-radius: 1rem;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 0 30px rgba(142, 240, 255, 0.3),
              inset 0 0 60px rgba(142, 240, 255, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeIn 1s ease 0.5s both;
}

.mission-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(142, 240, 255, 0.5),
              inset 0 0 80px rgba(142, 240, 255, 0.08);
  transform: translateY(-2px);
}

.mission-heading {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--accent);
  text-shadow: 0 0 25px rgba(142, 240, 255, 0.4);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.6;
  position: relative;
  animation: glitch 3s infinite;
}

.mission-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text);
  max-width: 70ch;
  margin: 0 auto;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .mission-card-wrapper {
    margin: clamp(2rem, 4vw, 4rem) auto;
    padding: 0 1rem;
  }

  .mission-card {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-width: 2px;
  }

  .mission-heading {
    font-size: clamp(0.85rem, 3.5vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .mission-text {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.7;
  }

  .mission-card:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .mission-card-wrapper {
    padding: 0 0.75rem;
  }

  .mission-card {
    padding: 1.25rem;
  }

  .mission-heading {
    font-size: clamp(0.75rem, 4vw, 1rem);
    letter-spacing: 0.5px;
  }

  .mission-text {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }
}

/* Service Note Variant */
.mission-card.service-note {
  background: radial-gradient(800px 400px at 50% 50%, rgba(236, 236, 236, 0.08), transparent 70%),
              linear-gradient(180deg, rgba(14, 15, 19, 0.6), rgba(23, 25, 34, 0.6));
  border-color: rgba(142, 240, 255, 0.5);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.mission-card.service-note:hover {
  box-shadow: 0 0 25px rgba(142, 240, 255, 0.3),
              inset 0 0 40px rgba(142, 240, 255, 0.05);
}

.mission-card.service-note .mission-text {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--muted);
}

.mission-card.service-note strong {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .mission-card.service-note {
    padding: 1.25rem;
  }
}

.selfie {
  display: block;
  height: auto;
  width: clamp(150px, 30vw, 300px);
  margin: 0 auto 3rem auto;
  border: 10px solid ;
  border-color: #8ef0ff;
  border-radius: 20%;
  box-shadow: 0 0 30px rgba(142, 240, 255, 0.3);
}

/* Terminal Styling */
.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem 1rem;
}

.terminal-container {
  background: #0d1117;
  border: 2px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(142, 240, 255, 0.2),
              inset 0 0 20px rgba(142, 240, 255, 0.05);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  font-family: 'Courier New', monospace;
}

.terminal-header {
  background: linear-gradient(180deg, #1a1f2e 0%, #151a24 100%);
  border-bottom: 1px solid var(--accent);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.terminal-buttons {
  display: flex;
  gap: 0.5rem;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-button.close {
  background: #ff5f56;
  box-shadow: 0 0 5px rgba(255, 95, 86, 0.5);
}

.terminal-button.minimize {
  background: #ffbd2e;
  box-shadow: 0 0 5px rgba(255, 189, 46, 0.5);
}

.terminal-button.maximize {
  background: #27c93f;
  box-shadow: 0 0 5px rgba(39, 201, 63, 0.5);
}

.terminal-title {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
  text-align: center;
}

.terminal-body {
  padding: 1.5rem;
  background: #0d1117;
  min-height: 300px;
}

.terminal-line {
  margin-bottom: 0.75rem;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.6;
}

.prompt {
  color: #27c93f;
  font-weight: bold;
}

.path {
  color: #4a9eff;
  font-weight: bold;
}

.command {
  color: #ffbd2e;
  font-weight: bold;
}

.terminal-output {
  margin-left: 0;
  margin-bottom: 1.5rem;
}

.terminal-text {
  color: var(--text);
  line-height: 1.8;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  margin: 0.5rem 0;
  font-family: 'Courier New', monospace;
}

.terminal-cursor {
  color: var(--accent);
  animation: blink 1s infinite;
  font-weight: bold;
}

.terminal-cursor-line {
  opacity: 0;
  animation: fadeIn 0.5s ease-in 6s forwards;
}

/* Terminal Profile (Neofetch style) */
.terminal-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  margin: 1rem 0 2rem 0;
  padding: 1rem;
  background: rgba(142, 240, 255, 0.03);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

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

.terminal-selfie {
  display: block;
  width: clamp(120px, 20vw, 200px);
  height: auto;
  border: 3px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(142, 240, 255, 0.4),
              0 0 40px rgba(142, 240, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terminal-selfie:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(142, 240, 255, 0.6),
              0 0 50px rgba(142, 240, 255, 0.3);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-line {
  font-family: 'Courier New', monospace;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--text);
  line-height: 1.8;
}

.info-label {
  color: var(--accent);
  font-weight: bold;
  min-width: 120px;
  display: inline-block;
}

.status-available {
  color: #27c93f;
  font-weight: bold;
}

/* Typing animation */
.typing-text {
  display: inline;
  overflow: hidden;
  white-space: normal;
  animation: typing 3s steps(200) 0.5s forwards;
  opacity: 0;
}

.typing-text-2 {
  display: inline;
  overflow: hidden;
  white-space: normal;
  animation: typing 2.5s steps(150) 3.8s forwards;
  opacity: 0;
}

@keyframes typing {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}






#titlesub{
  font-family: "Press Start 2P", monospace;
   color:  #ffffff;
   display: inline-block;
  font-size: clamp(1rem, 2vw, 2rem);
  margin-top: 0.5em;  
  margin-bottom: 0.25em;
  margin-right: 0.2em; 
  }
  .pricinghead.pixels{
    position: relative;
    font-family: "Press Start 2P", monospace;
    color: #8ef0ff;
    text-shadow: 0 0 22px rgba(142,240,255,0.35);
    font-weight: 100;
    display: inline-block;
    font-size: clamp(1rem, 2vw, 2rem);
    margin-top: 0.5em;
    margin-bottom: 0.25em;
    overflow: visible;
    animation: glitch 2s infinite;
    will-change: transform;
    line-height: 1.4;
    max-width: 90%;
  }
  .ideas, .designed, .deployed {
    opacity: 0;
    will-change: transform, opacity;
  }

.ideas {
  animation: slide-in 1s ease-in 1.2s both;
  font-family: "Press Start 2P", monospace;
}

.designed {
  animation: slide-in 1s ease-in 2.4s both;
  font-family: "Press Start 2P", monospace;
}

.deployed {
  animation: slide-in 1s ease-in 3.6s both;
  font-family: "Press Start 2P", monospace;
}
  #footersub{
    font-size: clamp(1rem, 2vw, 2rem);


  }
  #footertitle, #footersub{
    font-family: "Press Start 2P", monospace;

     color:  #8ef0ff;
 font-size: clamp(1rem, 2vw, 2rem);
  
  }
 
 .worshipvid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;           
  max-width: 960px;      
  margin: 0 auto;
  aspect-ratio: 16 / 9;  
  position: relative;
  box-shadow: 0 0 20px var(--ring);
  border: 4px solid var(--accent);
}

.worshipvid video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;  
  background-color: black;   
  object-fit: contain;
}




#cc {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20%;
  border-radius: 20%;
  margin: 0 auto; 
}



.navbar {
  
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
background: 
              linear-gradient(180deg, var(--bg-start), var(--bg-end));
  padding: 0rem;
  color: white;
  z-index: 1001; 
}
.mock {
  display: block;
  max-width: 50%;
  height: auto;
  border-radius: 20%;
  border: #8ef0ff ;
  margin: 0 auto; 
}


.logo img{
  display: block;
  width: 130px;   
  height: auto;
  
}



.nav-links {

  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  font-family: "Press Start 2P", monospace;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s ease;
  display: block;         
  padding: .5rem .75rem;
  font-weight: 500;
}

.nav-links a:hover { opacity: .8; }


.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  max-width: 100%;

}
#servicedes{
font-size: clamp(1rem, 2vw, 1.25rem);
  color: #ffffff;
  max-width: 65ch;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center; 

}
.cntform {
  max-width: 400px;           
  margin: 2rem auto;           
  padding: 2rem;
  background: #1a1a1a;         
  border-radius: 10px;         
  box-shadow: 0 4px 10px rgba(0,0,0,.4); 
  color:  #8ef0ff;                
}

.cntform form {
  display: flex;
  flex-direction: column;  
  gap: 1rem;              
}

.cntform label {
  font-weight: bold;
  margin-bottom: .25rem;
}

.cntform input,
.cntform textarea {
  padding: .5rem;
  border: 1px solid #444;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  background: #0e0f13;
  color: #e9ecf1;
}

.cntform input:focus,
.cntform textarea:focus {
  border-color: #8ef0ff;
  box-shadow: 0 0 5px #8ef0ff;
}

.cntform textarea {
  resize: vertical;
  min-height: 100px;
}
.cntform .btn{
  font-weight: bold;
  color: #8ef0ff;
  background-color: #545b7c;
    padding: .5rem;
  border: 3px solid #444;
  border-radius: 5px;
  font-size: 1rem;
  width: 40%;


}

.faq {
  max-width: 900px;
  margin: clamp(1.5rem, 4vw, 4rem) auto;
  padding: 0 1rem;
  
}

.faq h2 {
  font-family: "Press Start 2P", monospace;
  color: var(--text);
  text-shadow: 0 0 22px color-mix(in oklab, var(--accent) 35%, transparent);
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

/* Card shell */
.faq-item {
  background:
    radial-gradient(1200px 600px at 70% -10%, color-mix(in oklab, var(--ring) 35%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in oklab, var(--bg-start) 92%, #0b0c10), var(--bg-end));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  margin: 0 auto clamp(0.75rem, 1.5vw, 1rem);
  box-shadow: 0 0 20px color-mix(in oklab, var(--ring) 55%, transparent);
  overflow: clip; 
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-item:hover {
  border-color: color-mix(in oklab, var(--accent) 30%, white 0%);
  box-shadow: 0 0 28px color-mix(in oklab, var(--accent) 18%, transparent);
  transform: translateY(-1px);
}


.faq-item > summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(0.85rem, 2.2vw, 1.1rem) clamp(1rem, 3vw, 1.25rem);
  color: var(--text);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.9rem, 1.9vw, 1.05rem);
  line-height: 1.35;
  text-transform: none;
  user-select: none;
}

.faq-item > summary::-webkit-details-marker { display: none; }


.faq-item > summary::after {
  content: "▸";
  font-size: 1.1em;
  opacity: 0.85;
  transform: rotate(0deg);
  transition: transform 180ms ease, opacity 180ms ease;
  color: var(--accent);
  text-shadow: 0 0 18px color-mix(in oklab, var(--accent) 45%, transparent);
}

.faq-item[open] > summary::after {
  transform: rotate(90deg);
  opacity: 1;
}


.faq-item:has(> summary:focus-visible) {
  outline: none;
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px color-mix(in oklab, var(--accent) 45%, transparent),
    0 0 28px color-mix(in oklab, var(--accent) 20%, transparent);
}


.faq-content {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0 clamp(1rem, 3vw, 1.25rem) clamp(1rem, 3vw, 1.25rem);
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.98rem, 1.3vw, 1.05rem);
  line-height: 1.7;
}

/* Open animation */
.faq-item[open] .faq-content {
  animation: faq-reveal 180ms ease;
}
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-2px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slide-in {
  from {
    transform: translateX(-50px);
    opacity: 0;  
  }
  to {
    transform: translateX(0);
    opacity: 1;   
  }
}
@keyframes slide-down{
 from {
    transform: translateY(-50px);
    opacity: 0;  
  }
  to {
    transform: translateY(0);
    opacity: 1;   
  }

}
@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item > summary::after,
  .faq-item[open] .faq-content {
    transition: none !important;
    animation: none !important;
  }
}



@media (max-width: 768px) {
  .mock {
    max-width: 90%;
  }

  /* Hero section mobile optimizations */
  .hero {
    padding: clamp(3rem, 6vw, 6rem) 1rem;
  }

  #titlesub {
    font-size: clamp(0.9rem, 3.5vw, 1.5rem);
    margin-top: 0.75em;
    margin-bottom: 0.5em;
    line-height: 1.5;
  }

  /* Optimize animations for mobile performance */
  @keyframes slide-in {
    from {
      transform: translateX(-30px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slide-down {
    from {
      transform: translateY(-30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* About section mobile */
  .abtme {
    padding: 1.5rem 1rem;
  }

  .abtmep {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    line-height: 1.7;
  }

  /* Selfie image mobile */
  .selfie {
    width: clamp(120px, 40vw, 250px);
    border-width: 6px;
  }

  /* Terminal mobile */
  .terminal-container {
    border-width: 1px;
    border-radius: 6px;
  }

  .terminal-header {
    padding: 0.5rem 0.75rem;
  }

  .terminal-button {
    width: 10px;
    height: 10px;
  }

  .terminal-title {
    font-size: 0.75rem;
  }

  .terminal-body {
    padding: 1rem;
    min-height: 250px;
  }

  .terminal-line {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .terminal-text {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  /* Terminal profile mobile */
  .terminal-profile {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.75rem;
    text-align: center;
  }

  .terminal-selfie {
    width: clamp(150px, 50vw, 200px);
    margin: 0 auto;
  }

  .profile-info {
    gap: 0.4rem;
  }

  .info-line {
    font-size: 0.875rem;
  }

  .info-label {
    min-width: auto;
    display: block;
    margin-bottom: 0.1rem;
  }

  /* Services section mobile */
  .services {
    padding: 0 1rem;
  }

  .pricinghead.pixels {
    font-size: clamp(0.85rem, 3vw, 1.2rem);
    line-height: 1.6;
    padding: 0 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    overflow: visible;
    max-width: 95%;
  }

  /* Video container mobile */
  .worshipvid {
    max-width: 100%;
    margin: 1rem auto;
    border-width: 2px;
  }

  /* Contact form mobile optimizations */
  .cntform {
    max-width: 100%;
    margin: 1.5rem auto;
    padding: 1.5rem 1rem;
  }

  .cntform label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .cntform input,
  .cntform textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border-width: 2px;
    min-height: 48px;
  }

  .cntform textarea {
    min-height: 120px;
  }

  .cntform .btn {
    width: 100%;
    max-width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    min-height: 48px;
    cursor: pointer;
  }

  /* CTA section mobile */
  .cta-section {
    padding: clamp(2rem, 5vw, 4rem) 1rem;
    margin: clamp(1.5rem, 3vw, 3rem) 0.5rem;
  }

  .cta-section.final {
    border-radius: 0.75rem;
  }

  .cta-heading {
    font-size: clamp(1rem, 4vw, 1.5rem);
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .cta-text {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 1.5rem;
  }

  /* Footer mobile */
  #footertitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
  }

  #footersub {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
  }

  /* Improve touch targets */
  .hamburger {
    min-width: 48px;
    min-height: 48px;
    padding: 0.5rem;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: clamp(0.7rem, 2.5vw, 0.85rem);
  }
}


@media (max-width: 768px) {
  .hamburger { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 280px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: #111;
    padding-top: 4rem;
    padding-inline: 1rem;
    gap: .25rem;
    transition: left 0.5s ease;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0,0,0,.4);
  }

  .nav-links.show { left: 0; }

  .nav-links li { margin: 0; }
  .nav-links a {
    border-radius: .5rem;
  }

  .faq { padding: 0 0.75rem; }
  .faq h2 { font-size: clamp(1.1rem, 4.5vw, 1.6rem); }
  .faq-item > summary {
    padding: 0.9rem 0.9rem;
    font-size: clamp(0.95rem, 4vw, 1rem);
  }
  .faq-content {
    padding: 0 0.9rem 0.95rem;
    font-size: clamp(0.98rem, 3.5vw, 1.02rem);
  }

  /* Disable hover effects on mobile for FAQ */
  .faq-item:hover {
    transform: none;
  }

  /* Contact form button mobile */
  .cntform .btn:hover {
    transform: none;
  }

  .cntform .btn:active {
    transform: scale(0.98);
    opacity: 0.9;
  }
}

/* Extra small screens optimizations */
@media (max-width: 480px) {
  .hero {
    padding: clamp(2.5rem, 5vw, 5rem) 0.75rem;
  }

  #titlesub {
    font-size: clamp(0.8rem, 4vw, 1.2rem);
    margin-right: 0.15em;
  }

  .ideas, .designed, .deployed {
    margin-top: 0.4em;
    margin-bottom: 0.2em;
  }

  /* Further reduce animations on very small screens */
  @keyframes slide-in {
    from {
      transform: translateX(-20px);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slide-down {
    from {
      transform: translateY(-20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes glitch {
    0%, 100% {
      transform: none;
    }
    50% {
      transform: skew(0.2deg);
    }
  }

  /* Further reduce glitch pseudo-element movements on very small screens */
  .pixels::before {
    left: 0.5px;
    text-shadow: -0.5px 0 red;
  }

  .pixels::after {
    left: -0.5px;
    text-shadow: -0.5px 0 blue;
  }

  .pricinghead.pixels {
    font-size: clamp(0.75rem, 4vw, 1rem);
    max-width: 98%;
    letter-spacing: 0.5px;
  }

  .abtme {
    padding: 1rem 0.75rem;
  }

  .abtmep {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    max-width: 100%;
  }

  .selfie {
    width: clamp(100px, 35vw, 200px);
    border-width: 5px;
  }

  /* Terminal profile extra small mobile */
  .terminal-profile {
    padding: 0.5rem;
    gap: 0.75rem;
  }

  .terminal-selfie {
    width: clamp(120px, 45vw, 180px);
    border-width: 2px;
  }

  .info-line {
    font-size: 0.8rem;
  }

  .cntform {
    padding: 1.25rem 0.75rem;
    margin: 1rem 0.5rem;
  }

  .cntform label {
    font-size: 0.9rem;
  }

  .cntform input,
  .cntform textarea {
    padding: 0.65rem;
    font-size: 0.95rem;
  }

  .cta-section {
    padding: clamp(1.5rem, 4vw, 3rem) 0.75rem;
    margin: clamp(1rem, 2vw, 2rem) 0.5rem;
  }

  .cta-heading {
    font-size: clamp(0.9rem, 4.5vw, 1.3rem);
  }

  .cta-text {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .cta-button {
    padding: clamp(0.65rem, 1.5vw, 0.85rem) clamp(1rem, 2.5vw, 1.5rem);
    font-size: clamp(0.65rem, 2vw, 0.8rem);
  }

  .worshipvid {
    margin: 0.75rem auto;
    border-width: 2px;
  }

  #servicedes {
    font-size: clamp(0.85rem, 3vw, 1rem);
    padding: 0 1rem;
  }

  .nav-links {
    width: 250px;
  }
}

/* ============================================
   MOBILE EXPERIENCE ENHANCEMENTS
   ============================================ */

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(142, 240, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced Mobile Menu Animations */
@media (max-width: 768px) {
  .nav-links {
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .nav-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Enhanced touch feedback for nav links */
  .nav-links a:active {
    background: rgba(142, 240, 255, 0.15);
    color: var(--accent);
    transform: scale(0.97);
    box-shadow: inset 0 0 20px rgba(142, 240, 255, 0.3);
  }
}

/* Pull-to-Refresh Indicator */
.ptr-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(23, 25, 34, 0.95), rgba(14, 15, 19, 0.95));
  border: 2px solid var(--accent);
  border-radius: 0 0 8px 8px;
  border-top: none;
  color: var(--accent);
  font-family: "Press Start 2P", monospace;
  font-size: 0.6rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(142, 240, 255, 0.4);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.ptr-indicator.visible {
  transform: translateX(-50%) translateY(0);
}

.ptr-spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(142, 240, 255, 0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
  vertical-align: middle;
}

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

/* Enhanced Touch Feedback for All Interactive Elements */
@media (max-width: 768px) {

  /* Buttons */
  .cta-button:active,
  .filter-btn:active,
  .screenshot-btn:active {
    transform: scale(0.96);
    box-shadow: 0 0 25px rgba(142, 240, 255, 0.6),
                inset 0 0 15px rgba(142, 240, 255, 0.2);
    background: var(--accent);
    color: var(--bg-start);
  }

  .cntform .btn:active {
    background: var(--accent);
    color: var(--bg-start);
    transform: scale(0.97);
    box-shadow: 0 0 20px rgba(142, 240, 255, 0.5),
                inset 0 0 10px rgba(14, 15, 19, 0.3);
  }

  /* Gallery Navigation */
  .gallery-nav:active {
    background: var(--accent);
    color: var(--bg-start);
    transform: scale(0.92);
    box-shadow: 0 0 25px rgba(142, 240, 255, 0.6);
  }

  /* Project Cards */
  .project-card:active {
    transform: scale(0.98);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(142, 240, 255, 0.4);
  }

  /* FAQ Items */
  .faq-item > summary:active {
    background: rgba(142, 240, 255, 0.1);
    color: var(--accent);
  }

  /* Dots */
  .dot:active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(142, 240, 255, 0.7);
  }

  /* Links */
  .view-all-link:active,
  .project-link:active {
    background: var(--accent);
    color: var(--bg-start);
    transform: scale(0.96);
    box-shadow: 0 0 25px rgba(142, 240, 255, 0.6);
  }

  /* Form Inputs */
  .cntform input:active,
  .cntform textarea:active {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(142, 240, 255, 0.4);
  }

  /* Hamburger Menu */
  .hamburger:active {
    background: rgba(142, 240, 255, 0.15);
    transform: scale(0.9);
    color: var(--accent);
  }

  /* Modal Close Button */
  .modal-close:active {
    background: var(--accent);
    color: var(--bg-start);
    transform: scale(0.9);
    box-shadow: 0 0 20px rgba(142, 240, 255, 0.6);
  }
}

/* Portfolio page styles */
.portfolio-section {
  padding: 2rem 1rem;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease 0.3s both;
}

.filter-btn {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.6rem, 1.5vw, 0.8rem);
  padding: 0.75rem 1.5rem;
  background: var(--card-bg);
  border: 2px solid rgba(142, 240, 255, 0.3);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  border-radius: 4px;
}

.filter-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(142, 240, 255, 0.2);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--bg-start);
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(142, 240, 255, 0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1s ease 0.5s both;
}

.project-card {
  background: radial-gradient(1200px 600px at 70% -10%, rgba(236, 236, 236, 0.05), transparent 60%),
              linear-gradient(180deg, var(--card-bg), var(--bg-end));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(142, 240, 255, 0.5);
  box-shadow: 0 0 30px rgba(142, 240, 255, 0.2);
}

.project-card.hidden {
  display: none;
}

.project-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1d28 0%, #0e0f13 100%);
  border-bottom: 2px solid rgba(142, 240, 255, 0.2);
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "Press Start 2P", monospace;
  font-size: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: rgba(142, 240, 255, 0.9);
  color: var(--bg-start);
  border-radius: 4px;
  text-transform: uppercase;
  z-index: 10;
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--accent);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.project-description {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(142, 240, 255, 0.1);
  border: 1px solid rgba(142, 240, 255, 0.3);
  border-radius: 4px;
  color: var(--accent);
}

.project-links {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.project-link {
  font-family: "Press Start 2P", monospace;
  font-size: 0.7rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  flex: 1;
  border-radius: 4px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-link:hover {
  background: var(--accent);
  color: var(--bg-start);
  box-shadow: 0 0 15px rgba(142, 240, 255, 0.4);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Press Start 2P", monospace;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .filter-tabs {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.6rem;
    min-height: 44px;
  }

  /* Disable hover, use active for touch */
  .filter-btn:hover {
    transform: none;
  }

  .filter-btn:active {
    transform: scale(0.95);
  }

  .project-card:hover {
    transform: none;
  }

  .project-link {
    font-size: 0.65rem;
    padding: 0.6rem 0.8rem;
  }

  .project-link:hover {
    transform: none;
  }

  .project-link:active {
    background: var(--accent);
    color: var(--bg-start);
    box-shadow: 0 0 15px rgba(142, 240, 255, 0.4);
    transform: scale(0.97);
  }
}

@media (max-width: 480px) {
  .portfolio-section {
    padding: 1.5rem 0.75rem;
  }

  .filter-tabs {
    gap: 0.4rem;
    margin-bottom: 2rem;
  }

  .filter-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.55rem;
  }

  .project-image {
    height: 180px;
  }

  .project-content {
    padding: 1.25rem;
  }

  .project-title {
    font-size: 0.85rem;
  }

  .project-description {
    font-size: 0.9rem;
  }
}

/* Screenshot Modal Styles */
.screenshot-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 15, 19, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.screenshot-modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  background: linear-gradient(135deg, rgba(23, 25, 34, 0.95), rgba(14, 15, 19, 0.95));
  border: 2px solid rgba(142, 240, 255, 0.3);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(142, 240, 255, 0.2);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: Arial, sans-serif;
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent);
  color: var(--bg-start);
  box-shadow: 0 0 15px rgba(142, 240, 255, 0.4);
}

.modal-title {
  font-family: "Press Start 2P", monospace;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
  padding-right: 60px;
}

.screenshot-container {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

.screenshot-container img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(142, 240, 255, 0.2);
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.screenshot-label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 15, 19, 0.9);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-family: "Press Start 2P", monospace;
  font-size: 0.7rem;
  box-shadow: 0 0 15px rgba(142, 240, 255, 0.3);
}

.screenshot-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.screenshot-btn {
  font-family: "Press Start 2P", monospace;
  font-size: 0.7rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  min-height: 48px;
  min-width: 150px;
}

.screenshot-btn:hover {
  background: var(--accent);
  color: var(--bg-start);
  box-shadow: 0 0 15px rgba(142, 240, 255, 0.4);
}

@media (max-width: 768px) {
  .screenshot-modal {
    padding: 1rem;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-right: 50px;
  }

  .modal-close {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    top: 0.75rem;
    right: 0.75rem;
  }

  .screenshot-label {
    font-size: 0.6rem;
    padding: 0.4rem 1rem;
    bottom: 0.5rem;
  }

  .screenshot-nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .screenshot-btn {
    width: 100%;
    font-size: 0.65rem;
    padding: 0.6rem 1rem;
  }

  .screenshot-btn:hover {
    transform: none;
  }

  .screenshot-btn:active {
    background: var(--accent);
    color: var(--bg-start);
    box-shadow: 0 0 15px rgba(142, 240, 255, 0.4);
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 1rem;
  }

  .modal-title {
    font-size: 0.75rem;
    padding-right: 45px;
  }

  .screenshot-label {
    font-size: 0.55rem;
    padding: 0.3rem 0.8rem;
  }

  .screenshot-btn {
    font-size: 0.6rem;
    padding: 0.5rem 0.8rem;
  }
}
