/* === Movie Card Styles === */
.blurred-card {
    filter: blur(4px);
    opacity: 0.3;
    pointer-events: none;
    transition: 0.3s ease all;
}

.movie-card {
    width: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* was space-between */
    background-color: #111;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.movie-card .image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3; /* ensures image fixed height */
    overflow: hidden;
}

.movie-card .content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.movie-card .content .title {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 14px;
    color: #fff;
    line-height: 1.4em;
    min-height: 2.8em;
    max-height: 2.8em;
    margin: auto;
}
.upload-time {
    font-size: 10px;
    color: #999;
    margin-bottom: 1px;
}

/* === Badges === */
.badge-group {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    display: flex !important;
    gap: 5px !important;
    z-index: 3 !important;
}

.badge {
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 2px 4px !important;
    border-radius: 2px !important;
    color: #fff !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

.adult18plus-badge {
    background: linear-gradient(135deg, #ff0033, #800080) !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    line-height: 1;
    animation: zikimikiGlow 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.6);
    position: relative;
}

@keyframes zikimikiGlow {
    0% {
        box-shadow: 0 0 5px #ff0077, 0 0 10px #ff0077;
    }
    50% {
        box-shadow: 0 0 12px #ff33aa, 0 0 20px #ff33aa;
    }
    100% {
        box-shadow: 0 0 5px #ff0077, 0 0 10px #ff0077;
    }
}


.pin-badge {
    background-color: #facc15 !important; 
    color: #000 !important;
}

.new-badge {
    background-color: #f00 !important; 
}

.rating-badge {
    background-color: #F50F51 !important;
}


/* === Download Button Variants === */
a:link {
    text-decoration: none;
}
.vn-red a,
.vn-warm_brown a {
    display: inline-block;
    font-weight: bold;
    position: relative;
    padding: 20px 20px 20px 80px;
    color: #fff;
    transition: all 0.4s ease;
    border-radius: 3px;
}
.vn-red a {
    background-color: #e74c3c;
}
.vn-warm_brown a {
    background-color: #8c6635;
}
.vn-red a:before,
.vn-warm_brown a:before {
    content: "\f019";
    font-family: fontAwesome;
    position: absolute;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 16px;
    border-radius: 0 20px 0 0;
    color: #000;
    background-color: #fff;
    opacity: 0.3;
    padding: 20px;
    top: 0;
    left: 0;
}
.vn-red a:hover,
.vn-warm_brown a:hover {
    background: #7f8c8d;
}
.toggle-btn {
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}
.bg-red {
    background-color: #ef4444;
}
.bg-red:hover {
    background-color: #dc2626;
}
.bg-green {
    background-color: #16a34a;
}
.bg-green:hover {
    background-color: #15803d;
}











#auto-swipe-container {
display: flex;
overflow-x: hidden; /* Hide scrollbar */
white-space: nowrap;
position: relative;
transition: scroll-left 0.5s ease; /* Smooth transition */
}
.file-item {
display: inline-block;
margin-right: 10px;
text-align: center;
}










.main-section {
    padding: 10px;
    font-weight: bold;
}
.section {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}
.section-header {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    text-transform: uppercase;
}
.search-input {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333;
    color: #e0e0e0;
}
/* Grid Layout */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.grid-item {
    flex: 1 0 120px;
    max-width: 200px;
}
.button-grid a {
    display: block;
    text-decoration: none;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
}
/* Button Colors */
.language-button {
    background-color: #2c3e50;
    color: yellow !important;
}
.genre-button {
    background-color: #34495e;
    color: #ffae42 !important;
}
.button-grid a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}
@media (max-width: 576px) {
    .button-grid a {
        font-size: 14px;
        padding: 12px;
    }
}








.flex-container {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    margin-bottom: 1rem;
    list-style-type: none;
    /* Remove bullets from the list */
}

.flex-item {
    flex: 1;
}

.text-left {
    text-align: left;
}

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

.text-right {
    text-align: right;
}

.text-orange {
    color: orange;
}

.text-yellow {
    color: yellow;
}

.text-cyan {
    color: cyan;
}

.uppercase {
    text-transform: uppercase;
}
.responsive-img {
    max-width: 100%;
    height: auto;
}