/* 
 * Elincia-BE Literal Clone - Ultra Minimalist
 * Follow-up: Simplified cards, no shadows, no white borders.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --theme-bg: #b39ddb;
    --theme-purple: #4b0082;
    --theme-red: #ff424d;
    --theme-white: #f5f5f5;
    --border-black: 5px solid #000000;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--theme-bg);
    font-family: 'Inter', sans-serif;
    color: var(--theme-purple);
    -webkit-font-smoothing: antialiased;
}

.gap-y-20 {
    row-gap: 3rem !important;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--theme-purple);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 28px;
}

.navbar-brand img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    text-decoration: none;
    color: var(--theme-purple);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 18px;
}

/* --- Dropdown --- */
.dropdown-container { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08) !important; /* Refined, non-black border */
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important; /* Premium soft shadow */
    padding: 12px;
    width: 200px;
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    z-index: 1000;
}
.dropdown-container:hover .dropdown-menu { display: flex; }
.dropdown-menu.right { left: auto; right: 0; }

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.dropdown-item {
    text-decoration: none;
    color: var(--theme-purple);
    font-weight: 800;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--theme-purple);
    color: #ffffff;
}

.nav-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

/* --- Section Headers --- */
.section-header {
    margin: 80px 0 20px;
    border-bottom: 3px solid var(--theme-purple);
    width: 100%;
}

.section-title {
    color: var(--theme-white);
    font-weight: 800;
    font-size: 26px;
    display: inline-block;
}

/* --- Comic Cards --- */
.comic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-box {
    border: 5px solid #000000;
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-img {
    width: 100%;
    height: auto;
    display: block;
}

.card-link:hover .card-box {
    transform: scale(1.04);
}

.card-title {
    color: var(--theme-white);
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

.card-patreon-tag {
    color: var(--theme-red);
    font-weight: 700;
    margin-right: 4px;
}

/* --- Footer --- */
.footer {
    padding: 30px 0;
    text-align: center;
    background-color: #d1c4e9;
    margin-top: 100px;
    width: 100%;
}

.footer-text {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-text a {
    color: var(--theme-purple);
    text-decoration: none;
    font-weight: 800;
}

.footer-text a:hover {
    text-decoration: underline;
}

.emoji {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* --- Slider --- */
.swiper-home-slider {
    padding: 20px 0 !important;
}

.swiper-button-prev, .swiper-button-next { color: #fff !important; transform: scale(0.6); }

.swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #fff !important;
    opacity: 1;
}

@media (max-width: 1024px) {
    .container { padding: 0 2px; }
    .navbar { margin: 0 10px; }
}
