/* Aether 全局：正文 Nunito、标题 Bricolage 在 HTML 中配合使用 */

.font-nunito {
  font-family: "Nunito", ui-sans-serif, system-ui, sans-serif;
}

/* Google Material Symbols（Outlined） */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined.text-base {
  font-size: 1rem;
}
.material-symbols-outlined.text-lg {
  font-size: 1.125rem;
}

/* 与主视觉 h1 一致的区块标题 */
.aether-heading {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.aether-heading-gradient {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(to bottom, rgb(23 23 23), rgb(115 115 115));
}
@media (prefers-color-scheme: dark) {
  .aether-heading-gradient {
    background-image: linear-gradient(to bottom, rgb(255 255 255), rgb(163 163 163));
  }
}

/* 云朵形卡片 */
.cloud-card {
  position: relative;
  border-radius: 3.75rem 4.25rem 3.25rem 4.5rem / 3.25rem 3.75rem 4rem 3.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 24px 64px -24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
@media (prefers-color-scheme: dark) {
  .cloud-card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 12, 0.88);
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.4),
      0 28px 72px -28px rgba(0, 0, 0, 0.65),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}

/* 创作工作台：乌云遮罩 */
.recommend-section {
  position: relative;
  isolation: isolate;
  min-height: min(72vh, 820px);
  overflow: hidden;
}

.recommend-cloud-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.6s ease 0.85s;
}

.recommend-cloud {
  position: absolute;
  top: -12%;
  bottom: -12%;
  width: 58%;
  max-width: 720px;
  transition:
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.1s ease 0.15s;
  opacity: 1;
  will-change: transform, opacity;
}

.recommend-cloud--left {
  left: -8%;
  transform: translateX(0);
  background:
    radial-gradient(ellipse 95% 75% at 85% 28%, #1e293b 0%, transparent 52%),
    radial-gradient(ellipse 80% 65% at 55% 72%, #334155 0%, transparent 48%),
    radial-gradient(ellipse 70% 55% at 92% 58%, #475569 0%, transparent 45%),
    linear-gradient(100deg, #0f172a 0%, #1e293b 35%, rgba(51, 65, 85, 0.97) 100%);
  filter: drop-shadow(4px 8px 24px rgba(0, 0, 0, 0.35));
}

.recommend-cloud--right {
  right: -8%;
  transform: translateX(0);
  background:
    radial-gradient(ellipse 95% 75% at 15% 32%, #1e293b 0%, transparent 52%),
    radial-gradient(ellipse 80% 65% at 45% 68%, #334155 0%, transparent 48%),
    radial-gradient(ellipse 70% 55% at 8% 55%, #475569 0%, transparent 45%),
    linear-gradient(260deg, #0f172a 0%, #1e293b 35%, rgba(51, 65, 85, 0.97) 100%);
  filter: drop-shadow(-4px 8px 24px rgba(0, 0, 0, 0.35));
}

.recommend-section.recommend-section--revealed .recommend-cloud--left {
  transform: translateX(-108%);
  opacity: 0;
}

.recommend-section.recommend-section--revealed .recommend-cloud--right {
  transform: translateX(108%);
  opacity: 0;
}

.recommend-section.recommend-section--revealed .recommend-cloud-layer {
  opacity: 0;
  pointer-events: none;
}

.recommend-section-inner {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .recommend-cloud {
    transition: none !important;
  }
  .recommend-cloud-layer {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: none !important;
  }
}

/* 工具区：整块卡片容器 */
.tools-card-shell {
  position: relative;
  border-radius: 1.85rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 20px 56px -28px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .tools-card-shell {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(12, 12, 14, 0.92);
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.3),
      0 24px 64px -32px rgba(0, 0, 0, 0.55);
  }
}
