/**
 * 年龄验证弹窗样式
 * Age Verification Modal Styles
 */

/* 弹窗容器 */
#ageVerificationModal {
    display: block !important;
}

#ageVerificationModal * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 背景遮罩 */
#ageVerificationModal > div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

/* 弹窗主体 */
#ageVerificationModal > div > div {
    background: #000;
    padding: 60px 30px 40px 30px;
    border-radius: 2px;
    max-width: 90%;
    width: 850px;
    text-align: center;
    border: 1px solid #313131;
    position: relative;
}

/* 语言选择器 */
#avmLanguageWrapper {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-block;
    z-index: 10;
}

#avmLanguageSelected {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: #1a1a1a;
    padding: 8px 15px;
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    user-select: none;
}

#avmLanguageSelected span:first-child {
    margin-right: 8px;
    font-size: 14px;
}

#avmLanguageSelected .dropArrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    margin-left: 8px;
}

#avmLanguagesList {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border-radius: 3px;
    margin-top: 10px;
    list-style: none;
    min-width: 150px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    padding: 0;
}

#avmLanguagesList li a {
    display: block;
    padding: 10px 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    text-align: left;
}

#avmLanguagesList li a:hover {
    background: #2a2a2a;
    color: #fff;
}

/* Logo */
#ageVerificationModal img {
    width: 200px;
     margin-bottom: 30px; 
}

/* 标题 */
#ageVerificationModal h3 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* 通知链接 */
#ageVerificationModal .noticeLink {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 5px 20px;
    border: 3px solid #b36500;
    background: #1f1f1f;
    border-radius: 3px;
    margin-bottom: 20px;
    font-size: 14px;
    transition: all 0.3s;
    font-weight: 700;
}

#ageVerificationModal .noticeLink:hover {
    background: #3f3f3f;
}

/* 正文 */
#ageVerificationModal .bodyText {
    color: #ccc;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 7500px;
    margin-left: auto;
    margin-right: auto;
}

#ageVerificationModal .bodyText a {
    color: #ff9000;
    text-decoration: none;
}

/* 按钮 - 统一灰色风格 */
#ageVerificationModal .avm-btn {
    display: inline-block;
    padding: 15px 90px;
    margin: 10px;
    border: 3px solid #b36500;
    border-radius: 3px;
    background: #1f1f1f;
    color: #ccc;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: Arial, Helvetica, sans-serif;
}

#ageVerificationModal .avm-btn:hover {
    background: #3f3f3f;
    border-color: #b36500;
}

/* 底部文字 */
#ageVerificationModal .bottomText {
    color: #999;
    font-size: 1.25rem;
    margin-top: 20px;
    line-height: 1.5;
}

#ageVerificationModal .bottomText a {
    color: #ff9000;
    text-decoration: none;
}

/* RTA 和版权 */
#ageVerificationModal .rtaDisclaimerWrapper {
    margin-top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

#ageVerificationModal .copyright {
    color: #666;
    font-size: 12px;
}

#ageVerificationModal .rta {
    width: 88px;
    margin-bottom: -30px;
}

/* 响应式 */
@media (max-width: 768px) {
    #ageVerificationModal > div > div {
        width: 95%;
        padding: 15px 12px;
        max-height: 85vh;
        overflow: hidden;  /* 去掉滚动条 */
    }

    /* 语言选择器移到右上角，避免挡住 logo */
    #avmLanguageWrapper {
        top: 8px;
        right: 8px;
        left: auto;
    }

    #ageVerificationModal .rta {
    width: 88px;
    margin-bottom: 0px;
    }

    #avmLanguageSelected {
        padding: 4px 8px;
        font-size: 11px;
    }

    #avmLanguagesList {
        min-width: 120px;
    }

    #avmLanguagesList li a {
        padding: 8px 12px;
        font-size: 12px;
    }

    #ageVerificationModal img {
        width: 100px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #ageVerificationModal h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    #ageVerificationModal .noticeLink {
        padding: 5px 10px;
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    #ageVerificationModal .bodyText {
        font-size: 0.8rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    #ageVerificationModal .avm-btn {
        display: block;
        width: 100%;
        padding: 8px 12px;
        margin: 6px 0;
        font-size: 0.8rem;
    }

    #ageVerificationModal .bottomText {
        font-size: 1.2rem;
        margin-top: 10px;
        line-height: 1.4;
    }

    #ageVerificationModal .rtaDisclaimerWrapper {
        margin-top: 10px;
        gap: 8px;
        flex-direction: row;  /* 确保横向排列 */
        align-items: center;  /* 垂直居中对齐 */
    }

    #ageVerificationModal .copyright {
        font-size: 10px;
        line-height: 1;  /* 避免行高影响对齐 */
    }

    #ageVerificationModal .rta {
        display: flex;  /* 确保图片容器正确对齐 */
        align-items: center;
    }

    #ageVerificationModal .rta img {
        width: 70px;
        height: 25px;
        display: block;  /* 去掉图片底部空隙 */
    }
}
