/* Peptorious Custom Age Gate Styles */

#pcag-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 20px;
    box-sizing: border-box;
}

#pcag-modal {
    background: #0D1B2A;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 16px;
    padding: 40px 32px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#pcag-logo-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #C9A84C;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    background: rgba(201, 168, 76, 0.08);
    overflow: hidden;
}

#pcag-brand-name {
    color: #C9A84C;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    margin: 0 0 8px;
    text-transform: uppercase;
    line-height: 1.3;
}

#pcag-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

#pcag-title {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

#pcag-subtitle {
    color: #B0BEC5;
    font-size: 15px;
    margin: 0 0 24px;
    line-height: 1.6;
}

.pcag-gold {
    color: #C9A84C;
    font-weight: 700;
}

/* Checkbox rows */
.pcag-checkbox-wrap {
    border: 1.5px solid rgba(201, 168, 76, 0.5);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s;
    user-select: none;
    -webkit-user-select: none;
}

.pcag-checkbox-wrap:hover {
    border-color: #C9A84C;
}

.pcag-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    pointer-events: none; /* Let the wrap handle clicks */
}

/* Hide the real checkbox but keep it functional */
.pcag-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Custom circle indicator */
.pcag-custom-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #C9A84C;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    background: transparent;
    box-sizing: border-box;
}

/* Filled state — toggled via JS class */
.pcag-checkbox-wrap.is-checked .pcag-custom-check {
    background: #C9A84C;
}

.pcag-checkbox-wrap.is-checked .pcag-custom-check::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0D1B2A;
    display: block;
}

.pcag-check-text {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
}

/* Legal text */
#pcag-legal {
    color: #7A8A99;
    font-size: 12px;
    line-height: 1.6;
    margin: 16px 0 24px;
    text-align: center;
}

.pcag-link {
    color: #C9A84C;
    text-decoration: underline;
}

.pcag-link:hover {
    color: #D4B86A;
}

/* Agree button */
#pcag-agree-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: #C9A84C;
    color: #0D1B2A;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    box-sizing: border-box;
}

#pcag-agree-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#pcag-agree-btn:not(:disabled):hover {
    background: #D4B86A;
}

/* Deny button */
#pcag-deny-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    text-decoration: none;
    transition: color 0.2s;
    width: 100%;
}

#pcag-deny-btn:hover {
    color: #C9A84C;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    #pcag-modal {
        padding: 32px 20px 24px;
    }
    #pcag-title {
        font-size: 20px;
    }
}
