/* ============================================================
   MOSWAY — 05. SECTIONS (about → contact)
   ============================================================ */

/* ============ About ============ */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: center; }
.about__media { position: relative; }
.about__media .mc-panel { padding: .7rem; }
.about__media img { border-radius: 4px; border: 3px solid #000; aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.about__level { position: absolute; left: 1.2rem; right: 1.2rem; bottom: -16px; background: #000; border: 3px solid #000; outline: 2px solid var(--mc-xp); border-radius: 6px; padding: .5rem .8rem; font-family: var(--font-pixel); font-size: .66rem; color: var(--mc-xp); display: flex; justify-content: space-between; box-shadow: 0 0 18px rgba(124,252,0,.35); }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.4rem; }
.fact { background: rgba(0,0,0,.35); border: 2px solid var(--line); border-radius: 6px; padding: .7rem .9rem; font-size: .88rem; }
.fact b { display: block; font-family: var(--font-pixel); font-size: .62rem; color: var(--accent-2); margin-bottom: .25rem; }
.about__list { margin-top: 1.2rem; display: grid; gap: .65rem; }
.about__list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-dim); }
.about__list li::before { content: "▣"; color: var(--accent); font-size: 1.1rem; line-height: 1.4; text-shadow: 0 0 10px var(--accent); }

/* ============ Stats band ============ */
.stats-band { position: relative; background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); border-block: 4px solid #000; box-shadow: 0 4px 0 var(--accent), 0 -4px 0 var(--accent); overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: var(--tex-grid); background-size: 42px 42px; opacity: .5; pointer-events: none; }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 2.2rem; position: relative; }
.stat { text-align: center; padding: 1rem .5rem; background: rgba(0,0,0,.4); border: 2px solid var(--line); border-radius: 8px; }
.stat__num { font-family: var(--font-display); font-size: clamp(1rem, .8rem + 1.6vw, 1.7rem); color: var(--accent-2); text-shadow: 3px 3px 0 #000; }
.stat__label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); margin-top: .3rem; }
.stat__icon { font-size: 1.5rem; display: block; margin-bottom: .4rem; animation: floaty 4s ease-in-out infinite; }
.stat:nth-child(2) .stat__icon { animation-delay: .6s; } .stat:nth-child(3) .stat__icon { animation-delay: 1.2s; } .stat:nth-child(4) .stat__icon { animation-delay: 1.8s; }

/* ============ Videos ============ */
.videos__tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.video-card .card__media img { aspect-ratio: 9/11; }
.video-card .card__media::after { content: "▶ SHORT"; position: absolute; top: .7rem; left: .7rem; font-family: var(--font-pixel); font-size: .58rem; background: #e8402f; color: #fff; padding: .35rem .6rem; border: 2px solid #000; border-radius: 4px; text-shadow: 1px 1px 0 #000; box-shadow: 0 3px 0 rgba(0,0,0,.5); }
.video-card .play {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0;
  background: rgba(0,0,0,.45); transition: opacity .3s;
}
.video-card:hover .play { opacity: 1; }
.video-card .play span { width: 64px; height: 64px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: rgba(232,64,47,.92); border: 3px solid #000; border-radius: 10px; transform: scale(.8); transition: transform .25s var(--ease-pop); }
.video-card:hover .play span { transform: scale(1); }
.video-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; }
.video-card.hide { display: none; }
.videos__more { margin-top: 2rem; display: flex; justify-content: center; }

/* ============ Builds / Gallery ============ */
.builds { background: linear-gradient(180deg, transparent, rgba(68,189,50,.05), transparent); }
.builds__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.build-card .card__media img { aspect-ratio: 16/9; }
.build-card .card__media { cursor: zoom-in; }
.build-card__overlay {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem 1.1rem .9rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem;
}
.build-card__overlay b { font-family: var(--font-pixel); font-size: .72rem; text-shadow: 2px 2px 0 #000; }
.build-card__overlay .zoom { font-size: 1.1rem; background: rgba(0,0,0,.6); border: 2px solid var(--accent); border-radius: 6px; padding: .25rem .55rem; }

/* ============ Mob arena ============ */
.arena { background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); border-block: 4px solid #000; }
.arena__top { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.scoreboard { display: flex; gap: .8rem; flex-wrap: wrap; }
.score { font-family: var(--font-pixel); font-size: .68rem; background: #000; border: 2px solid var(--line); border-radius: 6px; padding: .6rem .9rem; }
.score b { color: var(--accent-2); }
.mobs { display: grid; grid-template-columns: repeat(3, 1fr); }
.mob { text-align: center; padding: 1.4rem 1rem 1.2rem; user-select: none; }
.mob__stage { height: 150px; display: grid; place-items: center; position: relative; margin-bottom: .8rem; }
.mob__hp { height: 14px; background: #200; border: 2px solid #000; border-radius: 4px; overflow: hidden; margin-bottom: .7rem; }
.mob__hp i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ff2030, #ff7a5c); transition: width .3s var(--ease-pop); box-shadow: 0 0 10px rgba(255,32,48,.6); }
.mob h3 { font-family: var(--font-pixel); font-size: .78rem; }
.mob p { font-size: .82rem; color: var(--ink-mute); margin: .35rem 0 .8rem; min-height: 2.6em; }
.mob__btn { width: 100%; }
.mob.hit .pixel-mob { animation: hitShake .3s; filter: brightness(2) saturate(.2); }
.mob.dead .pixel-mob { animation: mobDie .5s forwards; filter: grayscale(1) brightness(.4); }
.dmg-num {
  position: absolute; font-family: var(--font-pixel); font-size: 1rem; color: #ffe066;
  text-shadow: 2px 2px 0 #000; animation: dmgFloat 1s forwards; pointer-events: none; z-index: 5;
}

/* ---- Pure-CSS pixel mobs (box-shadow art) ---- */
.pixel-mob { width: 96px; height: 96px; position: relative; image-rendering: pixelated; animation: mobBob 2.6s ease-in-out infinite; }
/* Creeper face on green cube */
.mob-creeper { background: #4caf3c; border: 4px solid #000; box-shadow: inset -12px -12px 0 rgba(0,0,0,.28), inset 12px 12px 0 rgba(255,255,255,.14); }
.mob-creeper::before {
  content: ""; position: absolute; inset: 18px 24px;
  background:
    linear-gradient(#111,#111) 0 0/22px 22px no-repeat, linear-gradient(#111,#111) 100% 0/22px 22px no-repeat,
    linear-gradient(#111,#111) 50% 22px/24px 26px no-repeat, linear-gradient(#111,#111) 50% 46px/48px 30px no-repeat;
}
/* Enderman: black cube + purple eyes */
.mob-enderman { background: #0c0c12; border: 4px solid #000; box-shadow: inset -12px -12px 0 rgba(0,0,0,.6), 0 0 26px rgba(178,107,255,.5); }
.mob-enderman::before { content: ""; position: absolute; top: 34px; left: 12px; right: 12px; height: 12px; background: linear-gradient(90deg, #d29bff 0 30px, transparent 30px 42px, #d29bff 42px 72px); box-shadow: 0 0 12px #b26bff; animation: blink 3.4s steps(2) infinite; }
/* Skeleton: pale cube + dark sockets */
.mob-skeleton { background: #cfcfcf; border: 4px solid #000; box-shadow: inset -12px -12px 0 rgba(0,0,0,.25); }
.mob-skeleton::before {
  content: ""; position: absolute; inset: 26px 16px;
  background:
    linear-gradient(#1c1c1c,#1c1c1c) 0 0/24px 26px no-repeat, linear-gradient(#1c1c1c,#1c1c1c) 100% 0/24px 26px no-repeat,
    linear-gradient(#1c1c1c,#1c1c1c) 50% 30px/12px 14px no-repeat, linear-gradient(#1c1c1c,#1c1c1c) 8px 52px/48px 6px no-repeat;
}
/* Zombie: teal-green cube */
.mob-zombie { background: #3f8f6f; border: 4px solid #000; box-shadow: inset -12px -12px 0 rgba(0,0,0,.3); }
.mob-zombie::before {
  content: ""; position: absolute; inset: 28px 16px;
  background:
    linear-gradient(#101418,#101418) 0 0/24px 20px no-repeat, linear-gradient(#101418,#101418) 100% 0/24px 20px no-repeat,
    linear-gradient(#101418,#101418) 10px 44px/44px 8px no-repeat;
}
/* Ghast: white cube + closed eyes + mouth */
.mob-ghast { background: #f2ede4; border: 4px solid #000; box-shadow: inset -12px -12px 0 rgba(0,0,0,.18), 0 0 22px rgba(255,255,255,.25); animation: floaty 3.4s ease-in-out infinite; }
.mob-ghast::before {
  content: ""; position: absolute; inset: 26px 14px;
  background:
    linear-gradient(#2b2b2b,#2b2b2b) 0 6px/22px 8px no-repeat, linear-gradient(#2b2b2b,#2b2b2b) 100% 6px/22px 8px no-repeat,
    linear-gradient(#2b2b2b,#2b2b2b) 50% 30px/20px 22px no-repeat;
}
/* Pig: pink cube + snout */
.mob-pig { background: #f0a3b2; border: 4px solid #000; box-shadow: inset -12px -12px 0 rgba(0,0,0,.2); }
.mob-pig::before {
  content: ""; position: absolute; inset: 24px 14px;
  background:
    linear-gradient(#5b2b33,#5b2b33) 0 0/18px 18px no-repeat, linear-gradient(#5b2b33,#5b2b33) 100% 0/18px 18px no-repeat,
    linear-gradient(#e57f92,#e57f92) 50% 24px/36px 26px no-repeat, linear-gradient(#8f3f4d,#8f3f4d) 50% 32px/22px 8px no-repeat;
}

/* ============ Series timeline ============ */
.timeline { position: relative; margin-top: 1rem; padding-left: 2.2rem; display: grid; gap: 1.2rem; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 6px; background: repeating-linear-gradient(180deg, var(--accent) 0 14px, #0b3d14 14px 20px); border: 2px solid #000; border-radius: 4px; }
.tl-item { position: relative; padding: 1.1rem 1.2rem; }
.tl-item::before { content: ""; position: absolute; left: -2.2rem; top: 1.3rem; width: 18px; height: 18px; background: var(--accent-2); border: 3px solid #000; transform: rotate(45deg); box-shadow: 0 0 12px rgba(255,211,42,.6); }
.tl-item:nth-child(even)::before { background: var(--accent-3); box-shadow: 0 0 12px rgba(75,207,250,.6); }
.tl-item h3 { font-family: var(--font-pixel); font-size: .8rem; margin-bottom: .35rem; }
.tl-item p { color: var(--ink-dim); font-size: .92rem; }
.tl-item .day { display: inline-block; font-family: var(--font-pixel); font-size: .6rem; color: #06130a; background: var(--accent); padding: .3rem .6rem; border-radius: 4px; margin-bottom: .5rem; border: 2px solid #000; }

/* ============ Community / CTA banner ============ */
.cta-banner { position: relative; border-block: 4px solid #000; overflow: hidden; }
.cta-banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,5,.92), rgba(5,8,5,.55)); }
.cta-banner__inner { position: relative; z-index: 2; width: var(--wrap); margin-inline: auto; padding-block: clamp(3rem, 2rem + 4vw, 5rem); max-width: 640px; margin-left: max(calc((100vw - var(--wrap)) / 2), 4vw); }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(1rem, .8rem + 1.6vw, 1.8rem); text-shadow: 3px 3px 0 #000; }
.cta-banner p { color: var(--ink-dim); margin: .8rem 0 1.4rem; }

/* ============ FAQ ============ */
.faq { display: grid; gap: .8rem; max-width: 820px; }
.faq-item { border: 3px solid #000; border-radius: 8px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: var(--accent); color: #06130a; font-weight: 900; border: 2px solid #000; border-radius: 4px; transition: transform .3s var(--ease-pop); }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--accent-2); }
.faq-item .faq-a { padding: 0 1.2rem 1.1rem; color: var(--ink-dim); }
.faq-item .faq-a a { color: var(--accent-3); }

/* ============ Contact ============ */
.contact { background: linear-gradient(180deg, transparent, rgba(75,207,250,.05), transparent); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.4rem, 1rem + 2.5vw, 2.6rem); align-items: start; }
.contact__info { display: grid; gap: .9rem; }
.info-card { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; }
.info-card__icon { flex: none; width: 50px; height: 50px; display: grid; place-items: center; font-size: 1.35rem; background: #000; border: 2px solid var(--accent); border-radius: 8px; }
.info-card b { display: block; font-family: var(--font-pixel); font-size: .68rem; color: var(--accent-2); margin-bottom: .15rem; }
.info-card a, .info-card span.val { color: var(--ink-dim); text-decoration: none; font-size: .94rem; word-break: break-all; }
.info-card a:hover { color: var(--accent); }
.form-panel { padding: clamp(1.2rem, 1rem + 2vw, 2.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-status { display: none; gap: .7rem; align-items: center; border-radius: 6px; padding: .85rem 1rem; font-size: .9rem; border: 2px solid; }
.form-status.show { display: flex; }
.form-status--ok { background: rgba(68,189,50,.12); border-color: var(--accent); color: #c9f2c4; }
.form-status--err { background: rgba(255,77,77,.1); border-color: #ff4d4d; color: #ffc4c4; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
