@font-face {
    font-family: "Comic Sans MS";
    src: url("./../fonts/7cc6719bd5f0310be3150ba33418e72e.eot");
    src: url("./../fonts/7cc6719bd5f0310be3150ba33418e72e.eot?#iefix")format("embedded-opentype"),
        url("./../fonts/7cc6719bd5f0310be3150ba33418e72e.woff")format("woff"),
        url("./../fonts/7cc6719bd5f0310be3150ba33418e72e.woff2")format("woff2"),
        url("./../fonts/7cc6719bd5f0310be3150ba33418e72e.ttf")format("truetype"),
        url("./../fonts/7cc6719bd5f0310be3150ba33418e72e.svg#Comic Sans MS")format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: local('Poppins Regular'), url('./../fonts/Poppins-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    src: local('Poppins Italic'), url('./../fonts/Poppins-Italic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 100;
    src: local('Poppins Thin'), url('./../fonts/Poppins-Thin.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 100;
    src: local('Poppins Thin Italic'), url('./../fonts/Poppins-ThinItalic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 200;
    src: local('Poppins ExtraLight'), url('./../fonts/Poppins-ExtraLight.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 200;
    src: local('Poppins ExtraLight Italic'), url('./../fonts/Poppins-ExtraLightItalic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: local('Poppins Light'), url('./../fonts/Poppins-Light.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 300;
    src: local('Poppins Light Italic'), url('./../fonts/Poppins-LightItalic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: local('Poppins Medium'), url('./../fonts/Poppins-Medium.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    src: local('Poppins Medium Italic'), url('./../fonts/Poppins-MediumItalic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: local('Poppins SemiBold'), url('./../fonts/Poppins-SemiBold.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    src: local('Poppins SemiBold Italic'), url('./../fonts/Poppins-SemiBoldItalic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: local('Poppins Bold'), url('./../fonts/Poppins-Bold.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    src: local('Poppins Bold Italic'), url('./../fonts/Poppins-BoldItalic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    src: local('Poppins ExtraBold'), url('./../fonts/Poppins-ExtraBold.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 800;
    src: local('Poppins ExtraBold Italic'), url('./../fonts/Poppins-ExtraBoldItalic.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 900;
    src: local('Poppins Black'), url('./../fonts/Poppins-Black.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 900;
    src: local('Poppins Black Italic'), url('./../fonts/Poppins-BlackItalic.woff') format('woff');
    font-display: swap;
}

body {
    background: #ffffff;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: #333333;
}

.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.family-comic {
    font-family: 'Comic Sans MS', sans-serif;
}

.fs-7 {
    font-size: 0.875rem !important;
}

.backdrop-filter-10 {
    backdrop-filter: blur(1rem) !important;
}

.header {
    background: #57ac57;
}

.header .form-control {
    height: 3rem;
    border-radius: 1.5rem;
    border: 2px solid transparent;
    padding-left: 3rem;
    padding-right: 1.25rem;
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 260px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2357ac57'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 1rem center;
    background-size: 1.2rem;
}

.header .form-control:focus {
    background-color: #ffffff;
    border-color: #3d8b3d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    outline: none;
}

.header .form-control::placeholder {
    color: #999;
    font-size: 0.9rem;
    opacity: 1;
}

@media (max-width: 576px) {
    .header .form-control {
        min-width: 100%;
    }
}

.bg-green {
    background: #e5f8e5;
}

.toolbar {
    background: #57ac57;
}

.toolbar .icon-logo {
    width: 2rem;
    height: 2rem;
}

.toolbar .nav span {
    display: inline-block;
    padding: 0.75rem;
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

.toolbar .nav span:hover {
    background: #ffffff;
    color: #333333;
}

.toolbar .nav span svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.game-item {
    display: block;
    background: #ffffff;
    color: #333333;
    text-decoration: none;
}

.game-thumb {
    overflow: hidden;
}

.game-thumb img {
    display: block;
    width: 100%;
    transition: transform 0.3s;
}

.game-item:hover .game-thumb img {
    transform: scale(1.1);
}

.game-title .btn {
    --bs-btn-padding-x: 3rem;
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-border-color: #cccccc;
}

.game-item:hover .game-title .btn {
    --bs-btn-border-color: #57ac57;
    --bs-btn-bg: #57ac57;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-bg: #57ac57;
    --bs-btn-hover-color: #ffffff;
}

.game-content {
    color: #666666;
    font-size: 0.875rem;
    line-height: 1.75;
}

/* 链接样式 */
.game-content a {
    color: #57ac57;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.game-content a:hover {
    color: #4a9a4a;
    border-bottom-color: #57ac57;
}

/* 标题样式 */
.game-content h1 {
    font-weight: 700;
    font-size: 2rem;
    color: #333333;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    line-height: 1.3;
}

.game-content h2 {
    font-weight: 700;
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 1.25rem;
    margin-top: 1.75rem;
    line-height: 1.3;
}

.game-content h3 {
    font-weight: 700;
    font-size: 1.25rem;
    color: #333333;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    line-height: 1.3;
}

.game-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.875rem;
    margin-top: 1.25rem;
    line-height: 1.3;
}

.game-content h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
    line-height: 1.3;
}

.game-content h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
    line-height: 1.3;
}

.game-content h1 strong,
.game-content h2 strong,
.game-content h3 strong,
.game-content h4 strong,
.game-content h5 strong,
.game-content h6 strong {
    font-weight: inherit;
}

/* 段落样式 */
.game-content p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.game-content p:last-child {
    margin-bottom: 0;
}

/* 列表样式 */
.game-content ul,
.game-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.game-content ul {
    list-style-type: disc;
}

.game-content ol {
    list-style-type: decimal;
}

.game-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.game-content li:last-child {
    margin-bottom: 0;
}

.game-content ul ul,
.game-content ol ol,
.game-content ul ol,
.game-content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* 代码样式 */
.game-content code {
    background-color: #f8f9fa;
    color: #e83e8c;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.8125rem;
    font-family: 'Courier New', Courier, monospace;
}

.game-content pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    line-height: 1.5;
}

.game-content pre code {
    background-color: transparent;
    color: #333333;
    padding: 0;
    border-radius: 0;
    font-size: 0.8125rem;
}

/* 引用块样式 */
.game-content blockquote {
    border-left: 4px solid #57ac57;
    background-color: #f8f9fa;
    margin: 1.25rem 0;
    padding: 1rem 1.5rem;
    font-style: italic;
    color: #555555;
}

.game-content blockquote p:last-child {
    margin-bottom: 0;
}

/* 表格样式 */
.game-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25rem;
    border: 1px solid #dee2e6;
}

.game-content th,
.game-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.game-content th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333333;
}

.game-content tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* 分隔线样式 */
.game-content hr {
    border: none;
    height: 1px;
    background-color: #dee2e6;
    margin: 2rem 0;
}

/* 图片样式 */
.game-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

/* 强调文本样式 */
.game-content strong,
.game-content b {
    font-weight: 700;
    color: #333333;
}

.game-content em,
.game-content i {
    font-style: italic;
}

/* 删除线样式 */
.game-content del,
.game-content s {
    text-decoration: line-through;
    color: #999999;
}

.play-btn {
    --bs-btn-padding-x: 3rem;
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-border-color: #57ac57;
    --bs-btn-bg: #ffffff;
    --bs-btn-color: #57ac57;
    --bs-btn-hover-bg: #57ac57;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-border-radius: 2rem;
}

.iframe-fixed {
    position: fixed;
    z-index: 2000;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.game-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.game-cover-inner {
    background: rgba(0, 0, 0, .2);
    backdrop-filter: blur(0.5rem);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.game-cover .btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    --bs-btn-padding-x: 3rem;
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-border-color: #57ac57;
    --bs-btn-bg: #ffffff;
    --bs-btn-color: #57ac57;
    --bs-btn-hover-bg: #57ac57;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-border-radius: 2rem;
    --bs-btn-border-width: 3px;
    --bs-btn-font-weight: 700;
}

.more-btn {
    --bs-btn-padding-x: 3rem;
    --bs-btn-padding-y: 0.75rem;
    --bs-btn-border-color: #57ac57;
    --bs-btn-bg: #ffffff;
    --bs-btn-color: #57ac57;
    --bs-btn-hover-bg: #57ac57;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-border-radius: 2rem;
    --bs-btn-border-width: 3px;
    --bs-btn-font-weight: 700;
}

/* 分页导航样式优化 */
.pagination {
    --bs-pagination-padding-x: 1rem;
    --bs-pagination-padding-y: 0.625rem;
    --bs-pagination-font-size: 0.9375rem;
    --bs-pagination-color: #57ac57;
    --bs-pagination-bg: #ffffff;
    --bs-pagination-border-width: 2px;
    --bs-pagination-border-color: #e9ecef;
    --bs-pagination-border-radius: 0.75rem;
    --bs-pagination-hover-color: #ffffff;
    --bs-pagination-hover-bg: #57ac57;
    --bs-pagination-hover-border-color: #57ac57;
    --bs-pagination-focus-color: #ffffff;
    --bs-pagination-focus-bg: #57ac57;
    --bs-pagination-focus-border-color: #57ac57;
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(87, 172, 87, 0.25);
    --bs-pagination-active-color: #ffffff;
    --bs-pagination-active-bg: #57ac57;
    --bs-pagination-active-border-color: #57ac57;
    --bs-pagination-disabled-color: #999999;
    --bs-pagination-disabled-bg: #f8f9fa;
    --bs-pagination-disabled-border-color: #e9ecef;
    gap: 0.5rem;
    margin-bottom: 0;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0.75rem !important;
    min-width: 2.75rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination .page-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(87, 172, 87, 0.2);
}

.pagination .page-item.active .page-link {
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(87, 172, 87, 0.3);
    transform: translateY(-1px);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 分页导航响应式优化 */
@media (max-width: 576px) {
    .pagination {
        --bs-pagination-padding-x: 0.75rem;
        --bs-pagination-padding-y: 0.5rem;
        --bs-pagination-font-size: 0.875rem;
        gap: 0.25rem;
    }

    .pagination .page-link {
        min-width: 2.5rem;
    }
}

/* 分页导航容器样式 */
nav[aria-label="Page navigation"] {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* 分页导航动画效果 */
.pagination .page-link {
    position: relative;
    overflow: hidden;
}

.pagination .page-link::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;
}

.pagination .page-link:hover::before {
    left: 100%;
}