/**
 * Age Consent Banner - Restrict Website Access by Age Verification
 * Frontend Styles
 * Author: Vishavjeet Choubey
 * URI: https://vishavjeet.in/
 */

/* Reset and Base Styles */
body.acb-verification-page {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#acb-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#acb-content {
    text-align: center;
    padding: 50px 40px;
    max-width: 650px;
    width: 90%;
    animation: acb-fadeIn 0.6s ease-in-out;
}

@keyframes acb-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Styles */
.acb-logo {
    margin-bottom: 30px;
}

.acb-logo img {
    max-width: 200px;
    height: auto;
}

.acb-logo h2 {
    font-size: 1.8em;
    margin: 0;
    font-weight: 700;
}

/* Heading and Text Styles */
#acb-content h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

#acb-content p {
    font-size: 1.25em;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Container */
#acb-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Button Styles */
#acb-buttons button {
    padding: 16px 45px;
    font-size: 1.15em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 220px;
    font-family: inherit;
}

#acb-confirm-btn {
    background-color: #4CAF50;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

#acb-confirm-btn:hover:not(:disabled) {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

#acb-confirm-btn:active:not(:disabled) {
    transform: translateY(0);
}

#acb-cancel-btn {
    background-color: transparent;
    color: inherit;
    border: 2px solid currentColor;
}

#acb-cancel-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

#acb-cancel-btn:active {
    transform: translateY(0);
}

/* Loading/Disabled State */
#acb-buttons button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Underage Message */
#acb-underage-message {
    margin-top: 30px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: acb-fadeIn 0.5s ease-in-out;
}

#acb-underage-message p {
    margin: 0;
    font-size: 1.15em;
    opacity: 1;
}

/* Footer */
.acb-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85em;
    opacity: 0.6;
}

.acb-footer p {
    margin: 0;
    font-size: 0.95em;
}

.acb-footer a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: opacity 0.3s ease;
}

.acb-footer a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    #acb-content {
        padding: 40px 30px;
    }
    
    #acb-content h1 {
        font-size: 2.2em;
    }
    
    #acb-content p {
        font-size: 1.1em;
    }
    
    #acb-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    #acb-buttons button {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    #acb-content {
        padding: 30px 20px;
    }
    
    .acb-logo img {
        max-width: 150px;
    }
    
    #acb-content h1 {
        font-size: 1.8em;
    }
    
    #acb-content p {
        font-size: 1em;
    }
    
    #acb-buttons button {
        padding: 14px 35px;
        font-size: 1em;
    }
}

/* Print Styles */
@media print {
    #acb-overlay {
        display: none !important;
    }
}