:root {
    --m-purple: #a874f5;
    --m-purple-deep: #7650c9;
    --m-mint: #82e6b1;
    --m-mint-deep: #45bd83;
    --m-ink: #08070f;
    --m-panel: #14121f;
    --m-panel-2: #1b1828;
    --m-text: #f8f7ff;
    --m-muted: #aaa5b9;
    --m-border: rgba(168, 116, 245, .2);
}

html, body { min-height: 100%; }
body.mischief-body {
    background: var(--m-ink);
    color: var(--m-text);
    font-family: Inter, Outfit, "Segoe UI", sans-serif;
    overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

.mischief-header .navbar {
    position: relative;
    z-index: 20;
    min-height: 76px;
    background: rgba(8, 7, 15, .88) !important;
    border-bottom: 1px solid var(--m-border);
    backdrop-filter: blur(18px);
}
.navbar-brand { color: var(--m-text) !important; font-weight: 800; letter-spacing: -.02em; }
.navbar .nav-link { color: #d7d3e2 !important; font-weight: 650; transition: color .2s ease; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--m-mint) !important; }
.navbar-toggler { border-color: var(--m-border); }
.dropdown-menu { background: #171421; border: 1px solid var(--m-border); box-shadow: 0 18px 60px rgba(0,0,0,.45); }
.dropdown-item { color: #ddd8e8; }
.dropdown-item:hover { color: var(--m-mint); background: rgba(168,116,245,.12); }

.mischief-hero {
    position: relative;
    min-height: 690px;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 30%, rgba(168,116,245,.22), transparent 34%),
        linear-gradient(180deg, #0c0919 0%, #15102a 58%, #090810 100%);
}
.mischief-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 210px;
    z-index: -1;
    background: linear-gradient(180deg, transparent, var(--m-ink));
}
.stars { position: absolute; inset: 0; z-index: -3; opacity: .7; background-repeat: repeat; }
.stars-one { background-image: radial-gradient(circle, #fff 1px, transparent 1.4px); background-size: 83px 83px; background-position: 15px 22px; }
.stars-two { background-image: radial-gradient(circle, var(--m-purple) 1.5px, transparent 2px); background-size: 137px 137px; background-position: 60px 10px; opacity: .5; }
.tree-line { position: absolute; inset: auto -4% 0; height: 230px; z-index: -2; opacity: .8; clip-path: polygon(0 100%,0 70%,3% 70%,3% 45%,5% 45%,5% 20%,7% 45%,9% 45%,9% 70%,14% 70%,14% 55%,16% 55%,16% 31%,18% 55%,20% 55%,20% 72%,27% 72%,27% 44%,29% 44%,29% 10%,31% 44%,33% 44%,33% 68%,40% 68%,40% 48%,42% 48%,42% 24%,44% 48%,46% 48%,46% 72%,54% 72%,54% 50%,56% 50%,56% 17%,58% 50%,60% 50%,60% 68%,67% 68%,67% 42%,69% 42%,69% 8%,71% 42%,73% 42%,73% 70%,80% 70%,80% 52%,82% 52%,82% 27%,84% 52%,86% 52%,86% 70%,93% 70%,93% 46%,95% 46%,95% 20%,97% 46%,99% 46%,99% 100%); }
.tree-line-back { background: #20183b; transform: translateY(-30px) scale(1.08); opacity: .5; }
.tree-line-front { background: #07060d; }
.hero-content { padding: 76px 20px 160px; }
.hero-logo { width: min(300px, 63vw); filter: drop-shadow(0 0 42px rgba(168,116,245,.32)); margin-bottom: 22px; }
.hero-eyebrow, .section-heading p { color: var(--m-mint); font-weight: 850; letter-spacing: .2em; font-size: .78rem; }
.hero-content h1 { max-width: 760px; margin: 12px auto 18px; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.04; font-weight: 850; letter-spacing: -.045em; }
.hero-copy { max-width: 650px; margin: 0 auto; color: #c8c3d4; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.btn { border-radius: 12px; font-weight: 750; padding: .72rem 1.2rem; }
.btn-mint { color: #07120c; background: var(--m-mint); border: 1px solid var(--m-mint); box-shadow: 0 10px 38px rgba(130,230,177,.18); }
.btn-mint:hover { color: #07120c; background: #a0f2c7; border-color: #a0f2c7; transform: translateY(-2px); }
.btn-ghost { color: var(--m-text); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.19); }
.btn-ghost:hover { color: var(--m-text); border-color: var(--m-purple); background: rgba(168,116,245,.12); transform: translateY(-2px); }
.btn-primary { --bs-btn-bg: var(--m-purple-deep); --bs-btn-border-color: var(--m-purple-deep); --bs-btn-hover-bg: var(--m-purple); --bs-btn-hover-border-color: var(--m-purple); }
.server-pill { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 100px; color: #c9c4d5; background: rgba(5,4,10,.45); font-size: .9rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.online { background: var(--m-mint); box-shadow: 0 0 12px var(--m-mint); }
.status-dot.offline { background: #a19aa9; }

.feature-grid { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: -76px; }
.feature-card, .mischief-card, .card {
    background: linear-gradient(145deg, rgba(28,24,42,.98), rgba(17,15,27,.98));
    border: 1px solid var(--m-border);
    border-radius: 18px;
    color: var(--m-text);
    box-shadow: 0 22px 70px rgba(0,0,0,.26);
}
.feature-card { padding: 30px; transition: transform .25s ease, border-color .25s ease; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(130,230,177,.45); }
.feature-card.featured { border-color: rgba(130,230,177,.35); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 22px; color: var(--m-mint); background: rgba(130,230,177,.09); border: 1px solid rgba(130,230,177,.18); border-radius: 13px; font-size: 1.3rem; }
.feature-card h2 { font-size: 1.2rem; font-weight: 800; }
.feature-card p { margin: 0; color: var(--m-muted); line-height: 1.7; }
.story-section { padding-top: 112px; padding-bottom: 92px; }
.section-heading.text-start { max-width: 760px; }
.section-heading span { display: block; color: var(--m-muted); font-size: 1.08rem; line-height: 1.7; }
.spotlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.spotlight-card { position: relative; min-height: 390px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 38px; border: 1px solid var(--m-border); border-radius: 22px; background: #161222; isolation: isolate; }
.spotlight-card::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.world-card::before { background: radial-gradient(circle at 80% 10%, rgba(130,230,177,.2), transparent 34%), linear-gradient(155deg, rgba(10,8,16,.15), rgba(10,8,16,.94)), repeating-linear-gradient(135deg, rgba(130,230,177,.04) 0 2px, transparent 2px 18px); }
.skills-card::before { background: radial-gradient(circle at 78% 8%, rgba(168,116,245,.27), transparent 35%), linear-gradient(155deg, rgba(10,8,16,.12), rgba(10,8,16,.94)), repeating-linear-gradient(45deg, rgba(168,116,245,.04) 0 2px, transparent 2px 18px); }
.spotlight-icon { position: absolute; top: 34px; right: 34px; width: 64px; height: 64px; display: grid; place-items: center; color: var(--m-mint); border: 1px solid rgba(130,230,177,.25); border-radius: 18px; background: rgba(130,230,177,.08); font-size: 1.75rem; }
.skills-card .spotlight-icon { color: var(--m-purple); border-color: rgba(168,116,245,.25); background: rgba(168,116,245,.08); }
.card-kicker { margin-bottom: 10px; color: var(--m-mint); font-weight: 850; letter-spacing: .16em; font-size: .72rem; }
.spotlight-card h3 { max-width: 440px; font-size: clamp(1.6rem,3vw,2.25rem); font-weight: 850; letter-spacing: -.035em; }
.spotlight-card > div > p:not(.card-kicker) { color: #b6b0c3; line-height: 1.7; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feature-tags span { padding: 6px 10px; color: #dcd8e7; border: 1px solid rgba(255,255,255,.1); border-radius: 100px; background: rgba(255,255,255,.04); font-size: .78rem; }
.server-features-band { padding: 96px 0; border-block: 1px solid rgba(168,116,245,.13); background: linear-gradient(180deg, rgba(168,116,245,.045), rgba(130,230,177,.025)); }
.server-features-band .section-heading { max-width: 720px; margin-inline: auto; }
.perk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 42px; }
.perk { padding: 26px 22px; border: 1px solid rgba(168,116,245,.14); border-radius: 16px; background: rgba(13,11,21,.62); transition: transform .22s ease, border-color .22s ease; }
.perk:hover { transform: translateY(-4px); border-color: rgba(130,230,177,.38); }
.perk > i { display: block; margin-bottom: 18px; color: var(--m-mint); font-size: 1.45rem; }
.perk h3 { font-size: 1rem; font-weight: 800; }
.perk p { margin: 0; color: var(--m-muted); font-size: .9rem; line-height: 1.65; }
.join-section { padding-top: 96px; }
.join-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 48px; overflow: hidden; border: 1px solid rgba(130,230,177,.28); border-radius: 24px; background: radial-gradient(circle at 90% 20%, rgba(130,230,177,.13), transparent 33%), linear-gradient(140deg, #1a1529, #100e19); box-shadow: 0 28px 90px rgba(0,0,0,.3); }
.join-panel h2 { font-size: clamp(2rem,4vw,3.2rem); font-weight: 850; letter-spacing: -.04em; }
.join-panel > div:first-child > p:last-child { max-width: 580px; color: var(--m-muted); line-height: 1.7; }
.join-details { display: grid; gap: 12px; }
.edition-row { display: flex; flex-direction: column; gap: 7px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(0,0,0,.18); }
.edition-row span { color: var(--m-muted); }
.edition-row span i { margin-right: 7px; color: var(--m-purple); }
.edition-row .connection-value { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--m-text); text-align: left; font-size: .95rem; overflow-wrap: anywhere; }
.edition-row .connection-value > span:first-child { color: var(--m-text); }
.port-badge { flex: 0 0 auto; padding: 4px 8px; color: #07120c !important; background: var(--m-mint); border-radius: 100px; font-size: .72rem; line-height: 1; }
.content-section { padding-top: 94px; padding-bottom: 100px; }
.welcome-message { padding: 24px; margin-bottom: 60px; }
.section-heading { text-align: center; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(2rem,4vw,3rem); font-weight: 850; }
.card { overflow: hidden; }
.card-title a { color: var(--m-text); }
.card-title a:hover { color: var(--m-mint); }
.card-text, .text-body-secondary { color: var(--m-muted) !important; }
.card-footer { color: var(--m-muted); background: rgba(0,0,0,.13); border-color: var(--m-border); }
.form-control, .form-select { color: var(--m-text); background-color: #100e19; border-color: rgba(168,116,245,.25); }
.form-control:focus, .form-select:focus { color: var(--m-text); background-color: #100e19; border-color: var(--m-purple); box-shadow: 0 0 0 .2rem rgba(168,116,245,.16); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--m-text); --bs-table-border-color: var(--m-border); }

.mischief-footer { color: #9892a7; background: #06050b; border-top: 1px solid rgba(168,116,245,.13); }
.footer-mark { width: 54px; height: 54px; object-fit: contain; margin-bottom: 12px; opacity: .9; }
.social-link { width: 38px; height: 38px; color: var(--m-text); background: rgba(168,116,245,.12); border: 1px solid var(--m-border); border-radius: 50%; }
.social-link:hover { color: #07120c; background: var(--m-mint); }

@media (max-width: 991px) {
    .feature-grid { grid-template-columns: 1fr; max-width: 680px; }
    .spotlight-grid { grid-template-columns: 1fr; }
    .perk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .join-panel { grid-template-columns: 1fr; gap: 30px; }
    .mischief-hero { min-height: 650px; }
    .hero-content { padding-bottom: 140px; }
}
@media (max-width: 575px) {
    .mischief-header .navbar { min-height: 66px; }
    .mischief-hero { min-height: 610px; }
    .hero-content { padding-top: 54px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .feature-card { padding: 24px; }
    .story-section, .server-features-band { padding-top: 72px; padding-bottom: 72px; }
    .spotlight-card { min-height: 430px; padding: 26px; }
    .perk-grid { grid-template-columns: 1fr; }
    .join-panel { padding: 28px 22px; }
    .edition-row .connection-value { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Minecraft-inspired finish: block geometry, pixel shadows and subtle textures. */
body.mischief-body {
    background-color: #07060c;
    background-image:
        linear-gradient(rgba(168,116,245,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168,116,245,.018) 1px, transparent 1px);
    background-size: 24px 24px;
}
.mischief-header .navbar {
    border-bottom: 2px solid rgba(168,116,245,.22);
    box-shadow: 0 3px 0 rgba(0,0,0,.7);
}
.navbar-brand,
.hero-content h1,
.section-heading h2,
.spotlight-card h3,
.join-panel h2 {
    font-family: "Arial Black", Impact, "Segoe UI Black", sans-serif;
    letter-spacing: -.045em;
}
.navbar-brand { text-transform: uppercase; letter-spacing: .025em; }
.hero-content h1 { text-shadow: 3px 3px 0 rgba(75,47,124,.75), 6px 6px 0 rgba(0,0,0,.3); }
.hero-eyebrow,
.section-heading p,
.card-kicker {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    text-shadow: 2px 2px 0 rgba(0,0,0,.55);
}
.btn {
    border-width: 2px;
    border-radius: 3px;
    box-shadow: inset 2px 2px 0 rgba(255,255,255,.12), inset -2px -2px 0 rgba(0,0,0,.28), 0 4px 0 #050409;
    text-transform: uppercase;
    letter-spacing: .025em;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 2px 2px 0 rgba(255,255,255,.16), inset -2px -2px 0 rgba(0,0,0,.28), 0 6px 0 #050409; }
.btn:active { transform: translateY(3px); box-shadow: inset 2px 2px 0 rgba(0,0,0,.24), 0 1px 0 #050409; }
.server-pill,
.feature-tags span,
.port-badge { border-radius: 2px; }
.feature-card,
.mischief-card,
.card,
.spotlight-card,
.perk,
.join-panel,
.edition-row {
    border-radius: 4px;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.018), 6px 6px 0 rgba(0,0,0,.3);
}
.feature-card,
.spotlight-card,
.perk,
.join-panel { position: relative; }
.feature-card::after,
.perk::after,
.join-panel::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    background: rgba(168,116,245,.3);
    box-shadow: -7px 0 0 rgba(130,230,177,.12), 0 7px 0 rgba(130,230,177,.12);
}
.feature-icon,
.spotlight-icon,
.social-link {
    border-radius: 3px;
    box-shadow: inset 2px 2px 0 rgba(255,255,255,.08), 3px 3px 0 rgba(0,0,0,.28);
}
.spotlight-card {
    border-width: 2px;
}
.spotlight-card::after {
    content: "";
    position: absolute;
    inset: 10px;
    z-index: -1;
    pointer-events: none;
    border: 1px dashed rgba(255,255,255,.05);
}
.world-card::before {
    background:
        radial-gradient(circle at 80% 10%, rgba(130,230,177,.2), transparent 34%),
        linear-gradient(155deg, rgba(10,8,16,.15), rgba(10,8,16,.94)),
        repeating-conic-gradient(from 45deg, rgba(130,230,177,.045) 0 25%, transparent 0 50%) 0 0 / 24px 24px;
}
.skills-card::before {
    background:
        radial-gradient(circle at 78% 8%, rgba(168,116,245,.27), transparent 35%),
        linear-gradient(155deg, rgba(10,8,16,.12), rgba(10,8,16,.94)),
        repeating-conic-gradient(from 45deg, rgba(168,116,245,.045) 0 25%, transparent 0 50%) 0 0 / 24px 24px;
}
.perk > i { filter: drop-shadow(2px 2px 0 rgba(0,0,0,.65)); }
.edition-row { border-left: 4px solid var(--m-purple-deep); }
.edition-row:nth-child(2) { border-left-color: var(--m-mint-deep); }
.mischief-footer { border-top-width: 2px; }

@media (max-width: 575px) {
    .hero-content h1 { text-shadow: 2px 2px 0 rgba(75,47,124,.75), 4px 4px 0 rgba(0,0,0,.3); }
    .feature-card, .spotlight-card, .perk, .join-panel { box-shadow: inset 0 0 0 2px rgba(255,255,255,.018), 4px 4px 0 rgba(0,0,0,.3); }
}

/* Full voxel-world pass. */
.mischief-hero {
    min-height: 790px;
    background-color: #080719;
    background-image:
        linear-gradient(180deg, rgba(5,5,15,.3) 0%, rgba(9,7,22,.28) 38%, rgba(8,7,15,.92) 100%),
        radial-gradient(circle at 50% 30%, rgba(168,116,245,.12), transparent 38%),
        url("../img/mischief-voxel-hero.webp");
    background-size: cover;
    background-position: center center;
}
.mischief-hero .stars { opacity: .1; }
.mischief-hero .tree-line-back { opacity: .3; }
.mischief-hero .tree-line-front { opacity: .68; }
.mischief-hero::after {
    height: 170px;
    background:
        linear-gradient(180deg, transparent, var(--m-ink)),
        repeating-linear-gradient(90deg, transparent 0 24px, rgba(130,230,177,.15) 24px 48px);
}
.hero-content {
    padding-top: 86px;
    padding-bottom: 190px;
}
.hero-logo {
    width: min(260px, 58vw);
    padding: 8px;
    border: 3px solid rgba(168,116,245,.48);
    background: rgba(6,5,13,.62);
    box-shadow: inset 0 0 0 3px rgba(0,0,0,.5), 8px 8px 0 rgba(0,0,0,.45), 0 0 55px rgba(168,116,245,.28);
    image-rendering: auto;
}
.hero-content h1 { max-width: 820px; }
.hero-copy { color: #e0dce9; text-shadow: 2px 2px 0 #08070f; }
.feature-grid::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    right: 0;
    height: 20px;
    border-top: 4px solid #75d99f;
    border-bottom: 5px solid #342341;
    background:
        linear-gradient(135deg, rgba(255,255,255,.12) 25%, transparent 25%) 0 0 / 16px 16px,
        repeating-linear-gradient(90deg, #4ca776 0 16px, #62c58c 16px 32px);
    box-shadow: 0 5px 0 #160f1d, 0 10px 0 rgba(0,0,0,.35);
}

/* A deliberately less uniform introduction, written like a real server note. */
.server-note {
    position: relative;
    display: grid;
    grid-template-columns: 1.45fr .72fr;
    gap: clamp(32px, 6vw, 78px);
    align-items: center;
    margin-top: 74px;
    margin-bottom: 44px;
    padding-top: 54px;
}
.server-note::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    width: 58%;
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--m-mint) 0 28px, #342440 28px 44px);
    box-shadow: 0 4px 0 #07060b;
}
.server-note-copy { padding-left: clamp(0px, 3vw, 38px); }
.wood-sign {
    display: inline-block;
    transform: rotate(-1.2deg);
    margin-bottom: 22px;
    padding: 8px 14px;
    color: #21180e;
    border: 2px solid #352417;
    background: repeating-linear-gradient(0deg, #b98a54 0 7px, #a97947 7px 9px);
    box-shadow: 4px 5px 0 rgba(0,0,0,.35);
    font-family: ui-monospace, monospace;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
}
.server-note h2 { margin-bottom: 22px; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(2rem, 4.5vw, 3.9rem); line-height: 1.02; letter-spacing: -.05em; }
.server-note-copy p { max-width: 720px; color: #c6c0cf; font-size: 1rem; line-height: 1.78; }
.server-note-copy p:last-child { margin-bottom: 0; }
.server-scribbles {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    min-height: 186px;
    display: grid;
    align-content: center;
    gap: 9px;
    justify-self: center;
    transform: rotate(1deg);
    margin: 0 auto 66px;
    padding: 27px 30px 25px;
    color: #2a170b;
    border: 4px solid #3b210f;
    background:
        linear-gradient(90deg, transparent 0 17%, rgba(66,37,15,.12) 17% 18%, transparent 18% 76%, rgba(255,226,149,.11) 76% 77%, transparent 77%),
        repeating-linear-gradient(0deg, #b87935 0 42px, #895323 42px 46px, #c5873d 46px 88px, #885021 88px 92px);
    box-shadow:
        inset 0 0 0 3px rgba(240,181,94,.3),
        inset 7px 0 0 rgba(255,210,121,.11),
        inset -8px 0 0 rgba(56,28,8,.15),
        9px 10px 0 rgba(0,0,0,.42);
}
.server-scribbles::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: calc(100% - 2px);
    left: calc(50% - 23px);
    width: 46px;
    height: 74px;
    border: 4px solid #38200f;
    border-top: 0;
    background: repeating-linear-gradient(90deg, #875124 0 14px, #a76b31 14px 27px, #744019 27px 31px);
    box-shadow: 7px 6px 0 rgba(0,0,0,.35);
}
.server-scribbles::after {
    content: "■                                      ■";
    position: absolute;
    top: 9px;
    left: 13px;
    right: 13px;
    overflow: hidden;
    color: #4b2a13;
    font-family: monospace;
    font-size: 10px;
    line-height: 1;
    white-space: pre;
}
.server-scribbles > span,
.server-scribbles > strong {
    display: block;
    color: #241308;
    font-family: ui-monospace, "Cascadia Mono", monospace;
    font-size: clamp(.83rem, 1.5vw, .98rem);
    font-weight: 900;
    line-height: 1.12;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(255,211,137,.2);
}
.server-scribbles > strong { color: #352044; }
.feature-card {
    border: 2px solid #3c3450;
    background:
        linear-gradient(145deg, rgba(26,22,38,.96), rgba(12,11,18,.98)),
        repeating-conic-gradient(from 45deg, rgba(255,255,255,.03) 0 25%, transparent 0 50%) 0 0 / 20px 20px;
}
.feature-card:nth-child(1) { border-top: 4px solid #65d79a; }
.feature-card:nth-child(2) { border-top: 4px solid #a874f5; }
.feature-card:nth-child(3) { border-top: 4px solid #d8b765; }
.feature-icon,
.spotlight-icon {
    border: 3px solid #41384f;
    outline: 2px solid #0a0810;
    background-color: #1c1728;
    background-image: repeating-conic-gradient(from 45deg, rgba(255,255,255,.045) 0 25%, transparent 0 50%);
    background-size: 12px 12px;
}
.story-section {
    position: relative;
    margin-top: 44px;
    padding-top: 130px;
}
.story-section::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 12px;
    right: 12px;
    height: 32px;
    border-block: 3px solid #3f364e;
    background:
        linear-gradient(135deg, #282331 25%, #19161f 25% 50%, #302a39 50% 75%, #1b1821 75%) 0 0 / 32px 32px;
    box-shadow: 0 5px 0 #08070d;
}
.server-features-band {
    background-color: #0d0b12;
    background-image:
        linear-gradient(rgba(168,116,245,.025) 2px, transparent 2px),
        linear-gradient(90deg, rgba(168,116,245,.025) 2px, transparent 2px),
        repeating-conic-gradient(from 45deg, rgba(255,255,255,.018) 0 25%, transparent 0 50%);
    background-size: 48px 48px, 48px 48px, 24px 24px;
    border-block: 5px solid #282230;
    box-shadow: inset 0 6px 0 #08070d, inset 0 -6px 0 #08070d;
}
.perk {
    border: 2px solid #332c3e;
    background:
        linear-gradient(145deg, rgba(19,16,25,.94), rgba(8,7,11,.96)),
        repeating-conic-gradient(from 45deg, rgba(255,255,255,.025) 0 25%, transparent 0 50%) 0 0 / 16px 16px;
}
.perk > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 3px solid #41384f;
    outline: 2px solid #09070e;
    background: #1b1723;
}
.join-panel {
    border: 3px solid #60498a;
    outline: 3px solid #09070e;
    background:
        radial-gradient(circle at 90% 20%, rgba(130,230,177,.13), transparent 33%),
        repeating-conic-gradient(from 45deg, rgba(168,116,245,.035) 0 25%, transparent 0 50%) 0 0 / 24px 24px,
        linear-gradient(140deg, #1a1529, #100e19);
}
.edition-row {
    border-width: 2px 2px 2px 5px;
    background:
        linear-gradient(90deg, rgba(168,116,245,.055), transparent),
        repeating-conic-gradient(from 45deg, rgba(255,255,255,.025) 0 25%, transparent 0 50%) 0 0 / 14px 14px,
        #0b0a10;
}
.mischief-footer {
    background:
        repeating-conic-gradient(from 45deg, rgba(255,255,255,.02) 0 25%, transparent 0 50%) 0 0 / 18px 18px,
        #050409;
}

/* Live server panel */
.hero-status-ribbon {
    display: grid;
    grid-template-columns: repeat(3, auto) minmax(220px, 1fr);
    max-width: 860px;
    margin: 28px auto 0;
    border: 2px solid rgba(168,116,245,.42);
    background: rgba(7,6,12,.82);
    box-shadow: 6px 6px 0 rgba(0,0,0,.36), inset 0 0 0 2px rgba(255,255,255,.02);
    backdrop-filter: blur(9px);
}
.hero-status-state,
.hero-status-stat,
.hero-status-address { display: flex; gap: 11px; align-items: center; min-width: 0; padding: 13px 16px; border-right: 2px solid rgba(168,116,245,.2); }
.hero-status-state .status-dot { flex: 0 0 auto; }
.hero-status-stat > i { color: var(--m-purple); font-size: 1.05rem; }
.hero-status-state small,
.hero-status-stat small,
.hero-status-address small { display: block; color: #928b9e; font-family: ui-monospace, monospace; font-size: .57rem; font-weight: 900; letter-spacing: .13em; text-align: left; }
.hero-status-state strong,
.hero-status-stat strong,
.hero-status-address strong { display: block; color: #fff; font-size: .82rem; line-height: 1.25; white-space: nowrap; }
.hero-status-address { justify-content: space-between; color: #fff; border: 0; background: rgba(130,230,177,.055); }
.hero-status-address:hover { background: rgba(130,230,177,.14); }
.hero-status-address > i { color: var(--m-mint); }
.live-server-section { margin-top: 88px; margin-bottom: 72px; }
.live-server-panel {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border: 3px solid #60498a;
    outline: 3px solid #09070e;
    background:
        radial-gradient(circle at 88% 15%, rgba(130,230,177,.14), transparent 31%),
        repeating-conic-gradient(from 45deg, rgba(168,116,245,.035) 0 25%, transparent 0 50%) 0 0 / 24px 24px,
        linear-gradient(140deg, #1a1529, #100e19);
    box-shadow: 9px 9px 0 rgba(0,0,0,.42), inset 0 0 0 2px rgba(255,255,255,.025);
    clip-path: polygon(0 0, calc(100% - 24px) 0, calc(100% - 24px) 8px, calc(100% - 8px) 8px, calc(100% - 8px) 24px, 100% 24px, 100% 100%, 24px 100%, 24px calc(100% - 8px), 8px calc(100% - 8px), 8px calc(100% - 24px), 0 calc(100% - 24px));
}
.live-server-heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; padding-bottom: 30px; border-bottom: 3px solid #342b43; }
.live-server-heading h2 { max-width: 680px; margin-bottom: 10px; font-family: "Arial Black", Impact, sans-serif; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; }
.live-server-heading > div:first-child > p:last-child { max-width: 650px; margin: 0; color: var(--m-muted); }
.live-status { min-width: 168px; display: flex; gap: 14px; align-items: center; padding: 15px 18px; border: 2px solid #3d3448; background: #0a090e; box-shadow: 4px 4px 0 rgba(0,0,0,.35); }
.live-status small { display: block; color: #8f8999; font-family: ui-monospace, monospace; font-size: .64rem; font-weight: 900; letter-spacing: .13em; }
.live-status strong { display: block; font-size: 1.12rem; }
.status-cube { width: 18px; height: 18px; flex: 0 0 18px; background: #d85868; box-shadow: inset -4px -4px 0 rgba(0,0,0,.2), 3px 3px 0 #35161d; }
.live-status.is-online .status-cube { background: var(--m-mint); box-shadow: inset -4px -4px 0 rgba(0,0,0,.16), 3px 3px 0 #244a36, 0 0 18px rgba(130,230,177,.32); }
.live-server-grid { display: grid; grid-template-columns: minmax(245px,.72fr) 1.28fr; gap: 18px; padding: 28px 0; }
.player-counter { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 25px; border: 2px solid #42364f; background: rgba(8,7,12,.78); box-shadow: inset 0 0 0 2px rgba(255,255,255,.02); }
.counter-icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--m-mint); border: 3px solid #493a5a; background: #1a1423; font-size: 1.35rem; }
.player-counter strong { display: block; color: #fff; font-family: "Arial Black", Impact, sans-serif; font-size: 2.15rem; line-height: .95; }
.player-counter div > span { color: var(--m-muted); font-size: .88rem; }
.player-counter > small { grid-column: 1 / -1; color: #bdb6c8; font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: .07em; }
.pulse-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--m-mint); box-shadow: 0 0 10px rgba(130,230,177,.75); animation: status-pulse 1.8s ease-in-out infinite; }
@keyframes status-pulse { 50% { opacity: .42; transform: scale(.82); } }
.connection-stack { display: grid; gap: 12px; }
.connection-card { display: grid; grid-template-columns: 155px 1fr auto; gap: 16px; align-items: center; min-width: 0; padding: 17px 18px; border: 2px solid #3a3147; border-left: 6px solid var(--m-purple); background: rgba(8,7,12,.78); }
.connection-card:nth-child(2) { border-left-color: var(--m-mint); }
.connection-card > span { display: flex; align-items: center; gap: 10px; color: var(--m-purple); }
.connection-card:nth-child(2) > span { color: var(--m-mint); }
.connection-card small { color: #bdb6c8; font-family: ui-monospace, monospace; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.connection-card strong { min-width: 0; overflow-wrap: anywhere; text-align: right; font-size: .96rem; }
.connection-card em { margin-left: 8px; padding: 4px 7px; color: #09070d; background: var(--m-mint); font-style: normal; font-size: .75rem; }
.copy-icon { width: 38px; height: 38px; color: #fff; border: 2px solid #50425f; background: #201829; box-shadow: 3px 3px 0 rgba(0,0,0,.35); }
.copy-icon:hover { color: #09070d; border-color: var(--m-mint); background: var(--m-mint); }
.live-server-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-discord { color: #fff; border: 2px solid #7886ff; background: #5865f2; box-shadow: 4px 4px 0 #252a70; }
.btn-discord:hover { color: #fff; border-color: #9ca6ff; background: #6975f5; transform: translate(-1px,-1px); box-shadow: 5px 5px 0 #252a70; }
.crossplay-note { margin-left: auto; color: var(--m-muted); font-size: .86rem; }
.crossplay-note i { margin-right: 7px; color: var(--m-mint); }

@media (max-width: 991px) {
    .mischief-hero { min-height: 730px; background-position: 58% center; }
}
@media (max-width: 575px) {
    .mischief-hero { min-height: 690px; background-position: 62% center; }
    .hero-content { padding-top: 58px; padding-bottom: 150px; }
    .hero-logo { width: min(230px, 62vw); border-width: 2px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.5), 5px 5px 0 rgba(0,0,0,.45), 0 0 38px rgba(168,116,245,.24); }
    .story-section::before { left: 0; right: 0; }
}

/* Missing-block corners: used selectively so the page still feels structured. */
.feature-card:nth-child(1),
.feature-card:nth-child(3),
.spotlight-card,
.perk:nth-child(3n + 1),
.join-panel,
.guide-card:nth-child(3n + 1),
.guide-wide-card {
    --block-notch: 18px;
    clip-path: polygon(
        0 0,
        calc(100% - var(--block-notch)) 0,
        calc(100% - var(--block-notch)) 7px,
        calc(100% - 7px) 7px,
        calc(100% - 7px) var(--block-notch),
        100% var(--block-notch),
        100% 100%,
        var(--block-notch) 100%,
        var(--block-notch) calc(100% - 7px),
        7px calc(100% - 7px),
        7px calc(100% - var(--block-notch)),
        0 calc(100% - var(--block-notch))
    );
}
.spotlight-card:nth-child(2),
.perk:nth-child(3n + 2),
.guide-card:nth-child(3n + 2) {
    --block-notch: 14px;
    clip-path: polygon(
        var(--block-notch) 0,
        100% 0,
        100% calc(100% - var(--block-notch)),
        calc(100% - 7px) calc(100% - var(--block-notch)),
        calc(100% - 7px) calc(100% - 7px),
        calc(100% - var(--block-notch)) calc(100% - 7px),
        calc(100% - var(--block-notch)) 100%,
        0 100%,
        0 var(--block-notch),
        7px var(--block-notch),
        7px 7px,
        var(--block-notch) 7px
    );
}

/* Player guide */
main.content > h1 {
    margin-bottom: 28px;
    font-family: "Arial Black", Impact, "Segoe UI Black", sans-serif;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    letter-spacing: -.045em;
    text-shadow: 3px 3px 0 rgba(75,47,124,.72), 6px 6px 0 rgba(0,0,0,.28);
}
.mischief-guide { padding-bottom: 48px; }
.guide-intro {
    position: relative;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    margin-bottom: 82px;
    padding: 46px;
    border: 3px solid #57436f;
    background:
        linear-gradient(180deg, rgba(7,6,15,.18), rgba(7,6,15,.94)),
        url("../img/mischief-voxel-hero.webp") center / cover;
    box-shadow: inset 0 0 0 3px rgba(0,0,0,.46), 8px 8px 0 rgba(0,0,0,.38);
    clip-path: polygon(0 0, calc(100% - 25px) 0, calc(100% - 25px) 9px, calc(100% - 9px) 9px, calc(100% - 9px) 25px, 100% 25px, 100% 100%, 25px 100%, 25px calc(100% - 9px), 9px calc(100% - 9px), 9px calc(100% - 25px), 0 calc(100% - 25px));
}
.guide-kicker {
    margin-bottom: 10px;
    color: var(--m-mint);
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .18em;
}
.guide-intro h2,
.guide-help h2 {
    max-width: 720px;
    font-family: "Arial Black", Impact, "Segoe UI Black", sans-serif;
    font-size: clamp(2.1rem, 5vw, 4rem);
    letter-spacing: -.045em;
    text-shadow: 3px 3px 0 rgba(75,47,124,.7);
}
.guide-intro > p:not(.guide-kicker) { max-width: 760px; color: #ddd8e7; font-size: 1.08rem; line-height: 1.7; }
.guide-quickbar { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.guide-quickbar span {
    padding: 9px 12px;
    border: 2px solid rgba(255,255,255,.14);
    background: rgba(7,6,13,.68);
    box-shadow: inset 2px 2px 0 rgba(255,255,255,.05), 3px 3px 0 rgba(0,0,0,.42);
    font-size: .88rem;
}
.guide-section-title {
    position: relative;
    margin: 74px 0 32px;
    padding: 0 0 19px 22px;
    font-family: "Arial Black", Impact, "Segoe UI Black", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -.035em;
}
.guide-section-title::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 24px; width: 7px; background: var(--m-mint); box-shadow: 7px 7px 0 rgba(168,116,245,.36); }
.guide-section-title::after { content: ""; position: absolute; left: 22px; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--m-mint-deep) 0 18px, #372447 18px 36px); box-shadow: 0 4px 0 #08070d; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-card,
.guide-wide-card {
    position: relative;
    padding: 30px;
    border: 2px solid #372f43;
    background:
        linear-gradient(145deg, rgba(24,20,32,.97), rgba(9,8,13,.98)),
        repeating-conic-gradient(from 45deg, rgba(255,255,255,.025) 0 25%, transparent 0 50%) 0 0 / 18px 18px;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.018), 5px 5px 0 rgba(0,0,0,.32);
}
.guide-card h3,
.guide-wide-card h3 { font-family: "Arial Black", Impact, sans-serif; font-size: 1.25rem; letter-spacing: -.02em; }
.guide-card p,
.guide-wide-card p { margin-bottom: 0; color: var(--m-muted); line-height: 1.72; }
.guide-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: var(--m-mint);
    border: 3px solid #453951;
    outline: 2px solid #07060b;
    background: repeating-conic-gradient(from 45deg, #20182a 0 25%, #17111f 0 50%) 0 0 / 12px 12px;
    box-shadow: 3px 3px 0 rgba(0,0,0,.38);
    font-family: ui-monospace, monospace;
    font-size: 1.35rem;
    font-weight: 900;
}
.guide-card code { padding: 3px 6px; color: var(--m-mint); border: 1px solid #3f3450; background: #09070d; }
.guide-card a { color: var(--m-mint); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.guide-wide-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; border-left: 6px solid var(--m-mint-deep); }
.guide-wide-card .guide-icon { margin: 0; }
.guide-help {
    margin-top: 78px;
    padding: 42px;
    border: 3px solid #5d4680;
    background:
        repeating-conic-gradient(from 45deg, rgba(168,116,245,.045) 0 25%, transparent 0 50%) 0 0 / 22px 22px,
        linear-gradient(145deg, #191326, #0c0a11);
    clip-path: polygon(0 0, calc(100% - 22px) 0, calc(100% - 22px) 8px, calc(100% - 8px) 8px, calc(100% - 8px) 22px, 100% 22px, 100% 100%, 0 100%);
}
.guide-help p:last-child { max-width: 780px; color: var(--m-muted); line-height: 1.7; }

@media (max-width: 767px) {
    .server-note { grid-template-columns: 1fr; padding-top: 42px; }
    .server-note::before { width: 78%; }
    .server-note-copy { padding-left: 0; }
    .server-scribbles { transform: rotate(.4deg); }
    .hero-status-ribbon { grid-template-columns: 1fr 1fr; width: min(100%, 520px); }
    .hero-status-state, .hero-status-stat { border-bottom: 2px solid rgba(168,116,245,.2); }
    .hero-status-stat:nth-child(3) { border-bottom: 0; }
    .hero-status-address { border-left: 0; }
    .live-server-panel { padding: 30px 22px; }
    .live-server-heading { display: grid; }
    .live-status { width: 100%; }
    .live-server-grid { grid-template-columns: 1fr; }
    .connection-card { grid-template-columns: 1fr auto; }
    .connection-card > span { grid-column: 1 / -1; }
    .connection-card strong { text-align: left; }
    .crossplay-note { width: 100%; margin: 4px 0 0; }
    .guide-intro { min-height: 440px; padding: 30px 24px; }
    .guide-grid { grid-template-columns: 1fr; }
    .guide-card, .guide-wide-card { padding: 24px; }
    .guide-wide-card { grid-template-columns: 1fr; }
    .guide-help { padding: 30px 24px; }
}

@media (max-width: 480px) {
    .hero-status-ribbon { grid-template-columns: 1fr; text-align: left; }
    .hero-status-state, .hero-status-stat, .hero-status-address { border-right: 0; border-bottom: 2px solid rgba(168,116,245,.2); }
    .hero-status-address { border-bottom: 0; }
}
