
/* ==========================================
   AI INTRO NOTICE
   FILE: css/intro.css
========================================== */

.ai-intro-notice {
  position: absolute;
  inset: 0;
  z-index: 120;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 40px 6%;
  box-sizing: border-box;

  background: #101010;
  color: #fff;

  overflow: hidden;
  pointer-events: none;
}

/* Subtle background grid */
.ai-intro-notice::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(230,57,70,0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(230,57,70,0.045) 1px,
      transparent 1px
    );

  background-size: 70px 70px;
  mask-image: radial-gradient(
    ellipse at center,
    #000 15%,
    transparent 80%
  );

  pointer-events: none;
}

/* Top information */
.ai-intro-top {
  position: absolute;
  top: 38px;
  left: 6%;
  right: 6%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 2px;
}

.ai-intro-status {
  color: #e63946;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ai-intro-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e63946;
  box-shadow: 0 0 12px rgba(230,57,70,0.7);
  animation: intro-dot-pulse 1.8s infinite;
}

.ai-intro-index {
  color: #777;
}

/* Center content */
.ai-intro-center {
  position: relative;
  max-width: 900px;
  text-align: center;
}

.ai-intro-eyebrow {
  margin-bottom: 26px;
  color: #e63946;

  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.ai-intro-center h2 {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.ai-intro-center h2 span {
  color: #e63946;
}

.ai-intro-center p {
  max-width: 600px;
  margin: 30px auto 0;

  color: #aaa;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.8;
}

/* Floating scroll indicator */
.ai-intro-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  white-space: nowrap;

  animation: intro-float 2.5s ease-in-out infinite;
}

.ai-scroll-mouse {
  width: 23px;
  height: 36px;
  border: 1px solid #e63946;
  border-radius: 15px;
  position: relative;
}

.ai-scroll-mouse span {
  position: absolute;
  width: 3px;
  height: 7px;
  background: #e63946;
  border-radius: 3px;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);

  animation: intro-wheel 1.7s infinite;
}

.ai-scroll-arrows {
  display: flex;
  flex-direction: column;
  line-height: 9px;
  color: #e63946;
  font-size: 22px;
}

/* Animations */
@keyframes intro-float {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

@keyframes intro-wheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

@keyframes intro-dot-pulse {
  50% {
    opacity: 0.35;
  }
}

@media (max-width: 768px) {
  .ai-intro-notice {
    padding: 30px 24px;
  }

  .ai-intro-top {
    left: 24px;
    right: 24px;
    top: 24px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .ai-intro-center h2 {
    font-size: clamp(34px, 8vw, 54px);
  }

  .ai-intro-scroll {
    bottom: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-intro-dot,
  .ai-intro-scroll,
  .ai-scroll-mouse span {
    animation: none;
  }
}
