/*
 * Zibll 作者主页访问限制 - 前端样式
 * Version: 1.5.0
 */

/* Sticky Footer 布局 —— 让 footer 始终置于底部 */
.zibll-ar-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.zibll-ar-page .main-content,
.zibll-ar-page #main-content,
.zibll-ar-page main,
.zibll-ar-page .container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 访问受限页面样式 */
.zibll-ar-restricted-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    padding: 120px 20px 60px;
    box-sizing: border-box;
}

.zibll-ar-restricted-box {
    text-align: center;
    width: 1200px;
    max-width: 100%;
    padding: 60px 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.zibll-ar-restricted-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
}

.zibll-ar-restricted-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.zibll-ar-restricted-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 30px 0;
}

.zibll-ar-restricted-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 40px;
    background: linear-gradient(0deg, #8a520a 0%, #e88402 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(232, 132, 2, 0.3);
    position: relative;
    overflow: hidden;
}

.zibll-ar-restricted-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.zibll-ar-restricted-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 132, 2, 0.4);
    text-decoration: none;
    color: #fff !important;
}

.zibll-ar-restricted-btn:hover::before {
    left: 100%;
}

.zibll-ar-restricted-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 响应式适配 */
@media (max-width: 1240px) {
    .zibll-ar-restricted-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .zibll-ar-restricted-wrap {
        padding: 80px 15px 40px;
    }

    .zibll-ar-restricted-box {
        padding: 40px 25px;
    }

    .zibll-ar-restricted-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .zibll-ar-restricted-title {
        font-size: 20px;
    }

    .zibll-ar-restricted-desc {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .zibll-ar-restricted-btn {
        padding: 10px 32px;
        font-size: 13px;
    }
}
