/* ============================================================
   HOT DORGS — Modpack de Minecraft
   Tema: pixel/voxel — GUI do jogo, barra de XP, terreno, slots
   ============================================================ */

:root {
    --bg: #0a0c0e;
    --bg-2: #0e1215;
    --panel-bd: #26352a;
    --grass: #7cbd51;
    --xp: #8dff4a;
    --emerald: #3ce07c;
    --gold: #ffc24b;
    --nether: #c56bff;
    --twitch: #a970ff;
    --text: #eef4ea;
    --muted: #9fb09b;

    --font-pixel: 'Press Start 2P', monospace;
    --font-label: 'Silkscreen', monospace;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    background:
        radial-gradient(900px 520px at 10% -5%, rgba(125, 214, 87, 0.10), transparent 60%),
        radial-gradient(820px 540px at 96% 12%, rgba(197, 107, 255, 0.07), transparent 60%),
        radial-gradient(760px 620px at 50% 112%, rgba(60, 224, 124, 0.06), transparent 60%),
        var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Lenis */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

::selection {
    background: var(--xp);
    color: #0c1606;
}

/* Grade de chunks ao fundo */
.gridlines {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(141, 255, 74, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(141, 255, 74, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(75% 60% at 50% 38%, #000 25%, transparent 100%);
    mask-image: radial-gradient(75% 60% at 50% 38%, #000 25%, transparent 100%);
}

/* ============ BARRA DE XP (progresso do scroll) ============ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 6px;
    width: 0%;
    z-index: 1000;
    background: linear-gradient(90deg, #61e02e, #a4ff5f);
    box-shadow: 0 0 12px rgba(125, 255, 63, 0.55);
}

#scroll-progress::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent 0 20px, rgba(0, 0, 0, 0.28) 20px 23px);
}

/* ============ TIPOGRAFIA ============ */
h1 {
    font-family: var(--font-pixel);
    font-size: clamp(1.7rem, 4.6vw, 3.3rem);
    line-height: 1.3;
    text-transform: uppercase;
}

.h1-grad {
    background: linear-gradient(180deg, #f2ffe9 10%, #9fe86e 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-family: var(--font-pixel);
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.4;
    text-transform: uppercase;
    text-shadow: 0 0 28px rgba(141, 255, 74, 0.12);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-label);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--xp);
}

.kicker::before,
.kicker::after {
    content: '';
    width: 8px;
    height: 8px;
    background: currentColor;
    flex: 0 0 auto;
}

.kicker--sm { font-size: 0.72rem; letter-spacing: 0.2em; }
.kicker--sm::after { display: none; }
.kicker--twitch { color: var(--twitch); }

/* ============ LAYOUT ============ */
.container {
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
    padding-inline: clamp(1.25rem, 4vw, 4.5rem);
}

.section {
    padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.section--alt {
    background: rgba(255, 255, 255, 0.015);
    border-top: 2px solid rgba(141, 255, 74, 0.07);
    border-bottom: 2px solid rgba(141, 255, 74, 0.07);
}

[id] {
    scroll-margin-top: 96px;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
    max-width: 720px;
}

.section-head--center {
    align-items: center;
    text-align: center;
    margin-inline: auto;
}

.section-intro {
    color: var(--muted);
    max-width: 60ch;
}

/* ============ PAINEL (GUI do jogo, cantos pixelados) ============ */
.panel {
    --bd: var(--panel-bd);
    position: relative;
    margin: 4px; /* espaço para os cantos em box-shadow */
    background: linear-gradient(160deg, rgba(17, 26, 19, 0.92), rgba(12, 18, 14, 0.92));
    box-shadow:
        0 -4px 0 0 var(--bd),
        0 4px 0 0 var(--bd),
        -4px 0 0 0 var(--bd),
        4px 0 0 0 var(--bd),
        inset 0 2px 0 rgba(255, 255, 255, 0.03);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.panel:hover {
    --bd: #35503a;
}

/* ============ BOTÕES (estilo botão do Minecraft) ============ */
.btn {
    --edge: #3f7a1f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin: 4px;
    padding: 1.05rem 2rem;
    font-family: var(--font-label);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0e1a06;
    background: linear-gradient(#9be26a, #63b93a 50%, #54a52f);
    border: none;
    cursor: pointer;
    box-shadow:
        0 -4px 0 0 var(--edge),
        0 4px 0 0 var(--edge),
        -4px 0 0 0 var(--edge),
        4px 0 0 0 var(--edge),
        inset 0 4px 0 rgba(255, 255, 255, 0.30),
        inset 0 -5px 0 rgba(0, 0, 0, 0.28);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.btn:hover {
    transform: translateY(-3px);
    filter: saturate(1.15) brightness(1.07);
}

.btn:active {
    transform: translateY(1px);
}

.btn i { font-size: 0.85em; }

.btn--stone {
    --edge: #474747;
    color: #101010;
    background: linear-gradient(#c9c9c9, #979797 50%, #868686);
}

.btn--twitch {
    --edge: #4e2596;
    color: #fff;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
    background: linear-gradient(#b98aff, #8a4fe8 50%, #7a3fd8);
}

.btn--gold {
    --edge: #8a5a14;
    color: #241503;
    background: linear-gradient(#ffd98c, #f0a63c 50%, #e0962c);
}

/* ============ NAVEGAÇÃO ============ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem clamp(1rem, 3vw, 2.6rem);
    background: rgba(8, 11, 9, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(141, 255, 74, 0.10);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text);
}

.nav-brand img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(141, 255, 74, 0.25);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nav-brand-text strong {
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
}

.nav-brand-text small {
    font-family: var(--font-label);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.5vw, 2.4rem);
}

.nav-links a {
    font-family: var(--font-label);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: #cfe0c6;
    padding: 0.35rem 0.15rem;
    border-bottom: 3px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.nav-links a:hover {
    color: var(--xp);
    border-color: var(--xp);
}

#menu-toggle {
    display: none;
    place-items: center;
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
    color: #cfe8c0;
    background: #111a13;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 210;
    box-shadow:
        0 -3px 0 0 var(--panel-bd),
        0 3px 0 0 var(--panel-bd),
        -3px 0 0 0 var(--panel-bd),
        3px 0 0 0 var(--panel-bd);
}

/* ============ MENU MOBILE ============ */
body.mobile-menu-active { overflow: hidden; }

#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background: rgba(7, 10, 8, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu-link {
    font-family: var(--font-pixel);
    font-size: 1.05rem;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text);
    transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-menu-link:hover {
    color: var(--xp);
    transform: scale(1.06);
}

.mobile-menu-social {
    display: flex;
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.mobile-menu-social a {
    font-size: 1.4rem;
    color: var(--muted);
    transition: color 0.25s ease;
}

.mobile-menu-social a:hover { color: var(--xp); }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 3rem;
    overflow: hidden;
}

/* Painel de vidro: desfoca o cenário atrás do texto */
.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: rgba(7, 11, 9, 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 0 0 2px rgba(141, 255, 74, 0.10),
        0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ============ CENÁRIO: DISTANT HORIZONS + SHADERS ============ */
.horizon {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Céu de amanhecer: clareia continuamente até a linha do horizonte */
.hz-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(8, 14, 16, 0) 0%,
        rgba(12, 30, 32, 0.42) 12%,
        rgba(18, 48, 46, 0.58) 22%,
        rgba(30, 72, 58, 0.68) 31%,
        rgba(58, 98, 62, 0.72) 38%,
        rgba(112, 124, 66, 0.70) 43%,
        rgba(182, 144, 82, 0.60) 47%,
        rgba(226, 172, 102, 0.50) 49.5%,
        rgba(150, 118, 70, 0.28) 54%,
        transparent 63%);
}

/* Estrelas pixel (somem perto do horizonte) */
.hz-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: transparent;
    -webkit-mask-image: none;
    animation: twinkle 7s ease-in-out infinite alternate;
}

.hz-stars--a {
    box-shadow:
        90px 60px 0 rgba(210, 235, 255, 0.5),
        320px 130px 0 rgba(210, 235, 255, 0.32),
        540px 40px 0 rgba(255, 240, 210, 0.42),
        760px 170px 0 rgba(210, 235, 255, 0.26),
        980px 80px 0 rgba(210, 235, 255, 0.45),
        1240px 150px 0 rgba(255, 240, 210, 0.3),
        1460px 50px 0 rgba(210, 235, 255, 0.4),
        1700px 120px 0 rgba(210, 235, 255, 0.3),
        1880px 70px 0 rgba(210, 235, 255, 0.38);
}

.hz-stars--b {
    animation-delay: -3.5s;
    box-shadow:
        180px 190px 0 rgba(210, 235, 255, 0.28),
        420px 90px 0 rgba(210, 235, 255, 0.38),
        660px 220px 0 rgba(210, 235, 255, 0.2),
        880px 140px 0 rgba(255, 240, 210, 0.34),
        1100px 210px 0 rgba(210, 235, 255, 0.22),
        1360px 100px 0 rgba(210, 235, 255, 0.36),
        1580px 180px 0 rgba(210, 235, 255, 0.24),
        1800px 230px 0 rgba(210, 235, 255, 0.2);
}

@keyframes twinkle {
    from { opacity: 0.35; }
    to   { opacity: 1; }
}

/* Terreno voxel renderizado em canvas (panorâmica com pan lento) */
#hz-canvas {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 150%;
    height: 74%;
    image-rendering: pixelated;
    animation: hzpan 160s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes hzpan {
    from { transform: translateX(0); }
    to   { transform: translateX(-32%); }
}

/* Bloom vazando por cima do terreno (luz de shader) */
.hz-bloom {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 62% 36% at 58% 47%, rgba(255, 214, 140, 0.26), rgba(255, 190, 100, 0.11) 42%, transparent 72%),
        radial-gradient(circle at 58% 40%, rgba(255, 210, 140, 0.20), rgba(255, 180, 90, 0.08) 18%, transparent 46%),
        radial-gradient(circle at 58% 40%, rgba(141, 255, 74, 0.10), transparent 58%);
    mix-blend-mode: screen;
}

/* Sol quadrado (como no jogo) com bloom pulsante */
.hz-sun {
    position: absolute;
    left: 58%;
    top: 40%;
    transform: translate(-50%, -50%);
    width: clamp(60px, 7vw, 104px);
    height: clamp(60px, 7vw, 104px);
    background: linear-gradient(#fff9dd, #ffd27a);
    box-shadow:
        0 0 40px 10px rgba(255, 210, 120, 0.50),
        0 0 120px 40px rgba(255, 180, 80, 0.22),
        0 0 260px 100px rgba(141, 255, 74, 0.10);
    animation: sunpulse 6s ease-in-out infinite;
}

/* God rays girando devagar em volta do sol */
.hz-sun::before {
    content: '';
    position: absolute;
    inset: -380px;
    background: repeating-conic-gradient(
        rgba(255, 224, 150, 0.07) 0deg 7deg,
        transparent 7deg 26deg);
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
    mask-image: radial-gradient(circle, #000 0%, transparent 62%);
    animation: rayspin 90s linear infinite;
}

@keyframes sunpulse {
    0%, 100% { filter: brightness(1); }
    50%      { filter: brightness(1.18); }
}

@keyframes rayspin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Nuvens pixel derivando (chapadas, com face superior iluminada) */
.hz-clouds {
    position: absolute;
    top: 11%;
    left: 0;
    width: 190px;
    height: 14px;
    background: rgba(215, 238, 255, 0.11);
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, 0.22),
        420px 44px 0 rgba(215, 238, 255, 0.08),
        980px -8px 0 rgba(215, 238, 255, 0.10),
        1500px 60px 0 rgba(215, 238, 255, 0.08);
    animation: clouddrift 120s linear infinite;
}

.hz-clouds--near {
    top: 23%;
    height: 18px;
    width: 280px;
    background: rgba(215, 238, 255, 0.13);
    box-shadow:
        inset 0 4px 0 rgba(255, 255, 255, 0.24),
        640px 34px 0 rgba(215, 238, 255, 0.10),
        1280px -12px 0 rgba(215, 238, 255, 0.10);
    animation-duration: 80s;
    animation-delay: -35s;
}

@keyframes clouddrift {
    from { transform: translateX(-30vw); }
    to   { transform: translateX(110vw); }
}

/* Escurece a base (transição pro divisor de terreno) e a esquerda (leitura do texto) */
.hz-fade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 72%, rgba(10, 12, 14, 0.88) 100%),
        linear-gradient(90deg, rgba(10, 12, 14, 0.88) 0%, rgba(10, 12, 14, 0.45) 34%, transparent 58%);
}

.badge {
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--xp);
    background: rgba(141, 255, 74, 0.08);
    padding: 0.55rem 0.95rem;
    box-shadow: 0 0 0 2px rgba(141, 255, 74, 0.25);
}

.hero-sub {
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 52ch;
    min-height: 4.5em;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 1.1em;
    background: var(--xp);
    vertical-align: text-bottom;
    margin-left: 3px;
    animation: blink 1s steps(2) infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Partículas (pixels flutuantes) */
.p {
    position: absolute;
    z-index: 1;
    width: 8px;
    height: 8px;
    background: var(--c, var(--xp));
    opacity: 0;
    pointer-events: none;
    animation: rise var(--d, 10s) linear infinite;
    animation-delay: var(--dl, 0s);
}

@keyframes rise {
    0%   { transform: translateY(20px); opacity: 0; }
    12%  { opacity: 0.65; }
    100% { transform: translateY(-72vh); opacity: 0; }
}

/* ============ DIVISOR DE TERRENO (grama/terra) ============ */
.terrain {
    position: relative;
    height: 52px;
    background: linear-gradient(#87c95c 0 10px, #619a3d 10px 18px, #7a5539 18px 100%);
}

.terrain::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(rgba(0, 0, 0, 0.14) 0% 25%, transparent 0% 50%);
    background-size: 14px 14px;
}

.terrain::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(90deg, #87c95c 0 14px, transparent 14px 42px);
}

/* ============ CARDS DE FEATURES ============ */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.card {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.card:hover {
    transform: translateY(-5px);
}

.card-tag {
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--xp);
}

.card-tag--gold   { color: var(--gold); }
.card-tag--nether { color: var(--nether); }

.card h3 {
    font-family: var(--font-pixel);
    font-size: 1.05rem;
    line-height: 1.5;
    text-transform: uppercase;
}

.card p {
    color: var(--muted);
    font-size: 0.98rem;
}

/* ============ INSTALAÇÃO ============ */
.step0 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.8rem;
    padding: 2.2rem;
    margin-bottom: 2rem;
}

.step0-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 62ch;
}

.step0-info h3 {
    font-family: var(--font-pixel);
    font-size: 1.15rem;
    text-transform: uppercase;
}

.step0-info p { color: var(--muted); }
.step0-info strong { color: var(--text); }

/* Seletor de versão */
.choose {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.4rem;
    margin: 2.6rem 0 2rem;
}

.choose-q {
    font-family: var(--font-pixel);
    font-size: clamp(0.95rem, 1.8vw, 1.25rem);
    text-transform: uppercase;
}

.choose-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
}

.choose-btn {
    font-size: 1rem;
    padding: 1.25rem 2.5rem;
    transition: transform 0.18s ease, filter 0.3s ease;
}

.choose-btn .fa-check { display: none; }
.choose-btn.active .fa-check { display: inline; }

.choose-btns.picked .choose-btn:not(.active) {
    filter: grayscale(0.7) brightness(0.55);
}

.choose-btns.picked .choose-btn:not(.active):hover {
    filter: grayscale(0.2) brightness(0.9);
}

.choose-btn.active {
    filter: drop-shadow(0 0 16px rgba(141, 255, 74, 0.35));
}

.choose-btn.btn--nether.active {
    filter: drop-shadow(0 0 16px rgba(197, 107, 255, 0.45));
}

.btn--nether {
    --edge: #5c2a94;
    color: #fff;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
    background: linear-gradient(#d59aff, #a55ae8 50%, #9448d8);
}

/* Dica antes de escolher */
.path-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    padding: 1.8rem;
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
}

.path-hint i {
    color: var(--xp);
    font-size: 1.1rem;
    animation: pointer 1.6s ease-in-out infinite;
}

@keyframes pointer {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* Cards de caminho */
.path-card {
    --accent: var(--emerald);
    padding: clamp(1.6rem, 3vw, 2.6rem);
    display: none;
    flex-direction: column;
    gap: 1.6rem;
    overflow: hidden;
}

.path-card.show {
    display: flex;
    animation: cardin 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardin {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

.path-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.06);
}

.path-desc {
    color: #c6d3c0;
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 72ch;
}

@media (max-width: 767px) {
    .path-desc br { display: none; }
}

.path-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent 70%);
}

.path-card--nether { --accent: var(--nether); }

.path-tag {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-label);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.path-tag::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent);
    flex: 0 0 auto;
}

.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.steps li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.steps .num {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
    background: #0c1210;
    box-shadow:
        inset 3px 3px 0 rgba(0, 0, 0, 0.65),
        inset -3px -3px 0 rgba(255, 255, 255, 0.07);
}

.steps p {
    color: var(--muted);
    padding-top: 0.35rem;
}

.steps strong { color: var(--text); }

.steps a {
    color: var(--xp);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.steps a:hover { color: var(--text); }

.path-btn { align-self: flex-start; }

/* Original: passos à esquerda, botão à direita (como o passo 0) */
.path-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.path-row .steps { flex: 1 1 420px; }
.path-row .path-btn { flex: 0 0 auto; align-self: center; }

/* Pirata: botão abaixo dos passos, na coluna ao lado do vídeo */
.path-steps-col {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* Vídeo */
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 4px;
    background: #000;
    box-shadow:
        0 -4px 0 0 #1c2620,
        0 4px 0 0 #1c2620,
        -4px 0 0 0 #1c2620,
        4px 0 0 0 #1c2620;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Capa do vídeo (carrega o player só ao clicar) */
.video-cover {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.6s ease;
}

.video-cover:hover img {
    opacity: 1;
    transform: scale(1.04);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 56px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #0e1a06;
    background: linear-gradient(#9be26a, #63b93a 50%, #54a52f);
    box-shadow:
        0 -4px 0 0 #3f7a1f,
        0 4px 0 0 #3f7a1f,
        -4px 0 0 0 #3f7a1f,
        4px 0 0 0 #3f7a1f,
        inset 0 3px 0 rgba(255, 255, 255, 0.3),
        inset 0 -4px 0 rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease;
}

.video-cover:hover .video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

/* ============ SERVIDOR ============ */
.server-panel {
    --bd: #33284a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding: clamp(2.2rem, 4vw, 3.5rem);
}

.server-panel:hover { --bd: #45366a; }

.server-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 60ch;
}

.server-info p { color: var(--muted); }

.server-tips {
    flex-basis: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 1.1rem;
    margin-top: 1.2rem;
}

.tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem;
    background: #0c1210;
    box-shadow:
        inset 3px 3px 0 rgba(0, 0, 0, 0.65),
        inset -3px -3px 0 rgba(255, 255, 255, 0.07);
}

.tip i {
    font-size: 1.25rem;
    color: var(--xp);
    margin-top: 0.25rem;
    flex: 0 0 auto;
}

.tip--gold i { color: var(--gold); }

.tip strong {
    display: block;
    margin-bottom: 0.4rem;
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tip p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Comando de chat (chip) */
.cmd {
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 0.9em;
    color: var(--xp);
    background: #0c1210;
    padding: 0.1rem 0.45rem;
    box-shadow: 0 0 0 2px #26352a;
}

/* ============ COMUNIDADE ============ */
.community {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.6rem;
}

.slots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.1rem;
    margin: 0.8rem 0 1.2rem;
}

.slot {
    position: relative;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #cfe0c6;
    text-decoration: none;
    background: #10161a;
    box-shadow:
        inset 3px 3px 0 rgba(0, 0, 0, 0.65),
        inset -3px -3px 0 rgba(255, 255, 255, 0.07);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.slot:hover {
    transform: translateY(-5px);
    color: var(--xp);
    background: #16211a;
}

/* Tooltip estilo item do Minecraft */
.slot::after {
    content: attr(data-label);
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    padding: 0.4rem 0.65rem;
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: #e8dcff;
    background: #15082b;
    border: 2px solid #6a2fd0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.slot:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* ============ RODAPÉ (bedrock) ============ */
.bedrock {
    position: relative;
    padding: 3.4rem 1.5rem 3.8rem;
    text-align: center;
    background: #06080a;
}

.bedrock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: repeating-conic-gradient(#10141a 0% 25%, #0a0e13 0% 50%);
    background-size: 14px 14px;
}

.bedrock a {
    font-family: var(--font-label);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(238, 244, 234, 0.35);
    transition: color 0.3s ease;
}

.bedrock a:hover { color: var(--xp); }

/* ============ REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVO ============ */
@media (max-width: 1023px) {
    .nav-links { display: none; }
    #menu-toggle { display: grid; }

    .hero { padding-top: 6.5rem; }
}

@media (max-width: 1023px) {
    .path-body { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .section { padding-block: 3rem; }

    /* Sol e bloom saem de trás do texto no mobile */
    .hz-sun { left: 76%; top: 26%; }
    .hz-sun::before { inset: -220px; }
    .hz-bloom {
        background:
            radial-gradient(ellipse 80% 30% at 76% 40%, rgba(255, 214, 140, 0.22), rgba(255, 190, 100, 0.10) 42%, transparent 72%),
            radial-gradient(circle at 76% 26%, rgba(255, 210, 140, 0.18), rgba(255, 180, 90, 0.08) 16%, transparent 42%),
            radial-gradient(circle at 76% 26%, rgba(141, 255, 74, 0.10), transparent 58%);
    }

    .choose-btns { width: 100%; flex-direction: column; }
    .choose-btn { width: 100%; }
    .path-btn { align-self: stretch; }

    .hero { padding-top: 6rem; }
    .hero-cta { width: 100%; }
    .hero-cta .btn { flex: 1 1 auto; }

    .step0 { flex-direction: column; align-items: stretch; }
    .step0 .btn { align-self: stretch; }

    .card, .path-card, .step0 { padding: 1.6rem; }

    .slot { width: 56px; height: 56px; font-size: 1.3rem; }

    .kicker { letter-spacing: 0.18em; }

    .server-panel { flex-direction: column; align-items: stretch; text-align: left; }
    .server-panel .btn { align-self: stretch; }
}

/* Acessibilidade: reduzir movimento */
@media (prefers-reduced-motion: reduce) {
    .p, .cursor,
    .hz-sun, .hz-sun::before, .hz-clouds, .hz-stars, #hz-canvas {
        animation: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
