/* =========================
   GLOBAL
========================= */
html,
body,
* {
  cursor: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Windows 95", Monaco, monospace;
  background: url("bg.jpg") top left / 500px repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 200, 230, 0.35);
  backdrop-filter: blur(3px);
}

.hidden {
  display: none !important;
}

/* =========================
   SPARKLES
========================= */
.sparkle-container {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 22px;
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 0 8px #fff;
  animation: twinkle 2s infinite alternate, float 6s infinite ease-in-out;
}

@keyframes twinkle {
  from {
    opacity: 0.2;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1.4);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* =========================
   CUSTOM CURSOR
========================= */
.custom-cursor {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  width: 60px;
  height: 60px;
  background: url("cursor.png") no-repeat center;
  background-size: contain;
}

/* =========================
   DESKTOP ICONS
========================= */
.desktop-icons {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.desktop-icon {
  position: fixed;
  z-index: 4;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 90px;
  text-decoration: none;
}

.desktop-icon img {
  display: block;
  width: 90px;
  height: 90px;
  image-rendering: pixelated;
}

.desktop-icon span {
  color: #fff;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 1px 1px 0 #d94ca4;
  font-family: "Windows 95", Monaco, monospace;
}

/* icon positions */
.icon-linkedin {
  top: 150px;
  left: 70px;
  width: 70px;
}

.icon-linkedin img {
  width: 56px;
  height: auto;
}

.icon-music {
  top: 250px;
  left: 200px;
}

.icon-vimeo {
  top: 600px;
  left: 120px;
}

.icon-about {
  top: 40px;
  left: 200px;
}

.icon-archive {
  top: 430px;
  left: 90px;
}

.icon-secret-folder {
  top: 600px;
  left: 1350px;
}

.icon-about img {
  width: 72px;
  height: auto;
}

.icon-archive img {
  width: 64px;
  height: auto;
}

.icon-secret-folder img {
  width: 72px;
  height: auto;
}

/* =========================
   MAIN PAINT WINDOW
========================= */
.win95-window {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 500px;
  height: 500px;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  background: #fcd7f7;
  box-shadow: 6px 6px 0 #eb2ea2dc;
  border-top: 2px solid #ffe6fa;
  border-left: 2px solid #ffe6fa;
  border-right: 2px solid #de59ab;
  border-bottom: 2px solid #de59ab;
}

.title-bar,
.archive-title-bar,
.about-title-bar,
.secret-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 8px;
  box-sizing: border-box;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  background: linear-gradient(to right, #e0009d, #f5b5ff);
}

.title-bar {
  height: 28px;
  padding: 0 6px;
}

.archive-title-bar,
.about-title-bar,
.secret-title-bar {
  cursor: move;
  user-select: none;
  font-family: "Windows 95", Monaco, monospace;
}

.title-buttons {
  display: flex;
  gap: 4px;
}

.title-buttons span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #df0e8f;
  font-size: 10px;
  line-height: 1;
  background: #ffe6fa;
  border-top: 1px solid #ffe6fa;
  border-left: 1px solid #ffe6fa;
  border-right: 1px solid #9d0a65b5;
  border-bottom: 1px solid #ad0e70;
}

.window-body {
  height: calc(100% - 28px);
  padding: 10px;
  box-sizing: border-box;
  background: #ff9fda;
}

.paint-area {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background: #fff;
  border-top: 2px solid #a1859f;
  border-left: 2px solid #a1859f;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

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

/* =========================
   HEART
========================= */
.heart {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  transform: rotate(-45deg);
  background: #ff56c1;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #ff56c1;
}

.heart::before {
  top: -100px;
  left: 0;
}

.heart::after {
  top: 0;
  left: 100px;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 160px;
  text-align: center;
  transform: translate(-50%, -50%) rotate(45deg);
}

.content h1 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #b8eaff;
}

.content p {
  margin: 8px 0;
  font-size: 12px;
  color: #ffd8fb;
}

.big {
  font-size: 22px;
}

/* =========================
   SHARED WINDOW BUTTONS
========================= */
.archive-close,
.about-close,
.close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: none;
  color: #d1138b;
  font-size: 14px;
  line-height: 1;
  background: #ffe6fa;
  font-family: "Windows 95", Monaco, monospace;
  border-top: 1px solid #fff3fd;
  border-left: 1px solid #fff3fd;
  border-right: 1px solid #a7176d;
  border-bottom: 1px solid #a7176d;
}

/* =========================
   ARCHIVE + VIDEO WINDOWS
========================= */
.archive-window {
  position: fixed;
  top: 90px;
  right: 90px;
  z-index: 20;
  width: 550px;
  height: 550px;
  overflow: hidden;
  box-sizing: border-box;
  background: #ffd4f1;
  box-shadow: 8px 8px 0 #e248a8;
  border-top: 2px solid #fff0fb;
  border-left: 2px solid #fff0fb;
  border-right: 2px solid #c94b96;
  border-bottom: 2px solid #c94b96;
}

.archive-body {
  height: calc(100% - 30px);
  padding: 12px;
  overflow-y: auto;
  box-sizing: border-box;
  background: #ffb7e3;
}

.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.archive-grid img,
.cat-gallery img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #fff;
  border-top: 2px solid #9f7e95;
  border-left: 2px solid #9f7e95;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.archive-image {
  cursor: pointer;
}

.archive-link {
  display: inline-block;
  margin-top: 4px;
  color: #fff;
  font-size: 13px;
  text-decoration: underline;
  text-shadow: 1px 1px 0 #d94ca4;
  font-family: "Windows 95", Monaco, monospace;
}

.archive-link:hover {
  opacity: 0.85;
}

/* =========================
   VIDEO ARCHIVE
========================= */
.video-grid {
  align-items: start;
}

.video-thumb {
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 0 #d94ca4;
  font-family: "Windows 95", Monaco, monospace;
}

.video-thumb img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  image-rendering: pixelated;
}

.video-thumb p {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.2;
}

/* =========================
   ABOUT WINDOW
========================= */
.about-window {
  position: fixed;
  top: 120px;
  left: 140px;
  z-index: 25;
  width: 550px;
  height: 500px;
  overflow: hidden;
  box-sizing: border-box;
  background: #ffd4f1;
  box-shadow: 8px 8px 0 #e248a8;
  border-top: 2px solid #fff0fb;
  border-left: 2px solid #fff0fb;
  border-right: 2px solid #c94b96;
  border-bottom: 2px solid #c94b96;
}

.about-body {
  height: calc(100% - 30px);
  padding: 14px;
  box-sizing: border-box;
  overflow-y: auto;
  background: #ffb7e3;
}

.about-inner {
  padding: 14px;
  background: #fff8fd;
  border-top: 2px solid #9f7e95;
  border-left: 2px solid #9f7e95;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.about-kicker {
  margin: 0 0 10px;
  color: #d94ca4;
  font-size: 12px;
}

.about-inner h2 {
  margin: 0 0 12px;
  color: #e0009d;
  font-size: 20px;
}

.about-inner p {
  margin: 0 0 12px;
  color: #7a4670;
  font-size: 13px;
  line-height: 1.45;
}

/* =========================
   SECRET WINDOW
========================= */
.secret-window {
  position: fixed;
  top: 140px;
  left: 180px;
  z-index: 30;
  width: 520px;
  height: 420px;
  overflow: hidden;
  box-sizing: border-box;
  background: #ffd4f1;
  box-shadow: 8px 8px 0 #e248a8;
  border-top: 2px solid #fff0fb;
  border-left: 2px solid #fff0fb;
  border-right: 2px solid #c94b96;
  border-bottom: 2px solid #c94b96;
}

.secret-window-content {
  height: calc(100% - 30px);
  padding: 12px;
  overflow-y: auto;
  box-sizing: border-box;
  background: #ffb7e3;
}

.cat-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* =========================
   IMAGE + VIDEO LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.8);
}

.lightbox.hidden {
  display: none;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  border: 4px solid #ffd6f0;
  box-shadow: 0 0 30px rgba(255, 182, 219, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 5100;

  width: 34px;
  height: 34px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 25px;
  line-height: 1;

  background: #ff9fd0;
  border: 2px solid #ff79aa;

  font-family: "Windows 95", Monaco, monospace;
}

.video-lightbox-content {
  width: min(900px, 90vw);
  background: #ffd4f1;
  padding: 14px;
  box-shadow: 8px 8px 0 #e248a8;
  border-top: 2px solid #fff0fb;
  border-left: 2px solid #fff0fb;
  border-right: 2px solid #c94b96;
  border-bottom: 2px solid #c94b96;
}

.video-frame-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-top: 2px solid #9f7e95;
  border-left: 2px solid #9f7e95;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.video-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================
   MOBILE NAV
========================= */
.mobile-nav {
  display: none;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  html,
  body,
  * {
    cursor: auto !important;
  }

  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  body {
    position: relative;
    display: block;
    min-height: 100vh;
    padding: 0;
    background-size: 260px;
  }

  body::before {
    backdrop-filter: blur(1.5px);
  }

  .custom-cursor,
  .desktop-icons,
  .desktop-icon {
    display: none !important;
  }

  .sparkle {
    font-size: 14px;
  }

  .win95-window {
    position: fixed;
    top: 20px;
    left: 50%;
    width: calc(100vw - 32px);
    max-width: 430px;
    height: 320px;
    margin: 0;
    transform: translateX(-50%);
    z-index: 20;
  }

  .window-body {
    height: calc(100% - 28px);
  }

  .paint-area {
    min-height: 0;
    height: 100%;
  }

  .heart {
    position: fixed;
    top: 165px;
    left: 50%;
    width: 120px;
    height: 120px;
    margin: 0;
    transform: translateX(-50%) rotate(-45deg);
    z-index: 50;
  }

  .heart::before,
  .heart::after {
    width: 120px;
    height: 120px;
  }

  .heart::before {
    top: -60px;
    left: 0;
  }

  .heart::after {
    top: 0;
    left: 60px;
  }

  .content {
    width: 95px;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .content h1 {
    margin: 0 0 6px;
    font-size: 12px;
  }

  .content p {
    margin: 3px 0;
    font-size: 8px;
    line-height: 1.2;
  }

  .big {
    font-size: 14px;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    position: fixed;
    left: 50%;
    bottom: 0;
    width: calc(100vw - 40px);
    max-width: 320px;
    transform: translateX(-50%);
    z-index: 60;
  }

  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 90px;
    color: #fff;
    font-size: 11px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #d94ca4;
    font-family: "Windows 95", Monaco, monospace;
  }

  .mobile-nav img {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    object-fit: contain;
    image-rendering: pixelated;
  }

  .mobile-nav span {
    display: block;
    text-align: center;
    line-height: 1.2;
  }

  .archive-window,
  .about-window,
  .secret-window {
    position: fixed;
    top: 70px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100vw - 24px);
    max-width: 420px;
    height: 70vh;
    z-index: 100;
  }

  .archive-grid,
  .cat-gallery {
    grid-template-columns: 1fr;
  }

  .archive-grid img,
  .cat-gallery img,
  .video-thumb img {
    height: auto;
  }

  .video-lightbox-content {
    width: calc(100vw - 36px);
    padding: 10px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-close {
    top: 12px;
    right: 16px;
    font-size: 20px;
  }
}
