/* ============================================
   Age Verification Modal
   ============================================ */

.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-gate-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.age-gate-modal {
    width: 100%;
    max-width: 420px;
    background: var(--color-surface, #1e2628);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.age-gate-overlay.hidden .age-gate-modal {
    transform: scale(0.95);
}

/* Logo Section */
.age-gate-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.age-gate-logo-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary, #50e8c0);
}

.age-gate-logo-text {
    font-family: var(--font-serif, 'Inter', sans-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-text, #bccac4);
}

.age-gate-logo-suffix {
    color: var(--color-primary, #50e8c0);
}

/* Age Badge */
.age-gate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--color-primary, #50e8c0);
    border-radius: 50%;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.age-gate-badge span {
    font-size: 28px;
    font-weight: 500;
    color: #12181a;
}

/* Content */
.age-gate-title {
    font-family: var(--font-serif, 'Inter', sans-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-text, #bccac4);
    margin-bottom: 12px;
}

.age-gate-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-secondary, #506460);
    margin-bottom: 32px;
}

/* Buttons */
.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.age-gate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
}

.age-gate-btn-confirm {
    background: var(--color-primary, #50e8c0);
    color: #12181a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.age-gate-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.age-gate-btn-confirm:active {
    transform: translateY(0);
}

.age-gate-btn-deny {
    background: var(--color-bg, #12181a);
    color: var(--color-text-secondary, #506460);
    border: 1px solid var(--color-border, rgba(80, 232, 192, 0.12));
}

.age-gate-btn-deny:hover {
    background: var(--color-border, rgba(80, 232, 192, 0.12));
    color: var(--color-text, #bccac4);
}

/* Disclaimer */
.age-gate-disclaimer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border, rgba(80, 232, 192, 0.12));
    font-size: 12px;
    color: var(--color-text-muted, #506460);
    line-height: 1.5;
}

.age-gate-disclaimer a {
    color: var(--color-primary, #50e8c0);
    text-decoration: none;
}

.age-gate-disclaimer a:hover {
    text-decoration: underline;
}

/* Dark mode removed - single Deep Iron theme */

/* Mobile adjustments */
@media (max-width: 480px) {
    .age-gate-modal {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .age-gate-badge {
        width: 64px;
        height: 64px;
    }

    .age-gate-badge span {
        font-size: 24px;
    }

    .age-gate-title {
        font-size: 22px;
    }

    .age-gate-text {
        font-size: 14px;
    }

    .age-gate-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Prevent body scroll when modal is open */
body.age-gate-active {
    overflow: hidden;
}
