/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #ff6b9d, #ffc3e0);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.login-btn {
    background: white !important;
    color: #ff6b9d !important;
    font-weight: 600 !important;
}

.login-btn:hover {
    background: #f0f0f0 !important;
    transform: translateY(-2px) !important;
}

/* 主页样式 */
.theme-index {
    background: linear-gradient(135deg, #ffeef8, #fff0f5);
}

.hero-section {
    margin-top: 80px;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ff6b9d;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 157, 0.3);
}

.btn-secondary {
    background: white;
    color: #ff6b9d;
    border: 2px solid #ff6b9d;
}

.btn-secondary:hover {
    background: #ff6b9d;
    color: white;
    transform: translateY(-3px);
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 介绍区域 */
.intro-section {
    padding: 4rem 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.intro-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff5f8, #ffe8f0);
    transition: all 0.3s ease;
    border: 1px solid #ffd1dc;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.1);
}

.card-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.intro-card h3 {
    color: #ff6b9d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* 特色区域 */
.featured-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffeef8, #fff0f5);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ff6b9d;
    margin-bottom: 3rem;
    font-weight: 700;
}

.character-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.character-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.character-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

.character-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 50%;
    border: 3px solid #ff6b9d;
}

.character-item h4 {
    color: #ff6b9d;
    font-size: 1.2rem;
    font-weight: 600;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* 登录页面样式 */
.theme-login {
    background: linear-gradient(135deg, #667eea, #764ba2);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-login .navbar {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.login-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 20px;
}

.login-container h1 {
    color: #667eea;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.login-box button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-box button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* 公司简介页面样式 */
.theme-about {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.theme-about .navbar {
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
}

.about-content {
    margin-top: 100px;
    padding: 4rem 0;
}

.section {
    background: white;
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section h2 {
    color: #00c9ff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* 角色页面样式 */
.theme-characters {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.theme-characters .navbar {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
}

.characters-content {
    margin-top: 100px;
    padding: 4rem 0;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid transparent;
}

.card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px rgba(255, 154, 158, 0.3);
    border-color: #ff9a9e;
}

.card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.card:hover img {
    transform: scale(1.1);
}

.card p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ff9a9e;
}

/* 产品页面样式 */
.theme-products {
    background: linear-gradient(135deg, #d299c2, #fef9d7);
}

.theme-products .navbar {
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
}

.products-content {
    margin-top: 100px;
    padding: 4rem 0;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.products-list div {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.products-list div:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(137, 247, 254, 0.3);
}

.products-list a {
    color: #66a6ff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

/* 产品详情页面样式 */
.theme-product-item {
    background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
}

.theme-product-item .navbar {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.product-detail {
    margin-top: 100px;
    padding: 4rem 0;
    text-align: center;
}

.product-detail h1 {
    color: #667eea;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.product-detail img {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.product-detail p {
    font-size: 1.5rem;
    color: #764ba2;
    font-weight: 600;
}

/* 画廊页面样式 */
.theme-gallery {
    background: linear-gradient(135deg, #ff9a9e, #fecfef, #fecfef);
}

.theme-gallery .navbar {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.gallery-content {
    margin-top: 100px;
    padding: 4rem 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery img:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 20px 40px rgba(250, 112, 154, 0.4);
    z-index: 10;
    position: relative;
}

/* 视频页面样式 */
.theme-videos {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.theme-videos .navbar {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.videos-content {
    margin-top: 100px;
    padding: 4rem 0;
}

.video-container {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.video-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 15px;
}

/* 新闻页面样式 */
.theme-news {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.theme-news .navbar {
    background: linear-gradient(135deg, #ff8a80, #ff80ab);
}

.news-content {
    margin-top: 100px;
    padding: 4rem 0;
}

.news-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.news-list div {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #ff8a80;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-list div:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(255, 138, 128, 0.3);
}

.news-list h3 {
    color: #ff8a80;
    margin-bottom: 1rem;
}

/* 联系页面样式 */
.theme-contact {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.theme-contact .navbar {
    background: linear-gradient(135deg, #d0d0d0, #a8edea);
}

.contact-content {
    margin-top: 100px;
    padding: 4rem 0;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #555;
}

/* 隐私政策页面样式 */
.theme-privacy {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.theme-privacy .navbar {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.privacy-content {
    margin-top: 100px;
    padding: 4rem 0;
}

.policy {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.policy h2 {
    color: #667eea;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.policy p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* 站点地图页面样式 */
.theme-sitemap {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.theme-sitemap .navbar {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
}

.sitemap-content {
    margin-top: 100px;
    padding: 4rem 0;
}

.sitemap-list {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    list-style: none;
}

.sitemap-list li {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sitemap-list li:hover {
    background: #fff5f8;
    transform: translateX(10px);
}

.sitemap-list a {
    color: #ff9a9e;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        gap: 0.8rem;
        font-size: 0.9rem;
    }
    
    .nav-menu a {
        padding: 0.3rem 0.6rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .intro-grid,
    .character-showcase,
    .products-list,
    .characters-grid,
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.character-facts img{
    width: 316px;
    height: 300px;
}

.card-icon img{
    border-radius: 50%;
}