/* 全局样式 */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --text-color: #2d3436;
    --bg-color: #f9f9f9;
    --card-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 在文件开头添加全局样式 */
* {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 100% 100%, rgba(255,107,107,0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(78,205,196,0.1) 0%, transparent 50%);
    color: var(--text-color);
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(to right, #2d3436, #2d3436e6);
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    transition: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: linear-gradient(to right, #2d3436f2, #2d3436e6);
    padding: 0.5rem 1rem;
}

.navbar-brand {
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: none;
}

.nav-link::after {
    display: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    display: none;
}

/* 轮播图样式 */
.banner-swiper {
    margin-top: 56px;
    height: 500px;
    box-shadow: var(--card-shadow);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.banner-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    transition: none;
}

.banner-swiper .swiper-slide-active img {
    transform: none;
}

.banner-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 25px;
    transition: none;
}

.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
    background: rgba(0,0,0,0.3);
}

.banner-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.5;
    transition: none;
}

.banner-swiper .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 5px;
    background: var(--primary-color);
    opacity: 1;
}

/* 动漫卡片样式 */
.anime-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
}

.anime-card::before {
    display: none;
}

.anime-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: none;
}

.anime-card:hover img {
    transform: none;
}

.card-body {
    background: #fff;
    padding: 20px;
    position: relative;
    z-index: 2;
    transform: none;
    transition: none;
}

.card-title {
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--text-color), #666);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    transition: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    transform: none;
    box-shadow: none;
}

.btn-primary:hover::before {
    left: 100%;
}

/* 章节标题样式 */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 15px;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
    animation: none;
}

/* 详情页样式 */
.info-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    display: none;
}

.character-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.character-card:hover {
    transform: none;
    box-shadow: none;
}

.character-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: none;
}

.character-card:hover img {
    transform: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .banner-swiper {
        height: 300px;
    }
    
    .anime-card img {
        height: 200px;
    }
    
    .character-card img {
        height: 150px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    opacity: 1;
    transform: none;
    transition: none;
    z-index: 999;
}

.back-to-top:hover {
    transform: none;
    box-shadow: none;
}

.back-to-top.show {
    opacity: 1;
    transform: none;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
} 

/* 错误图片样式 */
.img-error {
    filter: none;
    opacity: 1;
}

.error-overlay {
    display: none;
}

/* 导航栏动画 */
.navbar {
    transform: translateY(0);
    transition: none;
}

.navbar-toggler {
    position: relative;
    transition: none;
}

.navbar-toggler.active {
    transform: none;
}

/* 页面切换动画 */
.container {
    animation: none;
}

/* 按钮动画 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    display: none;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* 图片加载动画 */
img {
    opacity: 1;
    transition: none;
}

img.loaded {
    opacity: 1;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
}

/* 文字选中样式 */
::selection {
    background: var(--primary-color);
    color: #fff;
}

/* 链接悬停效果 */
a {
    color: inherit;
    text-decoration: none;
}

a:not(.btn):not(.navbar-brand) {
    color: inherit;
}

/* 卡片内容动画 */
.card-body {
    transform: none;
    transition: none;
}

.anime-card:hover .card-body {
    transform: none;
}

/* 评分星星动画 */
.rating i {
    transition: none;
}

.rating:hover i {
    transform: none;
}

/* 角色卡片悬停效果 */
.character-card::before {
    display: none;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .anime-card {
        margin-bottom: 20px;
    }

    .character-card {
        margin-bottom: 15px;
    }

    .section-title {
        margin-bottom: 30px;
    }
} 