#router-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
#router-loader.active {
    opacity: 1;
}
#router-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), var(--accent-primary), transparent);
    animation: routerProgress 1s ease-in-out infinite;
}
@keyframes routerProgress {
    0% { left: -30%; }
    100% { left: 100%; }
}
.main-content {
    opacity: 1;
    transform: translateY(0);
}
.comments-section {
    background: var(--bg-secondary);
    padding: 20px;
    margin-top: 20px;
    border: 1px solid var(--border-color);
}
.comments-header h3 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.comments-header h3 i {
    margin-right: 8px;
    color: var(--accent-primary);
}
.comment-form {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.comment-avatar {
    width: 45px;
    height: 45px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    color: var(--accent-primary);
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comment-input-wrapper {
    flex: 1;
}
.comment-input-wrapper textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}
.comment-input-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.comment-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.spoiler-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
}
.spoiler-checkbox input {
    accent-color: var(--accent-primary);
}
.spoiler-checkbox i {
    color: var(--warning);
}
.comment-login-prompt {
    text-align: center;
    padding: 30px;
    background: var(--bg-tertiary);
    margin-bottom: 20px;
}
.comment-login-prompt i {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}
.comment-login-prompt a {
    color: var(--accent-primary);
}
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.no-comments {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}
.no-comments i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}
.comment-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}
.comment-content {
    flex: 1;
    min-width: 0;
}
.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.comment-author {
    font-weight: 600;
    font-size: 14px;
}
.comment-date {
    color: var(--text-muted);
    font-size: 12px;
}
.spoiler-badge {
    background: rgba(234,179,8,0.15);
    color: var(--warning);
    font-size: 10px;
    padding: 3px 8px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.3px;
}
.spoiler-badge i {
    margin-right: 3px;
    font-size: 9px;
}
.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.comment-text p {
    margin: 0;
}
.comment-text.spoiler-hidden {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}
.comment-text.spoiler-hidden p {
    filter: blur(6px);
    user-select: none;
    transition: filter 0.3s ease;
    padding: 0;
    margin: 0;
}
.comment-text.spoiler-hidden .spoiler-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    z-index: 1;
    backdrop-filter: blur(2px);
}
.comment-text.spoiler-hidden .spoiler-overlay i {
    font-size: 14px;
    color: var(--warning);
}
.comment-text.spoiler-revealed p {
    filter: none;
}
.comment-text.spoiler-revealed .spoiler-overlay {
    display: none;
}
.comment-actions {
    display: flex;
    gap: 15px;
    margin-top: 12px;
}
.comment-action {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    padding: 5px;
    transition: color 0.2s ease;
}
.comment-action:hover {
    color: var(--text-primary);
}
.comment-action.like-btn:hover,
.comment-action.like-btn.active {
    color: var(--success);
}
.comment-action.dislike-btn:hover,
.comment-action.dislike-btn.active {
    color: var(--danger);
}
.comment-action.reply-btn:hover {
    color: var(--accent-primary);
}
.comment-action.show-replies-btn:hover {
    color: var(--accent-primary);
}
.reply-form-container {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.reply-form textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px;
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    min-height: 60px;
}
.reply-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.reply-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}
.btn-secondary {
    background: var(--bg-hover);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
.replies-container {
    margin-top: 15px;
    margin-left: 20px;
    padding-left: 15px;
    border-left: 2px solid var(--border-color);
}
.reply-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.reply-item:last-child {
    border-bottom: none;
}
.reply-item .comment-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
    flex-shrink: 0;
}
.reply-item .comment-content {
    flex: 1;
    min-width: 0;
}
.reply-item .comment-header {
    font-size: 12px;
}
.reply-item .comment-text {
    font-size: 13px;
}
.reply-item .comment-actions {
    margin-top: 8px;
}
.loading-replies,
.no-replies {
    padding: 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}
.loading-replies i {
    margin-right: 8px;
}
@media (max-width: 768px) {
    .comment-form {
        flex-direction: column;
    }
    .comment-avatar {
        width: 40px;
        height: 40px;
    }
    .comment-form-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .replies-container {
        margin-left: 10px;
        padding-left: 10px;
    }
    .reply-form-actions {
        flex-direction: column;
    }
    .reply-form-actions button {
        width: 100%;
    }
    .comment-actions {
        flex-wrap: wrap;
    }
}
:root {
    --bg-body: #000000;
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #161616;
    --bg-card: #111111;
    --bg-hover: #1a1a1a;
    --bg-box: #080808;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --accent-primary: #e50914;
    --accent-secondary: #ff0a16;
    --accent-gradient: linear-gradient(135deg, #e50914 0%, #b20710 100%);
    --success: #46d369;
    --warning: #f5c518;
    --danger: #e50914;
    --info: #0080ff;
    --border-color: rgba(255, 255, 255, 0.06);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.6);
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --radius-full: 2px;
    --transition: all 0.2s ease;
    --box-width: 1200px;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: #e50914;
    border: 2px solid #000000;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff1a1a;
}
::-webkit-scrollbar-corner {
    background: #000000;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #e50914 #000000;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg-body);
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
button {
    font-family: inherit;
    cursor: pointer;
}
.site-wrapper {
    max-width: var(--box-width);
    margin: 0 auto;
    background: var(--bg-box);
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
        padding: 0 50px;
    }
}
.announcement-bar {
    background: var(--accent-primary);
    padding: 10px 0;
}
.announcement-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.announcement-bar .ann-text {
    font-size: 14px;
    font-weight: 600;
}
.announcement-bar .ann-link {
    background: white;
    color: var(--bg-primary);
    padding: 6px 16px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}
.announcement-bar .ann-link:hover {
    background: #ddd;
}
.main-header {
    background: var(--bg-secondary);
    z-index: 100;
    position: relative;
}
.main-header .header-inner {
    border-bottom: 1px solid var(--border-color);
}
.header-inner {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 25px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.logo-img {
    height: 40px;
    max-width: 200px;
    object-fit: contain;
}
.hero-logo-img {
    height: 60px;
    max-width: 300px;
}
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 26px;
    height: 26px;
    background: var(--accent-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.main-nav {
    flex: 1;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 3px;
    list-style: none;
}
.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 0;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
    color: var(--text-secondary);
}
.nav-menu > li > a:hover {
    background: var(--bg-hover);
    color: white;
}
.nav-menu > li > a i {
    font-size: 12px;
}
.nav-menu > li > a .fa-chevron-down {
    font-size: 8px;
    margin-left: 2px;
}
.dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 4px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    list-style: none;
    z-index: 50;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
}
.dropdown-menu li a {
    display: block;
    padding: 6px 10px;
    border-radius: 0;
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.dropdown-menu li a:hover {
    background: var(--bg-hover);
    color: white;
}
.dropdown-mega {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-width: 300px;
    gap: 0;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-wrapper {
    position: relative;
    display: block;
}
.search-form {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.search-input {
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: var(--text-primary);
    width: 200px;
    font-size: 13px;
    outline: none;
}
.search-input::placeholder {
    color: var(--text-muted);
}
.search-btn {
    background: var(--bg-hover);
    border: none;
    padding: 8px 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-top: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-lg);
}
.search-dropdown.active {
    display: block;
}
.search-results {
    padding: 0;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}
.search-result-item:hover {
    background: var(--bg-hover);
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-poster {
    width: 40px;
    height: 60px;
    background: var(--bg-tertiary);
    flex-shrink: 0;
    overflow: hidden;
}
.search-result-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.search-result-poster .no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
}
.search-result-info {
    flex: 1;
    min-width: 0;
}
.search-result-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.search-result-type {
    padding: 2px 6px;
    background: var(--accent-primary);
    color: white;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}
.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}
.search-loading {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}
.search-loading i {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.search-all-results {
    display: block;
    padding: 12px;
    text-align: center;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 500;
    border-top: 1px solid var(--border-color);
}
.search-all-results:hover {
    background: var(--bg-hover);
}
.search-btn:hover {
    background: var(--accent-primary);
    color: white;
}
.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.user-dropdown {
    position: relative;
    z-index: 1000;
}
.user-avatar {
    width: 34px;
    height: 34px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
}
.user-avatar:hover {
    background: var(--bg-hover);
}
.user-avatar.guest {
    color: var(--text-muted);
    font-size: 13px;
}
.user-avatar.guest:hover {
    color: var(--accent-primary);
}
.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    z-index: 9999;
}
.user-dropdown:hover .user-dropdown-menu,
.user-dropdown.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.user-dropdown-menu a:hover {
    background: var(--bg-hover);
    color: white;
}
.user-dropdown-menu a.logout,
.user-dropdown-menu button.logout {
    color: var(--accent-primary);
}
.user-dropdown-menu form {
    display: contents;
}
.user-dropdown-menu button.logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}
.user-dropdown-menu button.logout:hover {
    background: var(--bg-hover);
    color: white;
}
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    padding: 6px;
}
.mobile-menu {
    display: none;
}
.main-content {
    min-height: calc(100vh - 200px);
    padding: 25px 0;
    background: var(--bg-primary);
}
.hero-search {
    text-align: center;
    padding: 25px 0;
    margin-bottom: 10px;
}
.hero-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.hero-logo .logo {
    display: inline-flex;
    width: auto;
}
.hero-logo .logo-text {
    font-size: 42px;
    letter-spacing: -1px;
}
.hero-logo .logo-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
    border-radius: 6px;
}
.hero-search-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}
.hero-search-form {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.hero-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    outline: none;
}
.hero-search-form input::placeholder {
    color: var(--text-muted);
}
.hero-search-form button {
    background: var(--bg-hover);
    border: none;
    padding: 12px 18px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.hero-search-form button:hover {
    background: var(--accent-primary);
    color: white;
}
.hero-dropdown {
    text-align: left;
}
.hero-dropdown .search-result-poster {
    width: 50px;
    height: 75px;
}
.content-section {
    margin-bottom: 35px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-title {
    font-size: 16px;
    font-weight: 600;
}
.see-all {
    color: var(--accent-primary);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.see-all:hover {
    color: var(--accent-secondary);
}
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.content-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.content-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}
.card-link {
    display: block;
    position: relative;
}
.card-poster {
    position: relative;
    aspect-ratio: 2/3;
    background: var(--bg-tertiary);
    overflow: hidden;
    border-radius: 2px;
}
.card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.poster-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 35px;
    color: var(--text-muted);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}
.card-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    z-index: 2;
}
.card-badge {
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.card-badge.type {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-badge.new {
    background: #000;
    color: #fff;
}
.card-badge.quality {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}
.card-play {
    display: none;
}
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    z-index: 2;
}
.card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    color: white;
}
.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.card-rating {
    color: var(--warning);
    font-weight: 600;
}
.card-rating i {
    margin-right: 2px;
}
.card-year {
    color: var(--text-muted);
}
.card-episodes {
    background: rgba(255,255,255,0.15);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 10px;
}
.episodes-section {
    background: var(--bg-secondary);
    border-radius: 0;
    padding: 15px;
    border: 1px solid var(--border-color);
}
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}
.episode-card {
    background: var(--bg-tertiary);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.episode-card:hover {
    background: var(--bg-hover);
}
.episode-link {
    display: block;
    padding: 10px;
}
.episode-poster {
    width: 45px;
    height: 45px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
    margin-bottom: 8px;
}
.episode-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.episode-poster .poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.episode-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    font-size: 12px;
    opacity: 0;
    transition: var(--transition);
}
.episode-card:hover .episode-play {
    opacity: 1;
}
.episode-info {
    min-width: 0;
}
.episode-series {
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}
.episode-number {
    color: var(--text-muted);
    font-size: 10px;
    display: block;
    margin-bottom: 2px;
}
.episode-time {
    color: var(--accent-primary);
    font-size: 9px;
    font-weight: 500;
}
.latest-episodes-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.see-all-btn {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.see-all-btn:hover {
    background: var(--bg-hover);
}
.episodes-box {
    background: #111;
    border-radius: 10px;
    position: relative;
    padding: 15px;
    padding-top: 50px;
}
.episodes-tab {
    position: absolute;
    top: 0;
    left: 0;
    background: #0d0d0d;
    color: #fff;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px 0 10px 0;
}
.episodes-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.episode-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 8px;
    text-decoration: none;
}
.episodes-page-box {
    padding-top: 15px;
}
.episode-thumb {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #0d0d0d;
}
.episode-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}
.episode-thumb .thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 20px;
}
.episode-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.episode-meta .ep-title {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.episode-meta .ep-info {
    font-size: 13px;
    color: #999;
}
.episode-meta .ep-time {
    font-size: 12px;
    color: #666;
}
@media (max-width: 1200px) {
    .episodes-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .episodes-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .episodes-list-grid {
        grid-template-columns: 1fr;
    }
    .episode-thumb {
        width: 80px;
        height: 60px;
    }
    .episode-meta .ep-title {
        font-size: 14px;
    }
}
.page-header {
    margin-bottom: 25px;
}
.page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}
.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}
.filters-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-group {
    position: relative;
}
.filter-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 35px 10px 12px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.filter-select:hover,
.filter-select:focus {
    background: var(--bg-hover);
}
.filter-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 10px;
}
.filter-clear {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: var(--danger);
    color: white;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}
.filter-clear:hover {
    background: #ff1a1a;
}
.results-count {
    color: var(--text-muted);
    font-size: 13px;
    white-space: nowrap;
}
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}
.empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.page-dots {
    padding: 8px 4px;
    color: var(--text-muted);
}
.infinite-loader {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 30px;
    color: var(--text-muted);
    font-size: 14px;
}
.infinite-loader.active {
    display: flex;
}
.loader-spinner {
    font-size: 20px;
    color: var(--accent-primary);
}
.load-more-end {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}
.lazyload,
.lazyloading {
    opacity: 0;
    transition: opacity 0.3s;
}
.lazyloaded {
    opacity: 1;
}
.card-poster .lazyload,
.card-poster .lazyloading,
.episode-poster .lazyload,
.episode-poster .lazyloading {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-hover) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.content-card .lazyload,
.content-card .lazyloading {
    min-height: 280px;
}
.trending-section {
    margin-bottom: 30px;
    position: relative;
}
.trending-wrapper {
    position: relative;
}
.trending-slider {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.trending-slider::-webkit-scrollbar {
    display: none;
}
.trending-loading, .trending-empty {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}
.trending-loading i {
    margin-right: 8px;
    color: var(--accent-primary);
}
.trending-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s;
}
.trending-nav:hover {
    background: var(--accent-primary);
}
.trending-nav.prev {
    left: 0;
}
.trending-nav.next {
    right: 0;
}
.trending-item {
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    scroll-snap-align: start;
    position: relative;
    width: 180px;
    margin-right: -30px;
}
.trending-rank {
    position: relative;
    width: 80px;
    height: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
}
.rank-number {
    font-family: 'Inter', sans-serif;
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    color: #333;
    opacity: 0.4;
    -webkit-text-stroke: 3px #555;
    margin-right: -25px;
    position: relative;
    z-index: 1;
}
.rank-number.stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 70px;
    line-height: 0.85;
    margin-right: -15px;
}
.trending-poster {
    width: 110px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
}
.trending-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trending-info {
    display: none;
}
.trending-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.trending-title {
    font-size: 12px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.trending-top10 {
    margin-bottom: 40px;
}
.top10-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.top10-title::before {
    content: "TOP";
    background: var(--accent-primary);
    color: white;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 800;
}
.top10-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.top10-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}
.top10-item:hover {
    background: var(--bg-hover);
}
.top10-rank {
    width: 50px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.top10-rank span {
    font-size: 48px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px var(--accent-primary);
    text-shadow: 
        3px 3px 0 var(--bg-primary),
        -1px -1px 0 var(--bg-primary),
        1px -1px 0 var(--bg-primary),
        -1px 1px 0 var(--bg-primary);
}
.top10-poster {
    width: 70px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--border-color);
}
.top10-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top10-info {
    flex: 1;
    min-width: 0;
}
.top10-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.top10-badge.movie {
    background: var(--accent-primary);
    color: white;
}
.top10-badge.series {
    background: #3498db;
    color: white;
}
.top10-title-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top10-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
}
.top10-rating {
    color: #f1c40f;
}
.top10-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}
.top10-stats i {
    margin-right: 4px;
}
.top10-stats span:first-child i {
    color: var(--accent-primary);
}
.top10-stats span:last-child i {
    color: #e74c3c;
}
.trends-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 992px) {
    .trends-split {
        grid-template-columns: 1fr;
    }
}
.trends-split .trending-top10 {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 0;
}
.trends-split .top10-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.trends-split .top10-title::before {
    display: none;
}
.trends-split .top10-title i {
    color: #ff6b35;
}
.trends-split .top10-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.trends-split .top10-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    background: transparent;
    border: none;
}
.trends-split .top10-item:hover {
    background: var(--bg-hover);
}
.trends-split .top10-rank {
    width: 50px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
}
.trends-split .top10-rank span {
    font-size: 48px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px var(--accent-primary);
    text-shadow:
        3px 3px 0 var(--bg-primary),
        -1px -1px 0 var(--bg-primary),
        1px -1px 0 var(--bg-primary),
        -1px 1px 0 var(--bg-primary);
}
.trends-split .top10-rank span.stacked {
    display: flex;
    flex-direction: row;
    font-size: 48px;
}
.trends-split .top10-rank span.stacked span {
    font-size: 48px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 3px var(--accent-primary);
    text-shadow:
        3px 3px 0 var(--bg-primary),
        -1px -1px 0 var(--bg-primary),
        1px -1px 0 var(--bg-primary),
        -1px 1px 0 var(--bg-primary);
}
.trends-split .top10-poster {
    width: 45px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-tertiary);
    border: none;
}
.trends-split .top10-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trends-split .top10-poster .poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.trends-split .top10-info {
    flex: 1;
    min-width: 0;
}
.trends-split .top10-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.trends-split .top10-badge.series {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}
.trends-split .top10-badge.movie {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}
.trends-split .top10-title-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trends-split .top10-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.trends-split .top10-rating {
    color: #f5c518;
}
.trends-split .top10-rating i {
    font-size: 10px;
}
.empty-state-small {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}
.top10-views i {
    color: var(--accent-primary);
}
.card-badge.fire {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    animation: firePulse 1.5s infinite;
}
@keyframes firePulse {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 107, 53, 0.5); }
    50% { box-shadow: 0 0 15px rgba(255, 107, 53, 0.8); }
}
@media (max-width: 768px) {
    .trending-section {
        overflow: hidden;
    }
    .trending-section .section-header {
        margin-bottom: 0;
    }
    .trending-wrapper {
        overflow: hidden;
    }
    .trending-slider {
        padding: 5px 0;
    }
    .trending-item {
        width: 150px;
    }
    .trending-rank {
        width: 60px;
        height: 140px;
    }
    .rank-number {
        font-size: 100px;
        -webkit-text-stroke: 3px var(--accent-primary);
    }
    .trending-poster {
        width: 90px;
        height: 130px;
    }
    .top10-rank span {
        font-size: 36px;
    }
    .top10-poster {
        width: 60px;
        height: 85px;
    }
    .top10-title-text {
        font-size: 14px;
    }
    .top10-meta {
        font-size: 12px;
        gap: 10px;
    }
}
@media (max-width: 480px) {
    .trending-section {
        overflow: hidden;
        margin-bottom: 15px;
    }
    .trending-section .section-header {
        margin-bottom: 0;
    }
    .trending-wrapper {
        overflow: hidden;
        margin-top: 0;
        padding-top: 0;
    }
    .trending-slider {
        padding: 0;
        margin-top: 0;
    }
    .trending-item {
        width: 120px;
        margin-right: -25px;
    }
    .trending-rank {
        width: 45px;
        height: 120px;
    }
    .rank-number {
        font-size: 70px;
    }
    .trending-poster {
        width: 75px;
        height: 110px;
    }
    .trending-nav {
        display: none;
    }
    .top10-item {
        padding: 10px;
        gap: 10px;
    }
    .top10-rank {
        width: 40px;
    }
    .top10-rank span {
        font-size: 28px;
        -webkit-text-stroke: 2px var(--accent-primary);
    }
}
.ad-container {
    width: 100%;
    margin: 15px auto;
    text-align: center;
}
.ad-container a {
    display: inline-block;
}
.ad-image {
    max-width: 100%;
    height: auto;
}
.ad-desktop {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.ad-mobile {
    display: none !important;
}
.ad-header {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ad-header .ad-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ad-header .ad-mobile {
    display: none;
    justify-content: center;
    align-items: center;
}
.ad-grid {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.ad-grid .ad-item {
    flex: 0 1 auto;
    max-width: 440px;
}
.ad-grid .ad-item img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 6px;
}
.ad-grid .ad-item:only-child {
    max-width: 728px;
}
.ad-grid .ad-item:only-child img {
    max-height: 90px;
}
.ad-grid-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.ad-grid-mobile .ad-item {
    max-width: 320px;
}
.ad-grid-mobile .ad-item img {
    max-width: 100%;
    max-height: 100px;
    height: auto;
    border-radius: 4px;
}
.footer-ad-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}
.footer-ad-item {
    flex-shrink: 0;
}
.footer-ad-item img {
    max-height: 90px;
    width: auto;
    border-radius: 4px;
}
.pageskin-desktop-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
    cursor: pointer;
    background: var(--bg-body); 
}
.pageskin-desktop-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}
body.has-pageskin-desktop {
    background: transparent !important;
}
body.has-pageskin-desktop .site-wrapper {
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
}
.pageskin-click-left,
.pageskin-click-right {
    position: fixed;
    top: 0;
    width: calc((100% - 1200px) / 2);
    height: 100%;
    z-index: 9998;
    cursor: pointer;
}
.pageskin-click-left {
    left: 0;
}
.pageskin-click-right {
    right: 0;
}
@media (max-width: 1200px) {
    .pageskin-click-left,
    .pageskin-click-right {
        display: none;
    }
    .pageskin-desktop-wrapper {
        display: none;
    }
}
.pageskin-mobile-wrapper {
    display: none;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
}
.pageskin-mobile-wrapper img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .ad-desktop,
    .ad-header .ad-desktop,
    .ad-video_top .ad-desktop,
    .ad-video_bottom .ad-desktop,
    .ad-search .ad-desktop,
    .ad-container .ad-desktop {
        display: none !important;
    }
    .ad-mobile,
    .ad-header .ad-mobile,
    .ad-video_top .ad-mobile,
    .ad-video_bottom .ad-mobile,
    .ad-search .ad-mobile,
    .ad-container .ad-mobile {
        display: flex !important;
        justify-content: center;
        width: 100%;
    }
    .ad-container {
        margin: 10px auto;
    }
    .footer-ad-item img {
        max-height: 60px;
    }
    .pageskin-desktop-wrapper,
    .pageskin-click-left,
    .pageskin-click-right {
        display: none !important;
    }
    .pageskin-mobile-wrapper {
        display: block;
    }
}
.ad-header {
    margin: 0;
    padding: 10px 0;
    background: transparent;
}
.ad-banner-container {
    text-align: center;
    padding: 10px 0;
    background: transparent;
}
.ad-banner-container .ad-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ad-banner-container .ad-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ad-banner-container .ad-banner-img {
    width: 1000px;
    height: 90px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .ad-banner-container .ad-desktop {
        display: none !important;
    }
    .ad-banner-container .ad-mobile {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
    .ad-banner-container .ad-banner-img {
        width: 100%;
        height: 50px;
        object-fit: cover;
    }
}
.ad-search {
    margin: 20px auto;
    max-width: 728px;
}
.ad-video_top,
.ad-video_bottom {
    margin: 15px 0;
}
.ad-video_top .ad-desktop,
.ad-video_bottom .ad-desktop {
    display: flex !important;
}
.ad-video_top .ad-mobile,
.ad-video_bottom .ad-mobile {
    display: none !important;
}
.footer-sticky-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    text-align: center;
    padding: 8px 0;
}
.footer-sticky-ad .footer-ad-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.footer-sticky-ad .ad-item {
    flex-shrink: 0;
}
.footer-sticky-ad img {
    max-height: 90px;
    width: auto;
    border-radius: 4px;
}
body.has-footer-ad {
    padding-bottom: 110px;
}
@media (max-width: 768px) {
    body.has-footer-ad {
        padding-bottom: 160px;
    }
    .footer-sticky-ad {
        bottom: 75px; 
        padding: 5px 0;
    }
    .footer-sticky-ad img {
        max-height: 60px;
    }
    .footer-sticky-ad .footer-ad-content {
        gap: 8px;
    }
}
.video-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
}
.embed-text-banner {
    display: block;
    background: #e50914;
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    letter-spacing: 0.2px;
}
a.embed-text-banner:hover {
    background: #e50914;
    color: #fff;
    text-decoration: none;
}
@media (max-width: 768px) {
    .embed-text-banner {
        font-size: 12px;
        padding: 6px 10px;
    }
}
.player-cover-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}
.player-cover-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.player-cover-overlay .play-btn {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(229, 9, 20, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}
.player-cover-overlay .play-btn:hover {
    transform: scale(1.1);
    background: #e50914;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.6);
}
.player-cover-overlay .play-btn i {
    font-size: 30px;
    color: white;
    margin-left: 5px;
}
@media (max-width: 768px) {
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filters-form {
        flex-direction: column;
        width: 100%;
    }
    .filter-group {
        width: 100%;
    }
    .filter-select {
        width: 100%;
    }
    .filter-clear {
        width: 100%;
        justify-content: center;
    }
    .results-count {
        text-align: center;
    }
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 25px;
}
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    background: var(--bg-tertiary);
    border-radius: 0;
    font-weight: 500;
    font-size: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.page-link:hover,
.page-link.active {
    background: var(--accent-primary);
}
.detail-hero {
    position: relative;
    background: var(--bg-secondary);
    background-size: cover;
    background-position: center top;
    margin-top: -25px;
    padding: 0;
    min-height: 350px;
}
.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-primary) 0%, rgba(13, 13, 13, 0.85) 50%, rgba(13, 13, 13, 0.7) 100%);
}
.detail-hero-content {
    position: relative;
    padding: 50px 25px 35px;
}
.detail-info {
    max-width: 650px;
}
.detail-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
}
.meta-item.rating {
    color: var(--warning);
    font-weight: 600;
}
.detail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}
.category-tag {
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border-radius: 0;
    font-size: 11px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.category-tag:hover {
    background: var(--accent-primary);
}
.detail-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 550px;
}
.detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 0;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--accent-primary);
    color: white;
}
.btn-primary:hover {
    background: var(--accent-secondary);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--bg-hover);
    color: var(--accent-primary);
}
.btn-lg {
    padding: 12px 22px;
    font-size: 13px;
}
.btn-block {
    width: 100%;
}
.detail-episodes {
    padding: 25px 0;
}
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}
.tab-btn {
    padding: 10px 18px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.tab-btn:hover,
.tab-btn.active {
    color: white;
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
}
.seasons-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.season-tab {
    padding: 7px 14px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.season-tab:hover {
    background: var(--bg-hover);
    color: white;
}
.season-tab.active {
    background: var(--accent-primary);
    color: white;
}
.season-episodes {
    display: none;
}
.season-episodes.active {
    display: block;
}
.episodes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}
.episode-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.episode-item:hover {
    background: var(--bg-hover);
}
.episode-item .ep-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    color: var(--accent-primary);
}
.episode-item .ep-info {
    flex: 1;
}
.episode-item .ep-title {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 2px;
}
.episode-item .ep-date {
    color: var(--text-muted);
    font-size: 10px;
}
.episode-item .ep-play {
    font-size: 16px;
    color: var(--accent-primary);
}
.watch-page {
    padding: 20px 0;
}
.watch-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 18px;
}
.watch-hero-overlay {
    background: linear-gradient(to top, var(--bg-primary) 0%, rgba(13,13,13,0.75) 100%);
    padding: 35px 25px 25px;
}
.watch-hero-content h1 {
    font-size: 22px;
    margin-bottom: 5px;
}
.watch-hero-content .episode-info {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 12px;
}
.watch-hero-content .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}
.video-wrapper {
    margin-bottom: 18px;
}
.video-player {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.video-controls .btn {
    padding: 7px 14px;
    font-size: 12px;
}
.watch-info {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 18px;
}
.watch-section-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent-primary);
}
.season-episodes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ep-box {
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: 11px;
    transition: var(--transition);
    text-align: center;
    min-width: 70px;
}
.ep-box:hover,
.ep-box.current {
    background: var(--accent-primary);
}
.ep-box .num {
    font-weight: 700;
    font-size: 14px;
    display: block;
}
.ep-box .label {
    color: var(--text-muted);
    font-size: 9px;
}
.ep-box.current .label,
.ep-box:hover .label {
    color: white;
}
.related-section {
    margin-top: 35px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.auth-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
.auth-box {
    width: 100%;
    max-width: 380px;
    background: var(--bg-secondary);
    border-radius: 0;
    padding: 30px;
    border: 1px solid var(--border-color);
}
.auth-header {
    text-align: center;
    margin-bottom: 25px;
}
.auth-header .logo {
    justify-content: center;
    margin-bottom: 18px;
}
.auth-header h1 {
    font-size: 22px;
    margin-bottom: 6px;
}
.auth-header p {
    color: var(--text-muted);
    font-size: 13px;
}
.auth-form .form-group {
    margin-bottom: 18px;
}
.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 13px;
}
.form-control {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--accent-primary);
}
.auth-footer {
    text-align: center;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}
.auth-footer a {
    color: var(--accent-primary);
    font-weight: 500;
}
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 45px;
    margin-bottom: 18px;
}
.empty-state h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: white;
}
.site-description {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 0;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}
.site-description h1 {
    color: var(--accent-primary);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}
.site-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 13px;
}
.alert {
    padding: 10px 14px;
    border-radius: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.alert-success {
    background: rgba(70, 211, 105, 0.1);
    color: var(--success);
    border: 1px solid rgba(70, 211, 105, 0.2);
}
.alert-error {
    background: rgba(229, 9, 20, 0.1);
    color: var(--danger);
    border: 1px solid rgba(229, 9, 20, 0.2);
}
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 30px 0 18px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 25px;
}
.footer-logo .logo-text {
    font-size: 22px;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 12px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
}
.search-page-form {
    margin-bottom: 25px;
}
.search-page-form form {
    display: flex;
    gap: 8px;
    max-width: 550px;
}
.search-input-large {
    flex: 1;
    padding: 12px 18px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: white;
    font-size: 14px;
    outline: none;
}
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 25px;
}
.contact-info h2 {
    margin-bottom: 12px;
    font-size: 18px;
}
.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 13px;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-method {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.contact-method i {
    font-size: 18px;
    color: var(--accent-primary);
    width: 25px;
}
.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--radius-lg);
}
.error-page {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.error-code {
    font-size: 100px;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}
.error-title {
    font-size: 24px;
    margin-bottom: 12px;
}
.error-message {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 13px;
}
@media (max-width: 1024px) {
    .contact-page {
        grid-template-columns: 1fr;
    }
    .site-wrapper {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .mobile-menu {
        display: block;
        position: absolute;
        top: 55px;
        right: 0;
        width: 280px;
        max-height: calc(100vh - 55px);
        background: var(--bg-secondary);
        padding: 18px;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 99;
        overflow-y: auto;
        border-left: 1px solid var(--border-color);
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }
    .mobile-menu.active {
        transform: translateX(0);
    }
    .mobile-nav {
        list-style: none;
    }
    .mobile-nav > li > a,
    .mobile-nav > li > form button {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        font-weight: 500;
        font-size: 14px;
    }
    .mobile-nav > li > form {
        display: contents;
    }
    .mobile-nav > li > form button {
        background: none;
        border: none;
        cursor: pointer;
        font: inherit;
        color: inherit;
        width: 100%;
        text-align: left;
    }
    .mobile-dropdown-menu {
        list-style: none;
        padding-left: 25px;
        display: none;
    }
    .mobile-dropdown.active .mobile-dropdown-menu {
        display: block;
    }
    .search-form {
        display: none;
    }
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .card-info {
        padding: 30px 8px 8px;
    }
    .card-title {
        font-size: 11px;
    }
    .card-meta {
        font-size: 9px;
        gap: 4px;
    }
    .episodes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .detail-title {
        font-size: 22px;
    }
    .hero-search {
        padding: 15px 0;
    }
    .hero-logo .logo-text {
        font-size: 32px;
    }
    .hero-logo .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .episodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-badge {
        font-size: 8px;
        padding: 2px 5px;
    }
    .detail-title {
        font-size: 18px;
    }
    .auth-box {
        padding: 22px;
    }
    .container {
        padding: 0 15px;
    }
}
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, 1fr);
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    gap: 4px;
}
.bottom-nav-item i {
    font-size: 20px;
}
.bottom-nav-item span {
    font-size: 10px;
    font-weight: 500;
}
.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--accent-primary);
}
.bottom-nav-item.search-nav-item {
    position: relative;
}
.bottom-nav-item.search-nav-item i {
    background: var(--accent-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-top: -20px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}
.mobile-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 2000;
    flex-direction: column;
}
.mobile-search-overlay.active {
    display: flex;
}
.mobile-search-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.mobile-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}
.mobile-search-header h3 {
    font-size: 18px;
    font-weight: 600;
}
.close-search {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    padding: 8px;
    cursor: pointer;
}
.mobile-search-input-wrapper {
    position: relative;
    padding: 15px 20px;
}
.mobile-search-input-wrapper input {
    width: 100%;
    padding: 14px 20px;
    padding-left: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
}
.mobile-search-input-wrapper input:focus {
    border-color: var(--accent-primary);
}
.mobile-search-input-wrapper i {
    position: absolute;
    left: 38px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}
.mobile-search-results {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}
.mobile-search-results .search-result-item {
    padding: 12px;
    margin-bottom: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}
.mobile-search-results .search-result-poster {
    width: 50px;
    height: 75px;
}
.mobile-search-results .search-result-title {
    font-size: 14px;
}
.mobile-search-results .search-no-results,
.mobile-search-results .search-loading {
    padding: 40px 20px;
}
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: grid;
    }
    .main-footer {
        padding-bottom: 80px;
    }
    .main-content {
        padding-bottom: 70px;
    }
    .header-inner {
        justify-content: space-between;
    }
    .main-nav {
        display: none;
    }
    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .search-wrapper {
        display: none;
    }
    .user-menu {
        display: none;
    }
    .mobile-toggle {
        display: flex;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        color: var(--text-primary);
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-action i {
    font-size: 16px;
}
.btn-action:hover {
    background: var(--bg-hover);
}
.btn-action.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}
.btn-watchlist i {
    transition: transform 0.3s;
}
.btn-watchlist.active i {
    transform: rotate(45deg);
}
.btn-like i {
    color: var(--text-muted);
    transition: all 0.3s;
}
.btn-like:hover i,
.btn-like.active i {
    color: #e74c3c;
}
.btn-like.active {
    background: rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
}
.btn-like .like-count {
    font-size: 12px;
    color: var(--text-muted);
}
.btn-like.active .like-count {
    color: #e74c3c;
}
.series-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.btn-watch-first,
.btn-watch-last {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
}
.btn-watch-first {
    background: #fff;
    color: #000;
}
.btn-watch-last {
    background: var(--accent-primary);
    color: white;
}
.btn-watch-first i,
.btn-watch-last i {
    font-size: 16px;
}
.film-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.user-dropdown-menu {
    min-width: 200px;
}
.user-dropdown-menu a,
.user-dropdown-menu button.logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
}
.user-dropdown-menu a i,
.user-dropdown-menu button.logout i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}
.user-dropdown-menu a:hover i,
.user-dropdown-menu button.logout:hover i {
    color: var(--accent-primary);
}
.user-dropdown-menu hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 5px 0;
}
.dropdown-user-info {
    display: block;
    padding: 12px 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-primary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .btn-action {
        padding: 8px 15px;
        font-size: 12px;
    }
    .btn-action span {
        display: none;
    }
    .btn-action i {
        font-size: 18px;
    }
    .series-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .btn-watch-first,
    .btn-watch-last {
        justify-content: center;
        padding: 10px 15px;
        font-size: 13px;
    }
    .series-hero-actions .btn-action {
        grid-column: span 1;
    }
}
.toast-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-notification i {
    font-size: 18px;
}
.toast-success {
    border-color: #46d369;
}
.toast-success i {
    color: #46d369;
}
.toast-error {
    border-color: var(--danger);
}
.toast-error i {
    color: var(--danger);
}
.toast-info {
    border-color: #0080ff;
}
.toast-info i {
    color: #0080ff;
}
@media (max-width: 768px) {
    .toast-notification {
        bottom: 120px;
        left: 20px;
        right: 20px;
        transform: translateX(0) translateY(100px);
    }
    .toast-notification.show {
        transform: translateX(0) translateY(0);
    }
}
.watch-title-top {
    padding: 16px 0 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}
.watch-title-top h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px 0;
}
.watch-title-top .episode-name {
    color: var(--text-muted);
    font-size: 14px;
    display: block;
}
.watch-title-top .film-year {
    color: var(--text-muted);
    font-size: 14px;
}
.watch-title-top .original-title {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
}
.film-page .watch-title-top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.episode-navigation {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
}
.ep-nav-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
    flex: 1;
    min-width: 0;
}
.ep-nav-card:hover {
    background: var(--bg-secondary);
}
.ep-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.ep-nav-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ep-nav-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    transition: color 0.25s ease;
}
.ep-nav-detail {
    font-size: 13px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ep-nav-prev .ep-nav-info {
    text-align: left;
}
.ep-nav-next {
    justify-content: flex-end;
}
.ep-nav-next .ep-nav-info {
    text-align: right;
}
.ep-nav-all {
    flex: 0 0 auto;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
}
.ep-nav-all:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: white;
}
.ep-nav-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
/* Keep old nav-btn for report button */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
    text-decoration: none;
}
.nav-btn:hover {
    background: var(--accent-primary);
    color: white;
}
.nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.nav-btn.all {
    background: var(--accent-primary);
    color: white;
}
.episode-panel {
    background: var(--bg-secondary);
    padding: 16px;
    margin-bottom: 20px;
}
.season-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}
.season-tab-btn {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.season-tab-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}
.season-content {
    display: none;
}
.season-content.active {
    display: block;
}
.episode-grid-small {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-tertiary);
}
.episode-grid-small::-webkit-scrollbar {
    height: 6px;
}
.episode-grid-small::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}
.episode-grid-small::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}
.episode-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 12px;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}
.episode-item:hover,
.episode-item.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}
.episode-item .ep-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    font-size: 11px;
    font-weight: 600;
}
.episode-item .ep-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-player-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    max-height: 80vh;
    margin: 0 auto;
}
.player-cover-overlay,
.video-player-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.preroll-ad {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
    display: none;
}
.player-cover-overlay {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.player-cover-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.player-cover-overlay .play-btn {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}
.player-cover-overlay .play-btn:hover {
    transform: scale(1.1);
    background: var(--accent-secondary);
}
.player-cover-overlay .play-btn i {
    color: white;
    font-size: 30px;
    margin-left: 5px;
}
.video-player-wrapper {
    z-index: 1;
}
.video-player-wrapper video,
.video-player-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    border: none;
}
#playerContent {
    position: absolute;
    inset: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}
#playerContent > div,
#playerContent iframe,
#playerContent video,
#playerContent .pjsdiv {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
}
.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
}
.video-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}
.video-placeholder p {
    font-size: 14px;
}
.preroll-ad video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}
.preroll-clickable {
    position: absolute;
    inset: 0;
    z-index: 12;
    cursor: pointer;
}
.preroll-skip-box {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    pointer-events: auto;
}
.preroll-skip-box .skip-countdown {
    display: inline-block;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
}
.preroll-skip-box .skip-btn {
    display: none;
    background: rgba(255,255,255,0.95);
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.preroll-skip-box .skip-btn:hover {
    background: #fff;
}
.preroll-skip-box .skip-btn.show {
    display: inline-block;
}
.preroll-skip-box .skip-countdown.hide {
    display: none;
}
.preroll-resume {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.preroll-resume-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}
.preroll-resume-btn:hover {
    background: #fff;
    transform: scale(1.05);
}
.film-info-box {
    background: var(--bg-secondary);
    padding: 20px;
    margin-bottom: 20px;
}
.film-info-grid {
    display: flex;
    gap: 20px;
}
.film-poster {
    width: 160px;
    flex-shrink: 0;
}
.film-poster img {
    width: 100%;
}
.film-details {
    flex: 1;
    min-width: 0;
}
.film-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}
.film-original-title {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}
.film-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}
.film-meta .rating {
    color: var(--warning);
}
.film-meta .quality {
    background: var(--accent-primary);
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
}
.film-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.film-categories .label {
    color: var(--accent-primary);
    font-size: 12px;
}
.film-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
}
.film-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.comments-form h3 {
    font-size: 15px;
    margin-bottom: 15px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
}
@media (max-width: 640px) {
    .episode-navigation {
        flex-direction: column;
        gap: 8px;
    }
    .ep-nav-card {
        padding: 12px 14px;
    }
    .ep-nav-next {
        flex-direction: row-reverse;
        justify-content: flex-start;
    }
    .ep-nav-next .ep-nav-info {
        text-align: left;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .episode-grid-small {
        gap: 6px;
        padding: 8px;
    }
    .episode-item-wrap {
        min-width: 120px;
    }
    .episode-item {
        padding: 8px 6px;
        font-size: 11px;
    }
    .film-info-grid {
        flex-direction: column;
    }
    .film-poster {
        width: 120px;
    }
}
.series-detail-page {
    padding-bottom: 40px;
}
.series-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: flex-end;
    padding-bottom: 30px;
}
.series-hero.watch-hero {
    min-height: 250px;
    padding-bottom: 20px;
}
.watch-hero .series-title {
    font-size: 24px;
    margin-bottom: 10px;
}
.watch-hero .episode-name {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}
.series-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--bg-primary) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.3) 100%);
}
.series-hero-content {
    position: relative;
    z-index: 2;
}
.series-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.series-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.btn-watch-last {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent-primary);
    color: white;
    font-weight: 600;
    font-size: 14px;
}
.btn-watch-first {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 14px;
}
.series-content-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.series-main {
    flex: 1;
    min-width: 0;
}
.series-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.series-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}
.series-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.series-tabs .tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.series-tabs .tab-btn:hover {
    color: var(--text-primary);
}
.series-tabs .tab-btn.active {
    color: var(--text-primary);
}
.series-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
}
.season-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.season-btn {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}
.season-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}
.detail-episode-list {
    display: none;
}
.detail-episode-list.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.detail-episode-item {
    display: block;
    padding: 15px;
    background: var(--bg-secondary);
    transition: var(--transition);
    text-decoration: none;
}
.detail-episode-item:hover {
    background: var(--bg-tertiary);
}
.detail-episode-title {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}
.detail-episode-subtitle {
    color: var(--text-muted);
    font-size: 12px;
}
/* Episode watch tick */
.episode-item-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    transition: border-color 0.2s;
    flex-shrink: 0;
    min-width: 140px;
}
.episode-item-wrap:hover {
    border-color: var(--accent-primary);
}
.episode-item-wrap .episode-item {
    border: none;
    border-radius: 0;
    flex: 1;
}
.episode-item-wrap .ep-watch-tick {
    border-top: 1px solid var(--border-color);
}
.detail-episode-item-wrap {
    display: flex;
    align-items: stretch;
    position: relative;
}
.detail-episode-item-wrap .detail-episode-item {
    flex: 1;
    min-width: 0;
}
.ep-watch-tick {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 28px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.2s ease;
    gap: 4px;
}
.detail-episode-item-wrap .ep-watch-tick {
    width: 40px;
    height: auto;
    border-left: 1px solid var(--border-color);
}
.ep-watch-tick:hover {
    opacity: 1;
    color: #fff;
    background: rgba(220, 38, 38, 0.3);
}
.ep-watch-tick.ticked {
    opacity: 1;
    color: #fff;
    background: #dc2626;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.5px;
}
.sidebar-info {
    background: transparent;
}
.sidebar-cast {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.sidebar-cast h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.cast-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cast-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.actor-name {
    font-size: 13px;
    color: var(--text-primary);
}
.actor-role {
    font-size: 11px;
    color: var(--text-muted);
}
.film-cast {
    margin-top: 15px;
}
.film-cast .label {
    font-size: 13px;
    color: var(--text-muted);
    margin-right: 10px;
}
.cast-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.cast-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}
.info-row:last-child {
    border-bottom: none;
}
.info-label {
    color: var(--text-muted);
    font-size: 13px;
}
.info-value {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}
.info-value.categories a {
    color: var(--accent-primary);
    display: block;
}
.info-value.categories a:hover {
    text-decoration: underline;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.recommended-section {
    margin-top: 50px;
}
.recommended-section .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}
.recommended-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.recommended-series {
    grid-template-columns: repeat(5, 1fr);
}
.related-movies {
    grid-template-columns: repeat(8, 1fr);
}
@media (max-width: 768px) {
    .recommended-series .recommended-card[data-index="5"] {
        display: none;
    }
}
@media (max-width: 768px) {
    .related-movies .content-card[data-index="5"],
    .related-movies .content-card[data-index="6"],
    .related-movies .content-card[data-index="7"],
    .related-movies .content-card[data-index="8"] {
        display: none;
    }
}
.recommended-card {
    display: block;
    overflow: hidden;
    transition: var(--transition);
}
.recommended-card:hover {
    transform: translateY(-5px);
}
.recommended-poster {
    position: relative;
    aspect-ratio: 2/3;
}
.recommended-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.recommended-poster .poster-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-muted);
}
.recommended-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 12px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}
.recommended-info h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recommended-info .year {
    font-size: 11px;
    color: var(--text-muted);
}
.no-episodes {
    padding: 40px;
    text-align: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
}
@media (max-width: 992px) {
    .series-content-wrapper {
        flex-direction: column;
    }
    .series-sidebar {
        width: 100%;
        order: -1;
    }
    .sidebar-info {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    .info-row {
        flex: 1;
        min-width: 120px;
        flex-direction: column;
        gap: 5px;
        border-bottom: none;
        padding: 10px;
        background: var(--bg-secondary);
    }
    .info-value {
        text-align: left;
    }
    .recommended-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .related-movies {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .series-hero {
        min-height: 300px;
    }
    .series-title {
        font-size: 24px;
    }
    .detail-episode-list.active {
        grid-template-columns: 1fr;
    }
    .recommended-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .related-movies {
        grid-template-columns: repeat(4, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .season-buttons {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    .season-btn {
        white-space: nowrap;
    }
}
li.content-card {
    list-style: none;
}
.content-grid {
    list-style: none;
    padding: 0;
    margin: 0;
}
.report-bar {
    display: flex;
    justify-content: flex-end;
    margin: 12px 0;
}
.report-bar .btn-report {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-report,
.nav-btn.report {
    background: var(--accent-gradient) !important;
    color: white !important;
    border: none !important;
}
.btn-report:hover,
.nav-btn.report:hover {
    background: linear-gradient(135deg, #b20710 0%, #8b0000 100%) !important;
}
.report-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.report-btn {
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.report-btn:hover {
    border-color: #e50914;
    background: #252525;
}
.report-btn.selected {
    border-color: #e50914;
    background: rgba(229, 9, 20, 0.15);
}
.report-btn i {
    color: #e50914;
}
.device-section { margin-top:15px; border-top:1px solid #2a2a2a; padding-top:12px; }
.device-label { font-size:11px; color:#6b7280; margin-bottom:6px; text-align:left; }
.device-group { display:flex; gap:6px; margin-bottom:8px; flex-wrap:wrap; }
.device-btn { background:#1a1a1a; border:2px solid #2a2a2a; color:#fff; padding:4px 10px; border-radius:6px; font-size:11px; cursor:pointer; display:inline-flex; align-items:center; gap:4px; transition:all .2s; }
.device-btn:hover { border-color:#3b82f6; }
.device-btn.selected { border-color:#3b82f6; background:rgba(59,130,246,0.15); color:#60a5fa; }
.swal2-container {
    z-index: 99999 !important;
}
.swal2-popup {
    background: #0d0d0d !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 16px !important;
    color: #fff !important;
    padding: 24px !important;
}
.swal2-title {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
}
.swal2-html-container {
    color: #a0a0a0 !important;
    font-size: 14px !important;
    margin: 16px 0 !important;
    padding: 0 !important;
}
.swal2-actions {
    margin-top: 20px !important;
    gap: 12px !important;
}
.swal2-styled {
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
.swal2-confirm {
    background: linear-gradient(135deg, #e50914 0%, #b20710 100%) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3) !important;
}
.swal2-confirm:hover {
    background: linear-gradient(135deg, #ff1a1a 0%, #e50914 100%) !important;
    transform: translateY(-1px) !important;
}
.swal2-confirm:focus {
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4) !important;
}
.swal2-cancel {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #fff !important;
}
.swal2-cancel:hover {
    background: #252525 !important;
    border-color: #444 !important;
}
.swal2-cancel:focus {
    box-shadow: none !important;
}
.swal2-close {
    color: #666 !important;
    font-size: 28px !important;
}
.swal2-close:hover {
    color: #fff !important;
}
.swal2-validation-message {
    background: rgba(229, 9, 20, 0.1) !important;
    color: #ff6b6b !important;
    border: none !important;
    padding: 10px 16px !important;
    margin-top: 10px !important;
}
.swal2-icon {
    margin: 0 auto 16px !important;
    border-width: 3px !important;
}
.swal2-icon.swal2-success {
    border-color: #22c55e !important;
    color: #22c55e !important;
}
.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long {
    background-color: #22c55e !important;
}
.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(34, 197, 94, 0.3) !important;
}
.swal2-icon.swal2-error {
    border-color: #e50914 !important;
}
.swal2-icon.swal2-error .swal2-x-mark-line-left,
.swal2-icon.swal2-error .swal2-x-mark-line-right {
    background-color: #e50914 !important;
}
.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}
.swal2-icon.swal2-info {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}
.swal2-loader {
    border-color: #e50914 transparent #e50914 transparent !important;
}
.swal2-timer-progress-bar {
    background: #e50914 !important;
}
.swal2-timer-progress-bar {
    background: #e50914 !important;
}
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 20px;
}
.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    height: fit-content;
}
.profile-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}
.profile-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.profile-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 5px;
}
.profile-date {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
}
.profile-forms {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.profile-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
}
.profile-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}
.profile-section .form-group {
    margin-bottom: 20px;
}
.profile-section .form-group:last-of-type {
    margin-bottom: 25px;
}
.profile-section .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.profile-section .form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s ease;
}
.profile-section .form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}
.profile-section .form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.profile-section .btn {
    margin-top: 10px;
}
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .profile-card {
        padding: 25px 20px;
    }
    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    .profile-section {
        padding: 20px 15px;
    }
}
.user-content-page {
    padding: 30px 0;
}
.user-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.user-content-header .page-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.user-content-header .page-title i {
    color: var(--accent-primary);
}
.user-content-header .content-count {
    background: var(--bg-tertiary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}
.user-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.user-content-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.user-content-card .card-link {
    display: block;
}
.user-content-card .card-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}
.user-content-card .card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-content-card .card-type {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--accent-primary);
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.user-content-card .card-type.series {
    background: #00b894;
}
.user-content-card .card-overlay {
    display: none;
}
.user-content-card .card-play {
    display: none;
}
.user-content-card .card-info {
    padding: 12px;
}
.user-content-card .card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}
.user-content-card .card-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
}
.user-content-card .card-meta i {
    color: #f5c518;
}
.user-content-card .btn-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}
.user-content-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}
.user-content-empty i {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}
.user-content-empty h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.user-content-empty p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 25px;
    font-size: 14px;
}
.user-content-empty .empty-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}
@media (max-width: 768px) {
    .user-content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .user-content-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .user-content-empty .empty-actions {
        flex-direction: column;
    }
}
/* ===== Public Profile - Twitter Style ===== */
.public-profile-page {
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}
.profile-banner {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    pointer-events: none;
}
.profile-header {
    position: relative;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 30px 25px;
    text-align: center;
}
.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ff6b6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: -60px auto 15px;
    position: relative;
    z-index: 2;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 0 0 4px var(--bg-card), 0 4px 20px rgba(229, 9, 20, 0.4);
}
.profile-username {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.profile-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}
.profile-badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.profile-member-date {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.profile-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0 -30px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
}
.stat-item {
    text-align: center;
    flex: 1;
    padding: 18px 10px;
    transition: background 0.2s ease;
    cursor: default;
    border-right: 1px solid var(--border-color);
}
.stat-item:last-child {
    border-right: none;
}
.stat-item:hover {
    background: rgba(229, 9, 20, 0.05);
}
.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1.2;
}
.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.profile-actions {
    margin-top: 20px;
}
.profile-actions .btn {
    border-radius: 20px;
    padding: 8px 24px;
    font-size: 14px;
}
.profile-private-notice {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
}
.profile-private-notice i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.5;
}
.profile-private-notice p {
    font-size: 18px;
    font-weight: 500;
}
.profile-tabs-wrapper {
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}
.comment-author {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.comment-author:hover {
    color: var(--accent-primary);
}
/* Verified Badge */
.verified-badge {
    color: #3b82f6;
    font-size: 14px;
    margin-left: 4px;
    display: inline-flex;
    align-items: center;
}
.verified-badge i {
    filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.3));
}
.comment-header .verified-badge {
    font-size: 13px;
    margin-left: 2px;
}
.profile-username .verified-badge {
    font-size: 20px;
    margin-left: 6px;
}
.profile-card h2 .verified-badge {
    font-size: 16px;
}
.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.profile-avatar img,
.profile-card .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
/* Banner selection grid in settings */
.banner-selection-section {
    margin-bottom: 30px;
}
.banner-preview {
    width: 100%;
    height: 150px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
}
.banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-preview .banner-preview-label {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
}
.backdrop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding: 5px;
}
.backdrop-grid::-webkit-scrollbar {
    width: 6px;
}
.backdrop-grid::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
.backdrop-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    border: 3px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.backdrop-item:hover {
    border-color: var(--text-muted);
    transform: scale(1.02);
}
.backdrop-item.selected {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}
.backdrop-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.backdrop-item .backdrop-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 8px 6px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-save-status {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
    color: #22c55e;
    opacity: 0;
    transition: opacity 0.3s;
}
.banner-save-status.show {
    opacity: 1;
}
@media (max-width: 768px) {
    .public-profile-page {
        margin: 0;
    }
    .profile-banner {
        height: 180px;
        border-radius: 0;
    }
    .profile-header {
        padding: 0 15px 20px;
        border-left: none;
        border-right: none;
    }
    .profile-avatar-large {
        width: 90px;
        height: 90px;
        font-size: 36px;
        margin-top: -45px;
        border-width: 3px;
    }
    .profile-username {
        font-size: 22px;
    }
    .profile-stats {
        margin: 0 -15px;
        gap: 0;
    }
    .stat-value {
        font-size: 18px;
    }
    .profile-tabs-wrapper {
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
    .backdrop-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}
.static-page-content {
    background: var(--bg-secondary);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    line-height: 1.8;
}
.static-page-content h1,
.static-page-content h2,
.static-page-content h3,
.static-page-content h4 {
    margin: 20px 0 15px;
    color: var(--text-primary);
}
.static-page-content h1:first-child,
.static-page-content h2:first-child {
    margin-top: 0;
}
.static-page-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}
.static-page-content a {
    color: var(--accent-primary);
}
.static-page-content a:hover {
    text-decoration: underline;
}
.static-page-content ul,
.static-page-content ol {
    margin: 15px 0;
    padding-left: 25px;
    color: var(--text-secondary);
}
.static-page-content li {
    margin-bottom: 8px;
}
.static-page-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}
.static-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.static-page-content table th,
.static-page-content table td {
    padding: 10px;
    border: 1px solid var(--border-color);
    text-align: left;
}
.static-page-content table th {
    background: var(--bg-tertiary);
}
.static-page-content blockquote {
    margin: 15px 0;
    padding: 15px 20px;
    background: var(--bg-tertiary);
    border-left: 3px solid var(--accent-primary);
    font-style: italic;
}
.static-page-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 25px 0;
}
.static-page-content code {
    background: var(--bg-tertiary);
    padding: 2px 6px;
    font-family: monospace;
    border-radius: 3px;
}
.static-page-content pre {
    background: var(--bg-tertiary);
    padding: 15px;
    overflow-x: auto;
    margin: 15px 0;
    border-radius: var(--radius-sm);
}
.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
}
.platform-header img {
    height: 50px;
    object-fit: contain;
}
.section-title .count {
    font-size: 14px;
    opacity: 0.7;
    font-weight: normal;
}
.notification-dropdown {
    position: relative;
    z-index: 1001;
}
.notification-bell {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    color: var(--text-muted);
    font-size: 14px;
}
.notification-bell:hover {
    background: var(--bg-hover);
    color: white;
}
.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.notification-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1002;
}
.notification-dropdown.active .notification-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 14px;
}
.notification-header a {
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: normal;
}
.notification-header a:hover {
    text-decoration: underline;
}
.notification-list {
    max-height: 400px;
    overflow-y: auto;
}
.notification-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 15px;
    padding-right: 40px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
    position: relative;
}
.notification-item:hover {
    background: var(--bg-hover);
}
.notification-item.unread {
    background: rgba(229, 9, 20, 0.05);
}
.notification-item.unread:hover {
    background: rgba(229, 9, 20, 0.1);
}
.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-muted);
}
.notification-item.unread .notification-icon {
    background: var(--accent-primary);
    color: white;
}
.notification-content {
    flex: 1;
    min-width: 0;
}
.notification-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}
.notification-time {
    font-size: 11px;
    color: var(--text-muted);
}
.notification-link {
    display: flex;
    gap: 12px;
    flex: 1;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}
.notification-message {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.notification-delete {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.2s;
    z-index: 10;
    pointer-events: auto;
}
.notification-item:hover .notification-delete {
    opacity: 1;
}
.notification-delete:hover {
    color: #e50914;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 50%;
}
.notification-reply-area {
    width: 100%;
    padding: 0 0 4px;
}
.notification-reply-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    padding: 3px 10px;
    font-size: 11px;
    border-radius: 4px;
}
.notification-reply-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}
.notification-reply-form {
    margin-top: 6px;
}
.notification-reply-input {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 12px;
    resize: none;
    font-family: inherit;
}
.notification-reply-input:focus {
    outline: none;
    border-color: var(--primary);
}
.notification-reply-send {
    margin-top: 4px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 11px;
    cursor: pointer;
}
.notification-reply-send:hover {
    opacity: 0.9;
}
.notification-empty {
    padding: 30px 15px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}
.notification-empty i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}
.notification-footer {
    padding: 10px 15px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.notification-footer a {
    font-size: 13px;
    color: var(--accent-primary);
}
.notification-footer a:hover {
    text-decoration: underline;
}
.notification-loading {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
}
.user-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 768px) {
    .notification-dropdown-menu {
        width: 290px;
        right: -50px;
    }
}
.user-avatar.ua-p7x {
    position: relative;
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.1));
}
.user-avatar .ic-k3m {
    position: absolute;
    top: -8px;
    right: -4px;
    color: #f59e0b;
    font-size: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.dropdown-user-info .fa-crown {
    margin-left: 5px;
}
.pbs-r9n {
    animation: ax4q 2s ease-in-out infinite alternate;
}
@keyframes ax4q {
    from { box-shadow: 0 0 10px rgba(245, 158, 11, 0.3); }
    to { box-shadow: 0 0 20px rgba(245, 158, 11, 0.6); }
}

/* ============================================
   PUBLIC PROFILE PAGE
   ============================================ */
.profile-private-notice {
    margin-top: 20px;
    padding: 30px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-muted);
}
.profile-private-notice i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}
.profile-private-notice p {
    font-size: 16px;
    margin: 0;
}
.profile-tabs {
    display: flex;
    gap: 10px;
    margin: 30px 0 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0;
    max-width: 100%;
}
.profile-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
}
.profile-tab:hover {
    color: var(--text-primary);
}
.profile-tab.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}
.profile-tab .tab-count {
    background: var(--bg-tertiary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}
.profile-tab.active .tab-count {
    background: var(--accent-primary);
    color: #fff;
}
.profile-tab-content {
    display: none;
    padding-top: 20px;
}
.profile-tab-content.active {
    display: block;
}
.profile-tab-content .user-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}
@media (max-width: 768px) {
    .profile-tabs {
        justify-content: center;
    }
    .profile-tab {
        padding: 10px 15px;
        font-size: 13px;
    }
    .profile-tab-content .user-content-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
}

/* Movie Series Card */
.movie-series-card {
    display: flex;
    background: var(--bg-secondary, #1a1a2e);
    border-radius: 12px;
    overflow: hidden;
    margin: 25px 0;
    border: 1px solid rgba(255,255,255,0.08);
}
.movie-series-poster {
    position: relative;
    width: 200px;
    min-height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}
.movie-series-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.movie-series-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e50914 0%, #8b0000 100%);
    font-size: 48px;
    color: rgba(255,255,255,0.3);
}
.movie-series-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.movie-series-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e50914;
}
.movie-series-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.movie-series-list {
    flex: 1;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 280px;
}
.movie-series-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 14px;
}
.movie-series-item:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.movie-series-item.active {
    background: rgba(229,9,20,0.12);
    color: #e50914;
    font-weight: 600;
}
.movie-series-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}
.movie-series-item.active .movie-series-num {
    background: #e50914;
    color: #fff;
}
.movie-series-item-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.movie-series-item-year {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .movie-series-card {
        flex-direction: column;
    }
    .movie-series-poster {
        width: 100%;
        min-height: 140px;
        max-height: 160px;
    }
    .movie-series-list {
        max-height: none;
    }
}
