

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.head_container{
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-size: 18px;
    color: #667085;
    max-width: 600px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}



        


body {
    background-color: #f5f5f7;
    color: #1a1a2e;
    line-height: 1.6;
    margin: 0;
}

/* 新颖导航栏样式 */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a42 100%);
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.2rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: relative;
}

.nav-left, .nav-right {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links {
    margin: 0 auto;
    max-width: 1000px;
    height: 30px;
    background-color: #E35A6A;
    color: #ffffff;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(227, 90, 106, 0.3);
}

.logo-container {
    /* position: absolute;
    left: 50%;
    transform: translateX(-50%); */

}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #E35A6A;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background-color: #E35A6A;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
}



.logo-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border: 3px solid white;
    border-radius: 50%;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
}

.nav-links li{
    width: auto;
    list-style: none;
    float: left;
    margin:0px 20px;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: all 0.3s ease;
    transform-origin: bottom right;
}

.nav-links li a:hover::before {
    width: 100%;
    transform-origin: bottom left;
}

.nav-links li a:hover {
    color: #e1e1e1;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #ffffff;
    z-index: 1001;
}

/* 滚动时导航栏变化 */
.scrolled {
    background-color: #1a1a2e;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a42 100%);
    color: #ffffff;
    padding: 1rem 5% 10rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(227, 90, 106, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(227, 90, 106, 0.1) 0%, transparent 40%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    background: #E35A6A;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #e9ecef;
}

.btn {
    display: inline-block;
    background-color: #E35A6A;
    color: #ffffff;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(227, 90, 106, 0.3);
}

.btn:hover {
    background-color: #c94758;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(227, 90, 106, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #E35A6A;
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: #E35A6A;
    color: #fff;
}

/* 通用区域样式 */
.section {
    padding: 2rem 5%;
}

.section-title {
    text-align: center;
    margin-top: 1rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}


/* 直播列表样式 */
.livestreams {
    background-color: #ffffff;
}

.stream-grid {
 
}

.stream-card {
    width: 350px;

    margin: 0 auto;
    background-color: #f5f5f7;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stream-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stream-thumbnail {
    position: relative;
    height: 180px;
    background-color: #1a1a2e;
    overflow: hidden;
}

.stream-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.stream-card:hover .stream-thumbnail img {
    transform: scale(1.05);
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #E35A6A;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.viewers {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.viewers::before {
    content: '👁️';
}

.stream-info {
    padding: 1rem;
}

.streamer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.streamer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    overflow: hidden;
}

.streamer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.streamer-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.stream-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stream-category {
    color: #6c757d;
    font-size: 0.85rem;
}

/* 漫画列表样式 */
.comics {
    background-color: #f5f5f7;
}

.comic-grid {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
}

.comic-card {
    width: 310px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.comic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.comic-cover {
    height: 280px;
    background-color: #e9ecef;
    overflow: hidden;
    position: relative;
}

.comic-cover img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.3s ease;
}

.comic-card:hover .comic-cover img {
    transform: scale(1.05);
}

.comic-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #E35A6A;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.comic-info {
    padding: 1rem;
}

.comic-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.comic-author {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.comic-rating {
    color: #FFD700;
    font-size: 0.9rem;
}

/* 关于我们样式 */
.about {
    background-color: #ffffff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #6c757d;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: #f5f5f7;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background-color: rgba(227, 90, 106, 0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #E35A6A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 联系我们样式 */
.contact {
    background-color: #f5f5f7;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(227, 90, 106, 0.03);
    z-index: 0;
    transform: skewX(-5deg);
    transform-origin: top right;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1a1a2e;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #E35A6A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-text p {
    color: #6c757d;
}

.contact-form {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #E35A6A;
    box-shadow: 0 0 0 3px rgba(227, 90, 106, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* 页脚样式 */
footer {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 1rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #E35A6A;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-desc {
    color: #e9ecef;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #E35A6A;
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #E35A6A;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #e9ecef;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #e9ecef;
    font-size: 0.9rem;
}


.footer-bottom2 {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e9ecef;
    font-size: 0.9rem;
}


/* 响应式设计 */
@media (max-width: 992px) {
    .navbar {
        justify-content: space-between;
    }
    
    .nav-left, .nav-right {
        display: none;
    }
    
    .logo-container {
        position: relative;
        left: auto;
        transform: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #1a1a2e;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu.active {
        transform: translateX(0);
    }
    
    .mobile-nav-links {
        list-style: none;
        text-align: center;
    }
    
    .mobile-nav-links li {
        margin-bottom: 1.5rem;
    }
    
    .mobile-nav-links a {
        color: #ffffff;
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-links a:hover {
        color: #E35A6A;
    }
    
    .close-menu {
        position: absolute;
        top: 2rem;
        right: 2rem;
        color: #ffffff;
        font-size: 1.8rem;
        cursor: pointer;
    }
}

@media (max-width: 768px) {

    .nav-links{
        height: 60px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        display: block;
        width: 80%;
        margin: 0 auto 1rem;
    }
    
    .btn-outline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-content, .contact-container {
        flex-direction: column;
    }
    
    .contact::before {
        width: 100%;
        transform: none;
    }
}

@media (max-width: 480px) {
    .stream-grid, .comic-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 12rem 5% 8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 6rem 5%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 为不同元素设置不同的动画延迟 */
.fade-in:nth-child(2n) {
    transition-delay: 0.1s;
}

.fade-in:nth-child(3n) {
    transition-delay: 0.2s;
}

.fade-in:nth-child(4n) {
    transition-delay: 0.3s;
}


.btn-outline{
    color: #e35a6a;
    
}