/**
 * Mana Age Gate Styles
 */

/* Hide scrollbar when age gate is active */
body.mana-age-gate-active {
    overflow: hidden !important;
}

/* Age Gate Overlay */
.mana-age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Content Container */
.mana-age-gate__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    max-width: 600px;
    width: 100%;
}

/* Heading */
.mana-age-gate__heading {
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 350;
    font-size: 40px;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0 0 40px 0;
    font-style: normal;
}

/* Date Inputs Container */
.mana-age-gate__date-inputs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

/* Individual Date Input */
.mana-age-gate__date-field {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mana-age-gate__date-field select {
    background: transparent;
    border: none;
    border-bottom: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 350;
    font-size: 28px;
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 100px;
    text-decoration: none;
}

.mana-age-gate__date-field select:focus {
    outline: none;
    border-bottom-color: #0D4F43;
}

.mana-age-gate__date-field select option {
    background: #1a1a1a;
    color: #FFFFFF;
}

/* Disclaimer Text */
.mana-age-gate__disclaimer {
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 350;
    font-size: 16px;
    line-height: 1.5;
    color: #FFFFFF;
    margin: 20px 0 30px 0;
}

/* Buttons Container */
.mana-age-gate__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Button Base Styles */
.mana-age-gate__btn {
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-weight: 350;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 50px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 142px;
    text-align: center;
    text-decoration: none;
}

/* Enter Button */
.mana-age-gate__btn--enter {
    background-color: #0D4F43 !important;
    color: #FFFFFF !important;
    border: 2px solid #0D4F43 !important;
}

.mana-age-gate__btn--enter:hover {
    background-color: #0a3e35 !important;
    border-color: #0a3e35 !important;
}

/* Exit Button */
.mana-age-gate__btn--exit {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
}

.mana-age-gate__btn--exit:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Footer Section */
.mana-age-gate__footer {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo */
.mana-age-gate__logo {
    width: 142px;
    height: auto;
    margin-bottom: 15px;
}

/* Legal Link */
.mana-age-gate__legal-link {
    font-family: 'Gotham', 'Nunito', sans-serif;
    font-weight: 325;
    font-size: 11px;
    color: #FFFFFF;
    text-decoration: underline;
    cursor: pointer;
}

.mana-age-gate__legal-link:hover {
    opacity: 0.8;
}

/* Error State */
.mana-age-gate__error {
    color: #ff6b6b;
    font-family: 'Gotham Rounded', 'Nunito', sans-serif;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.mana-age-gate__error.visible {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mana-age-gate__heading {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .mana-age-gate__date-inputs {
        gap: 20px;
    }

    .mana-age-gate__date-field select {
        font-size: 22px;
        min-width: 80px;
    }

    .mana-age-gate__disclaimer {
        font-size: 14px;
    }

    .mana-age-gate__buttons {
        gap: 15px;
    }

    .mana-age-gate__btn {
        padding: 14px 40px;
        min-width: 120px;
    }

    .mana-age-gate__footer {
        bottom: 30px;
    }

    .mana-age-gate__logo {
        width: 120px;
    }

    .mana-age-gate__legal-link {
        font-size: 12px;
    }
}

