/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Dark theme (default) ── */
:root,
[data-theme="dark"] {
  --bg:         #0d0f12;
  --bg-2:       #12151a;
  --bg-card:    #181c24;
  --bg-card-h:  #1e2330;
  --border:     rgba(255,255,255,.07);
  --border-h:   rgba(255,255,255,.14);

  --text:       #e8eaf0;
  --text-muted: #8891a8;
  --text-dim:   #5a6378;

  --nav-bg:     rgba(13,15,18,.75);
  --nav-bg-s:   rgba(13,15,18,.92);
  --code-bg:    rgba(255,255,255,.08);

  --shadow:     0 4px 24px rgba(0,0,0,.4);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.6);
}

/* ── Light theme ── */
[data-theme="light"] {
  --bg:         #f5f6f8;
  --bg-2:       #eceef2;
  --bg-card:    #ffffff;
  --bg-card-h:  #f0f2f7;
  --border:     rgba(0,0,0,.07);
  --border-h:   rgba(0,0,0,.14);

  --text:       #111318;
  --text-muted: #4a5068;
  --text-dim:   #8891a8;

  --nav-bg:     rgba(245,246,248,.8);
  --nav-bg-s:   rgba(245,246,248,.95);
  --code-bg:    rgba(0,0,0,.06);

  --shadow:     0 4px 24px rgba(0,0,0,.1);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.15);
}

/* ── Shared colors (same in both themes) ── */
:root {
  --green:      #22c55e;
  --green-dim:  rgba(34,197,94,.15);
  --purple:     #a78bfa;
  --purple-dim: rgba(167,139,250,.15);
  --orange:     #f97316;
  --orange-dim: rgba(249,115,22,.15);
  --blue:       #3b82f6;
  --blue-dim:   rgba(59,130,246,.15);
  --accent:     #22c55e;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;

  --font:       'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --transition: .2s cubic-bezier(.4,0,.2,1);
}

/* ── Theme transition (only on explicit changes, not initial load) ── */
body.theme-transition,
body.theme-transition *,
body.theme-transition *::before,
body.theme-transition *::after {
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease !important;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-family: var(--font-mono);
  background: var(--code-bg);
  padding: .15em .45em;
  border-radius: 4px;
  font-size: .88em;
}

/* ── Container ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #0a1a0f;
}
.btn-primary:hover {
  background: #6ee7a0;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(74,222,128,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-h);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-h);
  background: var(--bg-card);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-outline:hover {
  background: var(--green-dim);
}

.btn-lg { padding: .8rem 2rem; font-size: 1rem; border-radius: 10px; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: var(--nav-bg-s);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.3rem; }

/* ── Logo image styles ── */
.nav-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: invert(0);
  transition: filter var(--transition);
}
[data-theme="dark"] .nav-logo-img {
  filter: invert(1);
}



.logo-accent { color: var(--green); }
.nav-links {
  display: flex;
  gap: 1.8rem;
  margin-left: 1rem;
  flex: 1;
}
.nav-links a {
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; }

/* ── Nav controls (theme + lang) ── */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid var(--border-h);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 600;
  transition: var(--transition);
}
.ctrl-btn:hover {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-h);
}

/* Theme icons: show only the active one */
.theme-icon { display: none; align-items: center; }
[data-theme="dark"]  .theme-icon-dark,
[data-theme="light"] .theme-icon-light {
  display: inline-flex;
}
/* "auto" preference shows monitor icon — handled via JS-set data-theme */
[data-theme-pref="auto"] .theme-icon-auto { display: inline-flex; }
[data-theme-pref="auto"] .theme-icon-dark,
[data-theme-pref="auto"] .theme-icon-light { display: none; }

/* Lang button active state */
.lang-btn .lang-zh,
.lang-btn .lang-en { opacity: .45; }
[lang="zh-CN"] .lang-btn .lang-zh,
[lang="en"]    .lang-btn .lang-en { opacity: 1; color: var(--green); }
.lang-sep { opacity: .3; }

.ctrl-label { font-size: .78rem; }

/* Mobile controls */
.mobile-controls {
  display: flex;
  gap: 8px;
  padding-top: .25rem;
}
.mobile-controls .ctrl-btn { flex: 1; justify-content: center; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 24px 1.5rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}
.mobile-menu a {
  color: var(--text-muted);
  font-weight: 500;
}
.mobile-menu.open { display: flex; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(74,222,128,.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.25);
  color: var(--green);
  padding: .4rem 1rem;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
}
.gradient-text {
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.2rem 2rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
}
.stat-label {
  font-size: .75rem;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: .75rem;
  z-index: 2;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  transform: rotate(45deg);
  animation: bounce-arrow 1.8s infinite;
}
@keyframes bounce-arrow {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section-dark { background: var(--bg-2); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
  line-height: 1.2;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: .7;
}
.card-accent-green::before { background: var(--green); }
.card-accent-purple::before { background: var(--purple); }
.card-accent-orange::before { background: var(--orange); }
.card-accent-blue::before { background: var(--blue); }

.feature-card:hover {
  background: var(--bg-card-h);
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.feature-tags li {
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: .2em .65em;
  border-radius: 4px;
  background: var(--bg-card-h);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── MOD LIST ── */
.mod-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 2.5rem;
}
.mod-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.mod-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green  { background: var(--green); }
.dot-red    { background: #f87171; }
.dot-blue   { background: var(--blue); }
.dot-purple { background: var(--purple); }

.mod-list { display: flex; flex-direction: column; gap: 6px; }
.mod-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.mod-item:hover {
  background: var(--bg-card-h);
  border-color: var(--border-h);
}
.mod-name {
  font-size: .88rem;
  font-weight: 600;
  font-family: var(--font-mono);
  flex-shrink: 0;
  white-space: nowrap;
}
.mod-desc {
  font-size: .78rem;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  text-align: right;
  cursor: default;
}

/* ── Custom mod-desc tooltip ── */
.mod-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: 280px;
  padding: .55rem .85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-size: .8rem;
  line-height: 1.55;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px) scale(.97);
  transition: opacity .15s ease, transform .15s ease;
  white-space: normal;
  word-break: break-word;
}
.mod-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.mod-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.mod-cta p { color: var(--text-muted); font-size: .9rem; }

/* ── STEPS / INSTALL ── */
.steps {
  max-width: 680px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: column;
}
.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
}
.step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-dim);
  border: 1.5px solid rgba(74,222,128,.3);
  color: var(--green);
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .45rem;
}
.step-body p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.65;
}
.step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: .75rem;
}
.link-chip {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.link-chip:hover {
  background: var(--bg-card-h);
  color: var(--text);
}
.link-chip.btn-accent {
  background: var(--green-dim);
  border-color: rgba(74,222,128,.3);
  color: var(--green);
}
.link-chip.btn-accent:hover {
  background: rgba(74,222,128,.25);
}

.step-connector {
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--border), var(--border));
  margin-left: 25px;
}

.install-note {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem 1.25rem;
  background: rgba(251,146,60,.08);
  border: 1px solid rgba(251,146,60,.2);
  border-radius: var(--radius);
}
.note-icon { font-size: 1.2rem; flex-shrink: 0; }
.install-note p { font-size: .88rem; color: var(--text-muted); }

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--border-h); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: .97rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
}
.faq-arrow {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s cubic-bezier(.4,0,.2,1), padding .3s;
}
.faq-a p {
  padding: 0 1.5rem 1.1rem;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(74,222,128,.12) 0%, rgba(34,211,238,.08) 100%);
  border-top: 1px solid rgba(74,222,128,.15);
  border-bottom: 1px solid rgba(74,222,128,.15);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: .4rem;
}
.cta-text p { color: var(--text-muted); font-size: 1rem; }

/* ── FOOTER ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
}
.footer-brand {
  max-width: 260px;
}
.footer-brand .nav-logo { margin-bottom: .75rem; }
.footer-brand p { color: var(--text-dim); font-size: .88rem; }

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-col h5 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: .2rem;
}
.footer-col a {
  color: var(--text-muted);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem;
  color: var(--text-dim);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-controls { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-stats { flex-direction: column; gap: 1rem; padding: 1.2rem; }
  .stat-divider { width: 40%; height: 1px; }

  .features-grid { grid-template-columns: 1fr; }
  .mod-categories { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; }

  .step { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Mojang notice bar (index page) ── */
.mojang-notice-bar {
  background: rgba(251,146,60,.06);
  border-top: 1px solid rgba(251,146,60,.2);
  border-bottom: 1px solid rgba(251,146,60,.2);
  padding: 1rem 0;
}
.mojang-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.mojang-notice-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.mojang-notice-text .disc-badge-icon { font-size: 1.2rem; flex-shrink: 0; }
.mojang-notice-text p {
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1.5;
}
.mojang-notice-link {
  flex-shrink: 0;
  font-size: .82rem;
  padding: .35rem 1rem;
  height: auto;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .mojang-notice-inner { flex-direction: column; align-items: flex-start; }
}
/* Handled via JS by reading prefers-color-scheme and setting data-theme on <html> */
/* No extra CSS needed — JS resolves "auto" to "dark" or "light" on load */

/* ── DISCLAIMER ── */
.disclaimer-section { padding-bottom: 80px; }

.disc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.disc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.disc-card:hover { border-color: var(--border-h); }

.disc-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}
.disc-icon { font-size: 1.25rem; flex-shrink: 0; }
.disc-card-head h3 {
  font-size: 1rem;
  font-weight: 700;
}

.disc-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.disc-body p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.disc-quote {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-left: 3px solid var(--orange);
  padding: .6rem 1rem;
  background: var(--orange-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

/* Mojang official disclaimer badge */
.disc-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 860px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.5rem;
  background: rgba(251,146,60,.07);
  border: 1.5px solid rgba(251,146,60,.25);
  border-radius: var(--radius);
}
.disc-badge-icon { font-size: 1.4rem; flex-shrink: 0; }
.disc-badge p {
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .01em;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .disc-grid { grid-template-columns: 1fr; }
}


