/* aSS Age Verification — popup styles */

#ass-age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#ass-age-overlay.ass-age-visible {
    opacity: 1;
}

.ass-age-modal {
    background: #111;
    color: #fff;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 52px 44px;
    max-width: 420px;
    width: 92%;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Each step is a flex column */
.ass-age-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Eyebrow label */
.ass-age-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #444;
    margin: 0 0 32px;
}

.ass-age-modal h2 {
    font-size: 21px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.35;
}

.ass-age-modal p {
    font-size: 13px;
    color: #888;
    margin: 0 0 22px;
    line-height: 1.75;
    max-width: 320px;
}

.ass-age-modal a {
    color: #bbb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Number inputs */
.ass-age-modal input[type="number"] {
    width: 100%;
    padding: 15px 16px;
    background: #1c1c1c;
    border: 1px solid #2e2e2e;
    border-radius: 5px;
    color: #fff;
    font-size: 22px;
    text-align: center;
    margin-bottom: 12px;
    box-sizing: border-box;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
    transition: border-color 0.2s;
}

.ass-age-modal input[type="number"]::-webkit-inner-spin-button,
.ass-age-modal input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.ass-age-modal input[type="number"]:focus {
    border-color: #4a4a4a;
}

/* Primary button */
.ass-age-btn {
    width: 100%;
    padding: 15px 0;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.18s, transform 0.08s;
}

.ass-age-btn:hover {
    background: #e6e6e6;
}

.ass-age-btn:active {
    transform: scale(0.98);
}

.ass-age-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Inline error text */
.ass-age-error {
    font-size: 12px;
    color: #e74c3c;
    min-height: 18px;
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
}

/* ── Countdown ── */

.ass-age-countdown {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin: 4px 0 22px;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s;
    letter-spacing: -2px;
    width: 100%;
}

.ass-age-countdown.ass-age-urgent {
    color: #e74c3c;
    animation: ass-age-pulse 0.55s ease-in-out infinite;
}

@keyframes ass-age-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.55; transform: scale(1.05); }
}

/* ── Blocked symbol — CSS-only circle-X ── */

.ass-age-blocked-symbol {
    width: 60px;
    height: 60px;
    border: 3px solid #e74c3c;
    border-radius: 50%;
    position: relative;
    margin: 4px auto 24px;
    flex-shrink: 0;
}

.ass-age-blocked-symbol::before,
.ass-age-blocked-symbol::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

.ass-age-blocked-symbol::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.ass-age-blocked-symbol::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ── Mobile ── */

@media (max-width: 480px) {
    .ass-age-modal {
        padding: 40px 24px;
    }

    .ass-age-countdown {
        font-size: 56px;
    }
}
