/* Age Verification Gate Styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; */
}

body.age-gate-active {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b20017 0%, #D6001C 100%);
    overflow: hidden;
    width: 100%;
}

.age-gate-page-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
}

.age-gate-page-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 520px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
    z-index: 99;
}

.age-gate-page-content h1 {
    font-size: 32px;
    margin: 0 0 15px 0;
    color: #222;
    font-weight: 700;
}

.age-gate-page-content p {
    font-size: 15px;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.age-gate-form {
    margin-bottom: 30px;
}

.age-gate-form-fields {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.age-gate-form-group {
    text-align: left;
    flex: 1;
}

.age-gate-form-group.day { flex: 0 0 80px; }
.age-gate-form-group.month { flex: 2; }
.age-gate-form-group.year { flex: 0 0 100px; }


.age-gate-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.age-gate-form-group input,
.age-gate-form-group select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    color: #333;
    box-sizing: border-box;
    font-family: inherit;
}

.age-gate-form-group input:focus,
.age-gate-form-group select:focus {
    outline: none;
    border-color: #fb9600;
    background: white;
    box-shadow: 0 0 0 3px rgba(251, 150, 0, 0.1);
}

.age-gate-form-group input::placeholder {
    color: #aaa;
}

.age-gate-error {
    padding: 12px 14px;
    background: #fee;
    border-left: 4px solid #f66;
    color: #c33;
    font-size: 14px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    text-align: left;
}

.age-gate-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.age-gate-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.age-gate-verify-btn {
    background: #fb9600;
    color: white;
    box-shadow: 0 4px 12px rgba(251, 150, 0, 0.3);
}

.age-gate-verify-btn:hover {
    background: #e68a00;
    box-shadow: 0 6px 16px rgba(251, 150, 0, 0.4);
    transform: translateY(-2px);
}

.age-gate-verify-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(251, 150, 0, 0.3);
}

.age-gate-decline-btn {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.age-gate-decline-btn:hover {
    background: #e8e8e8;
    border-color: #ccc;
}

.age-gate-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    justify-content: center;
}

.age-gate-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #fb9600;
}

.age-gate-loading {
    display: none;
    text-align: center;
    padding: 20px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 3px solid #f0f0f0;
    border-top-color: #fb9600;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.age-gate-declined {
    display: none;
    text-align: center;
}

.age-gate-declined h2 {
    color: #c33;
    margin: 0 0 12px 0;
    font-size: 24px;
}

.age-gate-declined p {
    margin: 0 0 12px 0;
    color: #666;
}

.age-gate-declined .back-link {
    display: inline-block;
    padding: 12px 24px;
    background: #fb9600;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.age-gate-declined .back-link:hover {
    background: #e68a00;
    text-decoration: none;
}

@media (max-width: 480px) {
    .age-gate-page-content {
        padding: 30px 24px;
    }

    .age-gate-page-content h1 {
        font-size: 24px;
    }

    .age-gate-form-fields {
        flex-direction: column;
    }

    .age-gate-actions {
        flex-direction: column;
    }

    .age-gate-form-group input,
    .age-gate-form-group select {
        font-size: 16px;
    }
}
