/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --dark-gray: #0a0a0a;
    --medium-gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --background-dark: #000000;
    --background-darker: #000000;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.15);
    --hover-color: rgba(255, 255, 255, 0.1);
    --accent-white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    animation: bgPulse 15s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.logo:hover .logo-icon {
    transform: rotate(360deg) scale(1.1);
}

.logo h1 {
    font-size: 32px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 3px;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.logo:hover h1 {
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 8px 16px;
    border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--accent-white);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    position: relative;
}

.search-box input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 10px 40px 10px 15px;
    border-radius: 25px;
    color: #ffffff !important;
    width: 250px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    font-weight: 500;
    -webkit-text-fill-color: #ffffff !important;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    font-weight: 500;
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    width: 300px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-white);
    cursor: pointer;
}

.filter-btn {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    color: #000000;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
}

.filter-btn:active {
    transform: scale(0.95);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--accent-white);
    color: var(--accent-white);
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s;
    z-index: 100;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    z-index: 1200;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-nav-header h3 {
    font-size: 24px;
    color: var(--accent-white);
}

.close-mobile-nav {
    background: none;
    border: none;
    color: var(--accent-white);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
}

.close-mobile-nav:hover {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-nav-content {
    padding: 20px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-white);
    color: var(--accent-white);
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.mobile-nav-link.small {
    padding: 12px 20px 12px 55px;
    font-size: 14px;
    font-weight: normal;
}

.mobile-nav-divider {
    height: 2px;
    background: var(--border-color);
    margin: 15px 0;
}

.mobile-nav-section h4 {
    padding: 15px 20px 10px;
    color: var(--accent-white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filter Sidebar */
.filter-sidebar {
    position: fixed;
    right: -350px;
    top: 0;
    width: 350px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    z-index: 1100;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.filter-sidebar.active {
    right: 0;
}

.filter-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
}

.filter-header h3 {
    font-size: 24px;
    color: var(--accent-white);
}

.close-filter {
    background: none;
    border: none;
    color: var(--accent-white);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-filter:hover {
    color: rgba(255, 255, 255, 0.7);
}

.filter-content {
    padding: 20px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--accent-white);
}

.filter-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 14px;
    cursor: pointer;
}

.filter-group select option {
    background: rgba(0, 0, 0, 0.98);
    color: #ffffff;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--accent-white);
}

.apply-filter-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border: none;
    border-radius: 10px;
    color: #000000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.apply-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    position: relative;
    height: 600px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 600px;
    animation: slideUp 0.8s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
    color: var(--accent-white);
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 16px;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-white);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: var(--accent-white);
    border: 1px solid var(--accent-white);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-3px);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--accent-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    z-index: 10;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-white);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

/* Page Header */
.page-header {
    margin-top: 100px;
    padding: 60px 0 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Content Section */
.content-section {
    padding: 50px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-more {
    color: var(--accent-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.view-more:hover {
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-white);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.content-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
}

.content-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.card-image {
    position: relative;
    width: 100%;
    padding-top: 150%;
    background-size: cover;
    background-position: center;
    background-color: var(--background-darker);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #000000;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000000;
    opacity: 0;
    transition: all 0.3s;
}

.content-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.card-info {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--accent-white);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-white);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.page-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    border-color: var(--accent-white);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.page-number:hover,
.page-number.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    border-color: var(--accent-white);
}

/* Detail Page */
.detail-page {
    padding-top: 0;
    position: relative;
    min-height: 100vh;
}

.detail-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 600px;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.detail-content {
    padding: 50px 0;
}

.detail-info {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.detail-poster {
    flex-shrink: 0;
    width: 300px;
    position: relative;
}

.detail-poster img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
}

.quality-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    color: #000000;
}

.detail-meta {
    flex: 1;
}

.detail-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detail-ratings {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.rating i {
    color: var(--accent-white);
}

.rating-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-white);
}

.rating-count {
    color: var(--text-secondary);
}

.btn-favorite {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-white);
    border-radius: 10px;
    color: var(--accent-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-favorite:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-white);
}

.detail-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--card-bg);
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    font-weight: 600;
}

.rating-badge {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000;
    font-weight: 700;
}

.detail-genres {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.genre-tag {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    color: var(--accent-white);
    font-weight: 600;
}

.detail-description h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-white);
}

.detail-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.detail-extra {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.extra-item {
    display: flex;
    gap: 10px;
}

.extra-item strong {
    min-width: 100px;
    color: var(--accent-white);
}

.detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Player Section */
.player-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.player-header h2 {
    font-size: 28px;
    color: var(--accent-white);
}

.player-controls {
    display: flex;
    gap: 10px;
}

.report-btn,
.light-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-white);
    border-radius: 10px;
    color: var(--accent-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 600;
}

.report-btn:hover,
.light-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-white);
}

.server-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.server-tab {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.server-tab:hover,
.server-tab.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-white);
    border-color: var(--accent-white);
}

.video-player {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

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

.player-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--accent-white);
    border-radius: 10px;
}

.player-info i {
    margin-right: 10px;
    color: var(--accent-white);
}

/* Comments Section */
.comments-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.comments-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-white);
}

.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 15px;
}

.comment-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-white);
}

.no-comments {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px;
}

/* Related Section */
.related-section {
    margin-top: 40px;
}

.related-section h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--accent-white);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.modal-content.modal-large {
    max-width: 900px;
}

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

.modal-header h3 {
    font-size: 24px;
    color: var(--accent-white);
}

.modal-close {
    background: none;
    border: none;
    color: var(--accent-white);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.modal-body {
    padding: 20px;
}

.modal-body h4 {
    margin-bottom: 5px;
    color: var(--accent-white);
}

.modal-body p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--accent-white);
}

.form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 14px;
}

.form-group select option {
    background: rgba(0, 0, 0, 0.98);
    color: #ffffff;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-white);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.5) 100%);
    padding: 50px 0 20px;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-white);
    font-weight: 700;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-white);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-white);
    border-radius: 50%;
    color: var(--accent-white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.footer-bottom p {
    margin-bottom: 5px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .detail-info {
        flex-direction: column;
    }
    
    .detail-poster {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .detail-title {
        font-size: 38px;
    }
    
    .filter-sidebar {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header-content {
        gap: 15px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        flex-shrink: 0;
    }
    
    .header-actions {
        flex: 1;
        justify-content: flex-end;
        gap: 8px;
    }
    
    .search-box {
        flex: 1;
        max-width: none;
    }
    
    .search-box input {
        width: 100%;
        padding: 10px 40px 10px 15px;
        font-size: 14px;
    }
    
    .search-box input:focus {
        width: 100%;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 16px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .filter-btn span {
        display: none;
    }
    
    .filter-btn i {
        margin: 0;
    }
    
    .hero {
        height: 450px;
        margin-top: 60px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo h1 {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .hero {
        height: 400px;
        margin-top: 55px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .section-title {
        font-size: 20px;
    }
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.loading-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loading-container p {
    font-size: 18px;
    color: var(--text-secondary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.detail-page {
    animation: fadeIn 0.3s ease-in;
}

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

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
