:root {
  --bg: #07120c;
  --bg-soft: #0d1f15;
  --card: #12281b;
  --card-2: #183522;
  --text: #eefbf1;
  --muted: #a8c4ad;
  --line: rgba(255,255,255,0.10);
  --green: #65ff8f;
  --lime: #b6ff4a;
  --earth: #8b5a2b;
  --stone: #7e8b86;
  --sky: #60d6ff;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(101,255,143,.12), transparent 28%),
    radial-gradient(circle at top right, rgba(96,214,255,.10), transparent 26%),
    var(--bg);
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7,18,12,.82);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; }
.logo-cube { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #07120c; background: linear-gradient(135deg, var(--green), var(--lime)); box-shadow: 0 0 24px rgba(101,255,143,.24); }
.nav-links { display: flex; gap: 18px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: var(--green); }
.hero { padding: 74px 0 58px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.eyebrow { display: inline-flex; width: fit-content; padding: 6px 12px; border-radius: 999px; color: var(--green); background: rgba(101,255,143,.10); border: 1px solid rgba(101,255,143,.24); font-weight: 800; font-size: 13px; }
.hero h1 { font-size: clamp(38px, 7vw, 72px); line-height: 1; margin: 18px 0; letter-spacing: -2px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 680px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; border-radius: 12px; padding: 12px 18px; font-weight: 900; text-decoration: none; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #061109; background: linear-gradient(135deg, var(--green), var(--lime)); box-shadow: 0 16px 40px rgba(101,255,143,.18); }
.btn-secondary { color: var(--text); background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-card { display: grid; place-items: center; }
.minecraft-window { width: 100%; max-width: 430px; border-radius: 24px; padding: 16px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)), var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.window-top { display: flex; gap: 8px; margin-bottom: 14px; }
.window-top span { width: 11px; height: 11px; border-radius: 50%; background: var(--green); opacity: .8; }
.window-top span:nth-child(2) { background: var(--lime); }
.window-top span:nth-child(3) { background: var(--sky); }
.block-scene { height: 310px; position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(#62cfff 0 52%, #6bd36b 52% 100%); image-rendering: pixelated; }
.sun { position: absolute; width: 46px; height: 46px; right: 34px; top: 30px; background: #ffe66d; box-shadow: 0 0 30px rgba(255,230,109,.5); }
.cloud { position: absolute; height: 24px; background: #fff; opacity: .9; }
.cloud-1 { width: 86px; left: 38px; top: 48px; }
.cloud-2 { width: 64px; left: 180px; top: 82px; }
.hill { position: absolute; left: 0; bottom: 86px; width: 100%; height: 70px; background: #409e50; clip-path: polygon(0 100%, 18% 30%, 36% 100%, 58% 25%, 86% 100%, 100% 45%, 100% 100%); }
.grass { position: absolute; bottom: 0; width: 100%; height: 88px; background: repeating-linear-gradient(90deg, #3d8b35 0 28px, #4aa342 28px 56px); border-top: 12px solid #68c15b; }
.player { position: absolute; left: 140px; bottom: 82px; width: 38px; height: 78px; background: linear-gradient(#2bb3c0 0 35%, #2b5bc0 35% 100%); box-shadow: 0 0 0 10px rgba(0,0,0,.08); }
.player::before { content: ''; position: absolute; top: -34px; left: 4px; width: 30px; height: 30px; background: #d9a066; }
.tree { position: absolute; right: 82px; bottom: 84px; width: 24px; height: 74px; background: #7a4b25; }
.tree span { position: absolute; width: 82px; height: 72px; left: -30px; top: -58px; background: #1f7a35; }
.ad-box { position: relative; margin: 28px 0; min-height: 96px; display: grid; place-items: center; border-radius: 16px; border: 1px dashed rgba(255,255,255,.18); background: rgba(255,255,255,.035); padding: 14px; }
.ad-label { position: absolute; left: 12px; top: 8px; color: var(--muted); font-size: 11px; }
.section { padding: 58px 0; }
.section-soft { background: rgba(255,255,255,.025); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.section-heading.split { justify-content: space-between; align-items: center; gap: 20px; }
.section-title-wrap { display: flex; gap: 14px; align-items: flex-start; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 4vw, 42px); line-height: 1.1; }
.section-heading p { color: var(--muted); margin: 8px 0 0; }
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; background: rgba(101,255,143,.10); border: 1px solid rgba(101,255,143,.22); }
.course-grid, .media-grid, .commands-grid, .challenge-grid { display: grid; gap: 16px; }
.course-grid { grid-template-columns: repeat(3, 1fr); }
.media-grid { grid-template-columns: repeat(3, 1fr); }
.commands-grid { grid-template-columns: repeat(4, 1fr); }
.challenge-grid { grid-template-columns: repeat(4, 1fr); }
.course-card, .media-card, .command-card, .challenge-card, .shorts-card { border-radius: var(--radius); padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)), var(--card); border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(0,0,0,.18); }
.course-card:hover, .media-card:hover, .command-card:hover, .challenge-card:hover { border-color: rgba(101,255,143,.30); }
.lesson-number, .challenge-card span { display: inline-grid; place-items: center; min-width: 38px; height: 30px; border-radius: 999px; color: #061109; background: var(--green); font-weight: 900; }
.course-card h3, .media-card h3, .command-card h3, .challenge-card h3 { margin: 12px 0 8px; }
.course-card p, .media-card p, .challenge-card p, .shorts-card p { color: var(--muted); margin: 0; }
ul { padding-left: 20px; color: var(--muted); }
code { color: var(--lime); background: rgba(0,0,0,.22); border: 1px solid var(--line); border-radius: 8px; padding: 2px 6px; }
.video-frame { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 14px; background: #000; border: 1px solid var(--line); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.command-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.filter-btn { cursor: pointer; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.05); font-weight: 800; }
.filter-btn.active, .filter-btn:hover { color: #061109; background: var(--green); }
.command-card code { display: block; white-space: nowrap; overflow-x: auto; margin: 12px 0; padding: 12px; }
.copy-btn { width: 100%; cursor: pointer; border: 1px solid rgba(101,255,143,.25); color: var(--text); background: rgba(101,255,143,.08); border-radius: 12px; padding: 11px; font-weight: 900; }
.copy-btn:hover { background: rgba(101,255,143,.16); }
.copy-status { min-height: 24px; color: var(--green); font-weight: 800; }
.hidden { display: none !important; }
.final-section { background: radial-gradient(circle at top right, rgba(101,255,143,.12), transparent 28%), #09160f; }
.final-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 22px; align-items: center; }
.final-grid h2 { font-size: clamp(30px, 4vw, 52px); margin: 16px 0 10px; }
.final-grid p, .final-list { color: var(--muted); }
.final-list li { margin-bottom: 8px; }
.shorts-card { border-color: rgba(101,255,143,.26); }
.shorts-card h3 { margin-top: 0; }
.footer { padding: 34px 0; border-top: 1px solid var(--line); background: rgba(0,0,0,.20); }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); }
.footer strong { color: var(--text); }
@media (max-width: 980px) {
  .hero-grid, .final-grid { grid-template-columns: 1fr; }
  .course-grid, .media-grid { grid-template-columns: repeat(2, 1fr); }
  .commands-grid, .challenge-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-wrap { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-links { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero { padding: 52px 0 36px; }
  .course-grid, .media-grid, .commands-grid, .challenge-grid { grid-template-columns: 1fr; }
  .section-heading.split { align-items: flex-start; flex-direction: column; }
  .command-filter { justify-content: flex-start; }
  .footer-inner { flex-direction: column; }
}
