.aiu-page {
  background:
    radial-gradient(circle at 12% 2%, rgba(116, 82, 255, .13), transparent 28rem),
    radial-gradient(circle at 92% 20%, rgba(0, 202, 255, .08), transparent 32rem),
    #08090d;
}

.aiu-main { padding-top: 34px; padding-bottom: 88px; }

.aiu-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .58fr);
  gap: 28px;
  align-items: stretch;
  padding: 42px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20,22,32,.96), rgba(10,11,17,.88));
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}

.aiu-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  top: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120,87,255,.25), rgba(120,87,255,0) 68%);
  pointer-events: none;
}

.aiu-hero-copy { position: relative; z-index: 1; max-width: 840px; }
.aiu-hero h1 { margin: 7px 0 14px; font-size: clamp(48px, 7vw, 92px); line-height: .9; letter-spacing: -.055em; }
.aiu-lede { margin: 0; max-width: 760px; color: rgba(238,241,248,.77); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.62; }

.aiu-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.aiu-hero-meta span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(238,241,248,.68);
  font-size: 12px;
  letter-spacing: .02em;
}
.aiu-hero-meta strong { color: #fff; font-weight: 750; }

.aiu-pulse {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(122, 99, 255, .3);
  background: linear-gradient(160deg, rgba(115,87,255,.14), rgba(255,255,255,.035));
}
.aiu-pulse-head { display: flex; align-items: center; gap: 8px; color: #bcb1ff; font: 800 11px/1.2 Manrope, sans-serif; letter-spacing: .12em; }
.aiu-pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #55e6a5; box-shadow: 0 0 0 5px rgba(85,230,165,.1), 0 0 18px rgba(85,230,165,.45); }
.aiu-pulse.is-warn .aiu-pulse-dot { background: #ffbf5b; box-shadow: 0 0 0 5px rgba(255,191,91,.1); }
.aiu-pulse strong { margin-top: 19px; font-size: 24px; letter-spacing: -.025em; }
.aiu-pulse p { margin: 8px 0 18px; color: rgba(238,241,248,.65); line-height: 1.5; }
.aiu-updated { color: rgba(238,241,248,.46); font-size: 12px; }

.aiu-discord {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin: 22px 0 42px;
  padding: 22px 24px;
  border: 1px solid rgba(88,101,242,.28);
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(88,101,242,.13), rgba(88,101,242,.045));
}
.aiu-discord-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #5865f2; color: white; font-size: 28px; font-weight: 900; box-shadow: 0 9px 30px rgba(88,101,242,.28); }
.aiu-discord-kicker, .aiu-section-kicker { color: #9e91ff; font: 800 11px/1.2 Manrope, sans-serif; letter-spacing: .12em; }
.aiu-discord h2 { margin: 4px 0 3px; font-size: 20px; }
.aiu-discord p { margin: 0; color: rgba(238,241,248,.6); font-size: 13px; }
.aiu-discord-actions { display: flex; gap: 10px; align-items: center; }
.aiu-secondary { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; color: #fff; text-decoration: none; font-size: 13px; font-weight: 750; background: rgba(255,255,255,.04); }
.aiu-secondary:hover { background: rgba(255,255,255,.08); }

.aiu-controls { display: flex; justify-content: space-between; gap: 22px; align-items: end; margin-bottom: 18px; }
.aiu-controls h2, .aiu-coverage h2, .aiu-method h2 { margin: 5px 0 0; font-size: clamp(24px, 3vw, 35px); letter-spacing: -.035em; }
.aiu-filter-wrap { display: flex; gap: 8px; align-items: center; max-width: 58%; overflow: hidden; }
.aiu-filter-scroll { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.aiu-filter-scroll::-webkit-scrollbar { display: none; }
.aiu-filter { flex: 0 0 auto; min-height: 37px; padding: 0 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.035); color: rgba(238,241,248,.72); font: 700 12px/1 Manrope, sans-serif; cursor: pointer; }
.aiu-filter span { margin-left: 4px; opacity: .58; }
.aiu-filter:hover { border-color: rgba(158,145,255,.45); color: #fff; }
.aiu-filter.is-active { color: #fff; border-color: rgba(143,120,255,.68); background: rgba(121,91,255,.18); box-shadow: inset 0 0 0 1px rgba(143,120,255,.08); }

.aiu-status { min-height: 22px; margin: 0 0 12px; color: rgba(238,241,248,.5); font-size: 12px; }
.aiu-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.aiu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 235px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(18,20,28,.92), rgba(12,13,19,.95));
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.aiu-card::after { content: ""; position: absolute; inset: auto -80px -100px auto; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(120,87,255,.07), transparent 70%); pointer-events: none; }
.aiu-card:hover { transform: translateY(-2px); border-color: rgba(144,126,255,.28); background: linear-gradient(145deg, rgba(22,24,34,.96), rgba(13,14,21,.98)); }
.aiu-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 17px; }
.aiu-provider { display: inline-flex; gap: 9px; align-items: center; min-width: 0; color: #fff; font-size: 12px; font-weight: 800; }
.aiu-provider-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; border: 1px solid rgba(255,255,255,.1); background: rgba(122,93,255,.13); color: #c6bcff; font-size: 10px; letter-spacing: -.02em; }
.aiu-date { color: rgba(238,241,248,.45); font-size: 11px; white-space: nowrap; }
.aiu-card h3 { margin: 0 0 10px; color: #fff; font-size: clamp(18px, 2vw, 23px); line-height: 1.15; letter-spacing: -.025em; }
.aiu-card p { margin: 0 0 20px; color: rgba(238,241,248,.64); font-size: 13px; line-height: 1.58; }
.aiu-card-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.065); }
.aiu-official { color: #b3a7ff; text-decoration: none; font-size: 12px; font-weight: 800; }
.aiu-official:hover { color: #d3ccff; }
.aiu-discord-state { color: rgba(238,241,248,.35); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }

.aiu-empty { grid-column: 1 / -1; padding: 42px 28px; border: 1px dashed rgba(255,255,255,.12); border-radius: 20px; text-align: center; color: rgba(238,241,248,.58); }
.aiu-empty strong { display: block; margin-bottom: 7px; color: #fff; font-size: 20px; }

.aiu-coverage { margin-top: 52px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.075); }
.aiu-coverage-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 18px; }
.aiu-coverage-head > p { max-width: 430px; margin: 0; color: rgba(238,241,248,.5); font-size: 13px; line-height: 1.5; text-align: right; }
.aiu-source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.aiu-source {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
}
.aiu-source-light { width: 8px; height: 8px; border-radius: 50%; background: #55e6a5; box-shadow: 0 0 12px rgba(85,230,165,.32); }
.aiu-source.is-error .aiu-source-light { background: #ff7c6e; box-shadow: 0 0 12px rgba(255,124,110,.26); }
.aiu-source strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.aiu-source small { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(238,241,248,.4); font-size: 10px; }
.aiu-source a { color: rgba(238,241,248,.45); text-decoration: none; font-size: 15px; }
.aiu-source a:hover { color: #fff; }

.aiu-method { margin-top: 44px; padding: 32px; border: 1px solid rgba(255,255,255,.08); border-radius: 22px; background: rgba(255,255,255,.025); }
.aiu-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.aiu-method article { padding: 18px; border-radius: 15px; background: rgba(255,255,255,.032); }
.aiu-method article strong { display: block; margin-bottom: 7px; font-size: 14px; }
.aiu-method article p { margin: 0; color: rgba(238,241,248,.5); font-size: 12px; line-height: 1.55; }

@media (max-width: 900px) {
  .aiu-main { padding-top: 20px; }
  .aiu-hero { grid-template-columns: 1fr; padding: 30px; }
  .aiu-pulse { min-height: 0; }
  .aiu-discord { grid-template-columns: auto 1fr; }
  .aiu-discord-actions { grid-column: 1 / -1; padding-left: 68px; }
  .aiu-controls { align-items: stretch; flex-direction: column; }
  .aiu-filter-wrap { max-width: none; }
  .aiu-feed { grid-template-columns: 1fr; }
  .aiu-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aiu-method-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .aiu-main { padding-left: 14px; padding-right: 14px; }
  .aiu-hero { padding: 24px 20px; border-radius: 22px; }
  .aiu-hero h1 { font-size: clamp(46px, 17vw, 70px); }
  .aiu-lede { font-size: 15px; }
  .aiu-hero-meta span { font-size: 10px; }
  .aiu-discord { grid-template-columns: 1fr; padding: 20px; }
  .aiu-discord-mark { display: none; }
  .aiu-discord-actions { grid-column: auto; padding-left: 0; align-items: stretch; flex-direction: column; }
  .aiu-discord-actions .btn, .aiu-secondary { justify-content: center; }
  .aiu-card { min-height: 0; padding: 18px; }
  .aiu-coverage-head { align-items: start; flex-direction: column; }
  .aiu-coverage-head > p { text-align: left; }
  .aiu-source-grid { grid-template-columns: 1fr; }
  .aiu-method { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .aiu-card { transition: none; }
  .aiu-card:hover { transform: none; }
}
