/*
Theme Name: Warez-DB
Theme URI: https://warez-db.com
Description: DDL-Warez Template for WordPress - Identical to DLE version
Version: 1.0
Author: Warez-DB
*/

/* ========== DDL-WAREZ STYLE ========== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --bg: #e8e8e8;
    --card: #ffffff;
    --text: #333333;
    --text-muted: #666666;
    --border: #ddd;
    --primary: #38bdf8;
    --primary-dark: #0ea5e9;
    --primary-light: #e0f7f6;
    --accent: #e74c3c;
    --accent-orange: #f39c12;
    --header-bg: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 100%);
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --radius: 3px;
}

.dark-theme {
    --bg: #1a1a2e;
    --card: #16213e;
    --text: #eaeaea;
    --text-muted: #a0a0a0;
    --border: #2a2a4a;
    --primary-light: #1a3a3a;
}

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

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

/* ========== HEADER ========== */
#header {
    background: var(--header-bg);
    height: 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
}

.logo-img {
    height: 35px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.logo:hover { text-decoration: none; }

#header-nav {
    flex: 1;
}

#header-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

#header-nav a {
    color: #fff;
    padding: 15px 14px;
    font-weight: 600;
    font-size: 13px;
    display: block;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.15);
    transition: background 0.2s;
}

#header-nav a:hover {
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* Search */
.search-container { position: relative; }

.search-toggle {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.search-toggle:hover {
    background: rgba(255,255,255,0.3);
}

.search-container .header-search {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    opacity: 0;
    visibility: hidden;
    width: 0;
    transition: all 0.2s;
}

.search-container.active .header-search {
    opacity: 1;
    visibility: visible;
    width: 220px;
    right: 44px;
}

.search-container .header-search input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #fff;
    background: #fff;
    color: #333;
    font-size: 13px;
    border-radius: var(--radius) 0 0 var(--radius);
    outline: none;
}

.search-container .header-search button {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #fff;
    border-left: 1px solid #ddd;
    color: #666;
    cursor: pointer;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.search-container .header-search button:hover {
    color: var(--primary);
}

/* Theme Switch */
.theme-switch {
    position: relative;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.theme-switch input { display: none; }

.theme-switch .slider {
    position: absolute;
    inset: 0;
    background: #87CEEB;
    border-radius: 24px;
    transition: all 0.3s;
}

/* Sun (light mode) */
.theme-switch .slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #FFD700;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 0 8px #FFD700;
}

/* Dark mode slider background */
.theme-switch input:checked + .slider {
    background: #1a1a2e;
}

/* Moon (dark mode) */
.theme-switch input:checked + .slider::before {
    transform: translateX(20px);
    background: #f5f5f5;
    box-shadow: inset -6px -2px 0 0 #d4d4d4, 0 0 8px rgba(255,255,255,0.3);
}

/* ========== LAYOUT ========== */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0 15px 15px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 15px;
}

/* ========== SIDEBAR LEFT ========== */
#sidebar-left {}

.sidebar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    margin-bottom: 15px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text);
    border-radius: var(--radius);
    font-size: 13px;
    transition: all 0.15s;
}

.sidebar-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    text-decoration: none;
}

.sidebar-menu li.active a {
    background: var(--primary);
    color: #fff;
}

.sidebar-menu li a i {
    width: 16px;
    color: var(--primary);
    font-size: 14px;
}

.sidebar-menu li.active a i {
    color: #fff;
}

.menu-vip { color: #9b59b6 !important; }
.menu-vip i { color: #9b59b6 !important; }
.menu-hot { color: #e74c3c !important; }
.menu-hot i { color: #e74c3c !important; }
.menu-discord { color: #5865f2 !important; }
.menu-discord i { color: #5865f2 !important; }

/* Login Card */
.login-card h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-card h4 i {
    color: var(--primary);
}

.login-links-simple {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-links-simple .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-register {
    background: var(--primary);
    color: #fff !important;
}

.btn-register:hover {
    background: var(--primary-dark);
    text-decoration: none !important;
}

.btn-login {
    background: var(--bg);
    color: var(--text) !important;
    border: 1px solid var(--border);
}

.btn-login:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
    text-decoration: none !important;
}

/* User Trigger (Sidebar) */
.user-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--bg);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.user-trigger:hover {
    background: var(--primary-light);
}

.user-trigger .fa-chevron-right {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 12px;
}

.user-avatar-small {
    position: relative;
    flex-shrink: 0;
}

.user-avatar-small img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.user-avatar-small .user-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--card);
}

.user-trigger-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-trigger-info .user-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
}

.user-trigger-info .user-role {
    font-size: 11px;
    color: var(--primary);
}

/* User Info Box */
.user-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.user-info-box .user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.user-info-box .user-name {
    font-weight: 600;
    color: var(--text);
}

/* User Panel Modal */
.user-panel-content {
    max-width: 480px;
}

.user-panel {
    padding: 5px 0;
}

/* Panel Tabs */
.panel-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    background: var(--bg);
    padding: 5px;
    border-radius: var(--radius);
}

.panel-tab {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

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

.panel-tab.active {
    background: var(--primary);
    color: #fff;
}

.panel-content {
    display: none;
}

.panel-content.active {
    display: block;
}

.user-panel-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

/* Editable Avatar */
.user-avatar-editable {
    position: relative;
    flex-shrink: 0;
}

.user-avatar-editable img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    object-fit: cover;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid var(--card);
}

.avatar-upload-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.user-avatar-large {
    position: relative;
    flex-shrink: 0;
}

.user-avatar-large img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.user-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--card);
}

.user-status.online {
    background: #22c55e;
}

.user-status.offline {
    background: #6b7280;
}

.user-panel .user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-panel .user-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

.user-panel .user-email {
    font-size: 13px;
    color: var(--text-muted);
}

.user-panel .user-role-badge {
    font-size: 11px;
    color: #fff;
    background: var(--primary);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
    margin-top: 3px;
}

/* Stats Large */
.user-stats-large {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg);
    border-radius: var(--radius);
}

.stat-card i {
    font-size: 24px;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

.stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.stat-card .stat-value {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.user-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    background: var(--bg);
    border-radius: var(--radius);
}

.stat-item i {
    display: block;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
}

.stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}

.user-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.user-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: var(--bg);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
    text-align: center;
}

.user-menu-item:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.user-menu-item i {
    font-size: 20px;
}

.user-menu-item.highlight {
    background: var(--primary);
    color: #fff;
}

.user-menu-item.highlight:hover {
    background: var(--primary-dark);
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444 !important;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #ef4444;
    color: #fff !important;
    text-decoration: none;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.user-link:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.user-link.logout { color: #ef4444; }
.user-link.logout:hover { background: #ef4444; color: #fff; }

/* ========== MAIN CONTENT ========== */
.content-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.section-header {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    background: var(--primary-light);
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
}

.section-title i {
    color: var(--primary);
}

/* Section Header Colors */
.section-header-gold { background: #fef3c7; }
.section-header-gold .section-title { color: #d97706; }
.section-header-gold .section-title i { color: #f59e0b; }

.section-header-purple { background: #f3e8ff; }
.section-header-purple .section-title { color: #7c3aed; }
.section-header-purple .section-title i { color: #8b5cf6; }

.section-header-blue { background: #dbeafe; }
.section-header-blue .section-title { color: #1d4ed8; }
.section-header-blue .section-title i { color: #3b82f6; }

.section-header-red { background: #fee2e2; }
.section-header-red .section-title { color: #b91c1c; }
.section-header-red .section-title i { color: #ef4444; }

.section-header-green { background: #dcfce7; }
.section-header-green .section-title { color: #15803d; }
.section-header-green .section-title i { color: #22c55e; }

/* News Row */
.news-row {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
    overflow: visible;
    position: relative;
}

.news-row:hover {
    background: #f9f9f9;
}

.dark-theme .news-row:hover {
    background: var(--primary-light);
}

.news-row:last-child {
    border-bottom: none;
}

/* Category Badge */
.cat-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff !important;
    margin-right: 12px;
    white-space: nowrap;
    text-decoration: none !important;
    background: #666;
}

/* Category Colors */
.cat-badge[href*="movies"], .cat-badge[href*="filme"], .cat-badge[href*="movie"] { background: #9b59b6; }
.cat-badge[href*="series"], .cat-badge[href*="serien"], .cat-badge[href*="tv"] { background: #3498db; }
.cat-badge[href*="games"], .cat-badge[href*="spiele"], .cat-badge[href*="game"] { background: #e74c3c; }
.cat-badge[href*="software"], .cat-badge[href*="apps"] { background: #27ae60; }
.cat-badge[href*="music"], .cat-badge[href*="musik"] { background: #e91e63; }
.cat-badge[href*="ebooks"], .cat-badge[href*="books"] { background: #ff9800; }
.cat-badge[href*="documentary"], .cat-badge[href*="doku"] { background: #00bcd4; }

.news-title {
    flex: 1;
    font-weight: 600;
    position: relative;
    transition: padding-left 0.2s;
}

.news-title a {
    color: var(--text);
}

.news-title a:hover {
    color: var(--primary);
    text-decoration: none;
}

.news-title::before {
    display: none;
}

.news-row:hover .news-title::before {
    display: none;
}

.news-row:hover .news-title {
    padding-left: 5px;
    transition: padding-left 0.2s;
}

.news-title {
    transition: padding-left 0.2s;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 11px;
    color: var(--text-muted);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-meta i {
    font-size: 11px;
}

.meta-size {
    color: var(--primary);
    font-weight: 600;
}

.row-arrow {
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.2s;
}

.news-row:hover .row-arrow {
    opacity: 1;
}

/* Arrow colors by category */
.news-row:has(.cat-badge[href*="movies"]) .row-arrow,
.news-row:has(.cat-badge[href*="filme"]) .row-arrow,
.news-row:has(.cat-badge[href*="movie"]) .row-arrow { color: #9b59b6; }

.news-row:has(.cat-badge[href*="series"]) .row-arrow,
.news-row:has(.cat-badge[href*="serien"]) .row-arrow,
.news-row:has(.cat-badge[href*="tv"]) .row-arrow { color: #3498db; }

.news-row:has(.cat-badge[href*="games"]) .row-arrow,
.news-row:has(.cat-badge[href*="spiele"]) .row-arrow,
.news-row:has(.cat-badge[href*="game"]) .row-arrow { color: #e74c3c; }

.news-row:has(.cat-badge[href*="software"]) .row-arrow,
.news-row:has(.cat-badge[href*="apps"]) .row-arrow { color: #27ae60; }

.news-row:has(.cat-badge[href*="music"]) .row-arrow,
.news-row:has(.cat-badge[href*="musik"]) .row-arrow { color: #e91e63; }

.news-row:has(.cat-badge[href*="ebooks"]) .row-arrow,
.news-row:has(.cat-badge[href*="books"]) .row-arrow { color: #ff9800; }

.news-row:has(.cat-badge[href*="documentary"]) .row-arrow,
.news-row:has(.cat-badge[href*="doku"]) .row-arrow { color: #00bcd4; }

/* Section Footer */
.section-footer {
    padding: 8px 12px;
    border-top: 1px solid var(--border);
    text-align: right;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--primary);
    color: #fff !important;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
}

.view-all-btn:hover {
    background: var(--primary-dark);
}

/* Card with Poster */
.card-with-poster {
    background: var(--card);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: var(--radius);
}

.card-with-poster .content-card {
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
    border-radius: 0;
}

.card-with-poster .section-header {
    border-radius: 0;
}

/* News list with poster */
.card-with-poster .news-list {
    overflow: hidden;
    min-height: 360px;
    position: relative;
}

/* Side poster - floated right inside news-list */
.side-poster {
    float: right;
    width: 240px;
    height: 100%;
    min-height: 340px;
    margin: 0;
    background: transparent;
}

.side-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Pagination */
.pagination-wrap {
    margin: 20px 0;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 5px;
}

.pagination a, .pagination span {
    padding: 8px 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 13px;
}

.pagination a:hover {
    background: var(--primary-light);
    color: var(--primary);
    text-decoration: none;
}

.pagination span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-content {
    position: relative;
    z-index: 1001;
    background: var(--card);
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--text);
    margin: 0;
}

.modal-header h3 i {
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-block {
    width: 100%;
}

.modal-footer-links {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.modal-footer-links a {
    color: var(--primary);
}

.modal-footer-links span {
    margin: 0 8px;
}

/* Form Messages */
.form-message {
    margin: 15px 0;
}

.msg-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #22c55e;
    padding: 12px 15px;
    border-radius: var(--radius);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.msg-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 12px 15px;
    border-radius: var(--radius);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Remember Me Checkbox */
.remember-me {
    display: flex;
    align-items: center;
}

.remember-me label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Recovery Info */
.recovery-info {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ========== FOOTER ========== */
#footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 12px;
}

/* ========== FULLSTORY ========== */
.full-article {
    padding: 20px;
}

.article-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.article-poster {
    width: 200px;
    flex-shrink: 0;
}

.article-poster img {
    width: 100%;
    border-radius: var(--radius);
}

.article-info {
    flex: 1;
}

.article-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.imdb-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: #f5c518;
    color: #000;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 13px;
}

.article-content {
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Tabs */
.tabs {
    margin-top: 20px;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--border);
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

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

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

/* Download Box */
.download-box {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 15px;
}

.download-box h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text);
}

.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.download-links a {
    padding: 8px 15px;
    background: var(--primary);
    color: #fff !important;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s;
}

.download-links a:hover {
    background: var(--primary-dark);
}

/* MediaInfo */
.mediainfo-box {
    background: #1e1e1e;
    color: #00ff00;
    padding: 15px;
    border-radius: var(--radius);
    font-family: 'Consolas', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    overflow-x: auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    #sidebar-left {
        display: none;
    }
    
    .side-poster {
        display: none;
    }
    
    .wrapper {
        padding: 15px;
    }
    
    #header-nav {
        display: none;
    }
}

/* Hidden cover for JS */
.hidden-cover {
    display: none !important;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    font-size: 12px;
    color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); text-decoration: none; }
.breadcrumb .separator { color: var(--text-muted); }

/* ========== FULLSTORY PAGE ========== */
.fullstory-page {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.fullstory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--primary-light);
}

.fullstory-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
}

.fullstory-date {
    font-size: 12px;
    color: var(--text-muted);
}

.fullstory-main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    padding: 20px;
}

.fullstory-cover {
    width: 280px;
}

.fullstory-cover img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Cover Buttons */
.cover-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.cover-buttons-row {
    display: flex;
    gap: 8px;
}

.cover-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none !important;
    transition: all 0.2s;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cover-btn.download {
    background: #2563eb;
    color: #fff !important;
}

.cover-btn.download:hover {
    background: #1d4ed8;
}

.cover-btn.more {
    background: #16a34a;
    color: #fff !important;
}

.cover-btn.more:hover {
    background: #15803d;
}

.cover-btn.premium {
    background: #dc2626;
    color: #fff !important;
    width: 100%;
}

.cover-btn.premium:hover {
    background: #b91c1c;
}

.fullstory-description {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 15px;
}

.fullstory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px 20px;
}

.fullstory-actions a,
.fullstory-actions button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-download {
    background: var(--primary);
    color: #fff !important;
}

.btn-download:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.btn-more {
    background: var(--bg);
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
}

.btn-more:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    text-decoration: none;
}

.btn-imdb {
    background: #f5c518;
    color: #000 !important;
}

.btn-imdb:hover {
    background: #d4a90f;
    text-decoration: none;
}

.btn-cast {
    background: #e91e63;
    color: #fff !important;
}

.btn-cast:hover {
    background: #c2185b;
}

.xrel-link {
    background: #6c5ce7;
    color: #fff !important;
}

.xrel-link:hover {
    background: #5b4cdb;
    text-decoration: none;
}

/* Meta Bar */
.fullstory-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 20px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    justify-content: center;
}

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

.meta-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.meta-value {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

.meta-value a {
    color: var(--primary);
}

.password-value {
    font-family: monospace;
    background: #fff3cd;
    padding: 2px 6px;
    border-radius: 2px;
    color: #856404;
}

.dark-theme .password-value {
    background: #3d3200;
    color: #ffc107;
}

.imdb-rating {
    color: #f5c518;
    font-weight: 700;
}

/* Fullstory Tabs */
.fullstory-tabs {
    padding: 0;
}

.tab-buttons {
    display: flex;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--text);
    background: rgba(0,0,0,0.02);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--card);
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

/* Download Section */
.download-quality {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: var(--radius);
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.download-quality i {
    color: #fff;
}

.download-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px;
    background: #ef4444;
    border-radius: var(--radius);
    margin-top: 15px;
    font-size: 13px;
    color: #fff;
}

/* Download Block with reveal */
.download-block {
    margin-bottom: 10px;
}

.download-block:last-child {
    margin-bottom: 0;
}

/* Download Reveal Row */
a.download-reveal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 13px;
    animation: slideDown 0.3s ease-out;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    max-width: 600px;
    margin: 0 auto;
}

a.download-reveal:hover {
    background: var(--bg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-arrow {
    color: var(--primary);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.reveal-text {
    color: var(--text);
}

.reveal-text strong {
    color: var(--primary);
}

.reveal-status {
    display: flex;
    align-items: center;
    font-size: 10px;
}

.reveal-status.online i {
    color: #22c55e;
    animation: pulse 1.5s infinite;
}

.reveal-status.offline i {
    color: #9ca3af;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Unlock button spinning state */
.unlock-btn.loading i {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.unlock-btn {
    cursor: pointer;
    border: none;
}

.download-mirrors {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.download-mirrors.vip-section {
    margin-bottom: 0;
}

/* Divider between VIP and Free downloads */
.download-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.download-divider::before,
.download-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.download-divider span {
    padding: 0 15px;
}

.mirror-row {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius);
    overflow: hidden;
    background: #2d2d3a;
    max-width: 550px !important;
    width: 550px !important;
    margin: 0 auto !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.mirror-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    padding: 8px 10px;
    background: #3d3d4a;
    text-decoration: none;
    flex-shrink: 0;
    box-sizing: border-box;
}

a.mirror-logo {
    cursor: pointer;
    transition: all 0.2s;
}

a.mirror-logo:hover {
    filter: brightness(1.2);
}

.mirror-logo img {
    max-width: 100%;
    max-height: 30px;
    object-fit: contain;
}

.mirror-logo span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

/* Hoster-specific backgrounds */
.mirror-row.logo-ddownload .mirror-logo {
    background: #012FA0;
}

.mirror-row.logo-rapidgator .mirror-logo {
    background: #FB8602;
}

.mirror-row.logo-katfile .mirror-logo {
    background: #2268AE;
}

.mirror-row.logo-nitroflare .mirror-logo {
    background: #0d2135;
}

.mirror-row.logo-vip .mirror-logo {
    background: #1a1a1a;
}

.mirror-row.logo-vip .mirror-logo img {
    max-height: 30px;
}

.mirror-row.logo-default .mirror-logo {
    background: #4a5568;
}

/* VIP Premium Button */
.vip-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    text-decoration: none !important;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.vip-download-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.vip-download-btn i {
    font-size: 18px;
}

.mirror-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 15px;
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    text-decoration: none !important;
    min-width: 180px;
}

.mirror-btn:hover {
    background: var(--primary-dark);
}

.mirror-btn.vip {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.mirror-btn.vip:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* MediaInfo Box */
.mediainfo-box {
    background: #1e1e1e;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 11px;
    color: #d4d4d4;
    max-height: 400px;
    overflow-y: auto;
}

.mediainfo-box pre {
    margin: 0;
    white-space: pre-wrap;
}

.no-mediainfo {
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

/* Help Box */
.help-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--text);
}

.help-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.help-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.help-box ul li:last-child {
    border-bottom: none;
}

.password-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.password-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--bg);
    border-radius: var(--radius);
}

.password-box code {
    flex: 1;
    font-family: monospace;
    font-size: 14px;
    color: var(--text);
}

.copy-btn {
    padding: 6px 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

/* Tags */
.fullstory-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

.fullstory-tags a {
    padding: 4px 10px;
    background: var(--bg);
    border-radius: var(--radius);
    color: var(--text);
    transition: all 0.2s;
}

.fullstory-tags a:hover {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

/* Cast Modal */
.cast-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.cast-modal-content {
    background: var(--card);
    padding: 25px;
    border-radius: 12px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cast-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
}

.cast-close:hover {
    color: var(--primary);
}

.cast-modal-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text);
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

/* Related Card - DLE Style */
.related-card {
    margin-top: 20px;
}

.related-card .news-list {
    padding: 0;
}

.related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item:hover {
    background: var(--bg);
}

.related-item a {
    flex: 1;
    color: var(--text);
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
}

.related-item a:hover {
    color: var(--primary);
}

.related-date {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    margin-left: 15px;
}

.related-date i {
    margin-right: 4px;
}

/* Comments Card */
.comments-card {
    margin-top: 20px;
}

.comments-section {
    padding: 20px;
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .fullstory-main {
        grid-template-columns: 1fr;
    }
    
    .fullstory-cover {
        max-width: 280px;
        width: 100%;
        margin: 0 auto;
    }
    
    .fullstory-actions {
        justify-content: center;
    }
    
    .fullstory-meta-bar {
        justify-content: center;
    }
    
    .mirror-row {
        flex-direction: column;
        text-align: center;
    }
    
    .mirror-logo:last-child {
        display: none;
    }
}

/* Comment Toolbar */
.comment-editor {
    margin-top: 15px;
}

.comment-toolbar {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 8px;
    background: #2d2d3a;
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
}

.tb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #9ca3af;
    transition: all 0.15s;
}

.tb-btn:hover {
    background: var(--primary);
    color: #fff;
}

.comment-editor textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--card);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
}

.comment-editor textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-editor textarea::placeholder {
    color: var(--text-muted);
}

/* Comments List */
.comments-area {
    margin-top: 30px;
}

.comments-title {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-list {
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}

.comment-list .comment {
    margin-bottom: 15px;
}

.comment-list .comment-body {
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.comment-list .comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-list .comment-author img {
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.comment-list .comment-author .fn {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.comment-list .comment-author .fn a {
    color: var(--primary);
    text-decoration: none;
}

.comment-list .comment-author .says {
    display: none;
}

.comment-list .comment-metadata {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.comment-list .comment-metadata a {
    color: var(--text-muted);
    text-decoration: none;
}

.comment-list .comment-metadata a:hover {
    color: var(--primary);
}

.comment-list .comment-metadata .edit-link {
    margin-left: 10px;
    color: var(--primary);
}

.comment-list .comment-content {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
}

.comment-list .comment-content p {
    margin: 0 0 10px 0;
}

.comment-list .comment-content p:last-child {
    margin-bottom: 0;
}

.comment-list .reply {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.comment-list .reply a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    padding: 6px 12px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 4px;
    transition: all 0.2s;
}

.comment-list .reply a:hover {
    background: var(--primary);
    color: #fff;
}

.comment-list .reply a::before {
    content: '\f3e5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* Nested comments */
.comment-list .children {
    list-style: none;
    padding-left: 30px;
    margin-top: 15px;
}

/* No comments */
.no-comments {
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-muted);
}

/* Reply title */
.comment-reply-title {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logged in as info */
.comment-form .logged-in-as {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px 15px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.comment-form .logged-in-as a {
    color: var(--primary);
    text-decoration: none;
}

.comment-form .logged-in-as a:hover {
    text-decoration: underline;
}

/* Hide "Required fields are marked" */
.comment-form .comment-notes {
    display: none;
}

.comment-form .form-submit {
    margin-top: 15px;
}

.comment-form .form-submit input {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.comment-form .form-submit input:hover {
    background: var(--primary-dark);
}

/* Comment form input fields */
.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

/* Name and Email side by side */
.comment-fields-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.comment-fields-row .comment-form-author,
.comment-fields-row .comment-form-email {
    flex: 1;
    margin-bottom: 0;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email {
    margin-bottom: 15px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 12px 15px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    transition: border-color 0.2s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    outline: none;
    border-color: var(--primary);
}

.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.comment-form .comment-form-cookies-consent label {
    display: inline;
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

/* Mobile: stack fields */
@media (max-width: 600px) {
    .comment-fields-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* ========== VIP MEMBERSHIP PAGE ========== */
.vip-page {
    margin-bottom: 30px;
}

.beta-badge {
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: 700;
}

.vip-content {
    padding: 25px;
}

.vip-intro {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text);
}

.vip-intro p {
    margin-bottom: 15px;
}

.vip-intro .highlight {
    color: var(--primary);
    font-weight: 600;
}

.vip-intro .highlight-red {
    color: #ef4444;
    font-weight: 700;
}

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

.vip-note {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

.vip-warning {
    color: #ef4444;
    font-weight: 600;
    font-size: 13px;
}

/* VIP Tiers Grid */
.vip-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.vip-tier {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.vip-tier.tier-featured {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2);
}

.tier-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.tier-header h4 {
    font-size: 18px;
    color: var(--text);
    margin: 0;
}

.tier-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 5px;
    font-weight: 700;
}

.tier-badge.basic {
    background: #6b7280;
    color: #fff;
}

.tier-badge.pro {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.tier-badge-inline {
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 700;
}

.tier-badge-inline.basic {
    background: #6b7280;
    color: #fff;
}

.tier-features {
    padding: 20px;
    min-height: 180px;
}

.tier-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-features li {
    padding: 8px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-yes i {
    color: #22c55e;
}

.feature-no {
    color: var(--text-muted);
}

.feature-no i {
    color: #ef4444;
}

.feature-no s {
    text-decoration: line-through;
}

.tier-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 15px;
    font-style: italic;
}

.pro-icon {
    text-align: center;
    color: #f59e0b;
    font-size: 16px;
    margin: 5px 0;
}

.tier-arrow {
    text-align: center;
    padding: 15px;
    color: #22c55e;
}

.tier-arrow svg {
    width: 40px;
    height: 40px;
    fill: #22c55e;
    transform: rotate(90deg);
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: rotate(90deg) translateX(0);
    }
    50% {
        opacity: 1;
        transform: rotate(90deg) translateX(5px);
    }
}

.tier-option {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    transition: background 0.2s;
    position: relative;
}

.tier-option:hover {
    background: var(--card);
}

.tier-option.selected {
    background: rgba(56, 189, 248, 0.1);
    border-left: 3px solid var(--primary);
}

.tier-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.tier-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.tier-option .option-content {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-weight: 600;
    color: var(--text);
    font-size: 13px;
    margin-bottom: 3px;
}

.option-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* Payment Section */
.vip-payment {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
}

.vip-payment h4 {
    margin-bottom: 20px;
    color: var(--text);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method i {
    font-size: 28px;
    color: var(--text);
}

.payment-method span {
    font-size: 12px;
    color: var(--text-muted);
}

.payment-method.recommended {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.payment-method.recommended i {
    color: #f59e0b;
}

.recommended-badge {
    background: #f59e0b;
    color: #fff !important;
    font-size: 9px !important;
    padding: 2px 6px;
    border-radius: 3px;
}

.btn-subscribe {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Responsive VIP Page */
@media (max-width: 900px) {
    .vip-tiers {
        grid-template-columns: 1fr;
    }
    
    .tier-features {
        min-height: auto;
    }
}

/* VIP Registration Form */
.vip-register {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.register-warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    padding: 12px 15px;
    margin-bottom: 25px;
    font-size: 13px;
    border-radius: var(--radius);
}

.register-warning i {
    margin-right: 8px;
}

#vip-register-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

#vip-register-form .form-group {
    display: flex;
    flex-direction: column;
}

#vip-register-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

#vip-register-form label .required {
    color: #ef4444;
}

#vip-register-form input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    transition: border-color 0.2s;
}

#vip-register-form input:focus {
    outline: none;
    border-color: var(--primary);
}

#vip-register-form .field-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: italic;
}

.btn-register-vip {
    background: #22c55e;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-register-vip:hover {
    background: #16a34a;
}

.btn-register-vip:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    margin-bottom: 15px;
}

.form-message .msg-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #dc2626;
    padding: 10px 15px;
    border-radius: var(--radius);
    font-size: 13px;
}

.form-message .msg-success {
    background: #f0fdf4;
    border: 1px solid #22c55e;
    color: #16a34a;
    padding: 10px 15px;
    border-radius: var(--radius);
    font-size: 13px;
}

.vip-logged-in {
    margin-top: 30px;
    padding: 30px;
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.vip-logged-in i {
    font-size: 48px;
    color: #22c55e;
    margin-bottom: 15px;
}

.vip-logged-in p {
    margin-bottom: 20px;
    color: var(--text);
}

@media (max-width: 600px) {
    #vip-register-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Selected Plan Display */
.selected-plan-display {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(56, 189, 248, 0.05));
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.selected-plan-display .plan-label {
    color: var(--text-muted);
    font-size: 13px;
}

.selected-plan-display .plan-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

/* IMDb Badge */
.imdb {
    color: #555;
    padding: 1px 4px 0;
    border: 1px solid rgba(220, 190, 20, 0.5);
    border-radius: 3px;
    background: linear-gradient(90deg, #FDDA21 0%, #FBF0A9 50%, #FDDA21 100%);
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.imdb-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.imdb-rating .imdb {
    padding: 2px 6px;
}

.imdb-rating .rating-value {
    font-weight: 700;
    color: var(--text);
}

/* Director & Cast Section */
.crew-section {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.crew-row {
    display: flex;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.crew-row:last-child {
    border-bottom: none;
}

.crew-label {
    font-weight: 600;
    color: var(--text-muted);
    min-width: 80px;
    font-size: 13px;
}

.crew-value {
    flex: 1;
    font-size: 13px;
    line-height: 1.6;
}

.person-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Cast Section with Photos */
.cast-section {
    margin-top: 15px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.cast-header {
    padding: 12px 20px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.cast-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
}

.cast-member-link {
    text-decoration: none !important;
    transition: transform 0.2s;
}

.cast-member-link:hover {
    transform: translateY(-3px);
    text-decoration: none !important;
}

.cast-member-link:hover .cast-member span {
    color: var(--primary);
    text-decoration: none !important;
}

.cast-member span {
    text-decoration: none !important;
}

.cast-member {
    width: 100px;
    text-align: center;
}

.cast-member img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--border);
    margin-bottom: 8px;
    transition: border-color 0.2s;
}

.cast-member-link:hover .cast-member img {
    border-color: var(--primary);
}

.cast-no-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--border);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--text-muted);
    font-size: 24px;
}

.cast-member span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    transition: color 0.2s;
}

.cast-member small {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Spoiler Toggle */
.cast-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
}

.spoiler-toggle {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}

.spoiler-toggle:hover {
    background: var(--primary-dark);
}

.spoiler-toggle i {
    transition: transform 0.3s;
}

.spoiler-toggle.active i {
    transform: rotate(180deg);
}

.spoiler-content {
    display: none;
}

.spoiler-content.show {
    display: block;
}

.cast-subsection {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
}

.cast-subtitle {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Cast Modal */
.cast-modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.cast-modal-content .modal-body {
    padding: 0;
}

.cast-modal-content .cast-subsection {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.cast-modal-content .cast-subsection:last-child {
    border-bottom: none;
}

.cast-modal-content .cast-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* Language Flags */
.flag-icon {
    height: 20px;
    width: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ============================================
   HOME PAGE - DDL STYLE
   ============================================ */

.home-layout {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.home-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.featured-poster {
    display: block;
    position: sticky;
    top: 20px;
}

.featured-poster img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Releases List */
.releases-list {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.release-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.release-row:hover {
    background: var(--bg);
}

.release-row:last-child {
    border-bottom: none;
}

.release-cat {
    display: inline-block;
    padding: 3px 8px;
    background: #5dade2;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    min-width: 50px;
    text-align: center;
}

.release-cat:hover {
    background: #3498db;
    text-decoration: none;
}

.release-title {
    flex: 1;
    min-width: 0;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-title:hover {
    color: var(--primary);
    text-decoration: none;
}

.release-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.release-flag {
    height: 16px;
    width: auto;
    border-radius: 2px;
}

.hoster-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.release-time {
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
    min-width: 90px;
    text-align: right;
}

.release-comments {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 12px;
    min-width: 35px;
}

.release-comments i {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .home-layout {
        flex-direction: column;
    }
    
    .home-sidebar {
        width: 100%;
        order: -1;
    }
    
    .featured-poster {
        position: static;
        max-width: 300px;
        margin: 0 auto 20px;
    }
}

@media (max-width: 600px) {
    .release-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .release-title {
        order: 1;
        flex-basis: 100%;
    }
    
    .release-icons {
        order: 2;
    }
    
    .release-time {
        order: 3;
        min-width: auto;
    }
    
    .release-comments {
        order: 4;
    }
}

/* News Row Icons */
.news-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
}

.news-flag {
    height: 11px;
    width: auto;
    padding: 0 1px;
}

.news-hoster {
    height: 11px;
    width: auto;
    padding: 0 0.5px;
}

.hoster-tooltip {
    position: relative;
    cursor: pointer;
    display: inline-flex;
}

.hoster-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 9999;
    margin-top: 6px;
    pointer-events: none;
}

.hoster-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-bottom-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 9999;
    margin-top: -2px;
    pointer-events: none;
}

.hoster-tooltip:hover::after,
.hoster-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}
