

:root {
    --sky-top: #78A7FF;
    --sky-bottom: #B8D4FF;
    --grass-green: #5D9C33;
    --grass-dark: #3E6E20;
    --dirt-brown: #79553A;
    --dirt-dark: #523825;
    --stone-gray: #8B8B8B;
    --stone-light: #C6C6C6;
    --stone-dark: #373737;
    --panel-bg: #C6C6C6;
    --gold-xp: #80FF20;
    --ink-dark: #1E1E1E;

    --pixel-title: "Press Start 2P", monospace;
    --pixel-body: "VT323", monospace;
}

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

html {
    scroll-behavior: smooth;
    image-rendering: pixelated;
}

body {
    font-family: var(--pixel-body);
    font-size: 22px;
    background: url("aesthetic-craft.jpg") center center / cover no-repeat fixed;
    color: var(--ink-dark);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Soft Sunset Tint + Subtle Pixel Grid Overlay para malinaw pa rin basahin ang text */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-color: rgba(20, 15, 30, 0.25);
    background-size: 16px 16px;
}

/* Blocky Minecraft Clouds */
.background-decoration {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.pixel-cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 6px 0 rgba(190, 210, 240, 0.8);
}

.cloud-1 {
    top: 12%;
    left: 6%;
    width: 140px;
    height: 32px;
}
.cloud-1::after {
    content: "";
    position: absolute;
    top: -16px;
    left: 24px;
    width: 72px;
    height: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.cloud-2 {
    top: 26%;
    right: 8%;
    width: 180px;
    height: 36px;
}
.cloud-2::after {
    content: "";
    position: absolute;
    top: -18px;
    left: 40px;
    width: 90px;
    height: 18px;
    background: rgba(255, 255, 255, 0.78);
}

.cloud-3 {
    top: 58%;
    left: 10%;
    width: 120px;
    height: 28px;
}

/* General */

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.section-container {
    width: min(1060px, 92%);
    margin-inline: auto;
}

.handwritten {
    font-family: var(--pixel-body);
    font-size: 24px;
    color: #2B2B2B;
}

.eyebrow {
    display: inline-block;
    font-family: var(--pixel-title);
    font-size: 10px;
    line-height: 1.6;
    color: #FFFF55;
    background: rgba(0, 0, 0, 0.65);
    padding: 8px 12px;
    border: 3px solid #1E1E1E;
    text-shadow: 2px 2px 0 #3F3F15;
    margin-bottom: 20px;
}

/* Header */

.site-header {
    width: min(1140px, 94%);
    margin: 18px auto;
    padding: 14px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    background: var(--panel-bg);
    border: 4px solid var(--ink-dark);
    box-shadow:
        inset 4px 4px 0 #FFFFFF,
        inset -4px -4px 0 #555555,
        0 6px 0 rgba(0, 0, 0, 0.35);

    position: sticky;
    top: 12px;
    z-index: 100;
}

.logo {
    font-family: var(--pixel-title);
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-dark);
    text-shadow: 2px 2px 0 #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grass Block Icon */
.grass-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: linear-gradient(180deg, var(--grass-green) 0% 38%, var(--grass-dark) 38% 48%, var(--dirt-brown) 48% 100%);
    border: 2px solid var(--ink-dark);
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.main-nav a {
    font-family: var(--pixel-body);
    font-size: 21px;
    padding: 4px 10px;
    background: #8B8B8B;
    color: #FFFFFF;
    border: 2px solid var(--ink-dark);
    box-shadow:
        inset 2px 2px 0 #B8B8B8,
        inset -2px -2px 0 #4A4A4A;
    text-shadow: 2px 2px 0 #373737;
    transition: none;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--grass-green);
    color: #FFFF55;
    box-shadow:
        inset 2px 2px 0 #8CE052,
        inset -2px -2px 0 var(--grass-dark);
    text-shadow: 2px 2px 0 #234210;
}

.menu-toggle {
    display: none;
    background: #8B8B8B;
    border: 3px solid var(--ink-dark);
    box-shadow: inset 2px 2px 0 #C6C6C6, inset -2px -2px 0 #4A4A4A;
    padding: 4px 10px;
    font-size: 20px;
    color: #FFFFFF;
}

/* Hero */

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 45px;
    padding-block: 55px;
}

.hero h1 {
    font-family: var(--pixel-title);
    font-size: clamp(24px, 3.8vw, 40px);
    line-height: 1.45;
    color: #FFFFFF;
    text-shadow:
        4px 4px 0 #1E1E1E,
        -2px -2px 0 #1E1E1E,
        2px -2px 0 #1E1E1E,
        -2px 2px 0 #1E1E1E;
    margin-bottom: 22px;
}

.hero h1 span {
    display: block;
    color: var(--gold-xp);
    margin-top: 8px;
}

.hero-description {
    max-width: 520px;
    font-size: 24px;
    color: var(--ink-dark);
    background: rgba(255, 255, 255, 0.72);
    padding: 14px 18px;
    border: 3px solid var(--ink-dark);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 26px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Minecraft  Buttons */
.btn {
    display: inline-block;
    padding: 14px 20px;
    font-family: var(--pixel-title);
    font-size: 11px;
    line-height: 1.4;
    border: 3px solid var(--ink-dark);
    text-align: center;
}

.btn-primary {
    background: var(--grass-green);
    color: #FFFFFF;
    text-shadow: 2px 2px 0 #234210;
    box-shadow:
        inset 3px 3px 0 #8AE04E,
        inset -3px -3px 0 var(--grass-dark),
        0 4px 0 rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
    background: #6BB33B;
    color: #FFFF55;
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: inset 3px 3px 0 var(--grass-dark);
}

.btn-outline {
    background: #7A7A7A;
    color: #FFFFFF;
    text-shadow: 2px 2px 0 #2E2E2E;
    box-shadow:
        inset 3px 3px 0 #ADADAD,
        inset -3px -3px 0 #474747,
        0 4px 0 rgba(0, 0, 0, 0.35);
}

.btn-outline:hover {
    background: #5E6E9E;
    color: #FFFF55;
    box-shadow:
        inset 3px 3px 0 #8CA0D8,
        inset -3px -3px 0 #384466,
        0 4px 0 rgba(0, 0, 0, 0.35);
}

.hero-note {
    margin-top: 26px;
    font-size: 24px;
    color: #1E1E1E;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

/* Minecraft Style */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 390px;
}

.photo-frame {
    background: #8B5A2B;
    padding: 18px 18px 46px;
    border: 4px solid var(--ink-dark);
    box-shadow:
        inset 4px 4px 0 #B57B45,
        inset -4px -4px 0 #5C3A1B,
        8px 8px 0 rgba(0, 0, 0, 0.35);
    position: relative;
}

.frame-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #472C14;
    z-index: 4;
}
.tl { top: 4px; left: 4px; }
.tr { top: 4px; right: 4px; }
.bl { bottom: 4px; left: 4px; }
.br { bottom: 4px; right: 4px; }

.hero-photo {
    width: min(300px, 88%);
}

.hero-photo img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    border: 3px solid var(--ink-dark);
    position: relative;
    z-index: 2;
}

.photo-placeholder {
    position: absolute;
    inset: 18px 18px 46px;
    background: #3B3B3B;
    border: 3px solid var(--ink-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #AAAAAA;
    font-family: var(--pixel-title);
    font-size: 10px;
    text-align: center;
    padding: 10px;
    gap: 10px;
}

.photo-placeholder small {
    font-family: var(--pixel-body);
    font-size: 18px;
    color: #777777;
}

.photo-caption {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: var(--pixel-title);
    font-size: 10px;
    color: #FFF3D1;
    text-shadow: 2px 2px 0 #3A220D;
}

.sticker {
    position: absolute;
    z-index: 5;
    font-family: var(--pixel-title);
}

.sticker-xp {
    bottom: 20px;
    right: 4%;
    background: #1E1E1E;
    color: var(--gold-xp);
    border: 3px solid var(--gold-xp);
    padding: 8px 12px;
    font-size: 11px;
    text-shadow: 2px 2px 0 #1E3F08;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.sticker-label {
    top: 25px;
    left: 2%;
    background: #3B8526;
    color: #FFFFFF;
    border: 3px solid var(--ink-dark);
    box-shadow:
        inset 2px 2px 0 #6CC349,
        inset -2px -2px 0 #235216,
        4px 4px 0 rgba(0, 0, 0, 0.35);
    padding: 8px 12px;
    font-size: 9px;
    text-shadow: 2px 2px 0 #1B3E11;
}

/* Quote */

.quote-section {
    padding-block: 45px;
}

.quote-card {
    text-align: center;
    background: #262335;
    color: #FFFFFF;
    padding: 48px 30px;
    border: 4px solid #593E8E;
    box-shadow:
        inset 4px 4px 0 #3E3957,
        inset -4px -4px 0 #14121D,
        0 0 0 4px var(--ink-dark),
        8px 8px 0 rgba(0, 0, 0, 0.4);
}

.quote-mark {
    font-family: var(--pixel-title);
    font-size: 36px;
    color: #FFFF55;
    display: block;
    margin-bottom: 14px;
    text-shadow: 3px 3px 0 #3F3F15;
}

.quote-card blockquote {
    font-family: var(--pixel-body);
    font-size: clamp(26px, 4vw, 36px);
    max-width: 720px;
    margin: auto;
    line-height: 1.4;
    color: #F2F2F2;
    text-shadow: 2px 2px 0 #111111;
}

.quote-author {
    display: block;
    font-family: var(--pixel-title);
    font-size: 10px;
    margin-top: 22px;
    color: var(--gold-xp);
    text-shadow: 2px 2px 0 #1D3B08;
}

/* Closing */

.closing-note {
    padding-block: 40px 55px;
    text-align: center;
}

.closing-note p {
    display: inline-block;
    background: rgba(255, 255, 255, 0.78);
    border: 3px solid var(--ink-dark);
    padding: 10px 20px;
    font-size: 23px;
}

/* Grass & Dirt Block Footer */

.grass-divider {
    height: 24px;
    background:
        repeating-linear-gradient(
            90deg,
            var(--grass-green) 0px,
            var(--grass-green) 24px,
            #68AC3B 24px,
            #68AC3B 48px,
            var(--grass-dark) 48px,
            var(--grass-dark) 64px
        );
    border-top: 4px solid var(--ink-dark);
    border-bottom: 4px solid var(--grass-dark);
}

.site-footer {
    background:
        repeating-linear-gradient(
            90deg,
            var(--dirt-brown) 0px,
            var(--dirt-brown) 32px,
            #6E4D34 32px,
            #6E4D34 64px
        );
    color: #FFFFFF;
    padding: 32px 20px;
    text-align: center;
    font-family: var(--pixel-title);
    font-size: 10px;
    line-height: 2;
    text-shadow: 2px 2px 0 #2B1B0E;
}

/* ABOUT PAGE */

.about-page {
    padding-block: 45px 65px;
}

.about-top {
    margin-bottom: 28px;
}

.about-top h1 {
    font-family: var(--pixel-title);
    font-size: clamp(22px, 3.5vw, 34px);
    color: #FFFFFF;
    text-shadow: 3px 3px 0 #1E1E1E;
}

.about-layout {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    gap: 20px;
    align-items: start;
}

.side-images {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-img-box {
    position: relative;
    background: #8B5A2B;
    border: 3px solid var(--ink-dark);
    padding: 8px;
    min-height: 155px;
}

.side-img-box img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    border: 2px solid var(--ink-dark);
    position: relative;
    z-index: 2;
}

.side-placeholder {
    position: absolute;
    inset: 8px;
    background: #D8D8D8;
    border: 2px dashed #555555;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--pixel-title);
    font-size: 9px;
    color: #333333;
    gap: 6px;
}

.side-placeholder small {
    font-family: var(--pixel-body);
    font-size: 16px;
    color: #555555;
}

.about-plain-box {
    background: #E4E4E4;
    border: 3px solid var(--ink-dark);
    padding: 24px;
}

.about-plain-box h2 {
    font-family: var(--pixel-title);
    font-size: 16px;
    margin-bottom: 14px;
    color: var(--ink-dark);
}

.about-plain-box p {
    font-size: 22px;
    margin-bottom: 14px;
    color: #222222;
}

.about-plain-box p:last-child {
    margin-bottom: 0;
}

/*  MY JOURNEY PAGE */

.journey-page {
    padding-block: 45px 65px;
}

.journey-header {
    margin-bottom: 36px;
}

.journey-header h1 {
    font-family: var(--pixel-title);
    font-size: clamp(22px, 3.5vw, 34px);
    color: #FFFFFF;
    text-shadow: 3px 3px 0 #1E1E1E;
    margin-bottom: 12px;
}

.journey-sub {
    font-size: 23px;
    color: #1E1E1E;
    background: rgba(255, 255, 255, 0.72);
    display: inline-block;
    padding: 8px 14px;
    border: 3px solid var(--ink-dark);
}

/* Vertical Pixel Path */
.timeline-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-left: 26px;
    border-left: 6px solid var(--dirt-brown);
}

.checkpoint-item {
    position: relative;
}

.checkpoint-marker {
    position: absolute;
    left: -49px;
    top: 18px;
    width: 40px;
    height: 40px;
    background: var(--grass-green);
    color: #FFFF55;
    border: 3px solid var(--ink-dark);
    box-shadow:
        inset 2px 2px 0 #8AE04E,
        inset -2px -2px 0 var(--grass-dark);
    font-family: var(--pixel-title);
    font-size: 11px;
    display: grid;
    place-items: center;
    text-shadow: 2px 2px 0 #234210;
}


.checkpoint-card {
    background: #DCDCDC;
    border: 3px solid var(--ink-dark);
    box-shadow:
        inset 3px 3px 0 #FFFFFF,
        inset -3px -3px 0 #7A7A7A,
        5px 5px 0 rgba(0, 0, 0, 0.3);
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr 190px;
    gap: 20px;
    align-items: center;
}

.checkpoint-tag {
    display: inline-block;
    font-family: var(--pixel-title);
    font-size: 9px;
    color: #3E6E20;
    margin-bottom: 10px;
}

.checkpoint-text h2 {
    font-family: var(--pixel-title);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-dark);
    margin-bottom: 10px;
}

.checkpoint-text p {
    font-size: 22px;
    color: #262626;
}

/*  Image  */
.checkpoint-img {
    position: relative;
    background: #8B5A2B;
    border: 3px solid var(--ink-dark);
    padding: 8px;
    height: 155px;
}

.checkpoint-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--ink-dark);
    position: relative;
    z-index: 2;
}

.cp-placeholder {
    position: absolute;
    inset: 8px;
    background: #3B3B3B;
    border: 2px dashed #888888;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--pixel-title);
    font-size: 9px;
    color: #CCCCCC;
    gap: 6px;
}

.cp-placeholder small {
    font-family: var(--pixel-body);
    font-size: 16px;
    color: #999999;
}

/* FAVORITES PAGE */

.fav-page {
    padding-block: 45px 65px;
}

.fav-header {
    margin-bottom: 32px;
}

.fav-header h1 {
    font-family: var(--pixel-title);
    font-size: clamp(22px, 3.5vw, 34px);
    color: #FFFFFF;
    text-shadow: 3px 3px 0 #1E1E1E;
    margin-bottom: 12px;
}

.fav-sub {
    font-size: 23px;
    color: #1E1E1E;
    background: rgba(255, 255, 255, 0.72);
    display: inline-block;
    padding: 8px 14px;
    border: 3px solid var(--ink-dark);
}

/* Chest  */
.chest-box {
    background: var(--panel-bg);
    border: 4px solid var(--ink-dark);
    box-shadow:
        inset 4px 4px 0 #FFFFFF,
        inset -4px -4px 0 #555555,
        8px 8px 0 rgba(0, 0, 0, 0.35);
    padding: 22px;
}

.chest-title-bar {
    font-family: var(--pixel-title);
    font-size: 11px;
    color: #373737;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #8B8B8B;
}

.fav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.fav-slot {
    background: #8B8B8B;
    border: 3px solid var(--ink-dark);
    box-shadow:
        inset 3px 3px 0 #B8B8B8,
        inset -3px -3px 0 #4A4A4A;
    padding: 16px;
    color: #FFFFFF;
}

.fav-img-wrap {
    position: relative;
    background: #8B5A2B;
    border: 3px solid var(--ink-dark);
    padding: 6px;
    height: 170px;
    margin-bottom: 14px;
}

.fav-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--ink-dark);
    position: relative;
    z-index: 2;
}

.fav-placeholder {
    position: absolute;
    inset: 6px;
    background: #3B3B3B;
    border: 2px dashed #888888;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--pixel-title);
    font-size: 9px;
    color: #CCCCCC;
    gap: 6px;
}

.fav-placeholder small {
    font-family: var(--pixel-body);
    font-size: 16px;
    color: #999999;
}

.fav-category {
    display: inline-block;
    font-family: var(--pixel-title);
    font-size: 9px;
    color: #FFFF55;
    text-shadow: 2px 2px 0 #2B2B2B;
    margin-bottom: 8px;
}

.fav-slot h2 {
    font-family: var(--pixel-title);
    font-size: 13px;
    line-height: 1.5;
    color: #FFFFFF;
    text-shadow: 2px 2px 0 #2B2B2B;
    margin-bottom: 8px;
}

.fav-slot p {
    font-size: 21px;
    color: #F2F2F2;
    text-shadow: 1px 1px 0 #2B2B2B;
}


/* MY GOALS */
.goals-page {
    padding-block: 45px 65px;
}

.goals-header {
    margin-bottom: 28px;
}

.goals-header h1 {
    font-family: var(--pixel-title);
    font-size: clamp(22px, 3.5vw, 34px);
    color: #FFFFFF;
    text-shadow: 3px 3px 0 #1E1E1E;
    margin-bottom: 12px;
}

.goals-sub {
    font-size: 23px;
    color: #1E1E1E;
    background: rgba(255, 255, 255, 0.72);
    display: inline-block;
    padding: 8px 14px;
    border: 3px solid var(--ink-dark);
}

/* Minecraft XP Bar Box */
.xp-box {
    background: #1E1E1E;
    border: 4px solid #373737;
    box-shadow:
        0 0 0 3px var(--ink-dark),
        6px 6px 0 rgba(0, 0, 0, 0.35);
    padding: 18px 20px;
    margin-bottom: 28px;
    color: #FFFFFF;
}

.xp-label-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--pixel-title);
    font-size: 9px;
    margin-bottom: 12px;
    color: #CCCCCC;
}

.xp-lvl {
    color: var(--gold-xp);
    text-shadow: 2px 2px 0 #1E3F08;
}

.xp-bar-track {
    width: 100%;
    height: 18px;
    background: #2C3528;
    border: 3px solid #000000;
    position: relative;
}

.xp-bar-fill {
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        #80FF20 0px,
        #80FF20 18px,
        #66D914 18px,
        #66D914 22px
    );
    box-shadow: inset 0 3px 0 #B8FF7A;
}

/* Goals / Advancements Cards */
.goals-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.goal-card {
    background: #DCDCDC;
    border: 3px solid var(--ink-dark);
    box-shadow:
        inset 3px 3px 0 #FFFFFF,
        inset -3px -3px 0 #7A7A7A,
        5px 5px 0 rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
}

.goal-card.active-quest {
    border-color: var(--ink-dark);
    box-shadow:
        inset 3px 3px 0 #FFFFFF,
        inset -3px -3px 0 #7A7A7A,
        5px 5px 0 #3E6E20;
}

.goal-badge {
    width: 54px;
    height: 54px;
    background: #555555;
    color: #FFFFFF;
    border: 3px solid var(--ink-dark);
    box-shadow:
        inset 2px 2px 0 #8B8B8B,
        inset -2px -2px 0 #2B2B2B;
    font-family: var(--pixel-title);
    font-size: 12px;
    display: grid;
    place-items: center;
    text-shadow: 2px 2px 0 #1E1E1E;
}

.active-quest .goal-badge {
    background: var(--grass-green);
    color: #FFFF55;
    box-shadow:
        inset 2px 2px 0 #8AE04E,
        inset -2px -2px 0 var(--grass-dark);
    text-shadow: 2px 2px 0 #234210;
}

.goal-top-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.goal-status {
    font-family: var(--pixel-title);
    font-size: 8px;
    padding: 4px 8px;
    border: 2px solid var(--ink-dark);
}

.status-active {
    background: #3B8526;
    color: #FFFF55;
}

.status-locked {
    background: #6E6E6E;
    color: #E0E0E0;
}

.goal-type {
    font-family: var(--pixel-title);
    font-size: 8px;
    color: #4A4A4A;
}

.goal-info h2 {
    font-family: var(--pixel-title);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-dark);
    margin-bottom: 8px;
}

.goal-info p {
    font-size: 22px;
    color: #262626;
}

.fav-img-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--ink-dark);
    position: relative;
    z-index: 2;
    background: #1E1E1E;
}


/* =====================================
   WORLD SPAWN / CLOUD DROP INTRO
===================================== */

body.intro-locked {
    overflow: hidden;
}

.world-intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.world-intro-overlay.fade-out {
    opacity: 0;
    transform: scale(1.04);
    pointer-events: none;
}

.world-intro-overlay video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.intro-prompt {
    position: relative;
    z-index: 3;
    text-align: center;
    background: rgba(30, 30, 30, 0.78);
    border: 4px solid var(--ink-dark);
    box-shadow:
        inset 3px 3px 0 #555555,
        inset -3px -3px 0 #111111,
        8px 8px 0 rgba(0, 0, 0, 0.45);
    padding: 32px 28px;
    max-width: 90%;
    transition: opacity 0.35s ease;
}

.intro-prompt.hidden {
    opacity: 0;
    pointer-events: none;
}

.intro-prompt h2 {
    font-family: var(--pixel-title);
    font-size: clamp(18px, 3vw, 28px);
    color: #FFFFFF;
    text-shadow: 3px 3px 0 #1E1E1E;
    margin-bottom: 24px;
}

.skip-intro-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 4;
    padding: 10px 14px;
    font-size: 10px;
}
.menu-toggle {
    display: none !important;
}


@media (max-width: 768px) {
    body {
        font-size: 19px;
        background-attachment: scroll;
        min-height: 100svh;
    }

    body::before {
        background-color: rgba(20, 15, 30, 0.25);
        background-image: none;
    }

    .background-decoration {
        display: none;
    }
}
@media (max-width: 768px) {
    .site-header {
        width: min(1140px, 94%);
        margin: 10px auto;
        padding: 10px 14px;
        top: 8px;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 11px;
    }

    .menu-toggle {
        display: inline-block;
        padding: 4px 10px;
        font-size: 18px;
    }

    .main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    }

    .main-nav.open,
    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        text-align: center;
        font-size: 19px;
        padding: 8px 10px;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 28px;
        padding-block: 28px 36px;
    }

    .hero-description {
        font-size: 20px;
        padding: 12px 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 310px;
    }

    .hero-photo img {
        height: 240px;
    }
}
@media (max-width: 768px) {
    /* About page */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .side-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .side-img-box {
        min-height: 130px;
    }

    .side-img-box img {
        height: 115px;
    }

    .about-plain-box {
        padding: 18px;
    }

    .about-plain-box p {
        font-size: 19px;
    }

    /* Journey page */
    .timeline-track {
        padding-left: 20px;
        border-left-width: 4px;
    }

    .checkpoint-marker {
        left: -38px;
        width: 32px;
        height: 32px;
        font-size: 10px;
    }

    .checkpoint-card {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 14px;
    }

    .checkpoint-img {
        height: 165px;
    }

    /* Favorites 4-video grid */
    .chest-box {
        padding: 14px;
    }

    .fav-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fav-img-wrap {
        height: 180px;
    }

    .fav-img-wrap video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 2px solid var(--ink-dark);
        position: relative;
        z-index: 2;
        background: #1E1E1E;
    }

    /* Goals page */
    .goal-card {
        grid-template-columns: 44px 1fr;
        gap: 12px;
        padding: 14px;
    }

    .goal-badge {
        width: 44px;
        height: 44px;
        font-size: 10px;
    }

    .goal-info p {
        font-size: 19px;
    }

    /* World spawn intro overlay on phone */
    .intro-prompt {
        padding: 22px 18px;
    }

    .skip-intro-btn {
        bottom: 14px;
        right: 14px;
        padding: 8px 12px;
        font-size: 9px;
    }
}
