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

body {
  font-family: "Roboto Mono", monospace;
  background-color: #ffffff;
  overflow: hidden;
  min-height: 100vh;
}

.name-header {
  position: fixed;
  top: 10px;
  left: 10px;
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
  z-index: 100;
  letter-spacing: 0.5px;
  mix-blend-mode: difference;
  pointer-events: auto;
}

.navigation {
  position: fixed;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 100;
  margin-top: 20px;
  mix-blend-mode: difference;
  pointer-events: auto;
}

.navigation-right {
  position: fixed;
  right: 15px;
  top: 10px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  z-index: 100;
  mix-blend-mode: difference;
  pointer-events: auto;
}

.navigation-right .nav-link {
  color: #ffffff;
}

.nav-link {
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.nav-link:hover {
  opacity: 0.6;
}

.nav-link.active {
  font-style: italic;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  animation: underlineSlide 0.4s ease-out;
}

@keyframes underlineSlide {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}


section {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.slider-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

.slider-right {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 5px;
  max-width: 600px;
  z-index: 101;
  pointer-events: none;
  mix-blend-mode: difference;
}

.slide-header {
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
  text-align: right;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.slide-description {
  font-family: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-align: right;
  line-height: 1.3;
  max-width: 100%;
  align-self: flex-end;
  margin-top: 0px;
  padding-top: 0px;
}

.slide-counter {
  font-family: "Roboto Mono", monospace;
  font-size: 80px;
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 100;
  line-height: 1;
  mix-blend-mode: difference;
}

.coming-soon {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  z-index: 50;
}

.about-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  z-index: 50;
}

.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #999999;
  border-radius: 50%;
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, font-size 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto Mono", monospace;
  font-size: 0px;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
}

.custom-cursor.visible {
  width: 10px;
  height: 10px;
}

.custom-cursor.pulse {
  animation: cursorPulse 0.3s ease-out;
}

@keyframes cursorPulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.4); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

body,
canvas {
  cursor: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  body,
  canvas {
    cursor: default;
  }

  .custom-cursor {
    display: none;
  }

  .name-header {
    font-size: 12px;
    top: 8px;
    left: 8px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-stroke: 0.2px;
  }

  .navigation {
    left: 8px;
    gap: 1px;
    margin-top: 0;
  }

  .navigation-right {
    right: 8px;
    top: 8px;
    gap: 2px;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 11px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-stroke: 0.2px;
  }

  .slide-counter {
    font-size: 40px;
    bottom: 10px;
    left: 8px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-stroke: 0.5px;
  }

  .slider-right {
    right: 8px;
    bottom: 10px;
    max-width: calc(100% - 180px);
  }

  .slide-header {
    font-size: 11px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-stroke: 0.2px;
  }

  .slide-description {
    font-size: 10px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}

@media (max-width: 480px) {
  .name-header {
    font-size: 10px;
    top: 6px;
    left: 6px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-stroke: 0.2px;
  }

  .navigation {
    left: 6px;
  }

  .navigation-right {
    right: 6px;
    top: 6px;
    gap: 2px;
    flex-direction: column;
    align-items: flex-end;
  }

  .nav-link {
    font-size: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-stroke: 0.2px;
  }

  .slide-counter {
    font-size: 32px;
    bottom: 8px;
    left: 6px;
  }

  .slider-right {
    right: 6px;
    bottom: 8px;
    max-width: calc(100% - 150px);
  }

  .slide-header {
    font-size: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-stroke: 0.2px;
  }

  .slide-description {
    font-size: 9px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}

/* Prevent text selection on mobile during touch */
@media (hover: none) and (pointer: coarse) {
  * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
}
