
:root {
    --bg-deep: #140f2b;
    --bg-panel: #1e1842;
    --bg-panel-light: #2a2258;
    --accent-teal: #4be3c9;
    --accent-gold: #ffc94a;
    --accent-pink: #ff6fa3;
    --text-light: #f3eefc;
    --text-muted: #a99cd6;
    --border-frame: #6a5bb8;
    --font-display: "Press Start 2P", "Courier New", Courier, monospace;
    --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
} /* ========================================================= RESET / BASE ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    font-size: 100%;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg-deep);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}
img,
svg {
    max-width: 100%;
}
button,
a {
    font: inherit;
}
::selection {
    background: var(--accent-teal);
    color: var(--bg-deep);
} /* ========================================================= ACCESSIBILITY UTILITIES ========================================================= */ /* * Screen-reader-only content. */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
} /* * Keyboard skip link. */
.skip-link {
    position: fixed;
    top: 0;
    left: 1rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: var(--accent-gold);
    color: var(--bg-deep);
    border: 3px solid var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}
.skip-link:focus {
    transform: translateY(0);
} /* ========================================================= DECORATIVE BACKGROUND ========================================================= */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 2px,
    rgba(255, 255, 255, 0.05) 3px,
    rgba(255, 255, 255, 0.05) 4px
  );
  z-index: 10; 
  pointer-events: none; 
  opacity: 0.5;
}
/* ========================================================= MAIN CONTENT ========================================================= */
main {
    position: relative;
    z-index: 1;
} /* ========================================================= LAYOUT ========================================================= */
.wrap {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    padding-inline: 20px;
} /* ========================================================= HERO ========================================================= */
.hero {
    padding: 72px 20px 56px;
    text-align: center;
}
.badge {
    display: inline-block;
    margin-bottom: 28px;
    padding: 8px 14px;
    background: rgba(255, 201, 74, 0.08);
    border: 1px solid rgba(255, 201, 74, 0.4);
    border-radius: 2px;
    color: var(--accent-gold);
    font-family: var(--font-display);
    font-size: 0.75rem;
    line-height: 1.5;
    letter-spacing: 1px;
}
.title {
    margin: 0 0 28px;
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 6vw, 2.5rem);
    line-height: 1.5;
    text-shadow:
        3px 3px 0 var(--accent-pink),
        6px 6px 0 rgba(75, 227, 201, 0.35);
    text-wrap: balance;
}
.tagline {
    max-width: 480px;
    margin: 0 auto 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
}
.tagline strong {
    color: var(--accent-teal);
    font-weight: 700;
}
.subtagline {
    margin: 20px 0 40px;
    color: var(--accent-pink);
    font-family: var(--font-display);
    font-size: 0.75rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
} /* ========================================================= CTA ========================================================= */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 16px 24px;
    background: var(--accent-gold);
    color: var(--bg-deep);
    border: 3px solid var(--text-light);
    box-shadow: 5px 5px 0 var(--accent-pink);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
    animation: pulse-glow 2.2s ease-in-out infinite;
}
.cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--accent-pink);
}
.cta:active {
    transform: translate(1px, 1px);
    box-shadow: 3px 3px 0 var(--accent-pink);
}
.cta:focus-visible {
    outline: 3px solid var(--accent-teal);
    outline-offset: 4px;
}
.cta-caret {
    display: inline-block;
}
@keyframes pulse-glow {
    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(255, 201, 74, 0));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(255, 201, 74, 0.55));
    }
} /* ========================================================= QUEST LOG ========================================================= */
.panel-section {
    padding: 20px 20px 64px;
}
.dialog-box {
    position: relative;
    padding: 36px 32px;
    background: var(--bg-panel);
    border: 3px solid var(--border-frame);
}
.dialog-box::before {
    content: "QUEST LOG";
    position: absolute;
    top: -13px;
    left: 24px;
    padding: 2px 10px;
    background: var(--bg-deep);
    color: var(--accent-teal);
    font-family: var(--font-display);
    font-size: 0.8rem;
    line-height: 1.5;
    letter-spacing: 1px;
}
.dialog-box p {
    margin: 0 0 14px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
}
.dialog-box p:last-child {
    margin-bottom: 0;
}
.dialog-box strong {
    font-weight: 700;
}
.dialog-box .em {
    color: var(--accent-gold);
    font-weight: 600;
} /* ========================================================= INVENTORY ========================================================= */
.inventory-section {
    padding: 0 20px 64px;
}
.inventory-heading {
    margin: 0 0 8px;
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}
.inventory-sub {
    margin: 0 0 36px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.item-card {
    min-width: 0;
    padding: 22px 16px;
    background: var(--bg-panel-light);
    border: 2px solid var(--border-frame);
    text-align: center;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}
.item-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-3px);
}
.item-card svg {
    display: block;
    width: 44px;
    height: 44px;
    margin-inline: auto;
    margin-bottom: 12px;
    image-rendering: pixelated;
}
.item-card a {
    text-decoration: none;
}
.item-name {
    color: var(--accent-gold);
    font-family: var(--font-display);
    font-size: 0.75rem;
    line-height: 1.5;
    letter-spacing: 0.5px;
} /* ========================================================= FOOTER ========================================================= */
footer {
    padding: 40px 20px 64px;
    border-top: 1px dashed rgba(169, 156, 214, 0.3);
    text-align: center;
}
.footer-cta-label {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
}
.social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.social-link:hover {
    color: var(--accent-teal);
}
.social-link:focus-visible {
    color: var(--accent-teal);
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
}
.social-row svg {
    display: block;
    width: 24px;
    height: 24px;
}
.credit {
    margin: 28px 0 0;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1.6;
} /* ========================================================= RESPONSIVE ========================================================= */
@media (max-width: 600px) {
    .hero {
        padding-top: 56px;
    }
    .dialog-box {
        padding: 32px 24px;
    }
}
@media (max-width: 480px) {
    .wrap {
        padding-inline: 16px;
    }
    .hero {
        padding: 48px 16px 48px;
    }
    .panel-section,
    .inventory-section {
        padding-inline: 16px;
    }
    .dialog-box {
        padding: 28px 20px;
    } /* * A single column gives enlarged text more room * and prevents cramped cards on small screens. */
    .inventory-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cta {
        width: min(100%, 24rem);
        padding-inline: 20px;
    }
    .social-row {
        gap: 12px;
    }
} /* ========================================================= REDUCED MOTION ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .stars,
    .cta,
    .cta-caret {
        animation: none !important;
    }
    .item-card:hover,
    .cta:hover,
    .cta:active {
        transform: none;
    }
} /* ========================================================= FORCED COLORS / HIGH CONTRAST ========================================================= */
@media (forced-colors: active) {
    .cta,
    .skip-link,
    .item-card,
    .dialog-box {
        border: 2px solid ButtonText;
    }
    .cta {
        background: ButtonFace;
        color: ButtonText;
    }
    .cta:focus-visible,
    .social-link:focus-visible,
    .skip-link:focus {
        outline: 3px solid Highlight;
    }
    .bg-fx {
        display: none;
    }
} /* ========================================================= PRINT ========================================================= */
@media print {
    .bg-fx,
    .skip-link,
    .cta,
    .social-row {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
    .dialog-box,
    .item-card {
        background: #fff;
        border-color: #000;
    }
    .title,
    .tagline,
    .subtagline,
    .inventory-heading,
    .item-name,
    .credit {
        color: #000 !important;
        text-shadow: none !important;
    }
}
