@charset "UTF-8";

/* ================================================================
   Gabys 模板样式表
   参考 gabyscake.com 设计风格
   主色：紫色渐变 #4e54c8 → #8f94fb
   暗色：#0d1b2a, #1b263b, #1c1f3f, #3d0b40
   强调：#ffc107 金色
   ================================================================ */

/* ---------- CSS 变量 ---------- */
:root {
    --g-primary: #4e54c8;
    --g-primary-light: #8f94fb;
    --g-dark-1: #0d1b2a;
    --g-dark-2: #1b263b;
    --g-dark-3: #1c1f3f;
    --g-dark-4: #3d0b40;
    --g-gold: #ffc107;
    --g-blue: #0d6efd;
    --g-success: #198754;
    --g-radius: 1rem;
    --g-radius-sm: .5rem;
    --g-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
    --g-shadow-lg: 0 1rem 3rem rgba(0,0,0,.15);
    --g-transition: all .3s ease;
}

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #2c3e50;
    background-color: #f8f9fa;
    line-height: 1.6;
}
a { color: var(--g-primary); text-decoration: none; transition: var(--g-transition); }
a:hover { color: var(--g-primary-light); text-decoration: none; }
img, mip-img { max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Bootstrap 5 兼容工具类 ---------- */
.rounded-4 { border-radius: var(--g-radius) !important; }
.rounded-3 { border-radius: .75rem !important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; }
.shadow { box-shadow: var(--g-shadow) !important; }
.shadow-lg { box-shadow: var(--g-shadow-lg) !important; }
.bg-opacity-75 { --bs-bg-opacity: .75; }
.bg-opacity-50 { --bs-bg-opacity: .50; }
.bg-opacity-10 { --bs-bg-opacity: .10; }
.bg-white.bg-opacity-75 { background-color: rgba(255,255,255,.75) !important; }
.bg-white.bg-opacity-50 { background-color: rgba(255,255,255,.50) !important; }
.bg-white.bg-opacity-10 { background-color: rgba(255,255,255,.10) !important; }
.text-white-50 { color: rgba(255,255,255,.5) !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-normal { font-weight: 400 !important; }
.lead { font-size: 1.1rem; font-weight: 300; }
.display-5 { font-size: 2.5rem; font-weight: 300; line-height: 1.2; }
.py-6 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.h-100 { height: 100% !important; }
.sticky-top { position: sticky; top: 0; z-index: 1020; }

/* ---------- MIP 通用容器 ---------- */
.mip-fixed { z-index: 999; }
.container { max-width: 1280px; }

/* ================================================================
   头部导航
   ================================================================ */
.gabys-header {
    background: linear-gradient(to right, var(--g-primary), var(--g-primary-light));
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.gabys-header .navbar {
    padding: 10px 0;
}
.gabys-header .navbar-brand {
    display: flex;
    align-items: center;
}
.gabys-header .navbar-brand img,
.gabys-header .navbar-brand mip-img {
    max-height: 50px;
    max-width: 160px;
}
.gabys-header .navbar-brand .logo-text {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-left: 8px;
}
.gabys-header .nav-link {
    color: #fff;
    font-weight: 500;
    padding: .5rem 1rem;
    transition: var(--g-transition);
    border-radius: 4px;
}
.gabys-header .nav-link:hover,
.gabys-header .nav-link.active {
    background-color: rgba(255,255,255,.15);
    border-radius: 4px;
}
.gabys-header .nav-item.dropdown > .nav-link::after {
    content: "▾";
    font-size: 10px;
    margin-left: 4px;
}
.gabys-header .dropdown-menu {
    border: none;
    border-radius: var(--g-radius-sm);
    box-shadow: var(--g-shadow);
    padding: 8px 0;
}
.gabys-header .dropdown-item {
    padding: 8px 16px;
    font-size: 14px;
    color: #2c3e50;
    transition: var(--g-transition);
}
.gabys-header .dropdown-item:hover {
    background-color: var(--g-primary);
    color: #fff;
}
.gabys-btn-register {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 6px;
    font-weight: 500;
    font-size: .9rem;
    padding: 6px 16px;
    transition: var(--g-transition);
}
.gabys-btn-register:hover {
    background-color: #fff;
    color: var(--g-primary);
}

/* ================================================================
   Hero 区域
   ================================================================ */
.gabys-hero {
    background: linear-gradient(135deg, var(--g-primary) 0%, var(--g-primary-light) 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px 100px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gabys-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}
.gabys-hero h1 strong {
    font-weight: 800;
}
.gabys-hero .lead {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}
.gabys-hero .lead strong {
    color: var(--g-gold);
}
.gabys-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.gabys-btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--g-transition);
    text-decoration: none;
}
.gabys-btn-hero-primary {
    background: var(--g-gold);
    color: var(--g-dark-1);
}
.gabys-btn-hero-primary:hover {
    background: #e0a800;
    color: var(--g-dark-1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,193,7,.4);
}
.gabys-btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.gabys-btn-hero-outline:hover {
    background: #fff;
    color: var(--g-primary);
    transform: translateY(-2px);
}
.gabys-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}
.gabys-wave svg {
    width: 100%;
    height: 60px;
}
.gabys-wave svg path {
    fill: #f8f9fa;
}

/* ================================================================
   区块标题
   ================================================================ */
.gabys-section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}
.gabys-section-title .title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g-dark-1);
    margin-bottom: .5rem;
}
.gabys-section-title .subtitle {
    font-size: 1rem;
    color: #7a8794;
}
.gabys-section {
    padding: 3rem 0;
}

/* ================================================================
   关于区块（暗色背景 + 时间线）
   ================================================================ */
.gabys-about {
    background: linear-gradient(135deg, var(--g-dark-1), var(--g-dark-2));
    padding: 3rem 0;
}
.gabys-about h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}
.gabys-about p {
    color: rgba(255,255,255,.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.gabys-timeline {
    position: relative;
    padding-left: 1.5rem;
}
.gabys-timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.gabys-timeline-item:last-child { margin-bottom: 0; }
.gabys-timeline-dot {
    position: absolute;
    top: 0;
    left: -1.5rem;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #fff;
    z-index: 2;
}
.gabys-timeline-dot.bg-primary { background-color: var(--g-blue) !important; }
.gabys-timeline-dot.bg-success { background-color: var(--g-success) !important; }
.gabys-timeline-dot.bg-warning { background-color: var(--g-gold) !important; }
.gabys-timeline-card {
    background: rgba(255,255,255,.75);
    border-radius: var(--g-radius);
    box-shadow: var(--g-shadow);
    padding: 1.5rem;
}
.gabys-timeline-card h4 {
    font-weight: 700;
    color: var(--g-dark-1);
    margin-bottom: .5rem;
}
.gabys-timeline-card p {
    color: #495057;
    font-size: .95rem;
    margin: 0;
}

/* ================================================================
   服务/分类卡片网格
   ================================================================ */
.gabys-card-grid {
    padding: 3rem 0;
}
.gabys-game-card {
    background: #fff;
    border-radius: var(--g-radius);
    overflow: hidden;
    box-shadow: var(--g-shadow);
    transition: var(--g-transition);
    height: 100%;
}
.gabys-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--g-shadow-lg);
}
.gabys-game-card .card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.gabys-game-card .card-img mip-img,
.gabys-game-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gabys-game-card .card-body {
    padding: 1.25rem;
}
.gabys-game-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--g-dark-1);
    margin-bottom: .5rem;
}
.gabys-game-card .card-text {
    font-size: .9rem;
    color: #7a8794;
    line-height: 1.6;
    margin: 0;
}

/* ================================================================
   新闻卡片（news-12 风格）
   ================================================================ */
.gabys-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: var(--g-radius);
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    padding: 1.5rem;
    transition: var(--g-transition);
    position: relative;
    overflow: hidden;
}
.gabys-news-card .news-thumb {
    width: calc(100% + 3rem);
    height: 180px;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    overflow: hidden;
    position: relative;
}
.gabys-news-card .news-thumb mip-img,
.gabys-news-card .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--g-transition);
}
.gabys-news-card:hover .news-thumb mip-img,
.gabys-news-card:hover .news-thumb img {
    transform: scale(1.08);
}
.gabys-news-card .news-thumb-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--g-gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.gabys-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--g-shadow);
}
.gabys-news-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--g-primary), var(--g-primary-light));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: .75rem;
}
.gabys-news-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--g-dark-1);
    margin-bottom: .5rem;
    line-height: 1.4;
}
.gabys-news-card .news-desc {
    font-size: .85rem;
    color: #7a8794;
    flex-grow: 1;
    line-height: 1.6;
    margin-bottom: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.gabys-news-card .news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gabys-news-card .news-date {
    font-size: .8rem;
    color: #9ba8b5;
}
.gabys-news-card .news-btn {
    font-size: .8rem;
    color: var(--g-gold);
    border: 1px solid var(--g-gold);
    border-radius: 6px;
    padding: 4px 12px;
    transition: var(--g-transition);
}
.gabys-news-card .news-btn:hover {
    background: var(--g-gold);
    color: #fff;
}

/* ================================================================
   MIPCMS 标准容器（保持兼容）
   ================================================================ */
.mip-box {
    background: #fff;
    border-radius: var(--g-radius);
    box-shadow: var(--g-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.mip-box-default {
    background: #fff;
    border-radius: var(--g-radius);
    box-shadow: var(--g-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.mip-box-main {
    background: #fff;
    border-radius: var(--g-radius);
    box-shadow: var(--g-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.mip-box-heading {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f2f5;
    background: #fff;
}
.mip-box-heading h2,
.mip-box-heading h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--g-dark-1);
    margin: 0;
}
.mip-box-heading h2.h3,
.mip-box-heading h3.h3 {
    font-size: 1.2rem;
}
.mip-box-body {
    padding: 1.5rem;
}
.mip-box-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f2f5;
}

/* ================================================================
   文章列表项（mipui-category-list-item 兼容）
   ================================================================ */
.mipui-category-list-001 {
    display: flex;
    flex-direction: column;
}
.mipui-category-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f2f5;
    transition: var(--g-transition);
}
.mipui-category-list-item:last-child { border-bottom: none; }
.mipui-category-list-item:hover {
    background-color: #fafbfc;
}
.mipui-category-list-item .item-media {
    flex-shrink: 0;
    width: 160px;
    height: 100px;
    border-radius: var(--g-radius-sm);
    overflow: hidden;
}
.mipui-category-list-item .item-media mip-img,
.mipui-category-list-item .item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--g-transition);
}
.mipui-category-list-item:hover .item-media mip-img,
.mipui-category-list-item:hover .item-media img {
    transform: scale(1.05);
}
.mipui-category-list-item .item-content {
    flex-grow: 1;
    min-width: 0;
}
.mipui-category-list-item .item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 8px 0;
}
.mipui-category-list-item .item-content h4 a {
    color: var(--g-dark-1);
}
.mipui-category-list-item .item-content h4 a:hover {
    color: var(--g-primary);
}
.mipui-category-list-item .item-content .description {
    font-size: .85rem;
    color: #7a8794;
    line-height: 1.6;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.mipui-category-list-item .item-content p span {
    font-size: .8rem;
    color: #9ba8b5;
}

/* ---------- 列表时间样式 ---------- */
.list-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f2f5;
}
.list-time:last-child { border-bottom: none; }
.list-time a {
    flex: 1;
    color: #5a6878;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
    font-size: .9rem;
}
.list-time a:hover { color: var(--g-primary); }
.list-time .pull-right {
    font-size: .8rem;
    color: #9ba8b5;
    white-space: nowrap;
}

/* ================================================================
   侧边栏列表
   ================================================================ */
.li-box-list {
    padding: 12px 0;
    border-bottom: 1px solid #f5f6f8;
}
.li-box-list:last-child { border-bottom: none; }
.li-box-list a {
    display: block;
    font-size: .9rem;
    color: #5a6878;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}
.li-box-list a:hover { color: var(--g-primary); }
.li-box-list p {
    margin: 4px 0 0 0;
    font-size: .8rem;
    color: #9ba8b5;
}

/* ================================================================
   TAG 标签样式
   ================================================================ */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}
.tags li {
    display: inline-block;
}
.tags li a {
    display: inline-block;
    padding: 5px 14px;
    font-size: .85rem;
    color: #5a6878;
    background-color: #f4f6f9;
    border-radius: 20px;
    transition: var(--g-transition);
}
.tags li a:hover {
    color: #fff;
    background-color: var(--g-primary);
}
.m-b-sm { margin-bottom: 6px; }

/* ---------- TAG 详情头部 ---------- */
.tag-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--g-primary), var(--g-primary-light));
    border-radius: var(--g-radius);
    color: #fff;
    margin-bottom: 1.5rem;
}
.tag-header .tag-img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}
.tag-header .tag-info-content h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}
.tag-header .tag-info-content p {
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    margin: 0;
}

/* ================================================================
   文章详情页
   ================================================================ */
.detail-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g-dark-1);
    line-height: 1.4;
    margin: 0;
}
.mip-box-main .mip-box-heading {
    padding: 1.5rem 1.5rem .75rem;
    background: #fff;
}
.mip-box-main .info {
    padding: 0 1.5rem 1rem;
}
.mip-box-main .info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.mip-box-main .info ul li {
    font-size: .85rem;
    color: #9ba8b5;
}
.mip-box-main .info ul.tags {
    margin-left: auto;
}
.mip-box-main .info ul.tags li a {
    font-size: .8rem;
    padding: 3px 10px;
    color: #5a6878;
    background-color: #f4f6f9;
    border-radius: 4px;
}
.mip-box-main .info ul.tags li a:hover {
    color: #fff;
    background-color: var(--g-primary);
}
.mipcms-detail-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #3a4a5b;
}
.mipcms-detail-body p { margin-bottom: 1rem; }
.mipcms-detail-body img,
.mipcms-detail-body mip-img {
    max-width: 100%;
    height: auto;
    border-radius: .75rem;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.mipcms-detail-body h2,
.mipcms-detail-body h3,
.mipcms-detail-body h4 {
    margin-top: 1.5rem;
    margin-bottom: .75rem;
    font-weight: 700;
    color: var(--g-dark-1);
}
.mipcms-detail-body blockquote {
    border-left: 4px solid var(--g-primary);
    padding-left: 1rem;
    background: #f8f9fa;
    margin: 1.5rem 0;
    color: #555;
    border-radius: 0 .5rem .5rem 0;
    padding: 1rem 1.5rem;
}

/* ---------- 上下篇导航 ---------- */
.prev-next {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #f0f2f5;
}
.prev-next a {
    font-size: .9rem;
    color: #5a6878;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 48%;
}
.prev-next a:hover { color: var(--g-primary); }

/* ---------- 猜你喜欢 ---------- */
.gabys-related {
    padding: 1.5rem;
}
.gabys-related h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--g-dark-1);
    margin-bottom: 1rem;
    padding-left: 12px;
    border-left: 4px solid var(--g-primary);
}

/* ================================================================
   分页导航
   ================================================================ */
.mip-page-pagination,
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}
.mip-page-pagination a,
.mip-page-pagination span,
.mipmb-page-item,
.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e0e3e9;
    border-radius: 6px;
    font-size: .85rem;
    color: #5a6878;
    transition: var(--g-transition);
    text-decoration: none;
}
.mip-page-pagination a:hover,
.pagination li a:hover {
    background: var(--g-primary);
    color: #fff;
    border-color: var(--g-primary);
}
.mip-page-pagination .current,
.mip-page-pagination span.current,
.pagination li.active span,
.pagination li.active a {
    background: var(--g-primary);
    color: #fff;
    border-color: var(--g-primary);
}

/* ---------- 搜索分页 ---------- */
.fanye {
    text-align: center;
    margin-top: 20px;
}
.fanye a {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 2px;
    border: 1px solid #e0e3e9;
    color: #5a6878;
    text-decoration: none;
    border-radius: 4px;
    font-size: .85rem;
    transition: var(--g-transition);
}
.fanye a:hover,
.fanye a.current {
    background: var(--g-primary);
    color: #fff;
    border-color: var(--g-primary);
}

/* ================================================================
   面包屑导航
   ================================================================ */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin: 0;
}
.breadcrumb li {
    display: inline-block;
    font-size: .85rem;
}
.breadcrumb li::after {
    content: "›";
    margin: 0 8px;
    color: #9ba8b5;
}
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li a {
    color: #7a8794;
}
.breadcrumb li a:hover { color: var(--g-primary); }

/* ================================================================
   页脚
   ================================================================ */
.gabys-footer {
    background: linear-gradient(to right, var(--g-dark-3), var(--g-dark-4));
    color: #fff;
    padding: 3rem 0 1.5rem;
}
.gabys-footer .footer-col {
    background: rgba(255,255,255,.10);
    border-radius: var(--g-radius);
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}
.gabys-footer h6 {
    font-weight: 700;
    margin-bottom: .75rem;
    font-size: 1rem;
}
.gabys-footer h6.text-info { color: #4dd0e1 !important; }
.gabys-footer h6.text-warning { color: var(--g-gold) !important; }
.gabys-footer h6.text-success { color: #66bb6a !important; }
.gabys-footer h6.text-primary { color: #5c6bc0 !important; }
.gabys-footer p,
.gabys-footer li {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
}
.gabys-footer li {
    margin-bottom: .5rem;
}
.gabys-footer li a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: var(--g-transition);
}
.gabys-footer li a:hover {
    color: #fff;
}
.gabys-footer .footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}

/* ================================================================
   404 页面
   ================================================================ */
.gabys-404 {
    text-align: center;
    padding: 80px 20px;
}
.gabys-404 h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--g-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--g-primary), var(--g-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gabys-404 p {
    font-size: 1.2rem;
    color: #7a8794;
    margin-bottom: 2rem;
}

/* ================================================================
   搜索表单
   ================================================================ */
.search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}
.search-form input {
    flex: 1;
    border: 1px solid #e0e3e9;
    border-radius: var(--g-radius-sm);
    padding: 10px 14px;
    font-size: .9rem;
    box-shadow: none !important;
}
.search-form input:focus {
    border-color: var(--g-primary);
    outline: none;
}
.search-form .btn-search {
    background: var(--g-primary);
    color: #fff;
    border: none;
    border-radius: var(--g-radius-sm);
    padding: 10px 24px;
    font-weight: 500;
    transition: var(--g-transition);
}
.search-form .btn-search:hover {
    background: var(--g-primary-light);
}

/* ================================================================
   回到顶部
   ================================================================ */
mip-gototop {
    bottom: 20px;
    right: 20px;
}

/* ================================================================
   响应式
   ================================================================ */
@media (max-width: 991px) {
    .gabys-hero {
        padding: 60px 20px 80px;
    }
    .gabys-hero h1 {
        font-size: 1.8rem;
    }
    .gabys-hero .lead {
        font-size: 1rem;
    }
    .gabys-section-title .title {
        font-size: 1.5rem;
    }
    .gabys-section {
        padding: 2rem 0;
    }
    .mipui-category-list-item .item-media {
        width: 120px;
        height: 80px;
    }
    .gabys-footer {
        padding: 2rem 0 1rem;
    }
    .gabys-footer .footer-col {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575px) {
    .gabys-hero {
        padding: 40px 15px 60px;
    }
    .gabys-hero h1 {
        font-size: 1.4rem;
    }
    .gabys-hero .lead {
        font-size: .9rem;
    }
    .gabys-hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .gabys-btn-hero {
        width: 80%;
        justify-content: center;
    }
    .gabys-section-title .title {
        font-size: 1.3rem;
    }
    .mipui-category-list-item {
        flex-direction: column;
    }
    .mipui-category-list-item .item-media {
        width: 100%;
        height: 140px;
    }
    .gabys-404 h1 {
        font-size: 4rem;
    }
    .detail-title {
        font-size: 1.3rem;
    }
    .prev-next {
        flex-direction: column;
    }
    .prev-next a {
        max-width: 100%;
    }
}

/* ================================================================
   动画
   ================================================================ */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.gabys-hero h1,
.gabys-hero .lead,
.gabys-hero-buttons {
    animation: fade-in-up .6s ease-out;
}
.gabys-hero .lead { animation-delay: .1s; animation-fill-mode: both; }
.gabys-hero-buttons { animation-delay: .2s; animation-fill-mode: both; }
