/* SpiralCoin geo-block + affirmation modal styling.
   Include after the page's own styles so it overrides correctly. */

#splc-geo-block,
#splc-affirm {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 20, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* CRITICAL: honor the [hidden] attribute. ID specificity (0,1,0,0) beats
   the UA stylesheet's [hidden] (0,0,1,0) rule, so without this override
   the JS calling `el.hidden = true` cannot actually close the modal. */
#splc-geo-block[hidden],
#splc-affirm[hidden] {
    display: none !important;
}

.splc-geo-modal,
.splc-affirm-modal {
    background: linear-gradient(160deg, #131a2e 0%, #0a0f1f 100%);
    border: 1px solid #2a3550;
    border-radius: 12px;
    max-width: 480px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.splc-geo-modal h2,
.splc-affirm-modal h2 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    color: #ffd166;
}

.splc-geo-modal p,
.splc-affirm-modal p {
    line-height: 1.5;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.splc-affirm-modal label {
    display: block;
    padding: 0.5rem 0;
    cursor: pointer;
}

.splc-affirm-modal button {
    background: #ffd166;
    color: #0a0f1f;
    border: 0;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

.splc-affirm-modal button:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
}

.splc-geo-modal a {
    display: inline-block;
    margin-top: 1rem;
    color: #66d9ef;
    text-decoration: none;
    font-weight: 600;
}

.splc-geo-modal a:hover { text-decoration: underline; }
