/**
 * 年龄验证弹窗样式
 * Age Verification Modal Styles
 */

/* 弹窗遮罩层 */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

/* 背景遮罩 */
.age-verification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

/* 弹窗主体内容 */
.age-verification-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 540px;
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
    z-index: 1;
}

/* 弹窗头部 */
.age-verification-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 30px;
    text-align: center;
}

.age-verification-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

/* 弹窗主体 */
.age-verification-body {
    padding: 40px 30px 30px;
    text-align: center;
}

.age-verification-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.age-verification-question {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.age-verification-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    padding: 0 10px;
}

/* 警告信息 */
.age-verification-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.age-verification-warning i {
    color: #ff9800;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.age-verification-warning span {
    color: #856404;
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

/* 弹窗底部按钮区域 */
.age-verification-footer {
    padding: 20px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.age-verification-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.age-verification-btn i {
    font-size: 18px;
}

/* 确认按钮 */
.age-verification-btn-confirm {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #ffffff;
}

.age-verification-btn-confirm:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.age-verification-btn-confirm:active {
    transform: translateY(0);
}

/* 拒绝按钮 */
.age-verification-btn-deny {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.age-verification-btn-deny:hover {
    background: #e0e0e0;
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.age-verification-btn-deny:active {
    transform: translateY(0);
}

/* 年龄拒绝提示层 */
.age-deny-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.age-deny-content {
    text-align: center;
    padding: 40px;
    max-width: 500px;
    animation: slideUp 0.4s ease-out;
}

.age-deny-icon {
    margin-bottom: 24px;
}

.age-deny-icon i {
    font-size: 80px;
    color: #ff5252;
}

.age-deny-content h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 禁止页面滚动 */
body.age-verification-active {
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .age-verification-content {
        max-width: 90%;
        margin: 20px;
    }

    .age-verification-header {
        padding: 20px;
    }

    .age-verification-title {
        font-size: 20px;
    }

    .age-verification-body {
        padding: 30px 20px 20px;
    }

    .age-verification-question {
        font-size: 18px;
    }

    .age-verification-description {
        font-size: 14px;
    }

    .age-verification-footer {
        padding: 15px 20px 25px;
    }

    .age-verification-btn {
        padding: 12px 20px;
        font-size: 15px;
    }

    .age-deny-content {
        padding: 30px 20px;
    }

    .age-deny-icon i {
        font-size: 60px;
    }

    .age-deny-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .age-verification-icon svg {
        width: 60px;
        height: 60px;
    }

    .age-verification-question {
        font-size: 16px;
    }

    .age-verification-description {
        font-size: 13px;
    }

    .age-verification-warning {
        padding: 12px 15px;
    }

    .age-verification-warning span {
        font-size: 12px;
    }
}

