* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdf2f7;
}

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

.no-underline {
    text-decoration: none;
    color: inherit;
}

header {
    background-color: #ffc0cb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 10px;
    height: 35px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('../images/bj.png') center/cover;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e91e63;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
}

.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.install-notice {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.install-notice p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333;
}

.install-notice p:last-child {
    margin-bottom: 0;
}

.highlight {
    color: #e91e63;
    font-weight: bold;
    background-color: #fff0f5;
    padding: 2px 6px;
    border-radius: 4px;
}

.popular-comics {
    padding: 80px 0;
    background-color: #fff5f8;
}

.popular-comics h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.comics-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e91e63;
    background-color: white;
    color: #e91e63;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #e91e63;
    color: white;
}

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

.comic-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 1;
}

.comic-card.hidden {
    display: none;
}

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

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

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

.comic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.hot-tag,
.new-tag {
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}

.hot-tag {
    background-color: #e91e63;
}

.new-tag {
    background-color: #4caf50;
}

.read-btn {
    align-self: center;
    padding: 10px 30px;
    background-color: #e91e63;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.read-btn:hover {
    background-color: #c2185b;
    transform: scale(1.05);
}

.comic-info {
    padding: 15px;
}

.comic-info h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.comic-author {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}

.comic-stats {
    display: flex;
    gap: 15px;
}

.comic-stats span {
    font-size: 0.8rem;
    color: #666;
}

.comic-stats i {
    margin-right: 5px;
    color: #e91e63;
}

.app-showcase {
    padding: 80px 0;
    background-color: #ffebf0;
}

.app-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

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

.app-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 250px;
    height: 450px;
}

.app-card:hover {
    transform: translateY(-5px);
}

.app-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-center {
    padding: 80px 0;
    background-color: #fdf2f7;
}

.download-center h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
    gap: 20px;
}

.download-item {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.download-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.download-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.download-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-right: 15px;
}

.download-info a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.download-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.download-info .meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 4px;
}

.download-info .size,
.download-info .date {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

.download-info .desc {
    font-size: 0.85rem;
    color: #666;
    margin: 4px 0 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.detail-btn {
    padding: 5px 12px;
    background-color: #e91e63;
    color: white;
    border: 2px solid #e91e63;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 15px;
}

.detail-btn:hover {
    background-color: #ffffff;
    color: #e91e63;
}

.view-more-container {
    text-align: right;
    margin-top: 20px;
}

.view-more-link {
    color: #e91e63;
    font-weight: 500;
    font-size: 1rem;
}

.view-more-link:hover {
    color: #c2185b;
}

.download {
    padding: 80px 0;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.download p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    min-width: 180px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.download-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

footer {
    background-color: #ffc0cb;
    padding: 30px 0 20px;
    text-align: center;
}

.page {
    text-align: center;
    margin-top: 40px;
    text-decoration: none;
}

.page a {
    text-decoration: none;
}

.friend-links {
    margin-bottom: 20px;
}

.friend-links h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}

.links-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.links-list a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.links-list a:hover {
    color: #e91e63;
}

.copyright p {
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #ffc0cb;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features h2,
    .app-showcase h2,
    .download h2,
    .download-center h2,
    .popular-comics h2 {
        font-size: 2rem;
    }
    
    .popular-comics {
        padding: 60px 0;
    }
    
    .comics-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
    
    .comics-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .comic-cover {
        height: 220px;
    }
    
    .comic-info h3 {
        font-size: 1rem;
    }
    
    .comic-author {
        font-size: 0.8rem;
    }
    
    .comic-stats {
        gap: 10px;
    }
    
    .comic-stats span {
        font-size: 0.75rem;
    }
    
    .download {
        padding: 60px 0;
    }
    
    .app-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }
    
    .app-card {
        flex: 0 0 250px;
        scroll-snap-align: start;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .download-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }
    
    .download-icon {
        margin-right: 15px;
        margin-bottom: 0;
        margin-top: 0;
    }
    
    .download-info {
        flex: 1 1 auto;
        align-items: flex-start;
        margin-right: 80px;
        min-width: 0;
        max-width: calc(100% - 160px);
    }
    
    .download-info a {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .download-info h3 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .download-info .desc {
        display: none;
    }
    
    .detail-btn {
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        margin-left: 0;
        margin-top: 0;
        background-color: #e91e63;
        color: white;
    }
    
    .detail-btn:hover {
        background-color: #ffffff;
        color: #e91e63;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 25px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features h2,
    .app-showcase h2,
    .download h2,
    .download-center h2,
    .popular-comics h2 {
        font-size: 1.8rem;
    }
    
    .popular-comics {
        padding: 40px 0;
    }
    
    .comics-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    
    .comics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .comic-cover {
        height: 180px;
    }
    
    .comic-overlay {
        padding: 10px;
    }
    
    .hot-tag,
    .new-tag {
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    
    .read-btn {
        padding: 6px 20px;
        font-size: 0.8rem;
    }
    
    .comic-info {
        padding: 10px;
    }
    
    .comic-info h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .comic-author {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }
    
    .comic-stats {
        gap: 8px;
    }
    
    .comic-stats span {
        font-size: 0.65rem;
    }
    
    .download {
        padding: 40px 0;
    }
    
    .feature-card,
    .app-card {
        padding: 20px;
    }
    
    .desc-container {
        flex-direction: column;
        align-items: center;
    }
    
    .download-info .desc {
        margin-right: 0;
        margin-bottom: 10px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .detail-btn {
        align-self: center;
    }
    
    .links-list {
        gap: 15px;
    }
    
    .links-list a {
        font-size: 0.8rem;
    }
}