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

body {
    font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: #ff6b9d;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    background: #4ecdc4;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: #ffe66d;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: #a8e6cf;
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

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

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 20px 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
}

.search-box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.5rem;
    min-width: 200px;
}

.search-input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.search-btn {
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 1rem;
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.main {
    padding-top: 2rem;
}

.hero-banner {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 2rem 0;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.title-line {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
}

.title-main {
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-desc {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.banner-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 2px solid #ff6b9d;
}

.btn-outline:hover {
    background: #ff6b9d;
    color: white;
}

.image-stack {
    position: relative;
    height: 400px;
}

.stack-img {
    position: absolute;
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.img-1 {
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-10deg);
}

.img-2 {
    top: 20px;
    left: 80px;
    z-index: 2;
    transform: rotate(5deg);
}

.img-3 {
    top: 40px;
    left: 160px;
    z-index: 1;
    transform: rotate(15deg);
}

.image-stack:hover .img-1 {
    transform: rotate(-5deg) scale(1.05);
}

.image-stack:hover .img-2 {
    transform: rotate(0deg) scale(1.05);
}

.image-stack:hover .img-3 {
    transform: rotate(10deg) scale(1.05);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
}

.title-icon {
    font-size: 3rem;
}

.categories {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 2rem 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-link {
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-comics {
    padding: 4rem 0;
}

.comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.comic-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.comic-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.comic-cover {
    position: relative;
    overflow: hidden;
}

.comic-cover img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.comic-card.featured .comic-cover img {
    height: 100%;
}

.comic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comic-card:hover .comic-overlay {
    opacity: 1;
}

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

.rating {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.read-btn {
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
}

.comic-info {
    padding: 1.5rem;
}

.comic-info h3 {
    margin-bottom: 0.5rem;
}

.comic-info h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}

.comic-info h3 a:hover {
    color: #ff6b9d;
}

.comic-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.comic-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.status {
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
}

.chapters {
    color: #666;
}

.latest-updates {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 2rem 0;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.update-item {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.update-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.update-thumb {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.update-info {
    flex: 1;
}

.update-info h4 {
    margin-bottom: 0.5rem;
}

.update-info h4 a {
    color: #333;
    text-decoration: none;
}

.update-info h4 a:hover {
    color: #ff6b9d;
}

.update-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.update-time {
    color: #999;
    font-size: 0.8rem;
}

.update-btn {
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
}

.ranking {
    padding: 4rem 0;
}

.ranking-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(45deg, #ff6b9d, #4ecdc4);
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rank-item {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.rank-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rank-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.rank-1 .rank-number {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
}

.rank-2 .rank-number {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
}

.rank-3 .rank-number {
    background: linear-gradient(45deg, #cd7f32, #daa520);
}

.rank-thumb {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.rank-info {
    flex: 1;
}

.rank-info h4 a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}

.rank-info h4 a:hover {
    color: #ff6b9d;
}

.rank-info p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.rank-stats {
    color: #666;
    font-size: 0.9rem;
}

.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-radius: 30px 30px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: #ff6b9d;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-links a:hover {
    color: #ff6b9d;
}

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

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .nav {
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        display: none;
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .image-stack {
        height: 300px;
    }
    
    .stack-img {
        width: 150px;
        height: 200px;
    }
    
    .img-2 {
        left: 60px;
    }
    
    .img-3 {
        left: 120px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comics-grid {
        grid-template-columns: 1fr;
    }
    
    .comic-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .ranking-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .image-stack {
        height: 250px;
    }
    
    .stack-img {
        width: 120px;
        height: 160px;
    }
    
    .img-2 {
        left: 50px;
    }
    
    .img-3 {
        left: 100px;
    }
}
