/* Reset and Global Styles */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

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

body {
    background-color: #1e2225;
    color: #ffffff;
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    padding-bottom: 50px;
}

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

/* Header Styles */
.header {
    text-align: center;
    padding: 25px 15px 15px;
    background-color: #1a1d20;
    border-bottom: 2px solid #2d3238;
}

.logo {
    color: #e50914;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

.subtitle {
    font-size: 0.95rem;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight-link {
    color: #10b981;
    font-weight: 700;
}

.check-icon {
    font-size: 0.85rem;
    margin-left: 2px;
}

.warning-text {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 15px;
}

/* Domain Buttons */
.domain-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-domain {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 4px;
    color: #ffffff;
    text-transform: uppercase;
}

.btn-new { background-color: #27272a; }
.btn-one { background-color: #06b6d4; }
.btn-work { background-color: #2563eb; }
.btn-shop { background-color: #eab308; color: #000000; }
.btn-tv { background-color: #06b6d4; }

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* Banner / World Cup Section */
.banner-section {
    background-color: rgba(2, 48, 32, 0.4);
    border: 1px solid #14532d;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-left {
    flex: 1;
    min-width: 250px;
}

.live-badge {
    background-color: #052e16;
    border: 1px solid #22c55e;
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

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

.banner-left h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.banner-left .year {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 8px;
}

.play-status {
    font-size: 0.8rem;
    color: #a7f3d0;
    font-weight: 600;
}

.banner-players {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.player-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    width: 75px;
    height: 100px;
    border: 1px solid #3f6212;
}

.player-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    padding: 2px 0;
}

.banner-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.btn-watch {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, filter 0.2s;
}

.btn-watch:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-watch-cyan {
    background-color: #06b6d4;
}

.btn-watch-red {
    background-color: #b91c1c;
}

/* Categories Section */
.tags-section {
    margin-bottom: 20px;
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tag-btn {
    background-color: #b91c1c;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #7f1d1d;
    transition: background-color 0.2s;
}

.tag-btn:hover {
    background-color: #991b1b;
}

.tag-btn.active {
    background-color: #ffffff !important;
    color: #b91c1c !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.text-red { color: #f87171; }
.text-orange { color: #fb923c; }

.badge-new {
    font-size: 0.65rem;
    vertical-align: middle;
}

/* Search Bar Section */
.search-section {
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #374151;
}

.search-bar input {
    flex: 1;
    background-color: #111827;
    border: none;
    padding: 12px 15px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
}

.search-bar input:focus {
    outline: none;
}

.search-btn {
    background-color: #06b6d4;
    border: none;
    padding: 0 25px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background-color: #0891b2;
}

/* Featured Section Banner Bar */
.featured-banner {
    margin-bottom: 15px;
}

.banner-bar {
    width: 100%;
    padding: 10px;
    font-weight: 700;
    text-align: center;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.green-bar {
    background-color: rgba(20, 83, 45, 0.5);
    border: 1px solid #22c55e;
    color: #22c55e;
}

/* Special Hot Tags */
.special-tags {
    margin-bottom: 20px;
}

.special-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.special-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.special-tag > span:first-child {
    padding: 6px 12px;
    color: #ffffff;
}

.sub-badge {
    padding: 6px 8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffffff;
}

/* Specific Special Tag Colors */
.tag-anime { background-color: #581c87; }
.badge-fresh { background-color: #3b82f6; }

.tag-adult { background-color: #9d174d; }
.badge-hot { background-color: #ef4444; }

.tag-ongoing { background-color: #7c2d12; }
.badge-new-yellow { background-color: #eab308; color: #000000 !important; }

.tag-drama { background-color: #1e3a8a; }
.badge-drama-all { background-color: #3b82f6; }

.tag-south { background-color: #0f766e; }
.badge-hot-teal { background-color: #14b8a6; }

/* Toggles Section */
.toggles-section {
    margin-bottom: 25px;
}

.toggles-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.toggle-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #ffffff;
    cursor: pointer;
}

.btn-only-new {
    background-color: #dc2626;
}

.btn-hide-adult {
    background-color: #16a34a;
}

.guide-btn {
    background-color: #7c2d12;
    border: 1px solid #ea580c;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.status-val {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}
/* Recently Updated Section (Full Width) */
.recently-updated-section {
    width: 100%;
    border-top: 2px solid #10b981;
    padding: 20px 25px 0 25px;
}

/* Section Title Area */
.section-title-area {
    margin-bottom: 20px;
    position: relative;
}

.section-title {
    color: #10b981;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
}

.floating-pdf {
    position: absolute;
    right: 0;
    top: 0px;
    background-color: #e50914;
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.floating-pdf:hover {
    transform: scale(1.1);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.movie-card {
    background-color: #0b0f19;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid #1e293b;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    border-color: #3b82f6;
}

.poster-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.movie-poster {
    width: 100%;
    height: 390px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.movie-card:hover .movie-poster {
    transform: scale(1.05);
}

.card-badges-top {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.badge-pinned {
    background-color: #eab308;
    color: #000000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
}

.badge-rating {
    background-color: #db2777;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.badge-quality {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
    color: #ffffff;
}

.q-webdl {
    background-color: #1e3a8a;
}

.q-hdtc {
    background-color: #b45309;
}

.views-count {
    position: absolute;
    right: 6px;
    bottom: 30px;
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 5;
    pointer-events: none;
}

.card-badges-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 5;
    pointer-events: none;
}

.badge-lang {
    background-color: #15803d;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 2px;
}

.badge-type {
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 2px;
}

.type-series {
    background-color: #2563eb;
}

.type-movie {
    background-color: #dc2626;
}

.movie-meta {
    padding: 10px;
    background-color: #020617;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.meta-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.time-elapsed {
    font-size: 0.65rem;
    color: #94a3b8;
}

.episode-tag {
    background-color: #0f172a;
    color: #38bdf8;
    border: 1px solid #334155;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
}

.movie-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Footer Styles */
.footer {
    text-align: center;
    padding: 30px 15px;
    background-color: #1a1d20;
    border-top: 1px solid #2d3238;
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 40px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* Bottom Sections styling */
.bottom-sections {
    width: 100%;
    margin: 40px auto 0 auto;
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.page-num {
    background-color: #27272a;
    color: #a1a1aa;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 0.2s, color 0.2s;
    border: 1px solid #3f3f46;
}

.page-num:hover {
    background-color: #3f3f46;
    color: #ffffff;
}

.page-num.active {
    background-color: #0070f3;
    color: #ffffff;
    border-color: #0070f3;
}

.page-sep {
    color: #71717a;
    font-weight: 700;
    padding: 0 5px;
}

/* Notice Box */
.notice-box {
    background-color: #070a13;
    border: 1px solid #1d4ed8;
    border-radius: 6px;
    padding: 20px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.notice-box p {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.notice-box p:last-child {
    margin-bottom: 0;
}

.notice-orange { color: #f97316; }
.notice-green { color: #22c55e; }
.notice-blue { color: #3b82f6; }
.notice-white { color: #e5e7eb; }

/* Action Buttons Container */
.action-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 35px;
}

.btn-action {
    width: 100%;
    max-width: 320px;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
    border-radius: 4px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, filter 0.2s;
}

.btn-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-red-download {
    background-color: #ea580c;
}

.btn-green-fifa {
    background-color: #092c1e;
    border: 1px solid #22c55e;
}

.social-buttons-row {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 320px;
}

.btn-social {
    flex: 1;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.2s, filter 0.2s;
}

.btn-social:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-fb {
    background-color: #1e40af;
}

.btn-tg {
    background-color: #0ea5e9;
}

/* Languages and Genres blocks */
.category-block {
    background-color: #070a13;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 30px 25px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.block-title {
    color: #e2e8f0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1e293b;
}

.block-search-container {
    margin-bottom: 22px;
}

.block-search {
    background-color: #0b0f19;
    border: 1px solid #1e293b;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
    font-family: inherit;
}

.block-search:focus {
    outline: none;
    border-color: #3b82f6;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    width: 100%;
}

.badge-item {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #f59e0b;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
    
    flex: 0 1 auto;
    min-width: 95px;
}

.badge-item:hover {
    background-color: #334155;
    color: #ffffff;
}

/* Movie Detail Container */
.movie-detail-container {
    width: 100%;
    padding: 0 40px;
    margin-top: 20px;
    text-align: left;
}

.back-nav {
    margin-bottom: 20px;
    width: 100%;
}

.btn-back {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.btn-back:hover {
    background-color: #334155;
    color: #ffffff;
}

.detail-main-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
}

.detail-poster-wrapper {
    flex: 0 0 390px;
}

.detail-poster {
    width: 100%;
    height: 530px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.detail-info-wrapper {
    flex: 1;
    min-width: 450px;
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.detail-episode {
    font-size: 1rem;
    font-weight: 700;
    color: #eab308;
    margin-bottom: 25px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    background-color: #070a13;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #1e293b;
}

.meta-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: bold;
}

.meta-value {
    font-size: 1rem;
    font-weight: 700;
}

.val-type { color: #f59e0b; }      /* yellow/orange for type */
.val-lang { color: #bef264; }      /* lime green for lang */
.val-quality { color: #38bdf8; }   /* cyan/light blue for quality */

.detail-desc-box {
    background-color: #0b0f19;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    width: 100%;
}

.detail-desc-box p {
    font-size: 0.95rem;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.detail-desc-box p i {
    width: 20px;
    text-align: center;
    color: #94a3b8;
    margin-top: 3px;
}

.detail-desc-box p:last-child {
    margin-bottom: 0;
}

.detail-storyline-box {
    background-color: #070a13;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    width: 100%;
}

.detail-storyline-box h4 {
    color: #38bdf8;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-storyline-box p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .detail-main-layout {
        flex-direction: column;
        align-items: center;
    }
    .detail-poster-wrapper {
        width: 100%;
        max-width: 280px;
    }
}

/* Zip Notice Box */
.detail-zip-notice {
    background-color: #0b0f19;
    border-left: 4px solid #00f0ff;
    padding: 20px;
    border-radius: 4px;
    margin: 30px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.detail-zip-notice p {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-unzip {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, filter 0.2s;
}

.btn-unzip:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Download Headers */
.detail-download-links {
    margin: 40px 0 20px 0;
    text-align: center;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 20px;
    width: 100%;
}

.title-complete {
    color: #10b981;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.title-download {
    color: #fbbf24;
    font-size: 1.4rem;
    font-weight: 800;
}

/* Full Series Download Section */
.full-download-section {
    margin: 0 0 30px 0;
    width: 100%;
}

.green-indicator-bar {
    border-left: 3px solid #10b981;
    padding-left: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-dl-season {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #38bdf8;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
}

.btn-dl-season:hover {
    background-color: #334155;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Episode Links Section */
.episode-links-header {
    text-align: center;
    margin: 40px 0 20px 0;
    width: 100%;
}

.title-episode-wise {
    color: #10b981;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.subtitle-episode-wise {
    color: #fbbf24;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Episode Search */
.episode-search-container {
    margin: 0 0 25px 0;
    width: 100%;
}

.episode-search-input {
    width: 100%;
    background-color: #070a13;
    border: 1px solid #1e293b;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
}

.episode-search-input:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Episode Grid */
.episode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 0 40px 0;
    width: 100%;
}

.episode-card {
    background-color: #0c101a;
    border: 1px solid #1e293b;
    border-left: 3px solid #10b981;
    border-radius: 4px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.badge-new-added {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc2626;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 2px;
}

.ep-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.link-watch-online {
    color: #06b6d4;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.link-watch-online:hover {
    color: #22d3ee;
}

.btn-dl-ep {
    width: 100%;
    max-width: 220px;
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #38bdf8;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.btn-dl-ep:hover {
    background-color: #334155;
    color: #ffffff;
}

@media (max-width: 900px) {
    .episode-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .episode-grid {
        grid-template-columns: 1fr;
    }
}

/* Detail Social Notice */
.detail-social-notice {
    background-color: #1e293b;
    border-left: 4px solid #3b82f6;
    padding: 25px;
    border-radius: 6px;
    margin: 40px 0;
    text-align: center;
    width: 100%;
}

.detail-notice-text {
    color: #38bdf8;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.detail-social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-fb-join {
    background-color: #3b5998;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: filter 0.2s;
}

.btn-tg-join {
    background-color: #29b6f6;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: filter 0.2s;
}

.btn-fb-join:hover, .btn-tg-join:hover {
    filter: brightness(1.15);
    color: #ffffff;
}

/* Also Download Section */
.also-download-header {
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #10b981;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.also-download-header h3 {
    color: #10b981;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
}

.also-download-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    width: 100%;
    margin-bottom: 60px;
}

@media (max-width: 1300px) {
    .also-download-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1100px) {
    .also-download-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 800px) {
    .also-download-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Download Page Styles */
.download-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    min-height: 80vh;
    width: 100%;
}

.dl-card {
    background-color: #151a25;
    border-left: 3px solid #10b981;
    border-right: 3px solid #10b981;
    border-radius: 8px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dl-brand {
    color: #ef4444;
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.dl-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.dl-filename {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 20px;
    word-break: break-all;
}

.dl-badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.dl-badge {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dl-badge .text-green { color: #10b981; }
.dl-badge .text-yellow { color: #eab308; }
.dl-badge .text-blue { color: #3b82f6; }

.dl-buttons-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.dl-btn {
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, filter 0.2s;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 340px;
}

.dl-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-one-click {
    background-color: #6366f1;
}

.btn-mcloud {
    background-color: #3b82f6;
}

.btn-tg-rounded {
    background-color: #38bdf8;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: filter 0.2s;
}

.btn-tg-rounded:hover {
    filter: brightness(1.1);
}

/* Cloud Downloader Page Styles */
.cloud-page-wrapper {
    background-color: #f4f6f9;
    color: #334155;
    min-height: 100vh;
    width: 100%;
    padding: 30px 20px;
    font-family: 'Inter', sans-serif;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
}

.cloud-container {
    max-width: 900px;
    margin: 0 auto;
}

.cloud-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.cloud-dot {
    width: 10px;
    height: 10px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
}

.cloud-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.cloud-title-bar {
    background-color: #4f46e5;
    color: #ffffff;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    font-size: 1.05rem;
    word-break: break-all;
}

.cloud-info-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

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

.cloud-label {
    color: #64748b;
    font-weight: 500;
}

.cloud-value {
    color: #334155;
    font-weight: 600;
}

.cloud-stats-row {
    display: flex;
    justify-content: space-around;
    padding: 24px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.cloud-stat-item {
    text-align: center;
}

.cloud-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.stat-yellow { background-color: #eab308; color: #1e293b; }
.stat-green { background-color: #22c55e; }
.stat-blue { background-color: #3b82f6; }

.cloud-stat-val {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
}

.cloud-watch-bar {
    background-color: #06b6d4;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.2);
}

.btn-play {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cloud-action-block {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.btn-direct-dl {
    background-color: #2563eb;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: filter 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.btn-direct-dl:hover { filter: brightness(1.1); }

.cloud-link-box {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #64748b;
    padding: 12px 16px;
    border-radius: 4px;
    width: 100%;
    font-size: 0.85rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 15px;
    font-family: monospace;
}

.btn-copy-link {
    background-color: #2563eb;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: filter 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.btn-copy-link:hover { filter: brightness(1.1); }

.cloud-footer {
    text-align: center;
    padding: 25px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}
.cloud-footer .heart { color: #ef4444; }

/* Responsive Media Queries */
@media (max-width: 768px) {
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .movie-poster {
        height: 280px;
    }
    .logo {
        font-size: 2.8rem;
    }
    .badge-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
    }
    .badge-item {
        flex: none;
        max-width: none;
        min-width: 0;
        width: 100%;
        padding: 8px 2px;
        font-size: 0.75rem;
        text-align: center;
    }
    /* Detailed page responsive fixes */
    .movie-detail-container {
        padding: 0 15px;
    }
    .detail-info-wrapper {
        min-width: 100%;
        width: 100%;
    }
    .detail-title, .detail-episode {
        text-align: center;
    }
    .detail-title {
        font-size: 1.35rem !important;
    }
    .detail-main-layout {
        gap: 20px;
    }
    .green-indicator-bar {
        border-left: none;
        padding-left: 0;
        justify-content: center;
    }
    .also-download-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    .detail-title {
        font-size: 1.15rem !important;
    }
    .logo {
        font-size: 2.4rem;
        margin-bottom: 8px;
    }
    .subtitle {
        font-size: 0.85rem;
    }
    .warning-text {
        font-size: 0.75rem;
        padding: 0 5px;
    }
    .domain-buttons {
        gap: 5px;
    }
    .btn-domain {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    .tags-grid {
        gap: 6px;
    }
    .tag-btn {
        padding: 5px 8px;
        font-size: 0.7rem;
    }
    .search-bar input {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    .search-btn {
        padding: 0 15px;
    }
    .special-tags-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }
    .special-tag {
        flex: 1 1 calc(50% - 3px);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .special-tag.tag-south {
        flex: 1 1 100%;
    }
    .special-tag > span:first-child {
        padding: 6px 8px;
        font-size: 0.75rem;
    }
    .sub-badge {
        padding: 6px 8px;
        font-size: 0.6rem;
    }
    .toggles-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }
    .toggle-btn {
        flex: 1 1 calc(50% - 3px);
        text-align: center;
        padding: 8px;
        font-size: 0.75rem;
        border-radius: 4px;
    }
    .guide-btn {
        flex: 1 1 100%;
        text-align: center;
        padding: 10px;
        font-size: 0.85rem;
        background-color: #8b5a2b; /* Gold/brown background */
        border: 1px solid #9c6c3c;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .movie-poster {
        height: 180px;
    }
}

/* Floating Watch Now Button Styles */
.floating-watch-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: auto;
}

.watch-preview-box-vertical {
    position: relative;
    background: linear-gradient(135deg, #e50914 0%, #b81d24 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 160px;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3), 0 4px 12px rgba(0, 0, 0, 0.5);
    animation: bounceMini 2s infinite ease-in-out;
    box-sizing: border-box;
}

.close-preview-btn {
    position: absolute;
    top: 4px;
    right: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10;
    padding: 4px;
}

.close-preview-btn:hover {
    color: #ffffff;
    transform: scale(1.15);
}

.preview-live-top {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
}

.pulse-dot-white {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulseWhite 1.6s infinite;
}

@keyframes pulseWhite {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.preview-thumbnail-middle {
    width: 136px;
    height: 80px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background-color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.preview-thumbnail-middle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay-middle {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.8rem;
}

.play-overlay-middle i {
    animation: pulseIcon 1.5s infinite ease-in-out;
    color: #ffffff;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes bounceMini {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.btn-preview-watch-bottom {
    width: 100%;
    background-color: #ffffff;
    color: #e50914 !important;
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    padding: 8px 0;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-preview-watch-bottom:hover {
    background-color: #f3f4f6;
    transform: translateY(-1px);
}

.btn-preview-watch-bottom:active {
    transform: translateY(0);
}

.movie-detail-container {
    padding-bottom: 180px !important;
}

@media (max-width: 480px) {
    .floating-watch-container {
        bottom: 16px;
        right: 16px;
    }
    .watch-preview-box-vertical {
        width: 130px;
        padding: 8px;
        gap: 8px;
    }
    .preview-thumbnail-middle {
        width: 112px;
        height: 66px;
    }
    .btn-preview-watch-bottom {
        padding: 6px 0;
        font-size: 0.75rem;
    }
    .preview-live-top {
        font-size: 0.65rem;
    }
}

