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

body {
    font-family: sans-serif;
    background-color: #000;
    color: #ffffff;
}

header {
    background-color: #000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ffffff;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 10px;
}

nav ul li a.active,
nav ul li a:hover {
    background-color: #333;
    border-radius: 5px;
}

.main-layout {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.stacked-content {
    flex: 3;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.manga-section {
    border-bottom: 1px solid #333;
    padding: 15px 20px;
    background-color: #111;
}

.manga-section:last-child {
    border-bottom: none;
}

.manga-row {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.manga-item {
    text-align: center;
    width: 180px;
    transition: transform 0.3s ease;
}

.manga-item:hover {
    transform: scale(1.05);
}

.manga-item img {
    width: 100%;
    height: auto;
    max-height: 260px;
    border: 1px solid #444;
    object-fit: cover;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.manga-item:hover img {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.manga-item .title {
    margin-top: 8px;
    font-size: 16px;
    color: #ffffff;
}

.sidebar {
    flex: 1;
    margin-left: 30px;
    background-color: #101010;
    padding: 20px;
    height: fit-content;
    min-width: 200px;
}

.sidebar a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

footer {
    background-color: #000;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    border-top: 1px solid #ffffff;
    margin-top: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
        align-items: center;
    }

    .sidebar {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .manga-item {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .manga-item {
        width: 100%;
    }
}


/* Enhanced text effects */
.manga-item .title,
.sidebar a,
footer,
header,
nav ul li a,
body {
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.1);
}
