:root {
  --typeMain: 'Cutive Mono';
}


/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
  font-family: var(--typeMain), monospace;
  color: #ffffff;
}

/* Canvas styling (Desktop) */
#glitchCanvas {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Hide fallback image on desktop */
#mobileFallback {
  display: none;
}

/* UI Overlay Container */
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  pointer-events: none;
}

/* Bottom Left Card Container */
.bottom-left-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem 2rem;
  border-left: 3px solid #ffffff;
  max-width: fit-content;
  height: 300px;
}

.giant-name {
  font-family: 'Helvetica';
  font-weight: 900;
  font-size: clamp(2.5rem, 10vw, 7rem);
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: #ffffff;
  user-select: none;
}

.giant-name span {
  display: block;
  white-space: nowrap;
  word-break: keep-all;
}

/* ==========================================
   CONTACT REVEAL STYLES
   ========================================== */
.contact-block {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.reveal-trigger {
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
}

.reveal-trigger:hover {
  opacity: 0.65;
  text-decoration: underline;
}

.contact-info-revealed {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  user-select: text;
}

/* ==========================================
   MOBILE RESPONSIVE OVERRIDES (<768px)
   ========================================== */
@media (max-width: 768px) {
  #glitchCanvas {
    display: none !important;
  }

  #mobileFallback {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
    z-index: 1;
  }

  .overlay {
    padding: 1.25rem;
  }

  .bottom-left-container {
    width: 100%;
    height: 150px;
    max-width: 100%;
    padding: 1.25rem;
    gap: 1rem;
  }

  .giant-name {
    font-size: clamp(1.8rem, 9vw, 3.5rem);
  }

  .contact-block {
    font-size: 0.85rem;
  }
}
