/* The Promptionary lockup: wheel mark + wordmark. Shared by every page —
   edit here, not in a page's own <style> block. */

/* ---- WHEEL MARK — geometry ported from the app's splash lockup ----
   The mark's ink is 1001px of its 1024px canvas, and the rim sits a
   further 1/260 inside that, so the quadrants overhang the ring by a
   hair exactly as they do on the spin wheel. */
.wheel-mark {
    position: relative;
    width: var(--wheel);
    height: var(--wheel);
    flex-shrink: 0;
}

.wheel-mark--hero {
    --wheel: 200px;
}

@media (min-width: 768px) {
    .wheel-mark--hero {
        --wheel: 280px;
    }
}

.wheel-mark--header {
    --wheel: 40px;
}

.wheel-mark__art {
    display: block;
    width: 100%;
    height: 100%;
}

.wheel-mark__rim {
    position: absolute;
    left: 1.499%;
    top: 1.499%;
    width: 97.002%;
    height: 97.002%;
    box-sizing: border-box;
    border: calc(var(--wheel) * 0.0376) solid #3d1469;
    border-radius: 50%;
}

.wheel-mark__hub {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 19.551%;
    height: 19.551%;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    border: calc(var(--wheel) * 0.0301) solid #3d1469;
    border-radius: 50%;
    background: #0B0818;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wheel-mark__spiral {
    width: calc(var(--wheel) * 0.1203);
    height: calc(var(--wheel) * 0.1203);
    animation: hubSpin 15s linear infinite;
}

/* Five whole turns per iteration, so every loop boundary lands on the
   same orientation and the spin reads as continuous. */
@keyframes hubSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(1800deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wheel-mark__spiral {
        animation: none;
    }
}

/* ---- WORDMARK — Rajdhani 700 with the app's oversized initial ---- */
.wordmark {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    color: #FFFFFF;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0.06em 0.06em 0.03em #0B081885;
}

.wordmark__initial {
    font-size: 1.41em;
}
