:root {
  --bg: #000000;
  --fg: #ffffff;
  --fg-dim: #a0a0a1;
  --logo-color: #ff6a3d;
  --font: 'Archivo Black', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Archivo Black', var(--font);

  /* Color del texto "Coming soon...": cámbialo aquí */
  --coming-soon-color: #212121;

  /* Tamaño del logo: sube o baja estos valores para hacerlo más grande o pequeño */
  --logo-width: clamp(260px, 30vw, 480px);
}

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

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

body {
  font-family: var(--font);
  color: var(--fg);
}

/* Solo ocultamos el cursor del sistema en dispositivos con ratón de verdad;
   en móvil/tablet (sin ratón) no tocamos nada. */
@media (pointer: fine) {
  body {
    cursor: none;
  }
}

/* --- Cursor personalizado --- */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.15s ease;
}

#custom-cursor.is-visible {
  opacity: 1;
}

#custom-cursor svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cursor-ring {
  transform-origin: 21.89px 21.75px;
  animation: cursor-spin 6s linear infinite;
}

@keyframes cursor-spin {
  to {
    transform: rotate(360deg);
  }
}

/* En táctil no hay ratón que seguir: escondemos el cursor personalizado
   y dejamos el comportamiento normal del dispositivo. */
@media (pointer: coarse) {
  #custom-cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-ring {
    animation: none;
  }
}

/* --- Logo que rebota --- */
#bouncing-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--logo-width);
  height: auto;
  display: block;
  z-index: 6;
  will-change: transform;
  pointer-events: none;
  user-select: none;
}

/* --- Línea inferior, repartida a lo ancho de toda la pantalla --- */
.contact-line {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
  flex-wrap: wrap;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  font-size: clamp(0.78rem, 1.4vw, 0.98rem);
  letter-spacing: 0.02em;
}

.rights,
.coming-soon {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
}

.coming-soon {
  color: var(--fg);
}

.socials {
  display: flex;
  align-items: center;
  gap: 1.5em;
  flex-wrap: wrap;
}

.contact-line a {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--fg-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-line a.reel-link,
.contact-line a.about-link {
  color: #ffffff;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  color: var(--fg);
  border-color: var(--fg-dim);
}

/* --- Coming soon, en grande, pegado al borde inferior --- */
.coming-soon-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -0.06em;
  z-index: 1;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3.5rem, 13vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: -0.01em;
  color: var(--coming-soon-color);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.coming-soon-banner .dots {
  display: inline-block;
  width: 0.9em; /* hueco fijo para 3 puntos, así el texto no "baila" */
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon-banner .dots::after {
    content: '...';
  }
}
@media (prefers-reduced-motion: reduce) {
  #bouncing-logo {
    top: 20%;
    left: 20%;
    transform: none !important;
    transition: none;
  }
}

/* --- Móvil: línea central en vertical + "Coming soon" vertical a la derecha --- */
@media (max-width: 640px) {
  .contact-line {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding-left: clamp(1.25rem, 6vw, 2rem);
    padding-right: clamp(3rem, 18vw, 4.5rem); /* deja hueco al "Coming soon" vertical */
    font-size: 0.85rem;
    max-width: 78%;
  }

  .socials {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9em;
  }

  .reel-link,
  .about-link {
    font-size: 1.45em; /* botones de página (Reel/About) ligeramente más grandes que el resto */
  }

  .coming-soon-banner {
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    height: auto; /* se estira solo por el top:0 + bottom:0 */
    width: clamp(3.5rem, 13vh, 6rem); /* grosor de la franja vertical */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2.2rem, 10vh, 5.5rem);
    line-height: 1;
  }

  .coming-soon-inner {
    display: inline-block;
    white-space: nowrap;
    transform: rotate(-90deg);
  }

  .coming-soon-banner .dots {
    width: 0.9em;
    text-align: left;
  }
}
