@charset "UTF-8";
/**
 * ZenithStream Custom Styles
 * 
 * @package ZenithStream
 */

/* ==========================================
   Animations
   ========================================== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.4s ease-out forwards;
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out forwards;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ==========================================
   Navigation Enhancements
   ========================================== */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-blue-500), var(--color-blue-400));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ==========================================
   Card Hover Effects
   ========================================== */
.manga-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.manga-card:hover::before {
    opacity: 1;
}

/* Play button overlay on hover */
.manga-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.9);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.manga-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ==========================================
   Filter Tag Animations
   ========================================== */
.filter-tag {
    position: relative;
    overflow: hidden;
}

.filter-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-tag:hover::before {
    left: 100%;
}

/* ==========================================
   Genre Pills
   ========================================== */
.genre-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-slate-300);
    transition: all 0.2s ease;
}

.genre-pill:hover {
    background: var(--color-slate-700);
    border-color: var(--color-slate-600);
    color: var(--color-slate-100);
}

/* ==========================================
   Score Display
   ========================================== */
.score-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-amber-400);
}

.score-badge .material-symbols-outlined {
    font-size: 1rem;
    font-variation-settings: 'FILL' 1;
}

/* ==========================================
   Chapter List Scrollbar
   ========================================== */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--color-slate-800);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--color-slate-600);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue-500);
}

/* ==========================================
   Reader Specific Styles
   ========================================== */
.reader-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reader-content-wrapper img {
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.reader-content-wrapper p:empty {
    display: none;
}

/* Webtoon strip reader mode */
.reader-webtoon .reader-content-wrapper img {
    margin-bottom: 0;
    border-radius: 0;
}

/* ==========================================
   Comments Styling
   ========================================== */
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
    width: 100%;
    background: var(--color-slate-800);
    border: 1px solid var(--color-slate-700);
    border-radius: 1rem;
    padding: 1rem;
    color: var(--color-slate-200);
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s ease;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus {
    border-color: var(--color-blue-500);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.comment-form .submit {
    background: var(--color-blue-600);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-form .submit:hover {
    background: var(--color-blue-500);
}

/* Comment list styling */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    background: var(--color-slate-800);
    padding: 1rem;
    border-radius: 1.5rem;
    border: 1px solid var(--color-slate-700);
    margin-bottom: 1rem;
}

.comment-list .comment-author {
    font-weight: 700;
    color: var(--color-blue-400);
    font-size: 0.875rem;
}

.comment-list .comment-content p {
    color: var(--color-slate-200);
    font-size: 0.875rem;
    line-height: 1.625;
    margin: 0.5rem 0 0;
}

.comment-list .comment-metadata {
    font-size: 0.625rem;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   Pagination Styling
   ========================================== */
.navigation.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background: var(--color-slate-800);
    border: 1px solid var(--color-slate-700);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-slate-300);
    transition: all 0.2s ease;
    text-decoration: none;
}

.navigation.pagination .page-numbers:hover {
    background: var(--color-slate-700);
    color: white;
}

.navigation.pagination .page-numbers.current {
    background: var(--color-blue-600);
    border-color: var(--color-blue-500);
    color: white;
}

/* ==========================================
   Loading States
   ========================================== */
.skeleton {
    background: linear-gradient(90deg, var(--color-slate-800) 25%, var(--color-slate-700) 50%, var(--color-slate-800) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.5rem;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ==========================================
   Toast Notifications
   ========================================== */
.toast {
    position: fixed;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: var(--color-slate-800);
    border: 1px solid var(--color-slate-700);
    padding: 0.875rem 1.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-200);
    z-index: 200;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: var(--color-emerald-500);
    background: linear-gradient(135deg, var(--color-slate-800) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.toast.error {
    border-color: #ef4444;
    background: linear-gradient(135deg, var(--color-slate-800) 0%, rgba(239, 68, 68, 0.1) 100%);
}

/* ==========================================
   Responsive Adjustments
   ========================================== */
@media (max-width: 768px) {
    .container-zenith {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-title {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {

    .fixed,
    .sticky,
    footer,
    nav,
    #mobile-menu,
    #search-overlay,
    #auth-modal {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}