/* reset */
@charset "utf-8";
body, h1, h2, h3, h4, h5, p, dl, dd, ul, ol, form, input, textarea, th, td, select {
    margin: 0;
    padding: 0;
}
em {
    font-style: normal;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
    transition: 0.3s;
}
img {
    border: none;
    vertical-align: top;
}
table {
    border-collapse: collapse;
}
input, textarea {
    outline: none;
}
textarea {
    resize: none;
    overflow: auto;
}
body {
    font-size: 12px;
    font-family: "微软雅黑", "SimSun", sans-serif;
}
/* end reset */

/* ico */
@font-face {
    font-family: 'iconfont';
    src: url('../ico/iconfont.woff2?t=1773034497814') format('woff2'),
         url('../ico/iconfont.woff?t=1773034497814') format('woff'),
         url('../ico/iconfont.ttf?t=1773034497814') format('truetype');
}
.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== 核心：魔力宝贝暖调童话背景（添加怀旧场景图/无蓝色/护眼） ========== */
body {
    min-height: 100vh;
    /* 1. 魔力宝贝背景图（低饱和度暖调场景）+ 渐变叠加 + 木纹纹理 */
    background: 
        /* 半透奶油渐变遮罩（保证文字可读性） */
        linear-gradient(rgba(242, 232, 213, 0.95), rgba(235, 224, 200, 0.95)),
        /* 木纹纹理叠加 */
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c4a878' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E"),
        /* 魔力宝贝怀旧场景图（推荐法兰城/伊尔村这类暖调场景） */
        url("https://img1.baidu.com/it/u=1234567890,1234567890&fm=253&fmt=auto&app=138&f=JPEG?w=1920&h=1080");
    
    /* 背景图样式设置（保证适配+不重复） */
    background-size: cover;          /* 覆盖整个屏幕 */
    background-position: center;     /* 居中显示 */
    background-repeat: no-repeat;    /* 不重复 */
    background-attachment: fixed;    /* 滚动时背景固定 */
    background-blend-mode: multiply; /* 混合模式（让图片和渐变融合更自然） */
    
    font-family: "Microsoft Yahei", "SimHei", sans-serif;
    padding-top: 70px;
    padding-bottom: 80px;
    overflow-x: hidden;
    position: relative;
    /* 深木纹文字色，清晰易读 */
    color: #504028;
}

/* 星空背景层（暖调星星，无蓝色） */
.starry-sky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    /* 星星层半透，不遮挡背景图 */
    opacity: 0.7;
}

/* 魔力宝贝暖调星星（奶油白+浅桃色光晕） */
.star {
    position: absolute;
    border-radius: 50%;
    background: #f8f0e0;
    pointer-events: auto;
    transition: all 0.4s ease-out;
    /* 暖调浅桃色+奶油黄光晕，无蓝色 */
    box-shadow: 0 0 2px #f8f0e0, 0 0 4px #f8b8a8;
    opacity: 0.6;
}

/* 星星尺寸分级（暖调光晕） */
.star-tiny {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 1px #f8f0e0, 0 0 3px #f8b8a8;
}
.star-small {
    width: 3px;
    height: 3px;
}
.star-medium {
    width: 4px;
    height: 4px;
    box-shadow: 0 0 3px #f8f0e0, 0 0 6px #f8b8a8;
}
.star-large {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 4px #f8f0e0, 0 0 8px #f8b8a8, 0 0 12px #f0d99c;
    opacity: 0.8;
}

/* 星星悬浮交互（暖调珊瑚红+奶油黄） */
.star:hover {
    transform: scale(3);
    opacity: 0.9;
    box-shadow: 0 0 6px #f8f0e0, 0 0 12px #e87a6f, 0 0 20px #f0d99c;
    z-index: 1;
}

/* 流星（暖调光晕，无蓝色） */
.meteor {
    position: absolute;
    background: linear-gradient(90deg, transparent, #f8f0e0);
    width: 120px;
    height: 2px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: meteorAnim 2.5s linear infinite;
    box-shadow: 0 0 4px #f8f0e0, 0 0 10px #f8b8a8;
}

@keyframes meteorAnim {
    0% {
        transform: rotate(45deg) translateX(200px);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    100% {
        transform: rotate(45deg) translateX(-200px);
        opacity: 0;
    }
}

/* ========== 导航栏（暖调浅木色+浅桃色） ========== */
.magic-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    /* 柔和浅木色渐变（半透，透出背景图） */
    background: linear-gradient(rgba(232, 216, 184, 0.9), rgba(224, 200, 160, 0.9));
    /* 温润浅木色边框 */
    border-bottom: 1px solid #a88860;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 0 20px;
    /* 暖调柔和阴影 */
    box-shadow: 0 2px 15px rgba(168, 136, 96, 0.2);
}

.nav-container {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu > ul {
    display: flex;
    list-style: none;
    gap: 20px;
    position: relative;
}

.nav-menu > ul > li {
    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
}

.magic-nav a {
    /* 深木纹文字色 */
    color: #584830;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 8px;
    display: block;
    min-width: 80px;
    text-align: center;
}

.nav-menu ul li.nav_menu_a span {
    width: 0px;
    height: 0px;
    display: block;
    position: absolute;
    left: 0px;
    bottom: 10px;
    transition: 0.3s;
}
.nav-menu ul li.nav_menu_a:hover span {
    width: 100%;
    height: 1px;
    /* 暖调浅桃色下划线，无蓝色 */
    background: #f8b8a8;
}

/* ========== 搜索栏（暖调浅桃色，无蓝色） ========== */
.search-bar {
    width: 1200px;
    margin: 0 auto;
    padding: 25px 0 15px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 998;
}

.advanced-search {
    display: flex;
    align-items: center;
    width: 800px;
    /* 暖调浅桃色半透背景，无蓝色 */
    background: rgba(248, 184, 168, 0.2);
    /* 浅桃色细边框，无蓝色 */
    border: 1px solid rgba(248, 184, 168, 0.3);
    border-radius: 30px;
    padding: 5px;
    /* 暖调柔和阴影 */
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15);
    transition: 0.3s;
}
.advanced-search:hover {
    border: 1px solid rgba(248, 184, 168, 0.5);
    box-shadow: 0 4px 15px rgba(248, 184, 168, 0.2);
}

.search-type {
    position: relative;
    margin-right: 10px;
}

.search-type-btn {
    /* 暖调浅桃色背景，无蓝色 */
    background: rgba(248, 184, 168, 0.2);
    border: none;
    /* 深木纹文字色 */
    color: #584830;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-type-btn:hover {
    background: rgba(248, 184, 168, 0.3);
}

.search-type-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    /* 柔和奶油白背景（半透） */
    background: rgba(240, 232, 216, 0.95);
    border: 0px solid rgba(248, 184, 168, 0.3);
    border-radius: 8px;
    width: 180px;
    padding: 0px 0;
    z-index: 1000;
    box-shadow: 0 0px 0px rgba(168, 136, 96, 0.15);
    transition: 0.3s;
    height: 0px;
    overflow: hidden;
}

.search-type-dropdown.show {
    height: 365px;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.2);
    border: 1px solid rgba(248, 184, 168, 0.3);
}

.search-type-item {
    padding: 8px 15px;
    color: #584830;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-type-item:hover {
    /* 暖调浅桃色背景，无蓝色 */
    background: rgba(248, 184, 168, 0.15);
    color: #e87a6f;
    padding-left: 20px;
}

.search-input-wrap {
    flex: 1;
    position: relative;
}

.advanced-search-input {
    width: 100%;
    height: 40px;
    background: transparent;
    border: none;
    outline: none;
    /* 深木纹文字色 */
    color: #504028;
    font-size: 15px;
    padding: 0 20px;
}

.advanced-search-input::placeholder {
    color: #58483080;
}

.search-submit-btn {
    /* 暖调浅桃色+奶油黄渐变，无蓝色 */
    background: linear-gradient(135deg, #f8b8a8, #f0d99c);
    border: none;
    color: #fff;
    width: 100px;
    height: 40px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(248, 184, 168, 0.3);
}

/* ========== 下拉菜单（暖调奶油白+浅桃色） ========== */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    /* 柔和奶油白背景（半透） */
    background: rgba(240, 232, 216, 0.95);
    /* 温润浅木色边框 */
    border: 1px solid rgba(168, 136, 96, 0.3);
    border-top: none;
    border-radius: 0 0 8px 8px;
    width: 180px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    z-index: 1000;
    /* 暖调柔和阴影 */
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.2);
}

.dropdown.wide {
    width: 220px;
}
.dropdown.wide.wide_a {
    width: 400px;
}

.dropdown li {
    padding: 0 12px;
    border-bottom: 1px solid rgba(168, 136, 96, 0.2);
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown a {
    padding: 10px 8px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: unset;
    text-align: left;
    color: #584830;
}

.dropdown a:hover {
    color: #e87a6f;
    /* 暖调浅桃色背景，无蓝色 */
    background: rgba(248, 184, 168, 0.15);
    text-shadow: 0 0 8px rgba(240, 217, 156, 0.3);
}

/* ========== 页脚（暖调浅木色+浅桃色） ========== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    /* 柔和浅木色渐变（半透，透出背景图） */
    background: linear-gradient(rgba(232, 216, 184, 0.9), rgba(224, 200, 160, 0.9));
    /* 温润浅木色边框 */
    border-top: 1px solid #a88860;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    /* 暖调柔和阴影 */
    box-shadow: 0 -2px 15px rgba(168, 136, 96, 0.2);
}

.footer-container {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #584830;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #e87a6f;
    text-shadow: 0 0 6px rgba(240, 217, 156, 0.4);
}

.copyright {
    color: #504028;
    font-size: 13px;
}

/* ========== 分页组件（暖调浅桃色，无蓝色） ========== */
.pagination-container {
    width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    /* 暖调浅桃色半透背景，无蓝色 */
    background: rgba(248, 184, 168, 0.15);
    /* 浅桃色细边框，无蓝色 */
    border: 1px solid rgba(248, 184, 168, 0.3);
    border-radius: 8px;
    padding: 8px 15px;
    box-shadow: 0 0 15px rgba(248, 184, 168, 0.15);
}
.pagination-btn {
    padding: 8px 15px;
    /* 暖调浅桃色半透背景，无蓝色 */
    background: rgba(248, 184, 168, 0.2);
    /* 浅桃色细边框，无蓝色 */
    border: 1px solid rgba(248, 184, 168, 0.2);
    border-radius: 6px;
    color: #584830;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
.pagination-btn:hover {
    background: rgba(248, 184, 168, 0.2);
    border-color: #f0d99c;
    color: #e87a6f;
    box-shadow: 0 0 8px rgba(248, 184, 168, 0.2);
}
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(248, 184, 168, 0.15);
    border-color: rgba(248, 184, 168, 0.15);
    box-shadow: none;
}
.pagination-numbers {
    display: flex;
    gap: 5px;
}
.pagination-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #584830;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pagination-number:hover {
    background: rgba(248, 184, 168, 0.15);
    color: #e87a6f;
}
.pagination-number.active {
    /* 暖调浅桃色+奶油黄渐变，无蓝色 */
    background: linear-gradient(135deg, #f8b8a8, #f0d99c);
    color: #fff;
    box-shadow: 0 0 10px rgba(248, 184, 168, 0.25);
}
.pagination-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    color: #584830;
    font-size: 14px;
}
.pagination-input {
    width: 50px;
    height: 36px;
    background: rgba(248, 184, 168, 0.2);
    border: 1px solid rgba(248, 184, 168, 0.2);
    border-radius: 6px;
    color: #504028;
    text-align: center;
    font-size: 14px;
}
.pagination-jump-btn {
    padding: 8px 12px;
    /* 暖调浅桃色+奶油黄渐变，无蓝色 */
    background: linear-gradient(135deg, #f8b8a8, #f0d99c);
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
.pagination-jump-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(248, 184, 168, 0.25);
}
.pagination-info {
    margin-left: 15px;
    color: #584830;
    font-size: 14px;
}



/* 左侧背景图（475*674 → 275px宽，固定定位不随滚动移动） */
.bg-character-left {
  position: fixed; /* 关键：固定定位，不随滚动移动 */
  bottom: -100px;
  /* 计算方式：中间内容区居中位置 - 内容区宽度/2 - 图片宽度/2 - 微调值 */
  left: calc(50% - 750px - 137.5px - 10px);
  transform: translateY(-50%);
  width: 275px;       /* 目标宽度 */
  height: 491px;
  background-image: url('../img/fNl5gL4BU.webp');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}

/* 右侧背景图（856*800 → 350px宽，固定定位不随滚动移动） */
.bg-character-right {
  position: fixed; /* 关键：固定定位，不随滚动移动 */
  top: 300px;
  /* 计算方式：中间内容区居中位置 + 内容区宽度/2 + 微调值 */
  right: calc(50% - 850px - 137.5px - 10px);
  transform: translateY(-50%);
  width: 350px;       /* 目标宽度 */
  height: 327px;       /* 自动按比例缩放高度（327px） */
  background-image: url('../img/fNl1I6hd9.jpeg');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}


