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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    min-height: 100vh;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu a {
    text-decoration: none;
    color: #8e44ad;
    font-weight: 600;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-menu a:hover {
    color: #e91e63;
    background: #fce4ec;
}

/* Main Content */
main {
    background: white;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

section {
    margin-bottom: 3rem;
}

/* Intro Section */
.intro-section {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.opening-paragraph {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
    text-align: justify;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.content-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.content-section h3 {
    color: #e91e63;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

/* FAQ Section */
.faq-section {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: #8e44ad;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.cta-section h2 {
    color: white;
    border-bottom: 3px solid white;
    margin: 0 auto 2rem;
}

.cta-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    color: white;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(233, 30, 99, 0.6);
}

h2 {
    color: #8e44ad;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 3px solid #e91e63;
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Featured Section */
.featured-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.manga-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.manga-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.manga-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.tags {
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: #8e44ad;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.manga-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.manga-stats span {
    font-weight: 600;
    color: #333;
}

.btn-read {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-read:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

/* Search Keywords Section */
.keyword-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.keyword-item {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.keyword-item h4 {
    color: #8e44ad;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.keyword-item p {
    color: #555;
    font-size: 0.9rem;
}

/* Manga Grid */
.manga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.manga-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

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

.manga-card .manga-image {
    height: 280px;
}

.manga-card h3 {
    padding: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.manga-card .genre {
    padding: 0 1rem;
    color: #667eea;
    font-size: 0.85rem;
}

.manga-card .chapter {
    padding: 0 1rem 1rem;
    color: #888;
    font-size: 0.85rem;
}

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

.genre-card {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.genre-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.genre-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.genre-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.genre-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Latest Section */
.latest-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.latest-item {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 10px;
    transition: background 0.3s;
    cursor: pointer;
}

.latest-item:hover {
    background: #f0f0f0;
}

.latest-image {
    width: 80px;
    height: 80px;
    margin-right: 1rem;
}

.placeholder-image-small {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border-radius: 8px;
}

.latest-info {
    flex: 1;
}

.latest-info h4 {
    color: #333;
    margin-bottom: 0.3rem;
}

.latest-info p {
    color: #e91e63;
    font-size: 0.9rem;
}

.latest-time {
    color: #888;
    font-size: 0.85rem;
}

/* About Section */
.about-content {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    padding: 2rem;
    border-radius: 15px;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #333;
}

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

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-item h4 {
    color: #8e44ad;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

.footer-link {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .manga-image {
        height: 300px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    h2 {
        font-size: 1.5rem;
    }

    .keyword-grid {
        grid-template-columns: 1fr;
    }

    .manga-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .genres-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    main {
        padding: 1rem;
    }

    .featured-card {
        padding: 1rem;
    }

    .manga-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-read {
        width: 100%;
    }
}
