:root {
    /* Original Red Theme Colors */
    --primary-color: #0d1117;
    --secondary-color: #1a1a1a;
    --accent-color: #ff6b6b;  /* Original red */
    --hover-color: #ff5252;   /* Darker red on hover */
    --secondary-accent: #4ecdc4; /* Turquoise complement */
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    
    /* Background colors */
    --background-color: #0d1117;
    --dark-bg: #0d1117;
    --dark-surface: #161b22;
    --surface-color: #21262d;
    --card-background: #161b22;
    
    /* Text colors */
    --text-color: #f0f6fc;
    --dark-text: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    
    /* Border and shadows */
    --border-color: #30363d;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --glow-color: rgba(255, 107, 107, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff6b6b, #ff5252);
    --gradient-secondary: linear-gradient(135deg, #4ecdc4, #16a085);
    --gradient-dark: linear-gradient(135deg, #161b22, #0d1117);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

/* ===== HEADER STYLES ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dark-surface);
    box-shadow: 0 2px 12px var(--shadow-color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo-search-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-text {
    font-family: 'Century Gothic', 'Futura', 'Arial Black', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ff6b6b;
    display: inline-block;
    line-height: 1;
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.search-bar {
    position: relative;
    max-width: 500px;
    flex: 1;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 3.5rem 0.75rem 1.5rem;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--glow-color);
    background: var(--dark-surface);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.search-bar button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px var(--glow-color);
}

.breadcrumb {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(46, 204, 113, 0.05);
    border-top: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--hover-color);
    text-decoration: underline;
    }
/* ===== MAIN CONTENT STYLES ===== */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

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

/* ===== SECTION STYLES ===== */
.section {
    margin-bottom: 4rem;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title h2::before {
    content: '';
    width: 4px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.view-all {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.view-all:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== VJ CARDS STYLES ===== */
.vj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.vj-card {
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.vj-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-color);
    border-color: var(--accent-color);
}

.vj-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gradient-dark);
}

.vj-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vj-card:hover .vj-thumbnail img {
    transform: scale(1.1);
}

.vj-info {
    padding: 1.5rem;
}

.vj-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.vj-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.vj-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== CONTENT GRID STYLES ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.content-item {
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
    border-color: var(--accent-color);
}

.content-thumbnail {
    position: relative;
    padding-top: 150%;
    overflow: hidden;
    background: var(--surface-color);
}

.content-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-item:hover .content-thumbnail img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem 1rem 1rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.release-year, .season-count, .downloads {
    background: rgba(46, 204, 113, 0.9);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.content-info {
    padding: 1rem;
}

.content-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

/* ===== HORIZONTAL SCROLL STYLES ===== */
.horizontal-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 3px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

.horizontal-scroll .content-item {
    min-width: 200px;
    flex-shrink: 0;
}
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-bar button:hover {
    background-color: var(--hover-color);
}

.download-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.download-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.vj-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.vj-nav::-webkit-scrollbar {
    display: none;
}

/* Update VJ nav buttons */
.vj-button {
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
}

.vj-button .count {
    background-color: rgba(255,255,255,0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.vj-button.active {
    background-color: var(--secondary-accent);
}

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


.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.view-all {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background-color: var(--dark-surface);
    margin: 1rem 0;
    border-radius: 8px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-value {
    color: var(--accent-color);
    font-weight: bold;
}

/* Grid and card styles */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
    width: 100%;
}

.grid-item {
    background-color: var(--dark-surface);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content; /* Make card wrap content */
    justify-self: center; /* Center card in grid cell */
}

.poster-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 2/3;
}

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

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
}

.item-info h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-info .category {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    background: none;
    padding: 0;
}

/* Trending section styles */
.trending-section {
    margin-bottom: 2rem;
}

.downloads {
    display: inline-block;
    background: rgba(255, 107, 107, 0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Update grid items for trending */
.trending-section .grid-item {
    position: relative;
}

.trending-section .item-info {
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
}

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

.vj-card {
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vj-card:hover {
    transform: translateY(-3px);
}

.vj-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.item-count {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.site-footer {
    background: #181818;
    color: #ccc;
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.footer-section {
    min-width: 180px;
}

.footer-section h3 {
    color: #ff6b6b;
    margin-bottom: 0.7rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

/* Category page specific styles */
.category-header {
    background-color: var(--dark-surface);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.category-header h1 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.category-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.sort-options {
    display: flex;
    gap: 1rem;
}

.sort-options a {
    color: var(--dark-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.1);
    transition: background-color 0.2s;
}

.sort-options a.active {
    background-color: var(--accent-color);
}

.sort-options a:hover {
    background-color: var(--accent-color);
}

.breadcrumb {
    padding: 0.5rem 1rem;
    color: var(--dark-text);
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.no-content {
    text-align: center;
    padding: 2rem;
    color: var(--dark-text);
    background-color: var(--dark-surface);
    border-radius: 8px;
}

/* Letter navigation styles */
.letter-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 1rem 0; /* Remove padding left/right */
    border-radius: 8px;
}

.letter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--dark-surface);
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.letter-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.letter-button.active {
    background-color: var(--accent-color);
}

/* Mobile adjustments */
@media (max-width: 768px) { 
    .letter-navigation {
        padding: 0.5rem 0; /* Remove padding left/right */
        gap: 0.25rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .letter-navigation::-webkit-scrollbar {
        display: none;
    }

    .letter-button {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .vj-nav {
        padding: 0.5rem 0;
    }

    .grid-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;  /* Firefox */
        -ms-overflow-style: none;  /* IE and Edge */
        gap: 0.8rem;
        padding: 0.5rem;
        margin: 0 -0.5rem; /* Compensate for container padding */
    }

    .grid-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .grid-item {
        scroll-snap-align: start;
        flex: 0 0 auto;
        width: auto; /* Remove fixed width */
        max-width: 140px; /* Set maximum width */
        background-color: transparent; /* Remove background */
    }

    .poster-container {
        width: 140px;
        height: 210px; /* Maintain 2:3 aspect ratio */
        background-color: var(--dark-surface); /* Move background to poster container */
        border-radius: 8px; /* Move border radius to poster container */
        overflow: hidden;
    }

    .item-info {
        width: 100%; /* Make info width match container */
        border-radius: 0 0 8px 8px; /* Round bottom corners */
    }

    .item-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .item-info p {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .category {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    /* Section spacing */
    .trending-section,
    .series-section,
    .movies-section {
        margin-bottom: 1.5rem;
    }

    .section-title {
        padding: 0 1rem;
        margin-bottom: 0.5rem;
    }

    /* VJ navigation */
    .vj-nav {
        padding: 0.5rem;
        margin-bottom: 1rem;
    }

    .vj-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Header adjustments */
    .site-header {
        padding: 0.5rem;
    }

    .logo-img {
        max-width: 150px;
    }

    .search-bar {
        padding: 0 0.5rem;
    }

    .search-bar input {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .search-bar button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.8rem;
    }

    .poster-container {
        width: 120px;
    }

    .item-info h3 {
        font-size: 0.8rem;
    }

    .item-info p {
        font-size: 0.7rem;
    }

    .category {
        font-size: 0.7rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .category-header {
        padding: 1rem;
        margin: 0.5rem;
    }

    .category-header h1 {
        font-size: 1.5rem;
    }

    .sort-options {
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sort-options::-webkit-scrollbar {
        display: none;
    }
}

/* Add smooth scrolling for all devices */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improve touch experience */
@media (hover: none) {
    .grid-container {
        cursor: grab;
    }
    
    .grid-container:active {
        cursor: grabbing;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .movie-details {
        flex-direction: column;
        padding: 1rem;
    }

    .poster-section {
        flex: 0 0 auto;
        max-width: 250px;
        margin: 0 auto;
    }

    .details-section {
        text-align: center;
    }

    .meta-info {
        justify-content: center;
    }

    .search-bar {
        width: 100%;
        padding: 0 1rem;
    }

    .search-bar input {
        width: 70%;
    }

    .search-bar button {
        width: 28%;
    }
}

/* Dark Mode Specific */
.dark-mode .movie-details {
    background: #1a1a1a;
}

.dark-mode .meta-info span {
    background: #333;
    color: #fff;
}

/* Details page layout */
.movie-details,
.series-details {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding: 2rem;
    margin: 1rem;
    background-color: var(--dark-surface);
    border-radius: 12px;
}

/* Poster styles */
.poster-section {
    position: relative;
}

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

/* Details content */
.details-section {
    color: var(--dark-text);
}

.details-section h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Meta information */
.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-info span {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

.meta-info .downloads {
    background-color: var(--accent-color);
    color: white;
}

.meta-info .category-tag {
    background-color: var(--secondary-accent);
    color: white;
}

/* Description */
.description {
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

/* Upload info */
.upload-info {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Download section */
.download-section {
    margin-top: 2rem;
}

/* Series specific styles */
.seasons-section {
    margin-top: 2rem;
}

.seasons-section h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.season-item {
    margin-bottom: 0.5rem;
}

.season-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.2s ease;
}

.season-link:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.season-info h3 {
    margin-bottom: 0.25rem;
}

.episode-count {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.season-dates {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Episodes page styles */
.episodes-container {
    padding: 1rem;
}

.series-header {
    background-color: var(--dark-surface);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.series-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.series-thumbnail {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

.series-meta h1 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.season-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.season-button {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.1);
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.season-button:hover {
    background-color: var(--accent-color);
}

.season-button.active {
    background-color: var(--accent-color);
}

.episodes-list {
    display: grid;
    gap: 1rem;
}

.episode-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.2s;
}

.episode-card:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.episode-info h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.episode-title {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.upload-date, .downloads {
    display: inline-block;
    margin-right: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.following-episodes {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.following-episodes h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

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

.episode-preview {
    text-decoration: none;
    color: var(--dark-text);
    transition: transform 0.2s;
}

.episode-preview:hover {
    transform: translateY(-5px);
}

.episode-thumb {
    position: relative;
    padding-top: 56.25%;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--dark-surface);
}

.episode-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-number {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(0,0,0,0.8);
    border-radius: 4px;
    font-size: 0.8rem;
}

.episode-preview h3 {
    font-size: 1rem;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

    .episode-preview h3 {
        font-size: 0.9rem;
    }
}
/* Episode actions styles */
.episode-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.preview-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.preview-button:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .episode-actions {
        width: 100%;
        flex-direction: column;
    }

    .preview-button,
    .download-button {
        width: 100%;
        text-align: center;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .series-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .series-thumbnail {
        width: 120px;
    }

    .season-nav {
        justify-content: center;
    }

    .episode-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .episode-info {
        width: 100%;
    }

    .download-button {
        width: 100%;
    }

    .movie-details,
    .series-details {
        grid-template-columns: 1fr;
        padding: 1rem;
        margin: 0.5rem;
    }

    .poster-section {
        max-width: 280px;
        margin: 0 auto;
    }

    .details-section h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .meta-info {
        justify-content: center;
    }

    .description {
        font-size: 1rem;
        text-align: justify;
    }

    .download-button {
        display: block;
        text-align: center;
        padding: 1rem;
    }

    .season-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .season-dates {
        font-size: 0.8rem;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .movie-details,
    .series-details {
        grid-template-columns: 220px 1fr;
        padding: 1.5rem;
    }

    .details-section h1 {
        font-size: 1.75rem;
    }
}

/* Preview page styles */
.preview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}


/* Download verification styles */
.download-verification {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--dark-surface);
    border-radius: 8px;
    text-align: center;
}

.captcha-container {
    margin: 2rem 0;
    padding: 1rem;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.captcha-code {
    font-family: monospace;
    font-size: 2rem;
    letter-spacing: 0.5rem;
    color: var(--accent-color);
    user-select: none;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    background-color: rgba(255,255,255,0.05);
    color: var(--dark-text);
}

.error-message {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

/* Action buttons styles */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.action-buttons .preview-button {
    background-color: rgba(255,255,255,0.1);
}

.action-buttons .download-button {
    background-color: var(--accent-color);
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

    .action-buttons a {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .grid-container {
        display: flex;
    }
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

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

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.download-button {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.preview-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.preview-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
}

/* ===== DETAIL PAGE STYLES ===== */
.movie-details, .series-details {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    padding: 2rem;
    background: var(--card-background);
    border-radius: 16px;
    margin: 2rem auto;
    max-width: 1200px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.poster-section {
    position: relative;
}

.poster-section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.poster-section img:hover {
    transform: scale(1.02);
}

.details-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-color);
}

.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-info span {
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-info .downloads, .meta-info .category-tag {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.description {
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== SEASONS AND EPISODES ===== */
.seasons-section {
    margin-top: 2rem;
}

.seasons-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.season-item {
    margin-bottom: 1rem;
}

.season-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.season-link:hover {
    background: var(--card-background);
    border-color: var(--accent-color);
    transform: translateX(8px);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.season-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.episode-count {
    color: var(--accent-color);
    font-weight: 500;
}

.season-dates {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== SIMILAR CONTENT ===== */
.similar-content, .latest-series {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.similar-content h2, .latest-series h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.similar-content h2::before, .latest-series h2::before {
    content: '';
    width: 4px;
    height: 25px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.page-link {
    padding: 0.75rem 1.25rem;
    background: var(--surface-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    font-weight: 500;
}

.page-link:hover, .page-link.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.page-link.prev, .page-link.next {
    background: var(--accent-color);
    color: white;
    border: none;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--text-muted);
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .logo-search-wrap {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .search-bar {
        max-width: 100%;
    }
    
    .breadcrumb {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    main {
        padding: 1rem 0.5rem;
    }
    
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .vj-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .horizontal-scroll .content-item {
        min-width: 150px;
    }
    
    .movie-details, .series-details {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        margin: 1rem;
        gap: 2rem;
    }
    
    .poster-section {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .details-section h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .meta-info {
        justify-content: center;
        text-align: center;
    }
    
    .season-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .horizontal-scroll .content-item {
        min-width: 120px;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .details-section h1 {
        font-size: 1.5rem;
    }
}

/* ===== LOADING AND ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(46, 204, 113, 0.3); }
    50% { box-shadow: 0 0 40px rgba(46, 204, 113, 0.6); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}

.content-item, .vj-card {
    animation: fadeIn 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.hidden { display: none; }
.visible { display: block; }

.accent-text { color: var(--accent-color); }
.muted-text { color: var(--text-muted); }
.secondary-text { color: var(--text-secondary); }

/* ===== MOBILE HORIZONTAL SCROLL FIX ===== */
@media (max-width: 768px) {
    .grid-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        padding: 0.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .grid-container::-webkit-scrollbar {
        display: none;
    }
    
    .grid-item {
        min-width: 140px;
        max-width: 140px;
        flex: 0 0 140px;
        scroll-snap-align: start;
    }
}