* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    background: linear-gradient(135deg, #ffeef8 0%, #ffe0f0 50%, #ffd6eb 100%);
    color: #2c2c2c;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.sakura-petals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ff69b4" opacity="0.3"><animate attributeName="cy" values="0;100" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="%23ffb6c1" opacity="0.4"><animate attributeName="cy" values="0;100" dur="4s" repeatCount="indefinite"/></circle><circle cx="50" cy="60" r="2.5" fill="%23ffc0cb" opacity="0.2"><animate attributeName="cy" values="0;100" dur="5s" repeatCount="indefinite"/></circle></svg>') repeat;
    animation: sakuraFall 10s linear infinite;
}

@keyframes sakuraFall {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(255, 105, 180, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid #ff69b4;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 a {
    color: #e91e63;
    text-decoration: none;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(233, 30, 99, 0.3);
    background: linear-gradient(45deg, #e91e63, #ff69b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: -5px;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(45deg, #ff69b4, #e91e63);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.search-area {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-input {
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    width: 250px;
    outline: none;
    background: transparent;
}

.search-button {
    background: linear-gradient(45deg, #ff69b4, #e91e63);
    border: none;
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: linear-gradient(45deg, #e91e63, #c2185b);
    transform: scale(1.05);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #e91e63;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-content {
    margin-top: 90px;
    position: relative;
    z-index: 2;
}

.hero-banner {
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
    margin-bottom: 50px;
}

.banner-slider {
    height: 100%;
    position: relative;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-item.active {
    opacity: 1;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(233, 30, 99, 0.8), rgba(255, 105, 180, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 20px;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.play-button {
    display: inline-block;
    background: white;
    color: #e91e63;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

.play-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    padding: 60px 0;
}

.content-wrapper.alt-bg {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff69b4;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #e91e63, #ff69b4);
}

.section-title h2 {
    font-size: 28px;
    color: #e91e63;
    font-weight: bold;
}

.more-btn {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 15px;
}

.more-btn:hover {
    background: #ff69b4;
    color: white;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.movie-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.movie-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.2);
    border-color: #ff69b4;
}

.movie-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-item:hover .movie-poster img {
    transform: scale(1.1);
}

.movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(233, 30, 99, 0.9), rgba(255, 105, 180, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.movie-item:hover .movie-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.play-icon:hover {
    background: white;
    color: #e91e63;
    transform: scale(1.1);
}

.movie-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.movie-info p {
    font-size: 14px;
    opacity: 0.9;
}

.movie-details {
    padding: 15px;
}

.movie-details h4 a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.movie-details h4 a:hover {
    color: #e91e63;
}

.movie-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.stars {
    color: #ffd700;
    font-size: 14px;
}

.score {
    background: linear-gradient(45deg, #ff69b4, #e91e63);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.tv-series-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.series-item {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.1);
    transition: all 0.3s ease;
}

.series-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
}

.series-poster {
    position: relative;
    width: 120px;
    height: 160px;
    flex-shrink: 0;
}

.series-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #ff69b4, #e91e63);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.series-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.series-info h3 a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.series-info h3 a:hover {
    color: #e91e63;
}

.series-desc {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.series-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.anime-carousel {
    overflow: hidden;
    border-radius: 15px;
}

.anime-track {
    display: flex;
    gap: 20px;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.anime-card {
    min-width: 200px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(255, 105, 180, 0.1);
    transition: all 0.3s ease;
}

.anime-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
}

.anime-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.anime-info {
    padding: 15px;
}

.anime-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.anime-info p {
    font-size: 12px;
    color: #666;
}

.footer {
    background: linear-gradient(135deg, #e91e63, #ad1457);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #ffb6c1;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #ffb6c1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .search-area {
        order: 3;
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .tv-series-list {
        grid-template-columns: 1fr;
    }
    
    .series-item {
        flex-direction: column;
    }
    
    .series-poster {
        width: 100%;
        height: 200px;
    }
    
    .anime-track {
        animation-duration: 15s;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .movie-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

