/* Premium Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #09090b;
    color: #f4f4f5;
    overflow-x: hidden;
}

/* Navbar Design */
.navbar {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.brand-logo {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-logo span {
    color: #e11d48; /* Red/Crimson Main Theme */
}

.nav-badge {
    background: linear-gradient(45deg, #e11d48, #be123c);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 45vh;
    min-height: 350px;
    background: url('https://images.unsplash.com/photo-1536440136628-849c177e76a1?q=80&w=1925&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #09090b 0%, rgba(9, 9, 11, 0.6) 50%, rgba(0,0,0,0.8) 100%);
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;
    padding-top: 60px;
}

.hero-tag {
    background: rgba(225, 29, 72, 0.2);
    border: 1px solid #e11d48;
    color: #f43f5e;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    color: #a1a1aa;
    max-width: 600px;
    font-size: 15px;
}

/* Main Layout Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title-box {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: #e11d48;
    border-radius: 2px;
}

/* Movies Layout Grid */
.movies-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

/* Card Design (Netflix Style) */
.movie-card {
    background: #18181b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 12px 24px rgba(225, 29, 72, 0.15);
}

.card-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #27272a;
}

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

.badge-rate {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fbbf24;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.card-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.movie-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.movie-desc {
    font-size: 12px;
    color: #71717a;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 34px;
    line-height: 17px;
}

/* Watch Button */
.custom-play-btn {
    width: 100%;
    background: linear-gradient(180deg, #e11d48 0%, #be123c 100%);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.custom-play-btn:hover {
    background: linear-gradient(180deg, #f43f5e 0%, #e11d48 100%);
    box-shadow: 0 0 12px rgba(225, 29, 72, 0.4);
}

/* Loading & Empty Status Styles */
.loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    color: #a1a1aa;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #e11d48;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-movies-box {
    text-align: center;
    padding: 60px 20px;
    color: #52525b;
}

.no-movies-box i {
    font-size: 48px;
    margin-bottom: 15px;
}

/* Footer Section */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #18181b;
    color: #3f3f46;
    font-size: 13px;
    margin-top: 60px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section { height: 35vh; min-height: 250px; }
    .hero-content h1 { font-size: 26px; }
    .hero-content p { font-size: 13px; }
    .movies-layout-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; }
    .movie-title { font-size: 13px; }
    .card-info { padding: 10px; }
}
