:root {
    --ink: #08090c;
    --surface: #101116;
    --surface-raised: #17191f;
    --line: rgba(255, 255, 255, .11);
    --line-strong: rgba(255, 255, 255, .22);
    --text: #f7f7f8;
    --muted: #a2a6ad;
    --silver: #d7d9de;
}

body {
    background: radial-gradient(circle at 50% -15%, #24272d 0, var(--ink) 38rem) fixed;
    color: var(--text);
}

.pulse-grid {
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 90%);
}

.pulse-glass {
    background: rgba(16, 17, 22, .74);
    border: 1px solid var(--line);
    box-shadow: 0 22px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(16px);
}

.pulse-card {
    background: linear-gradient(145deg, rgba(31, 33, 40, .94), rgba(15, 16, 21, .96));
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.pulse-card:hover { border-color: var(--line-strong); transform: translateY(-5px); box-shadow: 0 24px 55px rgba(0,0,0,.34); }
.pulse-avatar { box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 18px 50px rgba(0,0,0,.48); }
.pulse-button { background: var(--text); color: #090a0d; box-shadow: 0 10px 32px rgba(255,255,255,.12); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.pulse-button:hover { background: white; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(255,255,255,.18); }
.pulse-button:active { transform: translateY(0) scale(.98); }
.pulse-button-secondary { background: rgba(255,255,255,.055); border: 1px solid var(--line); color: var(--text); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.pulse-button-secondary:hover { border-color: var(--line-strong); background: rgba(255,255,255,.09); transform: translateY(-2px); }

@keyframes pulse-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes pulse-breathe {
    0%, 100% { opacity: .42; transform: scale(.96); }
    50% { opacity: .82; transform: scale(1.04); }
}

@keyframes pulse-shine {
    from { transform: translateX(-130%) skewX(-18deg); }
    to { transform: translateX(260%) skewX(-18deg); }
}

@keyframes pulse-enter {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse-float { animation: pulse-float 5s ease-in-out infinite; }
.pulse-breathe { animation: pulse-breathe 4s ease-in-out infinite; }
.pulse-shine { overflow: hidden; position: relative; }
.pulse-shine::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); content: ''; height: 150%; left: 0; position: absolute; top: -25%; width: 28%; animation: pulse-shine 5.5s ease-in-out infinite 1.3s; pointer-events: none; }
.motion-ready .pulse-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.2,1); }
.motion-ready .pulse-reveal.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .pulse-reveal[data-delay="1"] { transition-delay: .1s; }
.motion-ready .pulse-reveal[data-delay="2"] { transition-delay: .2s; }
.motion-ready .pulse-reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 640px) {
    .pulse-touch { min-height: 44px; }
}
