.page-home {
  --home-accent: #00FFAA;
  --home-gold: #FFD700;
  --home-glass: rgba(15, 36, 64, 0.72);
  --home-line: rgba(0, 255, 170, 0.18);
  --home-gold-line: rgba(255, 215, 0, 0.28);
  position: relative;
}

.page-home .home-context {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
  font-family: var(--sf-font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--sf-text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-home .home-context-sep {
  color: var(--home-accent);
}

.page-home .home-context-current {
  color: var(--sf-white);
}

.page-home .home-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(46, 27, 94, 0.55), transparent 60%),
              linear-gradient(100deg, #060D1A 0%, #0A1A2F 55%, #0F2440 100%);
  z-index: 0;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 170, 0.14), transparent);
  animation: home-hero-sweep 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes home-hero-sweep {
  0% { transform: translateX(0); }
  60%, 100% { transform: translateX(420%); }
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: 0;
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 2;
}

.page-home .home-hero-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sf-font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--home-accent);
  padding: 6px 12px;
  border: 1px solid var(--home-line);
  background: rgba(6, 13, 26, 0.5);
  margin-bottom: 20px;
}

.page-home .home-hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--sf-white);
  text-shadow: 0 0 30px rgba(0, 255, 170, 0.18);
}

.page-home .home-hero-desc {
  margin-top: 22px;
  max-width: 600px;
  color: rgba(240, 245, 255, 0.72);
  line-height: 1.75;
  font-size: 15px;
  border-left: 2px solid var(--home-accent);
  padding-left: 16px;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .home-section {
  padding: 72px 0;
  position: relative;
}

.page-home .home-core {
  background: linear-gradient(180deg, #060D1A 0%, #0A1A2F 30%, #060D1A 100%);
}

.page-home .home-core-grid {
  gap: 20px;
  margin-top: 36px;
}

.page-home .home-core-card {
  background: var(--home-glass);
  border: 1px solid var(--home-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--sf-trans), box-shadow 0.4s var(--sf-trans);
}

.page-home .home-core-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 255, 170, 0.14);
}

.page-home .home-core-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--home-accent), transparent 60%);
}

.page-home .home-core-imgwrap {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #0F2440;
}

.page-home .home-core-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .home-core-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sf-font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--sf-text-dim);
  background: repeating-linear-gradient(135deg, rgba(0, 255, 170, 0.06) 0 10px, transparent 10px 20px),
              linear-gradient(135deg, #0F2440, #2E1B5E);
  border: 1px dashed rgba(0, 255, 170, 0.3);
  margin: 0;
}

.page-home .home-core-body {
  padding: 20px 22px 24px;
}

.page-home .home-core-name {
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  margin: 10px 0 8px;
  color: var(--sf-white);
}

.page-home .home-core-body p {
  color: var(--sf-text-dim);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-home .home-core-link {
  font-family: var(--sf-font-mono);
  font-size: 14px;
  color: var(--home-accent);
  text-decoration: none;
}

.page-home .home-core-link:hover {
  color: var(--sf-white);
}

.page-home .home-dashboard {
  background: #0A1A2F;
  overflow: hidden;
}

.page-home .home-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 255, 170, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 255, 170, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.page-home .home-dash-wrap {
  display: grid;
  gap: 28px;
  margin-top: 36px;
  position: relative;
}

.page-home .home-dash-main {
  display: grid;
  gap: 14px;
}

.page-home .home-dash-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  background: linear-gradient(90deg, rgba(0, 255, 170, 0.12), transparent 70%);
  border-left: 3px solid var(--home-accent);
}

.page-home .home-dash-num {
  font-family: var(--sf-font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--home-accent);
  line-height: 1;
}

.page-home .home-dash-label {
  color: var(--sf-white);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.page-home .home-dash-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  background: rgba(15, 36, 64, 0.65);
  border: 1px solid var(--home-line);
  padding: 26px 20px;
}

.page-home .home-dash-ring {
  position: relative;
  width: 160px;
  height: 160px;
}

.page-home .home-dash-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.page-home .home-dash-ring-bg {
  fill: none;
  stroke: rgba(240, 245, 255, 0.12);
  stroke-width: 10;
}

.page-home .home-dash-ring-fg {
  fill: none;
  stroke: var(--home-accent);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 245 327;
  stroke-dashoffset: 245;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: home-dash-draw 1.8s ease-out forwards;
}

@keyframes home-dash-draw {
  to { stroke-dashoffset: 0; }
}

.page-home .home-dash-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sf-font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sf-white);
}

.page-home .home-dash-signal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  width: 100%;
}

.page-home .home-dash-signal li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sf-white);
  font-size: 14px;
}

.page-home .home-dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-accent);
  box-shadow: 0 0 0 rgba(0, 255, 170, 0.6);
  animation: home-dash-pulse 1.8s infinite;
}

.page-home .home-dash-signal li:nth-child(2) .home-dash-dot {
  animation-delay: 0.4s;
}

.page-home .home-dash-signal li:nth-child(3) .home-dash-dot {
  animation-delay: 0.8s;
}

@keyframes home-dash-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 170, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0, 255, 170, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 170, 0); }
}

.page-home .home-resource {
  background: linear-gradient(160deg, #0F2440 0%, #0A1A2F 60%, #060D1A 100%);
}

.page-home .home-resource-list {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.page-home .home-resource-card {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(6, 13, 26, 0.6);
  border: 1px solid var(--home-line);
  overflow: hidden;
}

.page-home .home-resource-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
}

.page-home .home-resource-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.page-home .home-resource-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  color: var(--sf-white);
}

.page-home .home-resource-body p {
  color: var(--sf-text-dim);
}

.page-home .home-resource-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sf-font-mono);
  letter-spacing: 0.18em;
  color: rgba(240, 245, 255, 0.4);
  background: linear-gradient(135deg, #0F2440, #2E1B5E);
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-resource-link {
  margin-top: 6px;
}

.page-home .home-archive {
  background: #060D1A;
}

.page-home .home-archive-inner {
  display: grid;
  gap: 28px;
  padding: 36px 24px;
  background: linear-gradient(135deg, rgba(46, 27, 94, 0.9), rgba(15, 36, 64, 0.9));
  border: 1px solid var(--home-gold-line);
  position: relative;
  overflow: hidden;
}

.page-home .home-archive-inner::after {
  content: "ARCHIVE";
  position: absolute;
  bottom: -18px;
  right: -12px;
  font-family: var(--sf-font-mono);
  font-size: 72px;
  font-weight: 900;
  color: rgba(255, 215, 0, 0.08);
  line-height: 1;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.page-home .home-archive-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .home-archive-content .section-index {
  color: var(--sf-gold);
}

.page-home .home-archive-content .section-desc {
  font-size: 15px;
}

.page-home .home-archive-query {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px;
  background: rgba(6, 13, 26, 0.7);
  border: 1px solid var(--home-gold-line);
  max-width: 440px;
}

.page-home .home-archive-month {
  font-family: var(--sf-font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sf-gold);
}

.page-home .home-archive-tip {
  color: var(--sf-text-dim);
  font-size: 13px;
}

.page-home .home-archive-visual {
  position: relative;
  z-index: 1;
}

.page-home .home-archive-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 215, 0, 0.16);
}

.page-home .home-faq {
  background: linear-gradient(180deg, #060D1A, #0A1A2F 50%, #060D1A);
}

.page-home .home-faq-list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.page-home .home-faq-item {
  position: relative;
  padding: 20px 20px 20px 26px;
  background: rgba(15, 36, 64, 0.55);
  border: 1px solid var(--home-line);
}

.page-home .home-faq-item::before {
  content: "FAQ";
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--sf-font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(0, 255, 170, 0.5);
}

.page-home .home-faq-q {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sf-white);
}

.page-home .home-faq-a {
  margin: 0;
  color: var(--sf-text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-faq-more {
  margin-top: 28px;
  text-align: center;
}

@media (min-width: 768px) {
  .page-home .home-hero {
    min-height: 720px;
  }

  .page-home .home-dash-wrap {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .page-home .home-dash-main {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-dash-stat {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }

  .page-home .home-resource-card {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .home-resource-card:nth-child(even) .home-resource-img {
    order: 2;
  }

  .page-home .home-resource-card:nth-child(even) .home-resource-body {
    order: 1;
  }

  .page-home .home-archive-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .page-home .home-faq-list {
    grid-template-columns: 1fr 1fr;
  }
}
