/* Extracted CSS from detail.html (base styles) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: hsl(225, 15%, 8%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(224, 20%, 12%);
    --card-foreground: hsl(210, 40%, 98%);
    --primary: hsl(270, 80%, 65%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(224, 20%, 18%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(224, 15%, 20%);
    --muted-foreground: hsl(215, 20%, 65%);
    --accent: hsl(290, 70%, 60%);
    --border: hsl(224, 20%, 20%);
    --success: hsl(142, 76%, 36%);
    --warning: hsl(48, 96%, 53%);
    --danger: hsl(0, 84%, 60%);
    --info: hsl(199, 89%, 48%);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(18, 20, 29, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--foreground);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
 /* background: linear-gradient(135deg, var(--primary), var(--accent)); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Content */
main {
    padding: 2rem 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: var(--secondary);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Left Column - Poster */
.poster-section {
    max-width: 300px;
    margin: 0 auto;
}

.poster-container {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.3);
    margin-bottom: 1rem;
}

.poster-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.play-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.update-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--secondary);
    color: var(--foreground);
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.update-btn:hover {
    background: var(--muted);
}

.unavailable-btn {
    width: 100%;
    padding: 1rem;
    background: var(--danger);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    border-radius: 0.5rem;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.unavailable-subtitle {
    width: 100%;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.back-button {
    width: 100%;
    padding: 0.875rem;
    background: hsl(220, 70%, 50%);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.back-button:hover {
    background: hsl(220, 70%, 45%);
}

.series-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Full-page blurred background layer */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.page-bg img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(0.80);
    filter: blur(3px) brightness(0.3);
    will-change: transform, filter;
}

/* Ensure main content sits above the blurred background */
header, .container, section, footer {
    position: relative;
    z-index: 1;
}

.series-card-title {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.series-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.series-label {
    color: var(--muted-foreground);
}

.series-value {
    font-weight: 600;
}

/* Right Column - Info */
.info-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.original-title {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.375rem 0.875rem;
    background: var(--secondary);
    color: var(--foreground);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: lowercase;
}

.basic-info {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

.basic-info-title {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.info-label {
    color: var(--muted-foreground);
}

.info-value {
    color: var(--foreground);
}

.info-link {
    color: var(--primary);
    text-decoration: underline;
}

/* Stats Section */
.stats-section {
    margin-bottom: 2rem;
}

.stats-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.stats-bar {
    display: flex;
    height: 12px;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 1rem;
    gap: 1px;
}

.stats-bar-segment {
    height: 100%;
    transition: opacity 0.3s;
}

.stats-bar-segment:hover {
    opacity: 0.8;
    cursor: pointer;
}

.stats-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* Smooth reveal animation for anime cards */
.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.anime-card {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
    transition: opacity 420ms cubic-bezier(.2,.8,.2,1), transform 420ms cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
}

.anime-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Small responsive tweaks for card image */
.anime-card-image-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 0.5rem;
}

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

.stats-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.stats-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stats-label {
    color: var(--muted-foreground);
}

.stats-count {
    font-weight: 600;
    margin-left: auto;
}

/* Rating Section */
.rating-section {
    margin-bottom: 2rem;
}

.rating-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.rating-star {
    width: 2rem;
    height: 2rem;
    fill: var(--warning);
    color: var(--warning);
}

.rating-value {
    font-size: 2.25rem;
    font-weight: 700;
}

.rating-votes {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-number {
    font-size: 0.875rem;
    width: 10px;
    color: var(--muted-foreground);
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: var(--secondary);
    border-radius: 9999px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    transition: width 0.5s ease;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    width: 40px;
    text-align: right;
}

/* Description */
.description-section {
    margin-bottom: 2rem;
}

.description-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    max-height: 4.5em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.description-text.expanded {
    max-height: none;
}

.show-more-btn {
    color: var(--primary);
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
}

.show-more-btn:hover {
    color: var(--accent);
}

/* Frames Section */
.frames-section {
    margin-bottom: 2rem;
}

.frames-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.frame-item {
    aspect-ratio: 16/9;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.frame-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (min-width: 768px) {
    .detail-layout {
        grid-template-columns: 300px 1fr;
        gap: 3rem;
    }

    .poster-section {
        margin: 0;
    }

    .stats-legend {
        grid-template-columns: repeat(3, 1fr);
    }

    .frames-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-legend {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* End of detail.css extraction */

/* Additional styles extracted from index.html (featured, catalog, news, animations, responsive) */

/* Header / nav variants used on index */
.nav-desktop {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 20rem;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-size: 0.875rem;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    width: 1rem;
    height: 1rem;
    color: var(--muted-foreground);
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-icon {
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--card);
    z-index: 100;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s;
}

.mobile-menu.open {
    display: block;
    transform: translateX(0);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.mobile-overlay.open {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mobile-search {
    display: none;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.3s;
}

.mobile-search.open {
    display: block;
}

/* Featured Section */
.featured {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.featured-bg {
    position: absolute;
    inset: 0;
}

.featured-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--background) 0%, rgba(18, 20, 29, 0.9) 50%, transparent 100%);
}

.featured-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background) 0%, transparent 50%);
}

.featured-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.featured-inner {
    max-width: 48rem;
    animation: fadeIn 0.6s;
}

.featured-genres {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(147, 51, 234, 0.2);
    color: var(--primary);
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.featured-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.featured-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 40rem;
}

.featured-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background: var(--muted);
}

.featured-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.rating-label {
    color: var(--muted-foreground);
}

.rating-value {
    font-weight: 600;
    color: var(--primary);
}

/* Catalog Section */
.catalog {
    padding: 3rem 0;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.catalog-title {
    font-size: 2rem;
    font-weight: 700;
}

.tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--secondary);
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.tab {
    padding: 0.5rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.3s;
}

.tab.active {
    background: var(--primary);
    color: var(--primary-foreground);
}

.tab:hover:not(.active) {
    background: var(--muted);
}

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

.anime-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeIn 0.6s;
}

.anime-card:hover {
    border-color: rgba(147, 51, 234, 0.5);
    transform: translateY(-0.25rem);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.anime-card-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.anime-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.anime-card:hover .anime-card-image {
    transform: scale(1.1);
}

.anime-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anime-card:hover .anime-card-overlay {
    opacity: 1;
}

.play-button {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.3s;
}

.anime-card:hover .play-button {
    transform: scale(1);
}

.status-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rating-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* episodes badge on poster bottom-right */
.episodes-badge {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    background: rgba(0,0,0,0.7);
    color: var(--foreground);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.star-icon {
    width: 0.75rem;
    height: 0.75rem;
    fill: #eab308;
    color: #eab308;
}

.anime-card-content {
    padding: 1rem;
}

.anime-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.anime-card:hover .anime-card-title {
    color: var(--primary);
}

.anime-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.anime-card-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.anime-card-ozv {
            margin-top: 0.5rem;
            padding: 0.35rem 0.6rem;
            background: rgba(255,255,255,0.03);
            color: var(--muted-foreground);
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 600;
        }

.genre-badge {
    padding: 0.125rem 0.5rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 9999px;
    font-size: 0.75rem;
}

.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.show-more {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* News Section */
.news-section {
    padding: 3rem 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.news-title {
    font-size: 2rem;
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeIn 0.6s;
}

.news-card:hover {
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.news-card-image-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-card-image {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(147, 51, 234, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.news-card-content {
    padding: 1.25rem;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.news-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.news-card:hover .news-card-title {
    color: var(--primary);
}

.news-excerpt {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (min-width: 1024px) {
    .nav-desktop,
    .header-actions {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .anime-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .featured {
        height: 500px;
    }

    .featured-title {
        font-size: 2rem;
    }

    .featured-description {
        font-size: 0.875rem;
    }

    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .anime-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

@media (max-width: 480px) {
    .featured {
        height: 400px;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hidden {
    display: none;
}

/* End of index.css extraction */
