/* =============================================================
   VybeSpace — Homepage entrance  (vybe_entrance.css)
   Scope: home.html only. Auth pages use vybe_landing.css.
   ============================================================= */

/* ── Local design tokens ────────────────────────────────────── */
:root {
    --en-bg:           #080f1e;
    --en-card:         rgba(12, 18, 34, 0.72);
    --en-card-strong:  rgba(8, 13, 26, 0.9);
    --en-border:       rgba(255, 255, 255, 0.13);
    --en-border-soft:  rgba(255, 255, 255, 0.08);
    --en-copy:         #f0f5ff;
    --en-muted:        rgba(195, 218, 255, 0.72);
    --en-muted-strong: rgba(215, 232, 255, 0.85);
    --en-radius:       1.4rem;
    --en-radius-sm:    0.9rem;
    --en-font:         "Segoe UI Variable", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
    --en-pink:         #ff88c2;
    --en-violet:       #9b87ff;
    --en-cyan:         #7ed8ff;
    --en-teal:         #5ee8cc;
    --en-shadow-deep:  0 32px 90px rgba(2, 5, 14, 0.72);
}

/* ── Page body ──────────────────────────────────────────────── */
body.entrance-home-page {
    background:
        radial-gradient(ellipse 80% 60% at 8% 12%, rgba(120, 40, 180, 0.32), transparent),
        radial-gradient(ellipse 70% 50% at 92% 8%, rgba(30, 80, 200, 0.28), transparent),
        radial-gradient(ellipse 60% 40% at 50% 95%, rgba(80, 20, 160, 0.2), transparent),
        linear-gradient(180deg, #05091a 0%, #0a1228 50%, #060c1a 100%);
    color: var(--en-copy);
    font-family: var(--en-font);
}

body.entrance-home-page .site-shell {
    width: min(1200px, calc(100% - 1rem));
    padding-top: 0.5rem;
    padding-bottom: 4rem;
}

/* ── Header: subtle glow + entrance animation ───────────────── */
body.entrance-home-page .site-header {
    position: relative;
    margin-bottom: 0.5rem;
}

body.entrance-home-page .site-header + * {
    /* pull entrance-wrap up — eliminate the dead sky above hero */
    margin-top: 0;
}

body.entrance-home-page .site-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0; right: 0;
    height: 80px;
    background: radial-gradient(ellipse 50% 100% at 50% 0%,
        rgba(255, 136, 194, 0.14), transparent 70%);
    pointer-events: none;
}

body.entrance-home-page .brand {
    animation: hp-brand-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.entrance-home-page .brand__tagline {
    color: rgba(200, 220, 255, 0.72) !important;
}

/* ── Outer wrap: ambient container, NOT a dashboard card ────── */
.entrance-wrap {
    position: relative;
    overflow: hidden;
    /* No border, no box-shadow — sections float in the ambient background */
}

/* ── Background: aurora ─────────────────────────────────────── */
.hp-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hp-aurora::before {
    content: '';
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(ellipse 65% 50% at 25% 30%, rgba(155, 50, 230, 0.52), transparent 65%),
        radial-gradient(ellipse 55% 40% at 78% 18%, rgba(30, 90, 230, 0.44), transparent 65%),
        radial-gradient(ellipse 48% 38% at 12% 78%, rgba(70, 200, 180, 0.28), transparent 65%);
    animation: hp-aurora-drift 14s ease-in-out infinite;
}

.hp-aurora::after {
    content: '';
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(ellipse 58% 45% at 82% 68%, rgba(240, 70, 155, 0.38), transparent 65%),
        radial-gradient(ellipse 45% 40% at 38% 88%, rgba(50, 110, 250, 0.36), transparent 65%);
    animation: hp-aurora-drift 21s ease-in-out infinite reverse;
}

/* ── Background: ambient orbs ───────────────────────────────── */
.hp-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    /* no mix-blend-mode — straight alpha on dark bg is more visible */
}

.hp-orb--1 {
    width: 32rem; height: 32rem;
    top: -10rem; left: -8rem;
    background: radial-gradient(circle, rgba(175, 70, 255, 0.55) 0%, rgba(155, 50, 230, 0.25) 45%, transparent 70%);
    filter: blur(55px);
    animation: hp-orb-1 12s ease-in-out infinite;
}

.hp-orb--2 {
    width: 28rem; height: 28rem;
    top: -4rem; right: -6rem;
    background: radial-gradient(circle, rgba(30, 110, 255, 0.5) 0%, rgba(20, 90, 220, 0.22) 45%, transparent 70%);
    filter: blur(50px);
    animation: hp-orb-2 17s ease-in-out infinite;
}

.hp-orb--3 {
    width: 25rem; height: 25rem;
    bottom: -5rem; right: 8%;
    background: radial-gradient(circle, rgba(80, 210, 195, 0.42) 0%, rgba(60, 190, 175, 0.18) 45%, transparent 70%);
    filter: blur(45px);
    animation: hp-orb-3 14s ease-in-out infinite;
}

.hp-orb--4 {
    width: 22rem; height: 22rem;
    bottom: 25%; left: 3%;
    background: radial-gradient(circle, rgba(245, 90, 170, 0.4) 0%, rgba(220, 70, 150, 0.18) 45%, transparent 70%);
    filter: blur(48px);
    animation: hp-orb-4 19s ease-in-out infinite;
}

/* ── Canvas particle layer ──────────────────────────────────── */
.entrance-particle-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ── Shell: sections stack vertically ──────────────────────── */
.entrance-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 0.75rem 1.5rem 2rem;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.5rem;
    align-items: center;
    animation: hp-section-in 0.7s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Hero copy: the one card on this page that stays as a card */
.hp-hero__copy {
    padding: 2.25rem 2rem 2.25rem 2rem;
    border-radius: var(--en-radius);
    background: var(--en-card);
    border: 1px solid var(--en-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 60px rgba(2, 5, 14, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Badge */
.hp-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 136, 194, 0.16);
    border: 1px solid rgba(255, 180, 220, 0.36);
    color: #ffcceb;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.hp-badge--teal {
    background: rgba(94, 232, 204, 0.14);
    border-color: rgba(140, 240, 220, 0.35);
    color: #b8f5e8;
}

/* Headline */
.hp-hero__copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #faf8ff;
    max-width: 14ch;
}

/* Sub-copy: improved contrast */
.hp-hero__sub {
    margin: 0 0 1.6rem;
    color: var(--en-muted-strong);
    font-size: 1rem;
    line-height: 1.72;
    max-width: 50ch;
}

/* CTAs */
.hp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    cursor: pointer;
}

.hp-btn:focus-visible {
    outline: 3px solid rgba(255, 136, 194, 0.65);
    outline-offset: 3px;
}

.hp-btn:hover { transform: translateY(-2px); }

.hp-btn--primary {
    background: linear-gradient(128deg, #ff75bb 0%, #9b82ff 50%, #72d4ff 100%);
    color: #fff;
    box-shadow: 0 8px 28px rgba(100, 80, 200, 0.4);
}

.hp-btn--primary:hover {
    box-shadow: 0 14px 40px rgba(120, 90, 240, 0.52);
    filter: brightness(1.08);
}

.hp-btn--secondary {
    background: rgba(10, 16, 34, 0.55);
    border-color: rgba(190, 215, 255, 0.38);
    color: #cce3ff;
}

.hp-btn--secondary:hover {
    background: rgba(16, 24, 50, 0.75);
    border-color: rgba(190, 215, 255, 0.55);
    color: #e0efff;
}

.hp-btn--lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ── Profile preview card ───────────────────────────────────── */
.hp-hero__preview {
    position: relative;
    animation: hp-section-in 0.7s 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hp-profile-card {
    border-radius: var(--en-radius);
    border: 1px solid var(--en-border);
    background: var(--en-card-strong);
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(2, 5, 14, 0.62),
                inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

/* Room banner */
.hp-profile-card__room {
    position: relative;
    height: 9.5rem;
    overflow: hidden;
}

.hp-room-galaxy {
    background: linear-gradient(135deg, #120640 0%, #1e0860 40%, #081848 100%);
}

/* Slowly shifting room interior light */
.hp-room-aurora-inner {
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(ellipse 60% 60% at 30% 40%, rgba(140, 60, 255, 0.5), transparent 60%),
        radial-gradient(ellipse 50% 50% at 70% 60%, rgba(40, 120, 255, 0.35), transparent 60%);
    animation: hp-room-light 8s ease-in-out infinite;
    mix-blend-mode: screen;
}

/* Custom theme badge overlaid on room */
.hp-theme-badge {
    position: absolute;
    bottom: 0.65rem;
    left: 0.75rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(8, 5, 22, 0.75);
    border: 1px solid rgba(200, 160, 255, 0.35);
    color: rgba(200, 170, 255, 0.9);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Room floating stickers */
.hp-room-sticker {
    position: absolute;
    font-size: 1.5rem;
    animation: hp-sticker-float 6s ease-in-out infinite;
    user-select: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.hp-room-sticker--a { top: 0.9rem; left: 1.1rem; animation-delay: 0s; }
.hp-room-sticker--b { top: 0.5rem; right: 2rem;  animation-delay: 1.8s; }
.hp-room-sticker--c { bottom: 1.2rem; right: 1.1rem; animation-delay: 3.2s; }
.hp-room-sticker--d { top: 2rem; left: 40%; animation-delay: 4.8s; }

/* Profile body */
.hp-profile-card__body {
    padding: 0.7rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* Avatar row: avatar + username + mood */
.hp-profile-avatar-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: -1.6rem;
}

.hp-profile-avatar {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #6c3dff, #ff6ec4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    border: 2.5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
}

.hp-profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-top: 1.4rem; /* clear the avatar overlap */
}

.hp-profile-info strong {
    color: #eef4ff;
    font-size: 0.97rem;
    font-weight: 700;
}

.hp-profile-mood {
    color: rgba(195, 220, 255, 0.7);
    font-size: 0.76rem;
}

/* Stats row */
.hp-profile-stats {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    flex-wrap: wrap;
}

.hp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.08rem;
}

.hp-stat strong {
    color: #f0f6ff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.hp-stat span {
    color: var(--en-muted);
    font-size: 0.72rem;
}

.hp-stat--online {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    color: #7fffc4;
    font-size: 0.78rem;
    font-weight: 600;
}

.hp-online-dot {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 999px;
    background: #39ff88;
    animation: hp-dot-pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Music strip / now-playing bar */
.hp-music-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.7rem;
    border-radius: var(--en-radius-sm);
    background: rgba(30, 20, 60, 0.55);
    border: 1px solid rgba(155, 135, 255, 0.25);
}

.hp-music-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.hp-music-title {
    color: rgba(180, 165, 255, 0.85);
    font-size: 0.74rem;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Equalizer bars */
.hp-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 15px;
    flex-shrink: 0;
}

.hp-eq-bar {
    width: 3px;
    border-radius: 1px 1px 0 0;
    background: linear-gradient(to top, rgba(126, 216, 255, 0.85), rgba(180, 140, 255, 0.65));
    transition: height 200ms ease;
    min-height: 2px;
    height: calc(var(--h, 0.4) * 15px);
}

/* Guestbook note */
.hp-guestbook-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem;
    border-radius: var(--en-radius-sm);
    background: rgba(255, 136, 194, 0.1);
    border: 1px solid rgba(255, 160, 210, 0.24);
    font-size: 0.8rem;
}

.hp-guestbook-note p { margin: 0; color: #f0d8ea; line-height: 1.4; }
.hp-guestbook-note em { font-style: normal; color: #ffd8f0; }

/* Collectible shelf */
.hp-collectible-shelf {
    display: flex;
    gap: 0.6rem;
    font-size: 1.28rem;
    padding: 0.35rem 0 0;
    border-top: 1px solid var(--en-border-soft);
}

.hp-collectible-shelf span {
    cursor: default;
    transition: transform 130ms ease;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}

.hp-collectible-shelf span:hover { transform: scale(1.22) rotate(-5deg); }

/* ── Activity lane ──────────────────────────────────────────── */
.hp-activity-lane {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    animation: hp-section-in 0.7s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hp-activity-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: hp-activity-scroll 30s linear infinite;
    padding: 0.6rem 0;
}

.hp-activity-lane:hover .hp-activity-track,
.hp-activity-lane:focus-within .hp-activity-track {
    animation-play-state: paused;
}

.hp-activity-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(170, 208, 255, 0.24);
    background: rgba(8, 14, 32, 0.56);
    color: #d4e8ff;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: border-color 200ms ease, background 200ms ease;
}

.hp-activity-item::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(126, 216, 255, 0.6);
    margin-right: 0.55rem;
    flex-shrink: 0;
}

.hp-activity-item:hover {
    border-color: rgba(170, 208, 255, 0.42);
    background: rgba(12, 20, 44, 0.65);
}

/* ── Feature cards ──────────────────────────────────────────── */
.hp-features {
    animation: hp-section-in 0.7s 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hp-section-title {
    margin: 0 0 1.2rem;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ecf2ff;
}

.hp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hp-feature-card {
    position: relative;
    padding: 1.6rem 1.4rem;
    border-radius: var(--en-radius);
    border: 1px solid var(--en-border);
    background: var(--en-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

/* Per-card accent strip at top */
.hp-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--en-radius) var(--en-radius) 0 0;
}

.hp-feature-card--shield::before { background: linear-gradient(90deg, rgba(80, 160, 255, 0.9), rgba(80, 160, 255, 0)); }
.hp-feature-card--palette::before { background: linear-gradient(90deg, var(--en-violet), rgba(155, 135, 255, 0)); }
.hp-feature-card--game::before { background: linear-gradient(90deg, var(--en-cyan), rgba(126, 216, 255, 0)); }

.hp-feature-card--shield {
    background: linear-gradient(155deg, rgba(20, 60, 140, 0.12) 0%, var(--en-card) 55%);
    border-color: rgba(80, 150, 255, 0.2);
}

.hp-feature-card--palette {
    background: linear-gradient(155deg, rgba(80, 40, 180, 0.12) 0%, var(--en-card) 55%);
    border-color: rgba(140, 100, 255, 0.2);
}

.hp-feature-card--game {
    background: linear-gradient(155deg, rgba(0, 130, 200, 0.1) 0%, var(--en-card) 55%);
    border-color: rgba(80, 200, 240, 0.2);
}

.hp-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 48px rgba(60, 40, 160, 0.3);
    border-color: rgba(255, 255, 255, 0.22);
}

.hp-feature-card__icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.hp-feature-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.04rem;
    font-weight: 700;
    color: #ecf2ff;
    letter-spacing: -0.01em;
}

.hp-feature-card p {
    margin: 0;
    color: var(--en-muted-strong);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ── Safety section ─────────────────────────────────────────── */
.hp-safety {
    border-radius: var(--en-radius);
    border-left: 3px solid rgba(94, 232, 204, 0.55);
    background: linear-gradient(155deg, rgba(0, 80, 70, 0.08) 0%, rgba(6, 14, 26, 0.68) 50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: hp-section-in 0.7s 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hp-safety__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(150px, 0.5fr);
    gap: 1.5rem;
    padding: 2rem 2rem 2rem 1.75rem;
    align-items: center;
}

.hp-safety__copy h2 {
    margin: 0.8rem 0 0.75rem;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ecf2ff;
}

.hp-safety__copy p {
    margin: 0 0 1.1rem;
    color: var(--en-muted-strong);
    font-size: 0.93rem;
    line-height: 1.72;
    max-width: 56ch;
}

.hp-safety-list {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.hp-safety-list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #c2e8f8;
    font-size: 0.88rem;
    font-weight: 600;
}

.hp-safety__shield {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hp-shield-icon {
    font-size: 3.8rem;
    animation: hp-shield-breathe 5s ease-in-out infinite;
    filter: drop-shadow(0 0 22px rgba(94, 232, 204, 0.45));
}

.hp-shield-label {
    margin: 0;
    color: rgba(140, 230, 210, 0.8);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
}

/* Warm summary line at the bottom of the safety copy */
.hp-safety-tagline {
    margin: 0.9rem 0 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(160, 240, 220, 0.82);
    letter-spacing: 0.01em;
}

/* ── Final CTA ──────────────────────────────────────────────── */
.hp-final-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: var(--en-radius);
    background: radial-gradient(ellipse 80% 120% at 50% 110%,
        rgba(100, 45, 200, 0.45) 0%,
        rgba(15, 25, 65, 0.55) 55%,
        transparent 100%);
    animation: hp-section-in 0.7s 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Subtle top shimmer line */
.hp-final-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(180, 140, 255, 0.55), transparent);
}

/* Glow bloom behind primary CTA */
.hp-final-cta::after {
    content: '';
    position: absolute;
    bottom: -1rem; left: 50%;
    transform: translateX(-50%);
    width: 24rem;
    height: 8rem;
    background: radial-gradient(ellipse, rgba(120, 60, 220, 0.28), transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}

/* Decorative stars row */
.hp-cta-stars {
    display: flex;
    gap: 1.4rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    color: rgba(190, 160, 255, 0.55);
    animation: hp-cta-stars-pulse 3s ease-in-out infinite;
}

.hp-final-cta h2 {
    margin: 0 0 0.6rem;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #faf8ff;
}

.hp-final-cta p {
    margin: 0 0 1.5rem;
    color: var(--en-muted-strong);
    font-size: 1rem;
}

.hp-final-cta .hp-actions { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────────── */
.hp-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2.5rem;
    padding: 1.5rem 0.5rem 0.5rem;
    border-top: 1px solid var(--en-border);
    margin-top: 0.25rem;
}

.hp-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hp-footer__brand strong {
    color: #ddeaff;
    font-size: 0.94rem;
    font-weight: 700;
}

.hp-footer__brand span {
    color: rgba(180, 205, 250, 0.6);
    font-size: 0.76rem;
}

.hp-footer__links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hp-footer__links a {
    color: rgba(190, 215, 255, 0.6);
    font-size: 0.84rem;
    text-decoration: none;
    transition: color 140ms ease;
}

.hp-footer__links a:hover { color: #ddeaff; }

.hp-footer__legal {
    width: 100%;
    margin: 0;
    color: rgba(170, 200, 245, 0.52);
    font-size: 0.74rem;
}

/* ── Parallax ───────────────────────────────────────────────── */
.parallax-layer {
    transform: translate3d(var(--px, 0), var(--py, 0), 0);
    transition: transform 280ms ease-out;
    will-change: transform;
}

/* ── Keyframes ──────────────────────────────────────────────── */
@keyframes hp-brand-enter {
    from { opacity: 0; transform: translateY(-7px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hp-section-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hp-aurora-drift {
    0%   { transform: scale(1)    translate3d(0, 0, 0)       rotate(0deg); opacity: 0.9; }
    25%  { transform: scale(1.12) translate3d(7%, -5%, 0)   rotate(2deg); opacity: 1; }
    50%  { transform: scale(1.06) translate3d(5%, 6%, 0)    rotate(-1.5deg); opacity: 0.85; }
    75%  { transform: scale(0.94) translate3d(-6%, 4%, 0)   rotate(1deg); opacity: 1; }
    100% { transform: scale(1)    translate3d(0, 0, 0)       rotate(0deg); opacity: 0.9; }
}

@keyframes hp-orb-1 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    30%       { transform: translate3d(20%, 18%, 0); }
    60%       { transform: translate3d(10%, 30%, 0); }
    80%       { transform: translate3d(-8%, 14%, 0); }
}

@keyframes hp-orb-2 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    28%       { transform: translate3d(-18%, 16%, 0); }
    55%       { transform: translate3d(-12%, 28%, 0); }
    78%       { transform: translate3d(-22%, 10%, 0); }
}

@keyframes hp-orb-3 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    35%       { transform: translate3d(-22%, -14%, 0); }
    65%       { transform: translate3d(14%, -22%, 0); }
    85%       { transform: translate3d(8%, -8%, 0); }
}

@keyframes hp-orb-4 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    25%       { transform: translate3d(18%, -16%, 0); }
    55%       { transform: translate3d(26%, 12%, 0); }
    80%       { transform: translate3d(10%, -6%, 0); }
}

@keyframes hp-room-light {
    0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.85; }
    50%       { transform: scale(1.06) translate3d(3%, 2%, 0); opacity: 1; }
}

@keyframes hp-sticker-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-8px) rotate(6deg); }
}

@keyframes hp-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.55; transform: scale(0.8); }
}

@keyframes hp-shield-breathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 22px rgba(94, 232, 204, 0.45)); }
    50%       { transform: scale(1.07); filter: drop-shadow(0 0 30px rgba(94, 232, 204, 0.65)); }
}

@keyframes hp-activity-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes hp-cta-stars-pulse {
    0%, 100% { opacity: 0.55; letter-spacing: 0.12em; }
    50%       { opacity: 0.82; letter-spacing: 0.22em; }
}

/* ── Responsive — tablet 620–900 ────────────────────────────── */
@media (min-width: 620px) and (max-width: 899px) {
    .hp-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hp-safety-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Responsive — stacks below 900px ───────────────────────── */
@media (max-width: 899px) {
    .hp-hero {
        grid-template-columns: 1fr;
    }
    .hp-hero__preview {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .hp-safety__inner {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    .hp-safety__shield {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.75rem;
    }
    .hp-shield-icon { font-size: 2.5rem; }
    .hp-safety-list { grid-template-columns: 1fr; }
}

/* ── Responsive — mobile ≤640px ─────────────────────────────── */
@media (max-width: 640px) {
    body.entrance-home-page .site-shell {
        width: calc(100% - 0.75rem);
    }

    .entrance-shell {
        padding: 0.75rem 0.75rem 1.5rem;
        gap: 1.1rem;
    }

    .hp-hero__copy {
        padding: 1.5rem 1.25rem;
    }

    .hp-hero__copy h1 {
        font-size: clamp(1.9rem, 7.5vw, 2.5rem);
    }

    .hp-hero__sub {
        font-size: 0.95rem;
    }

    .hp-actions {
        flex-direction: column;
    }

    .hp-btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile: turn lane into horizontally scrollable strip, hide duplicates */
    .hp-activity-lane {
        mask-image: none;
        -webkit-mask-image: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hp-activity-track {
        animation: none;
        flex-wrap: nowrap;
        width: auto;
        padding-bottom: 0.5rem;
    }

    .hp-activity-item[aria-hidden="true"] {
        display: none;
    }

    .hp-feature-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hp-section-title { font-size: 1.3rem; }

    .hp-safety__inner {
        padding: 1.25rem 1rem;
    }

    .hp-safety-list {
        grid-template-columns: 1fr;
    }

    .hp-final-cta {
        padding: 2rem 1rem;
    }

    .hp-final-cta h2 { font-size: 1.55rem; }

    .hp-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* Reduce orb size on mobile for performance */
    .hp-orb--1, .hp-orb--2 { width: 16rem; height: 16rem; }
    .hp-orb--3, .hp-orb--4 { width: 14rem; height: 14rem; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .hp-aurora::before,
    .hp-aurora::after,
    .hp-orb--1, .hp-orb--2, .hp-orb--3, .hp-orb--4,
    .hp-room-aurora-inner,
    .hp-shield-icon,
    .hp-online-dot,
    .hp-room-sticker,
    .hp-cta-stars,
    .hp-hero, .hp-hero__preview,
    .hp-activity-lane,
    .hp-features,
    .hp-safety,
    .hp-final-cta,
    body.entrance-home-page .brand {
        animation: none !important;
    }

    .hp-activity-track {
        animation: none !important;
    }

    .parallax-layer,
    .hp-btn,
    .hp-feature-card,
    .hp-footer__links a,
    .hp-collectible-shelf span,
    .hp-eq-bar {
        transition: none !important;
    }

    /* Static but still attractive background for reduced motion */
    body.entrance-home-page {
        background:
            radial-gradient(ellipse 80% 60% at 15% 20%, rgba(100, 30, 160, 0.25), transparent),
            radial-gradient(ellipse 60% 50% at 85% 15%, rgba(20, 70, 180, 0.22), transparent),
            linear-gradient(180deg, #05091a 0%, #0a1228 50%, #060c1a 100%);
    }
}

/* logged-in secondary nudge on public homepage */
.hp-logged-in-nudge {
  margin-top: 0.75rem;
}
.hp-logged-in-nudge a {
  font-size: 0.82rem;
  color: rgba(180,160,255,0.6);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.hp-logged-in-nudge a:hover {
  color: #c4b5fd;
}
