.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #0f172acc;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border)
}

.h-16 {
    height: 4rem
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.025em;
    transition: transform .2s
}

.logo-link:hover {
    transform: scale(1.05)
}

.nav-links {
    display: flex;
    gap: 1.5rem
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    transition: color .2s
}

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

.search-form {
    background: #ffffff0d;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: .25rem .5rem .25rem 1rem;
    transition: all .2s
}

.search-form:focus-within {
    border-color: var(--primary);
    background: #ffffff1a
}

.search-input {
    background: transparent;
    border: none;
    color: var(--text);
    outline: none;
    width: 150px;
    font-size: .875rem;
    transition: width .3s
}

.search-input:focus {
    width: 200px
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    border-radius: 50%;
    color: var(--text-muted);
    transition: all .2s
}

.search-btn:hover {
    color: var(--text);
    background: #ffffff1a
}

.search-container {
    position: relative
}

@keyframes dropdownSlideIn {
    0% {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: .5rem;
    width: 360px;
    background: #0f172aed!important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139,92,246,.3)!important;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 15px 35px #0009,0 0 15px #8b5cf61a!important;
    z-index: 100;
    padding: .25rem 0
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1.25rem;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    border-bottom: 1px solid rgba(255,255,255,.03);
    opacity: 0;
    animation: dropdownSlideIn .25s cubic-bezier(.4,0,.2,1) forwards
}

.dropdown-item:nth-child(1) {
    animation-delay: .03s
}

.dropdown-item:nth-child(2) {
    animation-delay: .06s
}

.dropdown-item:nth-child(3) {
    animation-delay: .09s
}

.dropdown-item:nth-child(4) {
    animation-delay: .12s
}

.dropdown-item:nth-child(5) {
    animation-delay: .15s
}

.dropdown-item:last-child {
    border-bottom: none
}

.dropdown-item:hover {
    background: #8b5cf626;
    transform: translate(4px);
    border-left: 3px solid var(--primary);
    padding-left: 1.1rem
}

.dropdown-img {
    width: 45px;
    height: 64px;
    object-fit: cover;
    border-radius: .375rem;
    box-shadow: 0 4px 8px #0000004d;
    transition: transform .25s
}

.dropdown-item:hover .dropdown-img {
    transform: scale(1.05)
}

.dropdown-info {
    flex-grow: 1;
    overflow: hidden
}

.dropdown-title {
    font-weight: 700;
    font-size: .875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    transition: color .2s
}

.dropdown-item:hover .dropdown-title {
    color: var(--primary)
}

.dropdown-meta {
    font-size: .75rem;
    margin-top: .25rem;
    color: var(--text-muted)
}

.dropdown-star {
    display: inline-flex;
    align-items: center;
    color: #fbbf24;
    font-weight: 700
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(139,92,246,.3)
}

.bottom-nav {
    display: none
}

@media (max-width: 768px) {
    .nav-links {
        display:none
    }

    .logo-text {
        font-size: 1.25rem
    }

    .search-input {
        width: 100px
    }

    .search-input:focus {
        width: 120px
    }

    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 4.25rem;
        background: #0f172af2;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--glass-border);
        z-index: 999;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -5px 25px #0006
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .25rem;
        color: var(--text-muted);
        text-decoration: none;
        transition: all .2s ease;
        flex: 1;
        height: 100%
    }

    .bottom-nav-item:hover,.bottom-nav-item.active {
        color: var(--primary)
    }

    .bottom-nav-item.active svg {
        filter: drop-shadow(0 0 5px rgba(139,92,246,.5));
        transform: translateY(-2px)
    }

    .bottom-nav-label {
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .02em
    }
}

.nav-support-link {
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600!important;
    color: #ff5f64!important;
    cursor: pointer;
    padding: 0;
    transition: all .25s ease
}

.nav-support-link:hover {
    color: #ff474d!important;
    text-shadow: 0 0 10px rgba(255,95,100,.45)
}

.roll-random-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #8b5cf614;
    border: 1px solid rgba(139,92,246,.3);
    padding: .45rem 1rem;
    border-radius: 2rem;
    color: var(--primary);
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    flex-shrink: 0
}

.roll-random-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px #8b5cf666;
    transform: translateY(-1.5px)
}

.roll-random-btn:active {
    transform: translateY(.5px)
}

.roll-icon {
    transition: transform .25s ease
}

.roll-random-btn:hover .roll-icon {
    transform: scale(1.15) rotate(15deg)
}

.roll-random-btn.rolling .roll-icon {
    animation: rollDices 1s infinite linear
}

@keyframes rollDices {
    0% {
        transform: rotate(0) scale(1.15)
    }

    to {
        transform: rotate(360deg) scale(1.15)
    }
}

.roll-random-btn.rolling {
    pointer-events: none;
    opacity: .85;
    background: #8b5cf633;
    border-color: var(--primary);
    color: #fff
}

@media (max-width: 1024px) {
    .roll-text {
        display:none
    }

    .roll-random-btn {
        padding: 0;
        width: 2.25rem;
        height: 2.25rem;
        justify-content: center;
        border-radius: 50%
    }
}

.footer-section {
    margin-top: auto;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(180deg,#0f172a00,#0f172acc);
    width: 100%
}

.az-list-container {
    border-radius: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px #00000040;
    transition: all .3s ease
}

.az-header {
    font-size: 1.1rem
}

.az-title {
    font-weight: 800;
    letter-spacing: .05em
}

.az-divider {
    color: var(--glass-border);
    font-size: 1.25rem
}

.az-subtitle {
    font-size: .9rem;
    font-weight: 500
}

.az-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.az-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 .5rem;
    background: #ffffff0a;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .375rem;
    color: var(--text-muted);
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s cubic-bezier(.4,0,.2,1)
}

.az-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px #8b5cf666;
    transform: translateY(-2px)
}

.footer-disclaimer {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6
}

.footer-disclaimer p {
    font-size: .875rem
}

@media (max-width: 768px) {
    .footer-section {
        padding-bottom:8.5rem
    }

    .az-header {
        flex-direction: column;
        align-items: flex-start;
        gap: .25rem
    }

    .az-divider {
        display: none
    }

    .az-buttons {
        gap: .4rem
    }

    .az-btn {
        min-width: 2rem;
        height: 2rem;
        font-size: .8rem
    }

    .footer-support-btn {
        align-self: flex-start;
        margin-top: .25rem
    }
}

.footer-support-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #ff5f6414;
    border: 1px solid rgba(255,95,100,.25);
    padding: .45rem 1.15rem;
    border-radius: 2rem;
    color: #ff5f64;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    flex-shrink: 0
}

.footer-support-btn:hover {
    background: #ff5f64;
    border-color: #ff5f64;
    color: #fff;
    box-shadow: 0 0 15px #ff5f6466;
    transform: translateY(-1.5px)
}

.footer-support-btn:active {
    transform: translateY(.5px)
}

.support-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #080a12bf;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeInModal .25s cubic-bezier(.4,0,.2,1) forwards
}

.support-modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #0f172ae6!important;
    border: 1px solid rgba(139,92,246,.35)!important;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px #000c,0 0 30px #8b5cf626!important;
    padding: 2.25rem 2rem 2rem;
    animation: scaleUpModal .3s cubic-bezier(.34,1.56,.64,1) forwards;
    overflow: hidden
}

@keyframes fadeInModal {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes scaleUpModal {
    0% {
        opacity: 0;
        transform: scale(.9) translateY(15px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

.support-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #ffffff0d;
    border: 1px solid rgba(255,255,255,.08);
    color: var(--text-muted);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease
}

.support-close-btn:hover {
    background: #ef444426;
    border-color: #ef444466;
    color: #ef4444;
    transform: rotate(90deg)
}

.heart-pulse-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: #8b5cf626;
    border: 1px solid rgba(139,92,246,.3);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 15px #8b5cf633;
    animation: heartPulse 1.8s infinite ease-in-out
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px #8b5cf633
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 20px #8b5cf666
    }

    to {
        transform: scale(1);
        box-shadow: 0 0 10px #8b5cf633
    }
}

.support-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: .5rem
}

.support-subtitle {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.75rem;
    padding: 0 .5rem
}

.support-tabs {
    display: flex;
    background: #ffffff0a;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 2rem;
    padding: .25rem;
    margin-bottom: 1.75rem
}

.support-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .65rem 0;
    border-radius: 1.75rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: .875rem;
    cursor: pointer;
    transition: all .25s ease
}

.support-tab:hover {
    color: var(--text)
}

.support-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px #8b5cf659
}

.tab-coffee-icon {
    transition: transform .25s ease
}

.support-tab:hover .tab-coffee-icon {
    transform: rotate(-10deg) scale(1.1)
}

.gcash-logo-wrapper {
    background: linear-gradient(135deg,#007aff,#0056b3);
    padding: .35rem 1rem;
    border-radius: .375rem;
    display: inline-block;
    box-shadow: 0 4px 10px #007aff33
}

.gcash-logo-text {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: .02em
}

.gcash-details {
    background: #ffffff08!important;
    border: 1px solid rgba(255,255,255,.06)!important;
    border-radius: .75rem
}

.details-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    text-align: left
}

.number-row {
    margin-top: .25rem
}

.gcash-number {
    font-family: Courier New,Courier,monospace;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .05em
}

.copy-btn {
    background: #8b5cf626;
    border: 1px solid rgba(139,92,246,.3);
    color: var(--primary);
    padding: .35rem .8rem;
    border-radius: 2rem;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease
}

.copy-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 10px #8b5cf64d
}

.copy-btn.copied {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    box-shadow: 0 0 10px #10b9814d
}

.qr-placeholder {
    background: #ffffff04!important;
    border: 1px dashed rgba(255,255,255,.1)!important;
    border-radius: .75rem
}

.qr-box {
    background: #ffffff0a;
    padding: .75rem;
    border-radius: .5rem;
    border: 1px solid rgba(255,255,255,.06)
}

.qr-svg {
    filter: drop-shadow(0 0 8px rgba(139,92,246,.25))
}

.kofi-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: #ff5f6426;
    border: 1px solid rgba(255,95,100,.3);
    border-radius: 50%
}

.coffee-cup-anim {
    font-size: 2.2rem;
    animation: wobbleCoffee 1.5s infinite ease-in-out
}

@keyframes wobbleCoffee {
    0% {
        transform: rotate(0)
    }

    25% {
        transform: rotate(-8deg)
    }

    75% {
        transform: rotate(8deg)
    }

    to {
        transform: rotate(0)
    }
}

.kofi-desc {
    font-size: .85rem;
    line-height: 1.6
}

.kofi-link-btn {
    background: #ff5f64;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: .75rem 2rem;
    border-radius: 2rem;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 15px #ff5f6466;
    transition: all .25s ease;
    border: 1px solid rgba(255,255,255,.1)
}

.kofi-link-btn:hover {
    background: #ff474d;
    box-shadow: 0 6px 20px #ff5f6499;
    transform: translateY(-2px)
}

.kofi-link-btn:active {
    transform: translateY(0)
}

.anime-card {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    group: true
}

.poster-wrapper {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: .75rem;
    overflow: hidden;
    background-color: var(--surface);
    box-shadow: 0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;
    transition: transform .3s cubic-bezier(.4,0,.2,1)
}

.poster-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.poster-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #0009;
    opacity: 0;
    transition: opacity .3s
}

.play-icon {
    transform: scale(.8);
    transition: transform .3s
}

.anime-card:hover .poster-wrapper {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px #0003,0 10px 10px -5px #0000001a
}

.anime-card:hover .poster-wrapper img {
    transform: scale(1.05)
}

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

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

.badges {
    position: absolute;
    top: .5rem;
    left: .5rem;
    right: .5rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none
}

.badge {
    background: #0f172acc;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: .25rem .5rem;
    border-radius: .25rem;
    font-size: .75rem;
    font-weight: 600;
    color: #fff
}

.card-info .title {
    font-size: 1rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: .25rem;
    transition: color .2s
}

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

.card-info .subtitle {
    font-size: .875rem
}

@media (max-width: 640px) {
    .anime-card {
        gap:.6rem
    }

    .card-info .title {
        font-size: .875rem;
        line-height: 1.35;
        margin-bottom: .25rem
    }

    .card-info .subtitle {
        font-size: .75rem
    }

    .badges {
        top: .5rem;
        left: .5rem;
        right: .5rem
    }

    .badge {
        font-size: .65rem;
        padding: .2rem .45rem;
        border-radius: .25rem
    }

    .play-icon {
        display: none
    }
}

.home-page {
    padding-bottom: 4rem
}

.featured-banner {
    height: 65vh;
    min-height: 520px;
    position: relative;
    margin-bottom: 2.5rem;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 15px 35px #0006
}

.featured-blur-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(.25) blur(10px);
    z-index: 1;
    transition: background-image .8s cubic-bezier(.4,0,.2,1);
    transform: scale(1.05)
}

.featured-image-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 2
}

.featured-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: .95;
    mask-image: linear-gradient(to left,#000 40%,#0000);
    -webkit-mask-image: linear-gradient(to left,rgba(0,0,0,1) 40%,rgba(0,0,0,0) 100%);
    transition: all .8s cubic-bezier(.4,0,.2,1)
}

.featured-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right,#0f172afa,#0f172ae6,#0f172a66 60%,#0f172a1a),linear-gradient(to top,#0f172a,#0f172a00 30%);
    z-index: 3
}

.featured-content {
    position: relative;
    z-index: 10;
    max-width: 720px;
    padding-left: 3.5rem;
    padding-right: 2rem;
    padding-bottom: 3.5rem!important;
    animation: contentFadeIn .6s cubic-bezier(.4,0,.2,1)
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.featured-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem
}

.badge-capsule {
    font-size: .7rem;
    font-weight: 800;
    padding: .2rem .6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: Inter,sans-serif;
    box-shadow: 0 2px 4px #0003
}

.badge-orange {
    background: #ff4d3026;
    border: 1px solid rgba(255,77,48,.5);
    color: #ff7e66
}

.badge-green {
    background: #22c55e26;
    border: 1px solid rgba(34,197,94,.5);
    color: #4ade80
}

.featured-meta-text {
    font-size: .85rem;
    color: #fff
}

.featured-meta-text.text-muted {
    color: #94a3b8
}

.featured-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: .5rem;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 12px rgba(0,0,0,.6);
    color: #fff;
    letter-spacing: -.02em
}

.featured-description {
    font-size: .95rem;
    line-height: 1.6;
    max-width: 600px;
    color: #f1f5f9cc;
    text-shadow: 0 2px 4px rgba(0,0,0,.5);
    margin-bottom: 1.75rem
}

.featured-meta-box {
    background: #00000073;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 12px 24px;
    display: inline-flex;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 1px 1px #ffffff0d,0 10px 30px #00000040;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px)
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.meta-label {
    font-size: .65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600
}

.meta-value {
    font-size: 1rem;
    color: #fff;
    font-weight: 800
}

.btn-watch-now-premium {
    background: #ff4d30;
    color: #fff;
    padding: 12px 36px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 15px #ff4d3059;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.btn-watch-now-premium:hover {
    background: #ff624a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #ff4d3080
}

.btn-watch-now-premium:active {
    transform: translateY(0)
}

.btn-bookmark-premium {
    background: #ffffff0a;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    color: #fff
}

.btn-bookmark-premium:hover {
    background: #ffffff1a;
    border-color: #ffffff40;
    transform: translateY(-2px)
}

.btn-bookmark-premium:active {
    transform: translateY(0)
}

.btn-bookmark-premium.bookmarked {
    background: #ff4d3026;
    border-color: #ff4d30
}

.featured-navigation {
    position: absolute;
    bottom: 3.5rem;
    right: 3.5rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #00000080;
    border: 1px solid rgba(255,255,255,.06);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: 0 8px 24px #0006
}

.nav-arrow {
    color: #fff9;
    transition: color .2s ease,transform .2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.nav-arrow:hover {
    color: #ff4d30;
    transform: scale(1.1)
}

.nav-pagination-text {
    font-family: Outfit,Inter,sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: #ffffff80;
    display: flex;
    align-items: center;
    gap: 4px;
    -webkit-user-select: none;
    user-select: none
}

.current-index {
    color: #fff
}

.divider {
    color: #ffffff4d
}

.total-slides {
    color: #ffffff80
}

@media (max-width: 768px) {
    .featured-banner {
        height:auto;
        min-height: auto;
        display: flex;
        flex-direction: column;
        padding: 1.5rem!important;
        gap: 1.25rem;
        align-items: flex-start
    }

    .featured-blur-bg {
        filter: brightness(.15) blur(15px)
    }

    .featured-image-container {
        position: relative;
        width: 100%;
        height: 220px;
        top: auto;
        right: auto;
        bottom: auto;
        display: block;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0 6px 20px #0006
    }

    .featured-image {
        object-position: center;
        mask-image: none;
        -webkit-mask-image: none
    }

    .featured-content {
        padding-left: 0!important;
        padding-right: 0!important;
        padding-bottom: 0!important;
        max-width: 100%
    }

    .featured-title {
        font-size: 2rem!important;
        line-height: 1.2;
        margin-bottom: .75rem
    }

    .featured-description {
        font-size: .85rem;
        line-height: 1.5;
        margin-bottom: 1.25rem
    }

    .featured-meta-box {
        display: flex;
        justify-content: space-around;
        width: 100%;
        padding: 10px 14px;
        gap: 1rem
    }

    .featured-actions {
        width: 100%
    }

    .btn-watch-now-premium {
        flex: 1;
        padding: 12px
    }

    .featured-navigation {
        position: relative!important;
        bottom: auto!important;
        right: auto!important;
        margin: 1rem auto 0!important;
        align-self: center
    }
}

.inline-flex {
    display: inline-flex
}

.pb-8 {
    padding-bottom: 2rem
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem
}

.hero-section {
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(to bottom right,#1e293bcc,#0f172acc)
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px
}

.section-header {
    margin-bottom: 2rem
}

.section-title {
    font-size: 1.75rem;
    position: relative;
    padding-left: 1rem
}

.section-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 4px;
    background-color: var(--primary);
    border-radius: 4px
}

.loading-state {
    min-height: 200px;
    font-size: 1.25rem;
    color: var(--text-muted)
}

.shelf-section {
    position: relative
}

.shelf-scroll-container {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: .5rem .25rem 1rem;
    scroll-behavior: smooth;
    scrollbar-width: thin
}

.shelf-scroll-container::-webkit-scrollbar {
    height: 6px
}

.shelf-scroll-container::-webkit-scrollbar-thumb {
    background: #ffffff1a;
    border-radius: 4px
}

.shelf-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary)
}

.shelf-card {
    flex: 0 0 160px;
    border-radius: .75rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: transform .2s,border-color .2s,box-shadow .2s;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px)
}

.shelf-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px #8b5cf626
}

.shelf-link {
    text-decoration: none;
    color: inherit;
    display: block
}

.shelf-img-wrapper {
    position: relative;
    aspect-ratio: 2 / 3;
    width: 100%;
    overflow: hidden
}

.shelf-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.shelf-card:hover .shelf-img {
    transform: scale(1.05)
}

.shelf-badge {
    position: absolute;
    bottom: .5rem;
    left: .5rem;
    background: var(--primary);
    color: #fff;
    padding: .15rem .5rem;
    border-radius: .25rem;
    font-size: .75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px #0006
}

.score-badge {
    background: var(--accent)
}

.shelf-info {
    padding: .5rem
}

.shelf-title {
    font-size: .875rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3
}

.schedule-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-top: 4rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px #0000004d
}

.schedule-header {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 2rem
}

.schedule-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text)
}

.schedule-now-time {
    font-size: .95rem;
    color: var(--text-muted);
    font-family: monospace
}

.schedule-days-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid rgba(255,255,255,.05);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    overflow-x: auto
}

.schedule-day-card {
    flex: 1;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: .75rem .5rem;
    border-radius: .75rem;
    cursor: pointer;
    transition: all .2s ease;
    border: 1px solid transparent
}

.schedule-day-card:hover {
    background: #ffffff08;
    border-color: #ffffff0d
}

.schedule-day-card.active {
    background: #8b5cf626;
    border-color: var(--primary);
    box-shadow: 0 0 15px #8b5cf626
}

.schedule-day-month {
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: .05em
}

.schedule-day-card.active .schedule-day-month {
    color: var(--text)
}

.schedule-day-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff6
}

.schedule-day-card.active .schedule-day-name {
    color: var(--text);
    text-shadow: 0 0 10px rgba(139,92,246,.5)
}

.schedule-day-card.today .schedule-day-name {
    position: relative
}

.schedule-day-card.today .schedule-day-name:after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translate(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff05;
    border: 1px solid rgba(255,255,255,.03);
    border-radius: .75rem;
    padding: 1rem 1.5rem;
    transition: all .2s ease
}

.schedule-row:hover {
    background: #ffffff0d;
    border-color: #ffffff1a;
    transform: translate(4px)
}

.schedule-row-time {
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 90px
}

.schedule-row-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    padding: 0 1.5rem;
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.schedule-row-title:hover {
    color: var(--primary)
}

.schedule-row-action {
    background: #ffffff0d;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: .5rem 1rem;
    border-radius: 1.5rem;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all .2s ease
}

.schedule-row-action:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px #8b5cf64d;
    transform: translateY(-1px)
}

.schedule-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 0;
    font-size: .95rem
}

.schedule-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem
}

.btn-schedule-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: .875rem;
    cursor: pointer;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: .25rem
}

.btn-schedule-toggle:hover {
    color: var(--primary)
}

@media (max-width: 768px) {
    .schedule-section {
        padding:1.25rem 1rem!important;
        margin-top: 2.5rem!important;
        margin-bottom: 2rem!important;
        border-radius: .75rem!important
    }

    .schedule-title {
        font-size: 1.5rem!important
    }

    .schedule-days-row {
        gap: .5rem!important;
        padding-bottom: 1rem!important;
        margin-bottom: 1.25rem!important
    }

    .schedule-day-card {
        min-width: 65px!important;
        padding: .5rem .25rem!important
    }

    .schedule-day-month {
        font-size: .65rem!important
    }

    .schedule-day-name {
        font-size: 1rem!important
    }

    .schedule-row {
        display: grid!important;
        grid-template-columns: auto 1fr!important;
        grid-template-rows: auto auto!important;
        gap: .6rem 1rem!important;
        padding: .85rem 1rem!important;
        align-items: center!important
    }

    .schedule-row-time {
        grid-column: 1!important;
        grid-row: 1!important;
        font-size: .85rem!important;
        min-width: auto!important
    }

    .schedule-row-action {
        grid-column: 2!important;
        grid-row: 1!important;
        justify-self: end!important;
        font-size: .75rem!important;
        padding: .3rem .75rem!important;
        border-radius: 1rem!important
    }

    .schedule-row-title {
        grid-column: 1 / span 2!important;
        grid-row: 2!important;
        padding: 0!important;
        font-size: .9rem!important;
        white-space: normal!important;
        display: -webkit-box!important;
        -webkit-line-clamp: 2!important;
        -webkit-box-orient: vertical!important;
        overflow: hidden!important;
        text-overflow: ellipsis!important;
        line-height: 1.35!important;
        color: var(--text)!important
    }
}

.main-content-split {
    display: flex;
    gap: 2.25rem;
    margin-top: 1.5rem;
    align-items: flex-start
}

.main-content-left {
    flex: 1;
    min-width: 0
}

.main-content-right {
    width: 350px;
    flex-shrink: 0;
    position: sticky;
    top: 5.5rem;
    z-index: 40
}

.trending-sidebar-container {
    border-radius: 1.25rem;
    background: #0f172a73!important;
    border: 1px solid rgba(255,255,255,.05)!important;
    padding: 1.5rem;
    box-shadow: 0 10px 30px #0003
}

.trending-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding-bottom: .85rem
}

.trending-title-row {
    display: flex;
    align-items: center;
    gap: .5rem
}

.trophy-emoji {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(234,179,8,.4))
}

.trending-title-text {
    font-size: 1.2rem;
    color: #f1f5f9;
    letter-spacing: -.01em
}

.trending-filter-wrapper {
    position: relative
}

.btn-trending-dropdown {
    background: var(--primary);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: .75rem;
    padding: .4rem .85rem;
    border-radius: .375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: all .2s ease;
    box-shadow: 0 4px 10px #8b5cf64d
}

.btn-trending-dropdown:hover {
    background: var(--primary-light);
    box-shadow: 0 6px 15px #8b5cf673
}

.chevron-icon {
    font-size: .65rem;
    opacity: .9
}

.trending-dropdown-options {
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    width: 110px;
    background: #0f172af2!important;
    border: 1px solid rgba(255,255,255,.08)!important;
    border-radius: .5rem;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 10px 25px #0009;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px)
}

.trending-dropdown-option {
    padding: .55rem .75rem;
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s ease;
    text-align: center
}

.trending-dropdown-option:hover {
    background: #ffffff0a;
    color: #fff
}

.trending-dropdown-option.active {
    background: #10b981!important;
    color: #fff
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.trending-item-link {
    text-decoration: none
}

.trending-card {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: #ffffff05;
    border: 1px solid rgba(255,255,255,.03);
    padding: .6rem .75rem;
    border-radius: .75rem;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden
}

.trending-card:hover {
    background: #ffffff0a;
    border-color: #8b5cf640;
    box-shadow: 0 6px 15px #0000004d;
    transform: translate(4px)
}

.trending-rank {
    font-family: Outfit,Inter,sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-muted);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.05);
    background: #ffffff03;
    flex-shrink: 0;
    transition: all .25s ease
}

.rank-1 {
    background: linear-gradient(135deg,gold,#ff9f00)!important;
    border-color: #ffd70080!important;
    color: #0f172a!important;
    box-shadow: 0 0 10px #ffd70040;
    text-shadow: 0 1px 1px rgba(255,255,255,.2)
}

.rank-2 {
    background: linear-gradient(135deg,#e2e8f0,#94a3b8)!important;
    border-color: #e2e8f080!important;
    color: #0f172a!important
}

.rank-3 {
    background: linear-gradient(135deg,#d97706,#78350f)!important;
    border-color: #d9770680!important;
    color: #fff!important
}

.trending-item-details {
    flex: 1;
    min-width: 0
}

.trending-item-title {
    font-size: .85rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: .25rem;
    line-height: 1.35;
    transition: color .2s
}

.trending-card:hover .trending-item-title {
    color: #c084fc
}

.trending-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem
}

.trending-meta-badge {
    font-size: .65rem;
    font-weight: 700;
    padding: .15rem .4rem;
    border-radius: .25rem;
    text-transform: uppercase;
    letter-spacing: .02em
}

.trending-meta-badge.cc {
    background: #ef44441a;
    color: #f87171;
    border: 1px solid rgba(239,68,68,.15)
}

.trending-meta-badge.sub {
    background: #eab3081a;
    color: #facc15;
    border: 1px solid rgba(234,179,8,.15)
}

.trending-meta-badge.type {
    background: #ffffff0a;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,.06)
}

.trending-item-img-wrapper {
    width: 45px;
    height: 60px;
    border-radius: .375rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
    box-shadow: 0 4px 10px #00000040
}

.trending-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease
}

.trending-card:hover .trending-item-img {
    transform: scale(1.1) rotate(1.5deg)
}

.loading-trending-state,.empty-trending-state {
    text-align: center;
    padding: 2.5rem 0;
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 500
}

@media (max-width: 1024px) {
    .main-content-split {
        flex-direction:column;
        gap: 1.5rem
    }

    .main-content-right {
        width: 100%;
        position: relative;
        top: 0
    }

    .trending-sidebar-container {
        padding: 1.25rem;
        background: var(--glass-bg)!important
    }
}

.episodes-container {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    background: #0f172a66;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 10px 25px #00000040
}

.episodes-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.episodes-sidebar-title {
    font-family: Outfit,Inter,sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -.02em;
    margin: 0
}

.ep-controls {
    display: flex;
    align-items: center;
    gap: .65rem
}

.ep-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #0f172a80;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .375rem;
    padding: .25rem .5rem;
    width: 75px;
    transition: all .25s ease
}

.ep-search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 10px #8b5cf633;
    width: 95px
}

.hash-symbol {
    font-size: .75rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-right: .2rem
}

.ep-search-input {
    background: transparent;
    border: none;
    color: #f1f5f9;
    font-size: .75rem;
    font-weight: 700;
    width: 100%;
    padding: 0;
    outline: none
}

.ep-search-input::placeholder {
    color: var(--text-muted);
    font-weight: 500
}

.ep-badges-container {
    display: flex;
    gap: .25rem;
    align-items: center
}

.lang-badge {
    font-size: .65rem;
    font-weight: 800;
    padding: .2rem .4rem;
    border-radius: .25rem;
    background: #ffffff0a;
    border: 1px solid rgba(255,255,255,.06);
    color: var(--text-muted);
    text-transform: uppercase
}

.lang-badge.cc-badge {
    color: #f87171;
    border-color: #ef444426;
    background: #ef44440d
}

.lang-badge.mic-badge {
    font-size: .6rem;
    padding: .15rem .35rem;
    background: #10b9810d;
    border-color: #10b98126;
    color: #34d399
}

.ep-range-selector {
    position: relative;
    width: 100%
}

.btn-range-dropdown {
    width: 100%;
    background: #0f172a4d!important;
    border: 1px solid rgba(255,255,255,.05)!important;
    color: #cbd5e1!important;
    font-size: .8rem;
    font-weight: 700;
    padding: .5rem .85rem!important;
    border-radius: .5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .2s ease
}

.btn-range-dropdown:hover {
    background: #0f172a73!important;
    border-color: #8b5cf640!important;
    color: #fff!important
}

.range-dropdown-options {
    position: absolute;
    top: calc(100% + .4rem);
    left: 0;
    right: 0;
    background: #0f172af2!important;
    border: 1px solid rgba(255,255,255,.08)!important;
    border-radius: .5rem;
    max-height: 200px;
    overflow-y: auto;
    z-index: 50;
    box-shadow: 0 10px 25px #0009;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px)
}

.range-dropdown-option {
    padding: .6rem 1rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .15s ease;
    text-align: center
}

.range-dropdown-option:hover {
    background: #ffffff0a;
    color: #fff
}

.range-dropdown-option.active {
    background: #10b981!important;
    color: #fff
}

.episodes-squares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(42px,1fr));
    gap: .55rem;
    max-height: 380px;
    overflow-y: auto;
    padding-right: .25rem
}

.custom-scrollbar::-webkit-scrollbar {
    width: 5px
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #ffffff05;
    border-radius: 4px
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ffffff1a;
    border-radius: 4px
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--primary)
}

.ep-square-btn {
    aspect-ratio: 1/1;
    width: 100%;
    background: #ffffff05!important;
    border: 1px solid rgba(255,255,255,.04)!important;
    color: #cbd5e1!important;
    font-family: Outfit,Inter,sans-serif;
    font-size: .85rem;
    font-weight: 700;
    border-radius: .375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s cubic-bezier(.4,0,.2,1)
}

.ep-square-btn:hover {
    background: #ffffff0f!important;
    border-color: #8b5cf64d!important;
    color: #fff!important;
    transform: translateY(-1px)
}

.ep-square-btn.active {
    background: #ff5f64!important;
    border-color: #ff5f64!important;
    color: #fff!important;
    box-shadow: 0 4px 12px #ff5f6466;
    font-weight: 800
}

.empty-episodes-state {
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 500
}

.ep-season-selector {
    position: relative;
    width: 100%
}

.btn-season-dropdown {
    width: 100%;
    background: #8b5cf60f!important;
    border: 1px solid rgba(139,92,246,.15)!important;
    color: #f1f5f9!important;
    font-size: .8rem;
    font-weight: 700;
    padding: .6rem .85rem!important;
    border-radius: .5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .2s ease;
    box-shadow: 0 4px 12px #8b5cf60d
}

.btn-season-dropdown:hover {
    background: #8b5cf61f!important;
    border-color: var(--primary)!important;
    color: #fff!important
}

.season-btn-text {
    display: flex;
    align-items: center;
    gap: .5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%
}

.season-dropdown-options {
    position: absolute;
    top: calc(100% + .4rem);
    left: 0;
    right: 0;
    background: #0f172afa!important;
    border: 1px solid rgba(255,255,255,.08)!important;
    border-radius: .5rem;
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 12px 30px #000000b3;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.season-dropdown-option {
    padding: .65rem .85rem;
    font-size: .78rem;
    font-weight: 700;
    color: #cbd5e1;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all .15s ease;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.02)
}

.season-dropdown-option:last-child {
    border-bottom: none
}

.season-dropdown-option:hover {
    background: #8b5cf614!important;
    color: #fff
}

.season-dropdown-option.active {
    background: #10b9810f!important;
    border-left: 3px solid #10b981;
    color: #10b981
}

.season-option-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left
}

.season-option-badge {
    font-size: .6rem;
    font-weight: 800;
    padding: .15rem .35rem;
    border-radius: .25rem;
    background: #ffffff0a;
    border: 1px solid rgba(255,255,255,.06);
    color: var(--text-muted);
    text-transform: uppercase;
    flex-shrink: 0
}

.season-dropdown-option.active .season-option-badge {
    background: #10b98126;
    border-color: #10b98140;
    color: #10b981
}

@media (min-width: 1024px) {
    .episodes-container {
        height:100%;
        box-sizing: border-box
    }

    .episodes-squares-grid {
        flex-grow: 1;
        min-height: 0;
        max-height: 360px
    }
}

.trailer-modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #0f172ad9;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1.5rem
}

.trailer-modal-content {
    width: 100%;
    max-width: 800px;
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px #000000b3
}

.trailer-modal-content .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffffff1a;
    border: none;
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: background .2s,transform .2s
}

.trailer-modal-content .close-btn:hover {
    background: var(--primary);
    transform: scale(1.1)
}

.trailer-modal-content .video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%
}

.trailer-modal-content .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none
}

.anime-details-page {
    padding-bottom: 4rem
}

.min-h-screen {
    min-height: 100vh
}

.mt-2 {
    margin-top: .5rem
}

.mt-4 {
    margin-top: 1rem
}

.mt-8 {
    margin-top: 2rem
}

.banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative
}

.banner-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top,var(--background) 0%,rgba(15,23,42,.4) 100%)
}

.content-wrapper {
    margin-top: -150px;
    position: relative;
    z-index: 10
}

.info-header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    align-items: flex-end
}

.poster {
    width: 200px;
    flex-shrink: 0;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 10px 25px #00000080
}

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

.details .title {
    font-size: 2.5rem
}

.details .alternative-title {
    font-size: 1.25rem;
    font-weight: 500
}

.badge-rating {
    background-color: var(--primary);
    color: #fff;
    padding: .25rem .5rem;
    border-radius: .25rem;
    font-size: .75rem;
    font-weight: 700
}

.description {
    line-height: 1.6;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.genre-tag {
    background: #ffffff1a;
    padding: .25rem .75rem;
    border-radius: 1rem;
    font-size: .875rem
}

.schedule-badge {
    display: inline-flex;
    align-items: center;
    background: #8b5cf626;
    border: 1px solid rgba(139,92,246,.4);
    color: #c084fc;
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-size: .875rem;
    font-weight: 600;
    box-shadow: 0 0 15px #8b5cf61a
}

.details-actions {
    display: flex;
    gap: 1rem
}

.btn-secondary {
    background: #ffffff0d;
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: .75rem 1.5rem;
    border-radius: .5rem;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.btn-secondary:hover {
    background: #ffffff1f;
    border-color: #ffffff4d;
    transform: translateY(-2px)
}

.btn-fav.favorite {
    background: #ef444426;
    border-color: #ef444466;
    color: #f87171
}

.btn-fav.favorite:hover {
    background: #ef444440;
    border-color: #ef444499
}

.back-button-details {
    background: #0f172a99;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text);
    padding: .5rem 1rem;
    border-radius: 2rem;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
    outline: none
}

.back-button-details:hover {
    background: #0f172acc;
    border-color: #ffffff40;
    transform: translateY(-2px)
}

@media (max-width: 768px) {
    .banner {
        height:240px
    }

    .content-wrapper {
        margin-top: -110px;
        padding: 0 1rem
    }

    .info-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        gap: 1.25rem!important
    }

    .poster {
        width: 150px;
        box-shadow: 0 8px 20px #00000073
    }

    .details {
        align-items: center;
        width: 100%
    }

    .details .title {
        font-size: 1.6rem;
        line-height: 1.25;
        text-align: center
    }

    .details .alternative-title {
        font-size: .95rem;
        text-align: center;
        margin-top: .35rem
    }

    .meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: .5rem .75rem!important;
        margin-top: .75rem
    }

    .schedule-badge {
        text-align: center;
        font-size: .75rem;
        padding: .4rem .75rem;
        line-height: 1.4
    }

    .description {
        font-size: .85rem;
        text-align: center;
        line-height: 1.5
    }

    .genres {
        justify-content: center;
        flex-wrap: wrap;
        gap: .4rem!important
    }

    .genre-tag {
        font-size: .7rem;
        padding: .2rem .6rem
    }

    .details-actions {
        justify-content: center;
        width: 100%;
        gap: .6rem!important
    }

    .details-actions a,.details-actions button {
        width: 100%!important;
        font-size: .875rem;
        padding: .65rem 1.25rem;
        justify-content: center
    }
}

.video-player-container {
    width: 100%
}

.player-controls {
    padding: 1rem 1.5rem
}

.text-xl {
    font-size: 1.25rem
}

.font-bold {
    font-weight: 700
}

.mb-4 {
    margin-bottom: 1rem
}

.btn-toggle {
    padding: .5rem 1rem;
    border-radius: .5rem;
    background: #ffffff0d;
    font-weight: 600;
    transition: all .2s
}

.btn-toggle:hover {
    background: #ffffff1a
}

.btn-toggle.active {
    background: var(--primary);
    color: #fff
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: .75rem
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none
}

.watch-page {
    padding-bottom: 4rem
}

.back-link {
    display: inline-flex;
    transition: color .2s
}

.back-link:hover {
    color: var(--text)
}

.watch-content {
    flex-direction: column
}

@media (min-width: 1024px) {
    .watch-content {
        flex-direction:row;
        align-items: stretch
    }
}

.player-section {
    flex-grow: 1;
    max-width: 100%
}

.sidebar-section {
    width: 100%
}

@media (min-width: 1024px) {
    .sidebar-section {
        width:350px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column
    }
}

.sidebar-episodes {
    margin-top: 0
}

.sidebar-episodes::-webkit-scrollbar {
    width: 6px
}

.sidebar-episodes::-webkit-scrollbar-track {
    background: #ffffff0d;
    border-radius: 4px
}

.sidebar-episodes::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px
}

.recommendations-section {
    border-top: 1px solid rgba(255,255,255,.05);
    padding-top: 2.5rem
}

.recommendations-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: var(--text);
    text-transform: uppercase;
    border-left: 4px solid var(--primary);
    padding-left: .75rem
}

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

@media (min-width: 640px) {
    .recommendations-grid {
        grid-template-columns:repeat(3,1fr)
    }
}

@media (min-width: 1024px) {
    .recommendations-grid {
        grid-template-columns:repeat(4,1fr)
    }
}

.recommendation-card-wrapper {
    text-decoration: none;
    display: block
}

.recommendation-card {
    border-radius: .75rem;
    overflow: hidden;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    height: 100%;
    display: flex;
    flex-direction: column
}

.recommendation-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px #8b5cf633
}

.rec-img-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    width: 100%;
    overflow: hidden
}

.rec-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.recommendation-card:hover .rec-img {
    transform: scale(1.08)
}

.rec-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #0f172a99;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease
}

.recommendation-card:hover .rec-overlay {
    opacity: 1
}

.rec-play-btn {
    background: var(--primary);
    color: #fff;
    padding: .5rem 1.25rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: .875rem;
    transform: translateY(10px);
    transition: all .3s ease
}

.recommendation-card:hover .rec-play-btn {
    transform: translateY(0)
}

.rec-title {
    padding: 1rem;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    flex-grow: 1
}

.rec-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    color: #fff;
    padding: .25rem .6rem;
    border-radius: .375rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 10px #0006;
    border: 1px solid rgba(255,255,255,.1);
    transition: all .3s ease
}

.rec-badge.badge-relation {
    background: linear-gradient(135deg,var(--primary) 0%,#a78bfa 100%);
    text-shadow: 0 1px 2px rgba(0,0,0,.2)
}

.rec-badge.badge-genre {
    background: #0f172abf;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-color: #ffffff26
}

.recommendation-card:hover .rec-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 15px #8b5cf64d
}

.relative-player-container {
    overflow: hidden;
    border-radius: .75rem
}

.autoplay-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #0f172ae0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: dropdownSlideIn .35s cubic-bezier(.4,0,.2,1) forwards
}

.autoplay-card {
    max-width: 340px;
    width: 90%;
    border: 1px solid rgba(139,92,246,.3)!important;
    box-shadow: 0 15px 35px #0009,0 0 25px #8b5cf626!important;
    text-align: center;
    border-radius: 1rem;
    padding: 2rem!important
}

.countdown-ring-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center
}

.countdown-ring {
    transform: rotate(-90deg)
}

.countdown-ring-progress {
    transition: stroke-dashoffset 1s linear
}

.countdown-number {
    position: absolute;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    animation: pulseNumber 1s ease-in-out infinite
}

@keyframes pulseNumber {
    0%,to {
        transform: scale(1);
        opacity: .9
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
        text-shadow: 0 0 12px rgba(139,92,246,.6)
    }
}

.autoplay-trigger {
    background: #8b5cf60d!important;
    border: 1px solid rgba(139,92,246,.3)!important;
    color: #c084fc!important;
    border-radius: .5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4,0,.2,1)!important
}

.autoplay-trigger:hover {
    background: #8b5cf626!important;
    border-color: var(--primary)!important;
    color: #fff!important;
    box-shadow: 0 0 12px #8b5cf640!important;
    transform: translateY(-1px)
}

.browse-page {
    padding-bottom: 4rem
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: .5rem
}

.page-subtitle {
    font-size: 1.125rem
}

.filters-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 1.5rem
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.filter-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-muted)
}

.filter-input,.filter-select {
    background: #ffffff0d;
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: .75rem 1rem;
    border-radius: .5rem;
    font-size: .875rem;
    transition: border-color .2s,background .2s;
    outline: none
}

.filter-input:focus,.filter-select:focus {
    border-color: var(--primary);
    background: #ffffff1a
}

.filter-select option {
    background-color: #0f172a;
    color: var(--text)
}

.genres-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.genre-pill {
    background: #ffffff0d;
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: .5rem 1rem;
    border-radius: 2rem;
    font-size: .875rem;
    cursor: pointer;
    transition: all .2s ease
}

.genre-pill:hover {
    background: #ffffff1a;
    transform: translateY(-1px)
}

.genre-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px #8b5cf666
}

.flex-wrap {
    flex-wrap: wrap
}

.p-6 {
    padding: 1.5rem
}

.mb-8 {
    margin-bottom: 2rem
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem
}

.btn-load-more {
    background: #8b5cf61a;
    border: 1px solid rgba(139,92,246,.3);
    color: #c084fc;
    padding: .75rem 2.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all .2s ease;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 4px 15px #8b5cf61a
}

.btn-load-more:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px #8b5cf666;
    transform: translateY(-2px)
}

.btn-load-more:disabled {
    opacity: .5;
    cursor: not-allowed
}

.watchlist-page {
    min-height: 80vh;
    padding-bottom: 6rem
}

.watchlist-header {
    margin-top: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding-bottom: 1rem
}

.watchlist-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text)
}

.watchlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    padding: 4rem 2rem
}

.watchlist-card-wrapper {
    position: relative
}

.watchlist-remove-btn {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: #ef4444d9;
    border: 1px solid rgba(239,68,68,.5);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    opacity: 0;
    transform: scale(.9);
    z-index: 10
}

.watchlist-card-wrapper:hover .watchlist-remove-btn {
    opacity: 1;
    transform: scale(1)
}

.watchlist-remove-btn:hover {
    background: #ef4444;
    box-shadow: 0 0 10px #ef444480;
    transform: scale(1.1)!important
}

@media (max-width: 768px) {
    .watchlist-remove-btn {
        opacity:1;
        transform: scale(1)
    }
}

:root {
    --background: #0f172a;
    --surface: #1e293b;
    --surface-hover: #334155;
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #f43f5e;
    --glass-bg: rgba(30, 41, 59, .7);
    --glass-border: rgba(255, 255, 255, .1)
}

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

body {
    font-family: Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit
}

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

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    line-height: 1.2
}

.text-gradient {
    background: linear-gradient(to right,var(--primary),var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.text-muted {
    color: var(--text-muted)
}

.flex {
    display: flex
}

.flex-col {
    display: flex;
    flex-direction: column
}

.items-center {
    align-items: center
}

.justify-between {
    justify-content: space-between
}

.justify-center {
    justify-content: center
}

.gap-2 {
    gap: .5rem
}

.gap-4 {
    gap: 1rem
}

.gap-6 {
    gap: 1.5rem
}

.grid {
    display: grid
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: .5rem;
    font-weight: 600;
    transition: all .2s
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px)
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    border-radius: .5rem;
    transition: all .2s;
    background: #ffffff0d
}

.btn-icon:hover {
    background: #ffffff1a
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.animate-fade-in {
    animation: fadeIn .4s ease-out forwards
}

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

@media (max-width: 640px) {
    .anime-grid {
        grid-template-columns:repeat(2,1fr);
        gap: 1rem
    }
}

@media (max-width: 768px) {
    .home-page,.browse-page,.watchlist-page,.manga-page,.manga-home {
        padding-bottom:7.5rem!important
    }
}
