/* ==========================================================================
   TITAN WEB DESIGNS — SURREALIST DETAILS & MOTION (CSS)
   ========================================================================== */

/* --- CUSTOM MINIMALIST CURSOR --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-red);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background-color 0.2s ease, border-radius 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.custom-cursor.cursor-view {
  width: 72px;
  height: 72px;
  font-size: 11px;
  background-color: var(--ink);
  border: 2px solid var(--accent-red);
  box-shadow: 4px 4px 0px var(--accent-red);
}

.custom-cursor.cursor-go {
  width: 64px;
  height: 64px;
  font-size: 11px;
  background-color: var(--accent-red);
  box-shadow: 4px 4px 0px var(--ink);
}

@media (pointer: coarse), (max-width: 1024px) {
  .custom-cursor {
    display: none !important;
  }
}

/* --- CINEMATIC PRELOADER SCREEN --- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--bg-cream);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

#preloader.loaded {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.preloader-counter {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  color: var(--accent-red);
}

.preloader-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  text-transform: uppercase;
  max-width: 800px;
  line-height: 1.05;
}

/* --- SURREAL EYE TRACKING ELEMENT --- */
.surreal-eye-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 28px;
  background: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  margin: 0 8px;
  vertical-align: middle;
}

.surreal-pupil {
  width: 14px;
  height: 14px;
  background: var(--accent-red);
  border-radius: 50%;
  position: absolute;
  transition: transform 0.08s ease-out;
}

/* --- FULLSCREEN MOBILE DRAWER --- */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--bg-cream);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-editorial);
}

.mobile-nav-drawer.active {
  transform: translateX(0%);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bg-cream);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--accent-red);
}
