/**
 * PlayNova Grotto — Flux Deck · Voltage Clash palette
 * High-contrast pairings: hot magenta × electric cyan on lemon/indigo base.
 */

:root {
    /* Surfaces */
    --pl-bg: #fff8e7;
    --pl-bg-alt: #e6fbff;
    --pl-bg-warm: #ffe8f3;
    --pl-surface: #ffffff;
    --pl-surface-elevated: #fffdf8;

    /* Ink */
    --pl-ink: #0f0a2e;
    --pl-ink-soft: #2a2460;
    --pl-ink-muted: #5a538c;

    /* Clash A — hot magenta */
    --pl-accent: #ff2d6f;
    --pl-accent-hover: #e0155a;
    --pl-accent-soft: rgba(255, 45, 111, 0.14);
    --pl-accent-glow: rgba(255, 45, 111, 0.38);

    /* Clash B — electric cyan */
    --pl-clash: #00c8f0;
    --pl-clash-hover: #00a8cc;
    --pl-clash-soft: rgba(0, 200, 240, 0.16);
    --pl-clash-glow: rgba(0, 200, 240, 0.35);

    /* Punch — chartreuse highlight on dark bands */
    --pl-highlight: #c8ff00;
    --pl-highlight-soft: rgba(200, 255, 0, 0.12);

    /* Dark bands */
    --pl-cool: #120458;
    --pl-cool-soft: #1c0a72;
    --pl-on-dark: #fff8e7;
    --pl-on-accent: #ffffff;

    /* Lines & depth */
    --pl-line: rgba(15, 10, 46, 0.1);
    --pl-line-strong: rgba(15, 10, 46, 0.18);
    --pl-shadow: 0 20px 50px rgba(15, 10, 46, 0.12);
    --pl-shadow-sm: 0 10px 28px rgba(255, 45, 111, 0.08);
    --pl-shadow-card: 0 4px 18px rgba(0, 200, 240, 0.1);

    --pl-radius-sm: 10px;
    --pl-radius-md: 16px;
    --pl-radius-lg: 24px;
    --pl-radius-xl: 32px;
    --pl-radius-pill: 999px;
    --pl-space-2xs: 0.4rem;
    --pl-space-xs: 0.75rem;
    --pl-space-sm: 1.125rem;
    --pl-space-md: 1.75rem;
    --pl-space-lg: 2.75rem;
    --pl-space-xl: 4rem;
    --pl-space-2xl: 5.5rem;
    --pl-max: 1200px;
    --pl-header-h: 60px;
    --pl-font-display: "Manrope", system-ui, sans-serif;
    --pl-font-body: "Inter", system-ui, sans-serif;
    --pl-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --pl-dur: 280ms;
    --pl-hero-art: url("../images/hero-pixel-scene.svg");
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--pl-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--pl-ink);
    background:
        linear-gradient(160deg, var(--pl-bg) 0%, var(--pl-bg-alt) 45%, var(--pl-bg-warm) 100%);
    min-height: 100vh;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--pl-clash);
    outline-offset: 3px;
}

.pl-shell {
    width: min(100% - 1.5rem, var(--pl-max));
    margin-inline: auto;
}

@media (min-width: 768px) {
    .pl-shell {
        width: min(100% - 3rem, var(--pl-max));
    }
}

.pl-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--pl-cool);
    color: var(--pl-highlight);
}

.pl-skip:focus {
    left: 0.5rem;
    top: 0.5rem;
}

.pl-display {
    font-family: var(--pl-font-display);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    overflow-wrap: anywhere;
    min-width: 0;
}

.pl-eyebrow {
    font-family: var(--pl-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pl-clash);
}

.pl-section-head {
    margin-bottom: var(--pl-space-md);
}

.pl-section-head__title {
    font-family: var(--pl-font-display);
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.pl-eyebrow--on-dark {
    color: var(--pl-highlight);
}

.pl-section-head__title--light {
    color: var(--pl-on-dark);
}

.pl-section-head__desc {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    color: rgba(255, 248, 231, 0.72);
    max-width: 42ch;
}

.pl-band:not(.pl-band--dark) .pl-section-head__desc {
    color: var(--pl-ink-muted);
}

.pl-hero__title {
    font-size: clamp(2.1rem, 6.5vw, 3.75rem);
    max-width: 11ch;
    margin: 0.75rem 0;
    background: linear-gradient(120deg, var(--pl-ink) 30%, var(--pl-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pl-hero__lead {
    color: var(--pl-ink-soft);
    max-width: 38ch;
    margin-bottom: 1.35rem;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.pl-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
