/**
 * Axxanoid Age Gate - Front-End Styles
 *
 * This file contains the styles for the age gate modal, overlay, and content.
 */

/* --- Base & Overlay --- */
.aag-hidden {
    display: none !important;
}

body.aag-modal-open {
    overflow: hidden;
}

#aag-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 23, 23, 0.8); /* Dark, semi-transparent background */
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --- Modal Container --- */
#aag-modal {
    background-color: #2E2925; /* Dark brown/charcoal */
    color: #F5F5DC; /* Beige/off-white text */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #4a413a;
    text-align: center;
    max-width: 500px;
    width: 90%;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* --- Modal Content --- */
#aag-branding {
    margin-bottom: 20px;
}

#aag-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 15px;
}

#aag-site-name {
    font-size: 24px;
    margin: 0 0 5px 0;
    font-weight: 600;
    color: #fff;
}

#aag-site-tagline {
    font-size: 14px;
    margin: 0;
    color: #b0a89f;
}

#aag-main-heading {
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 500;
}

#aag-description {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* --- Input Fields --- */
.aag-input-fields {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.aag-input-fields input {
    width: 70px;
    padding: 12px;
    font-size: 18px;
    text-align: center;
    background-color: #4a413a;
    border: 1px solid #635850;
    color: #F5F5DC;
    border-radius: 4px;
}

.aag-input-fields input::placeholder {
    color: #9e948a;
}

/* Remove number input spinners */
.aag-input-fields input[type=number]::-webkit-inner-spin-button,
.aag-input-fields input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.aag-input-fields input[type=number] {
    -moz-appearance: textfield;
}

/* --- Buttons & Links --- */
.aag-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.aag-buttons button {
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.aag-button-primary {
    background-color: #4CAF50; /* Green accent */
    color: #fff;
}

.aag-button-primary:hover {
    background-color: #5cb85c;
}

#aag-button-exit {
    background-color: #7B4E2B; /* Brown accent */
    color: #fff;
}

#aag-button-exit:hover {
    background-color: #8c5e3a;
}

#aag-error-message {
    color: #ff6b6b;
    font-weight: bold;
    margin-top: 15px;
}

#aag-footer-links {
    margin-top: 25px;
    font-size: 13px;
}

#aag-footer-links a {
    color: #b0a89f;
    text-decoration: none;
    margin: 0 10px;
}

#aag-footer-links a:hover {
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    #aag-modal {
        padding: 20px;
    }
    #aag-main-heading {
        font-size: 22px;
    }
    .aag-buttons {
        flex-direction: column;
        gap: 10px;
    }
}