/* AI NIIGATA content styles 01/10 */
:root {
  --ain-paper: #f3f7f5;
  --ain-paper-deep: #e7f0ed;
  --ain-card: rgba(255, 255, 255, 0.92);
  --ain-navy: #071820;
  --ain-ink: #12303b;
  --ain-soft-ink: #5c747c;
  --ain-aqua: #8fe4ee;
  --ain-gold: #fbd784;
  --ain-line: rgba(11, 43, 54, 0.12);
  --ain-shadow: 0 24px 70px rgba(6, 31, 40, 0.11);
}

html:has(.ai-niigata-content-body) {
  background: var(--ain-paper);
}

.ai-niigata-content-body {
  min-width: 320px;
  color: var(--ain-ink);
  background:
    radial-gradient(circle at 12% 32%, rgba(143, 228, 238, 0.13), transparent 24%),
    radial-gradient(circle at 88% 70%, rgba(251, 215, 132, 0.11), transparent 24%),
    var(--ain-paper);
}

.ai-niigata-content-body .loader,
.ai-niigata-content-body .sound-toggle,
.ai-niigata-content-body .cursor-glow,
.ai-niigata-content-body #ambient-canvas {
  display: none;
}

.ain-content-page {
  min-height: 100vh;
  overflow: hidden;
}

.ain-content-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--ain-navy);
}

.ain-content-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 170px;
  background: linear-gradient(180deg, transparent, var(--ain-paper));
  pointer-events: none;
}

.ain-content-hero-photo,
.ain-content-hero-grid,
.ain-content-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ain-content-hero-photo {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(7, 24, 32, 0.94) 0%, rgba(7, 24, 32, 0.72) 46%, rgba(7, 24, 32, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 24, 32, 0.1), rgba(7, 24, 32, 0.88)),
    url("assets/main-hero-v2.jpg") center 44% / cover no-repeat;
  transform: scale(1.035);
  animation: ainHeroDrift 22s ease-in-out infinite alternate;
}
