/* DongNetWork 下载页 — 我的世界像素风 */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

.mc-download-page {
  --mc-sky-top: #63b8ff;
  --mc-sky-bottom: #9be0ff;
  --mc-grass: #5cb338;
  --mc-grass-dark: #3d8b24;
  --mc-dirt: #8b5a2b;
  --mc-dirt-dark: #6b4423;
  --mc-stone: #7a7a7a;
  --mc-stone-dark: #4a4a4a;
  --mc-btn-green: #5cb338;
  --mc-btn-green-dark: #3d8b24;
  --mc-btn-green-hover: #6fd04a;
  --mc-border: #2d2d2d;
  --mc-text: #2d2d2d;
  --mc-text-light: #f8fafc;
  min-height: 100vh;
  margin: 0;
  font-family: 'VT323', monospace;
  color: var(--mc-text);
  background: var(--mc-sky-bottom);
  image-rendering: pixelated;
  position: relative;
  overflow-x: hidden;
}

.mc-download-page * {
  box-sizing: border-box;
}

.mc-sky {
  position: fixed;
  inset: 0 0 42vh 0;
  background: linear-gradient(180deg, var(--mc-sky-top) 0%, var(--mc-sky-bottom) 100%);
  z-index: 0;
}

.mc-clouds {
  position: fixed;
  inset: 0 0 42vh 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 12% 22%, #fff 0, #fff 18px, transparent 19px),
    radial-gradient(circle at 18% 22%, #fff 0, #fff 24px, transparent 25px),
    radial-gradient(circle at 26% 22%, #fff 0, #fff 16px, transparent 17px),
    radial-gradient(circle at 68% 16%, #fff 0, #fff 20px, transparent 21px),
    radial-gradient(circle at 76% 16%, #fff 0, #fff 28px, transparent 29px),
    radial-gradient(circle at 86% 16%, #fff 0, #fff 14px, transparent 15px);
}

.mc-ground {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42vh;
  z-index: 0;
  background:
    repeating-linear-gradient(
      90deg,
      var(--mc-grass) 0,
      var(--mc-grass) 32px,
      var(--mc-grass-dark) 32px,
      var(--mc-grass-dark) 64px
    );
  border-top: 4px solid var(--mc-border);
}

.mc-ground::after {
  content: '';
  position: absolute;
  inset: 24px 0 0;
  background:
    repeating-linear-gradient(
      90deg,
      var(--mc-dirt) 0,
      var(--mc-dirt) 32px,
      var(--mc-dirt-dark) 32px,
      var(--mc-dirt-dark) 64px
    );
  border-top: 4px solid var(--mc-border);
}

.mc-download-wrap {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.mc-download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mc-download-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mc-download-logo {
  width: 3rem;
  height: 3rem;
  background: #4a90e2;
  border: 4px solid var(--mc-border);
  box-shadow: 4px 4px 0 var(--mc-stone-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.55rem;
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

.mc-download-brand-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.75rem, 2.2vw, 0.9rem);
  line-height: 1.5;
  color: var(--mc-text-light);
  text-shadow: 2px 2px 0 var(--mc-stone-dark);
  margin: 0;
}

.mc-download-brand-sub {
  font-size: 1.5rem;
  color: #e8f4ff;
  margin: 0.35rem 0 0;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}

.mc-download-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mc-nav-link {
  font-family: 'VT323', monospace;
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--mc-text-light);
  background: var(--mc-stone);
  border: 3px solid var(--mc-border);
  box-shadow: 3px 3px 0 var(--mc-stone-dark);
  padding: 0.5rem 0.875rem;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.mc-nav-link:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--mc-stone-dark);
  background: #8a8a8a;
}

.mc-nav-link--login {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.72rem, 2.4vw, 0.95rem);
  padding: 0.625rem 1.125rem;
  background: var(--mc-btn-green);
  box-shadow: 4px 4px 0 var(--mc-btn-green-dark);
  color: #fff;
}

.mc-nav-link--login:hover {
  background: var(--mc-btn-green-hover);
  box-shadow: 2px 2px 0 var(--mc-btn-green-dark);
}

.mc-hero-panel {
  background: #f0f0f0;
  border: 4px solid var(--mc-border);
  box-shadow: 8px 8px 0 rgba(45, 45, 45, 0.35);
  padding: 1.75rem 1.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.mc-hero-icon {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1rem;
  background:
    linear-gradient(180deg, #6ec6ff 0 25%, #4a90e2 25% 50%, #3d7fc4 50% 75%, #2d6aa8 75% 100%);
  border: 4px solid var(--mc-border);
  box-shadow: 6px 6px 0 var(--mc-stone-dark);
  position: relative;
}

.mc-hero-icon::before {
  content: '';
  position: absolute;
  top: 18%;
  left: 22%;
  width: 18%;
  height: 18%;
  background: #fff;
  box-shadow:
    140% 0 0 #fff,
    0 140% 0 #fff,
    140% 140% 0 #fff;
  opacity: 0.85;
}

.mc-hero-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.95rem, 3.5vw, 1.25rem);
  line-height: 1.6;
  margin: 0 0 0.75rem;
  color: var(--mc-text);
}

.mc-hero-desc {
  font-size: 1.65rem;
  line-height: 1.45;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  color: #444;
}

.mc-btn-download {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: min(100%, 20rem);
  padding: 1rem 1.5rem 0.875rem;
  text-decoration: none;
  cursor: pointer;
  border: 4px solid var(--mc-border);
  background: var(--mc-btn-green);
  color: #fff;
  box-shadow: 6px 6px 0 var(--mc-btn-green-dark);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
}

.mc-btn-download:hover:not(.is-disabled) {
  background: var(--mc-btn-green-hover);
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--mc-btn-green-dark);
}

.mc-btn-download:active:not(.is-disabled) {
  transform: translate(6px, 6px);
  box-shadow: 0 0 0 var(--mc-btn-green-dark);
}

.mc-btn-download.is-disabled {
  background: #9ca3af;
  box-shadow: 6px 6px 0 #6b7280;
  cursor: not-allowed;
  pointer-events: none;
}

.mc-btn-download-main {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.75rem, 2.8vw, 0.95rem);
  line-height: 1.5;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.mc-btn-download-sub {
  font-family: 'VT323', monospace;
  font-size: 1.5rem;
  opacity: 0.95;
}

.mc-btn-download-hint {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  color: #666;
}

.mc-features-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 4px solid var(--mc-border);
  box-shadow: 8px 8px 0 rgba(45, 45, 45, 0.28);
  padding: 1.5rem 1.25rem;
}

.mc-features-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.72rem, 2.5vw, 0.9rem);
  line-height: 1.6;
  margin: 0 0 0.625rem;
  text-align: center;
}

.mc-features-intro {
  text-align: center;
  font-size: 1.5rem;
  color: #555;
  margin: 0 0 1.25rem;
}

.mc-feature-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .mc-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mc-feature-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem;
  background: #f8fafc;
  border: 3px solid var(--mc-border);
  box-shadow: 4px 4px 0 #cbd5e1;
}

.mc-feature-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid var(--mc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.45rem;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

.mc-feature-icon--net { background: #4a90e2; }
.mc-feature-icon--dash { background: #8b5cf6; }
.mc-feature-icon--hub { background: #22c55e; }
.mc-feature-icon--checkin { background: #f59e0b; }
.mc-feature-icon--shop { background: #ec4899; }
.mc-feature-icon--billing { background: #06b6d4; }
.mc-feature-icon--plugin { background: #a855f7; }

.mc-feature-body h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.58rem, 2vw, 0.72rem);
  line-height: 1.55;
  margin: 0 0 0.5rem;
}

.mc-feature-body p {
  font-size: 1.4rem;
  line-height: 1.4;
  margin: 0;
  color: #4b5563;
}

.mc-download-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
}
