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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  scrollbar-color: #ec3750 #0a0a0f;
  scrollbar-width: thin;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #e0e0e0;
  background: #0a0a0f;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0f; }
::-webkit-scrollbar-thumb { background: #ec3750; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff4d6a; }

.glitchbar {
  height: 4px;
  background: linear-gradient(90deg,
    #ec3750 0%, #ec3750 20%,
    transparent 20%, transparent 22%,
    #33d6a6 22%, #33d6a6 45%,
    transparent 45%, transparent 48%,
    #5bc0de 48%, #5bc0de 70%,
    transparent 70%, transparent 73%,
    #ff8c37 73%, #ff8c37 100%
  );
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(236,55,80,0.2);
}

.navbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.eggiconlol {
  display: inline-block;
  transition: transform .3s;
}

.navbrand:hover .eggiconlol {
  transform: rotate(15deg) scale(1.1);
}

.title {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #ec3750;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.navlinks a {
  color: #8492a6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}

.navlinks a:hover {
  color: #fff;
  background: rgba(236,55,80,0.08);
}

.navcta {
  background: #ec3750 !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.navcta:hover {
  background: #ff4d6a !important;
  transform: translateY(-1px);
}

.section {
  background: #0e0e16;
  padding: 64px 40px;
}

.sectioninner {
  max-width: 1200px;
  margin: 0 auto;
}

.sectionlabel {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ec3750;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.sectionlabel::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(236,55,80,0.15);
}

.gallerygrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.gallerycard {
  background: #111118;
  border: 1px solid rgba(236,55,80,0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.gallerycard:hover {
  transform: translateY(-4px);
  border-color: #ec3750;
  box-shadow: 0 12px 32px rgba(236,55,80,0.2);
}

.gallerythumbnail {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(236,55,80,0.1) 0%, rgba(51,214,166,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 48px;
  overflow: hidden;
}

.gallerythumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallerycontent {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallerytitle {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.galleryby {
  font-size: 13px;
  color: #8492a6;
  margin-bottom: 12px;
}

.galleryby a {
  color: #ec3750;
  text-decoration: none;
}

.galleryby a:hover {
  text-decoration: underline;
}

.gallerydesc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.gallerylinks {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.gallerylinkbtn {
  flex: 1;
  padding: 10px 14px;
  background: #ec3750;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: background .2s;
}

.gallerylinkbtn:hover {
  background: #ff4d6a;
}

.gallerylinkbtn.secondary {
  background: rgba(236,55,80,0.1);
  color: #ec3750;
  border: 1px solid rgba(236,55,80,0.3);
}

.gallerylinkbtn.secondary:hover {
  background: rgba(236,55,80,0.2);
}

.emptygallery {
  text-align: center;
  padding: 60px 20px;
}

.emptygallery h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
}

.emptygallery p {
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
}

.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: transform .12s, box-shadow .12s, background .12s;
}

.btn:hover { transform: translateY(-2px); }

.btnprimary {
  background: #ec3750;
  color: #fff;
  box-shadow: 0 4px 12px rgba(236,55,80,0.3);
}

.btnprimary:hover {
  background: #ff4d6a;
  box-shadow: 0 6px 20px rgba(236,55,80,0.4);
}

.scanline {
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(236,55,80,0.4) 10%,
    rgba(236,55,80,0.1) 30%,
    rgba(51,214,166,0.3) 50%,
    rgba(51,214,166,0.1) 70%,
    rgba(91,192,222,0.4) 90%,
    transparent 100%
  );
}

footer {
  background: #08080d;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 24px 40px;
}

.footinner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #555;
}

.footinner a {
  color: #ec3750;
  text-decoration: none;
}

.footinner a:hover {
  color: #ff4d6a;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid #ec3750;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .gallerygrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .section { padding: 48px 20px; }
  footer { padding: 20px; }
  .footinner { flex-direction: column; text-align: center; }
  .gallerygrid {
    grid-template-columns: 1fr;
  }
  .gallerythumbnail {
    height: 160px;
  }
}
