/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover {
    color: #e74c3c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Official Domain Notice */
.domain-notice {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 12px 0;
    position: fixed;
    top: 70px;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.notice-icon {
    font-size: 1.2rem;
}

.notice-text {
    font-weight: 500;
    text-align: center;
}

.notice-text a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.notice-text a:hover {
    color: #f39c12;
}

.notice-close {
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: bold;
}

.notice-close:hover {
    color: #f39c12;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%), 
                url('../images/batoto-bg1.png') center/cover;
    color: white;
    padding: 160px 0 80px;
    text-align: center;
    margin-top: 110px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Statistics Section */
.stats {
    background: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.2rem;
    color: #666;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    color: white;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Popular Manga Section */
.popular-manga {
    padding: 80px 0;
    background: white;
}

.popular-manga h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

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

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

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

.manga-info {
    padding: 1.5rem;
}

.manga-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.manga-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

.rating {
    color: #f39c12;
    margin-bottom: 1rem;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.about-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.about-text li {
    margin-bottom: 0.5rem;
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Highlights Section */
.highlights {
    padding: 80px 0;
    background: white;
}

.highlights h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

.highlight-item.reverse {
    direction: rtl;
}

.highlight-item.reverse > * {
    direction: ltr;
}

.highlight-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.highlight-content p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
}

.highlight-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p {
    margin-bottom: 1rem;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

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

.social-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #e74c3c;
}

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

.footer-bottom p {
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .domain-notice {
        top: 70px;
        padding: 8px 0;
    }
    
    .notice-content {
        flex-direction: column;
        gap: 5px;
    }
    
    .notice-text {
        font-size: 0.9rem;
        padding: 0 40px;
    }
    
    .hero {
        padding: 140px 0 60px;
        margin-top: 110px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        grid-template-columns: 1fr;
    }
    
    .highlight-item.reverse {
        direction: ltr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .manga-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Dark mode for mobile menu */
    .dark-mode .nav-menu {
        background: #2c2c2c;
    }
    
    .dark-mode .domain-notice {
        background: linear-gradient(135deg, #c0392b, #8b0000);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid,
    .features-grid,
    .manga-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.dark-mode .header {
    background: #2c2c2c;
    box-shadow: 0 2px 10px rgba(255,255,255,0.1);
}

.dark-mode .nav-menu a {
    color: #e0e0e0;
}

.dark-mode .nav-menu a:hover {
    color: #e74c3c;
}

.dark-mode .brand-text {
    color: #e0e0e0;
}

.dark-mode .stats {
    background: #2c2c2c;
}

.dark-mode .features {
    background: #1a1a1a;
}

.dark-mode .feature-item {
    background: #2c2c2c;
    color: #e0e0e0;
}

.dark-mode .feature-item h3 {
    color: #e0e0e0;
}

.dark-mode .popular-manga {
    background: #2c2c2c;
}

.dark-mode .popular-manga h2 {
    color: #e0e0e0;
}

.dark-mode .manga-card {
    background: #3c3c3c;
}

.dark-mode .manga-info h3 {
    color: #e0e0e0;
}

.dark-mode .about {
    background: #1a1a1a;
}

.dark-mode .about-text h2 {
    color: #e0e0e0;
}

.dark-mode .highlights {
    background: #2c2c2c;
}

.dark-mode .highlights h2 {
    color: #e0e0e0;
}

.dark-mode .highlight-content h3 {
    color: #e0e0e0;
}

.dark-mode .faq {
    background: #1a1a1a;
}

.dark-mode .faq h2 {
    color: #e0e0e0;
}

.dark-mode .faq-item {
    background: #2c2c2c;
}

.dark-mode .faq-item h3 {
    color: #e0e0e0;
}

/* Loading Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-item,
.manga-card,
.faq-item {
    animation: fadeIn 0.6s ease-out;
}