/* ===== Design tokens（取自 Figma） ===== */
:root {
  --color-bg: #0a0d14;
  --color-surface: #0d121c;
  --color-cyan: #00f0ff;
  --color-cyan-light: #67e8f9;
  --color-text: #ffffff;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;

  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1,
p,
figure {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

/* ===== 外層區塊 ===== */
.maintenance {
  position: relative;
  overflow: hidden; /* 裁掉超出範圍的光暈 */
  padding: 32px 64px;
  background: var(--color-bg);
}

.maintenance__glow {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  border-radius: var(--radius-full);
  background: linear-gradient(
    to bottom,
    rgba(6, 182, 212, 0.1),
    rgba(0, 240, 255, 0.05) 50%,
    rgba(0, 240, 255, 0)
  );
  filter: blur(70px);
  pointer-events: none;
}

.maintenance__container {
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== Hero：左右兩欄 ===== */
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 標籤 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  background: rgba(8, 51, 68, 0.4);
  color: var(--color-cyan-light);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
}

/* 標題 */
.hero__title {
  margin-top: 24px;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
}

/* 說明 */
.hero__desc {
  max-width: 576px;
  margin-top: 24px;
  color: var(--color-text-secondary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.625;
}

/* 保全提示 */
.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.hero__note-icon {
  flex-shrink: 0;
  width: 16.5px;
  height: 16.5px;
  color: var(--color-cyan);
}

/* ===== 右側主視覺 ===== */
.artwork {
  padding: 1px; /* 漸層描邊 */
  border-radius: var(--radius-lg);
  background: linear-gradient(
    to bottom,
    rgba(6, 182, 212, 0.2),
    rgba(30, 41, 59, 0.4) 50%,
    rgba(30, 41, 59, 0)
  );
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.artwork__inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.artwork__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 底部暗色漸層遮罩 */
.artwork__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--color-bg),
    rgba(10, 13, 20, 0) 50%,
    rgba(10, 13, 20, 0)
  );
  opacity: 0.6;
  pointer-events: none;
}

/* ===== RWD ===== */
@media (max-width: 1024px) {
  .maintenance {
    padding: 32px 24px;
  }

  .maintenance__container {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .maintenance {
    padding: 48px 16px;
  }

  .maintenance__glow {
    width: 120%;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .hero__note {
    margin-top: 32px;
  }
}
