/* ════════════════════════════════════════════════════════
   extra.css  —  毛艺然的窝 · Extra page
   Requires: theme.css
════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
#extra-hero {
  background: var(--blue);
  color: #fff;
  height: calc(100vh - 54px);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.extra-hero-bg-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image:
    linear-gradient(45deg,  rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(45deg,  transparent 75%, rgba(255,255,255,0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.04) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  pointer-events: none;
}

.extra-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(100% - 40px);
  padding: 40px 32px 80px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: extraFadeUp 0.7s ease both;
}

.extra-eyebrow {
  font-family: 'BBHBartle', 'Noto Sans SC', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-bottom: 12px;
}

.extra-title {
  max-width: 100%;
  margin-bottom: 20px;
}

.extra-dot { color: var(--yellow); }

.extra-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.70);
  max-width: 480px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

/* scroll indicator */
.extra-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
  font-family: 'BBHBartle', 'Noto Sans SC', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
  animation: extraFadeUp 0.6s ease both 0.6s;
  pointer-events: none;
}

.extra-hero-scroll span {
  display: block;
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
}

.extra-hero-scroll span::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--yellow);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

@keyframes extraFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════
   SECTION LABEL
════════════════════════════════════════════════════════ */
.extra-section-label {
  font-family: 'BBHBartle', 'Noto Sans SC', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.extra-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ════════════════════════════════════════════════════════
   LINKS SECTION
════════════════════════════════════════════════════════ */
#extra-links {
  padding: 72px 0 96px;
  background: var(--bg);
  transition: background 0.3s;
}

/* ── Cards ── */
.extra-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.extra-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 24px 26px;
  text-decoration: none;
  color: var(--text);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.3s;
  position: relative;
  overflow: hidden;
}

.extra-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s ease;
  border-radius: 0;
}

.extra-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px var(--shadow);
  border-color: var(--blue);
}

.extra-card:hover::before {
  transform: scaleY(1);
}

/* Icon */
.extra-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.extra-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.extra-card:hover .extra-card-icon {
  background: var(--blue-d);
}

/* Body */
.extra-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.extra-card-label {
  font-family: 'BBHBartle', 'Noto Sans SC', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.extra-card-title {
  font-family: 'BBHBartle', 'Noto Sans SC', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: color 0.18s;
}

.extra-card:hover .extra-card-title {
  color: var(--blue);
}

.extra-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 2px;
}

/* Arrow */
.extra-card-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s;
}

.extra-card:hover .extra-card-arrow {
  transform: translateX(4px);
  color: var(--blue);
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .extra-card { gap: 14px; padding: 18px 18px; }
  .extra-card-icon { width: 40px; height: 40px; }
  .extra-card-icon svg { width: 18px; height: 18px; }
  .extra-card-arrow { display: none; }
}

@media (max-width: 480px) {
  .extra-hero-inner { padding: 24px 16px 64px; max-width: 100%; }
  #extra-links { padding: 48px 0 64px; }
  .extra-card { padding: 16px 14px; gap: 12px; }
  .extra-card-icon { width: 36px; height: 36px; }
  .extra-card-icon svg { width: 16px; height: 16px; }
  .extra-card-title { font-size: 0.95rem; }
  .extra-card-desc { font-size: 0.8rem; }
}
