@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
:root {
  --neon: #120016;
  --neon-text: #c77dff;
  --bg-left: #3b005c;
  --bg-right: #120016;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'VT323', monospace;
  background: #000;
  overflow-x: hidden;
  cursor: url(../Cursors/left_ptr.cur), auto;
}
body {
  background: #000;
}
body.bg {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 15%, rgba(199,125,255,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(120,0,160,0.15), transparent 50%),
    linear-gradient(180deg, #120016 0%, #050008 100%);
}
.page-split {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
}
.zigzag-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.welcome-images img,
.left-image {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}
.bg-left {
  fill: var(--bg-left);
}
.bg-right {
  fill: var(--bg-right);
}
.zigzag-line {
  fill: none;
  stroke: var(--neon);
  stroke-width: 3;
}
.nav,
.side {
  position: relative;
  z-index: 2;
}
.nav {
  grid-column: 1 / -1;
  grid-row: 1;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}
.logo {
  color: var(--neon-text);
  font-size: clamp(24px, 3vw, 36px);
  text-decoration: none;
  cursor: url(../Cursors/pointing_hand.cur), auto;
}
.links {
  display: flex;
  font-size: clamp(18px, 2.5vw, 28px);
  gap: 30px;
}
.links a {
  color: var(--neon-text);
  text-decoration: none;
  font-size: clamp(18px, 2.5vw, 28px);
  position: relative;
  transition: all 0.3s ease;
  cursor: url(../Cursors/pointing_hand.cur), auto;
}
.links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: #b672f7;
  transition: width 0.3s ease;
}
.links a:hover::after {
  width: 100%;
}
.links a:hover {
  color: #fff;
  transform: scale(1.05);
}
.side {
  min-height: 100vh;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.left-side {
  grid-column: 1;
  grid-row: 2;
  text-align: center;
  color: #fff;
}
.right-side {
  grid-column: 2;
  grid-row: 2;
  color: #eee;
}
.left-image {
  width: clamp(220px, 30vw, 420px);
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 20px rgba(199,125,255,0.6));
}
.side h1 {
  font-size: clamp(36px, 6vw, 64px);
  color: var(--neon-text);
  text-shadow: 0 0 6px rgba(199,125,255,0.6);
  margin-bottom: 10px;
}
.side p {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.4;
  opacity: 0.85;
}
.welcome-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.little-ghost {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(199,125,255,0.7));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.lore {
  margin-top: 14px;
  opacity: 0.75;
  font-style: italic;
}
.cta {
  margin-top: 26px;
  align-self: flex-start;
  padding: 10px 18px;
  border: 2px solid var(--neon-text);
  color: var(--neon-text);
  text-decoration: none;
  font-size: 22px;
  border-radius: 10px;
  transition: all 0.25s ease;
  cursor: url(../Cursors/pointing_hand.cur), auto;
}
.cta:hover {
  background: var(--neon-text);
  color: #120016;
  box-shadow: 0 0 14px rgba(199,125,255,0.8);
  transform: translateY(-2px);
}
.welcome-images {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}
.welcome-images img {
  width: clamp(120px, 15vw, 240px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(199,125,255,0.25);
  opacity: 0.92;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
}
.welcome-images img:hover {
  transform: scale(1.06);
  opacity: 1;
  border-color: rgba(199,125,255,0.8);
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.footer {
  text-align: center;
  padding: 18px;
  font-size: 18px;
  color: rgba(199,125,255,0.7);
  background: #000;
}
.about-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}
.about-card {
  display: flex;
  gap: 40px;
  padding: 40px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(59,0,92,0.35), rgba(18,0,22,0.85));
  border: 2px solid rgba(199,125,255,0.35);
  box-shadow:
    0 0 30px rgba(120,0,160,0.25),
    inset 0 0 20px rgba(0,0,0,0.6);
}
.about-image img {
  width: 260px;
  max-width: 100%;
}
.about-content {
  display: flex;
  flex-direction: column;
}
.subtitle {
  opacity: 0.6;
  margin-bottom: 14px;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}
.socials a {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(199,125,255,0.4);
  color: var(--neon-text);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.25s ease;
  cursor: url(../Cursors/pointing_hand.cur), auto;
}
.socials a:hover {
  background: var(--neon-text);
  color: #120016;
  box-shadow: 0 0 12px rgba(199,125,255,0.8);
}
.portfolio-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 60px 80px;
  text-align: center;
}
.portfolio-wrap h1 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--neon-text);
  text-shadow: 0 0 10px rgba(199,125,255,0.6);
}
.portfolio-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.art-card {
  position: relative;
  background: linear-gradient(180deg, #1a0026, #07000c);
  border-radius: 16px;
  padding: 12px;
  border: 2px solid rgba(199,125,255,0.25);
  box-shadow: 0 0 18px rgba(120,0,160,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.art-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  filter: contrast(1.05) brightness(0.95);
}
.art-card span {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  color: var(--neon-text);
  opacity: 0.85;
}
.art-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(199,125,255,0.8);
  box-shadow: 0 0 28px rgba(199,125,255,0.6);
}
.art-card:hover img {
  filter: brightness(1.05);
}
.commission-header {
  margin-bottom: 30px;
}
.commission-box {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  padding: 30px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20,0,30,0.85), rgba(5,0,10,0.9));
  border: 2px solid rgba(199,125,255,0.35);
  box-shadow:
    0 0 25px rgba(199,125,255,0.15),
    inset 0 0 18px rgba(120,0,160,0.25);
}
.commission-image img {
  width: 100%;
  border-radius: 16px;
  border: 2px solid rgba(199,125,255,0.4);
  filter: drop-shadow(0 0 18px rgba(199,125,255,0.6));
}
.commission-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--neon-text);
  opacity: 0.9;
}
.commission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}
.commission-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(120,0,160,0.12);
  border: 1px solid rgba(199,125,255,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.commission-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(199,125,255,0.4);
}
.commission-list strong {
  font-size: 22px;
  color: #fff;
}
.commission-list .desc {
  display: block;
  font-size: 16px;
  opacity: 0.75;
}
.price {
  font-size: 26px;
  color: var(--neon-text);
  text-shadow: 0 0 6px rgba(199,125,255,0.7);
}
.footer a {
  color: rgba(199,125,255,0.8);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(199,125,255,0.8);
}
.commission-links {
  display: flex;
}
.glitch-transition {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  opacity: 0;
  overflow: hidden;
}
.glitch-transition::before,
.glitch-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(199,125,255,0.35),
      rgba(199,125,255,0.35) 2px,
      transparent 2px,
      transparent 4px
    );
  mix-blend-mode: screen;
  opacity: 0;
}
.glitch-transition.active {
  opacity: 1;
  animation: glitch-flash 0.45s steps(1) forwards;
}
.glitch-transition.active::before {
  animation: glitch-scan 0.45s steps(1) forwards;
}
.glitch-transition.active::after {
  animation: glitch-offset 0.45s steps(1) forwards;
}
@keyframes glitch-flash {
  0% { background:#000; }
  20% { background:#120016; }
  40% { background:#3b005c; }
  60% { background:#000; }
  100% { background:#000; }
}
@keyframes glitch-scan {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-10px); }
  60% { opacity: 0.6; transform: translateY(8px); }
  100% { opacity: 0; }
}
@keyframes glitch-offset {
  0% { opacity: 0; transform: translateX(0); }
  25% { opacity: 0.8; transform: translateX(-12px); }
  50% { opacity: 0.4; transform: translateX(10px); }
  100% { opacity: 0; }
}

@media (max-width: 700px) {
  .portfolio-wrap {
    padding: 100px 24px 60px;
  }
}
@media (max-width: 900px) {
  .about-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-image img {
    width: 200px;
  }
  .socials {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .zigzag-bg {
    display: none;
  }
  body {
    background: radial-gradient(circle at top, #3b005c, #09000f);
  }
  .page-split {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .nav {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent);
  }
  .logo {
    font-size: 26px;
  }
  .links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
  .links a {
    font-size: 20px;
  }
  .side {
    min-height: auto;
    padding: 50px 24px;
    justify-content: flex-start;
    text-align: center;
  }
  .left-image {
    width: 220px;
    margin-bottom: 16px;
  }
  .side h1 {
    font-size: 42px;
    margin-bottom: 8px;
  }
  .side p {
    font-size: 18px;
  }
  .welcome-row {
    justify-content: center;
  }
  .cta {
    align-self: center;
  }
  .welcome-images {
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
  }
  .welcome-images img {
    width: 140px;
    border-radius: 12px;
  }
}
@media (max-width: 900px) {
  .commission-box {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 26px;
  }
  .commission-image {
    display: flex;
    justify-content: center;
  }
  .commission-image img {
    max-width: 320px;
    width: 100%;
  }
  .commission-stats {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .commission-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .price {
    align-self: flex-end;
    font-size: 24px;
  }
  .commission-links {
    justify-content: center;
  }
  .commission-links .cta {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .commission-image img {
    max-width: 260px;
  }
  .commission-list strong {
    font-size: 20px;
  }
  .price {
    font-size: 22px;
  }
}
