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

body {
    background: #000;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

#scroll-spacer {
    height: 600vh;
}

#viewer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 500px;
    aspect-ratio: 1;
    z-index: 10;
    pointer-events: none;
}
#viewer canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

#title {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 20;
    pointer-events: none;
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
        Helvetica, Arial, sans-serif;
}
#title h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}
#title p {
    color: #666;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    margin-top: 0.5rem;
}

#scroll-hint {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #444;
    z-index: 20;
    pointer-events: none;
    transition: opacity 0.3s;
    animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

#receipt-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    font-family: monospace;
    font-size: 14px;
    width: 44ch;
    max-width: 90vw;
    z-index: 15;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
}

#receipt {
    background: #f5f0e8;
    color: #2a2a2a;
    font: inherit;
    line-height: 1.6;
    padding: 2rem 2ch;
    transform: translateY(-100%);
    pointer-events: auto;
}
#receipt pre {
    font: inherit;
    white-space: pre-wrap;
    word-wrap: break-word;
}
#receipt a {
    color: #2a2a2a;
}
#receipt #photos {
    margin: 0.5rem 0;
}
#receipt #photos img {
    width: 100%;
    display: block;
}

#team {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 3rem 2rem;
    width: 90vw;
    text-align: center;
    font-family:
        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
        Helvetica, Arial, sans-serif;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
}
#team h2 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: #fff;
}
#team .team-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
#team .team-links a {
    color: #888;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 300;
    transition: color 0.2s;
}
#team .team-links a:hover {
    color: #fff;
}
#team .built-at {
    color: #444;
    font-size: 0.8rem;
    font-weight: 300;
}

@media (max-width: 600px) {
    #receipt-wrapper {
        font-size: 13px;
        max-width: 96vw;
    }
}
