:root {
    --button-max-width: 300px;
}

html,
body {
    height: 100%;
    background-color: #F7D04B;
}

/* Global text + font */
body {
    font-family: 'Questrial', sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
}

.title-image {
    width: 100%;
    max-width: calc(var(--button-max-width) * 2);
    height: auto;
    margin-bottom: 2rem;
}

.loader {
    border: 6px solid rgba(255, 255, 255, 0.12);
    border-top: 6px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.button {
    display: inline-block;
    margin: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.button img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    will-change: transform, box-shadow;
}

.button:hover img,
.button:focus img {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), 0 6px 18px rgba(0, 0, 0, 0.10);
}

.button:focus {
    outline: none;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.button-desc {
    color: #000;
    font-weight: 700;
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: var(--button-max-width);
    gap: 1rem;
    margin: 0 auto;
}

.error-message {
    color: #fff;
    font-weight: 700;
    margin-top: 2rem;
}

/* new: purchase CTA at the base */
.purchase-cta {
    margin-top: 1.5rem;
    text-align: center;
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
}

.purchase-cta a {
    color: #000;
    text-decoration: underline;
    font-weight: 800;
}