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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

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

.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.search-form {
    display: flex;
    background: #f1f3f4;
    border-radius: 25px;
    overflow: hidden;
    margin: 0 20px;
}

.search-input {
    border: none;
    padding: 12px 20px;
    background: transparent;
    outline: none;
    width: 300px;
    font-size: 14px;
}

.search-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

.search-btn:hover {
    background: #e55a2b;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-list li.active a,
.nav-list li a:hover {
    color: #ff6b35;
    border-bottom: 2px solid #ff6b35;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    position: relative;
}

.banner-slider {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

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

.slide-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
}

.slide-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-info p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.banner-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 20px;
}

.banner-nav button {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    pointer-events: all;
    transition: background 0.3s;
}

.banner-nav button:hover {
    background: rgba(255,255,255,0.5);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

.quick-nav {
    background: white;
    padding: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.quick-list {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

.quick-item:hover {
    transform: translateY(-5px);
}

.quick-item img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.quick-item span {
    font-size: 14px;
    color: #666;
}

.main {
    padding: 40px 0;
}

.content-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #ff6b35;
    border-radius: 2px;
}

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

.movie-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.movie-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.movie-thumb {
    position: relative;
    overflow: hidden;
}

.movie-thumb img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.rating {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,107,53,0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.movie-title {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-links p {
    margin: 15px 0;
    line-height: 1.8;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b35;
}

.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #eee;
    z-index: 1000;
}

.mobile-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.nav-item.active,
.nav-item:hover {
    color: #ff6b35;
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-text {
    font-size: 12px;
}

.back-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
}

.back-top button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff6b35;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    transition: all 0.3s;
}

.back-top button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .search-form {
        order: 3;
        width: 100%;
        margin: 0;
    }
    
    .search-input {
        width: 100%;
    }
    
    .banner {
        padding: 20px 0;
    }
    
    .banner-slider {
        height: 250px;
    }
    
    .slide-info {
        bottom: 20px;
        left: 20px;
    }
    
    .slide-info h2 {
        font-size: 1.8rem;
    }
    
    .slide-info p {
        font-size: 1rem;
    }
    
    .quick-list {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .movie-thumb img {
        height: 220px;
    }
    
    .movie-title {
        padding: 12px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .mobile-footer {
        display: block;
    }
    
    .main {
        padding-bottom: 80px;
    }
    
    .back-top {
        bottom: 100px;
        right: 15px;
    }
    
    .back-top button {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .search-input {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .banner-slider {
        height: 200px;
    }
    
    .slide-info h2 {
        font-size: 1.5rem;
    }
    
    .slide-info p {
        font-size: 0.9rem;
    }
    
    .quick-list {
        gap: 15px;
    }
    
    .quick-item img {
        width: 36px;
        height: 36px;
    }
    
    .quick-item span {
        font-size: 12px;
    }
    
    .movie-grid {
        gap: 12px;
    }
    
    .movie-thumb img {
        height: 180px;
    }
    
    .movie-title {
        padding: 10px;
        font-size: 13px;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .rating,
    .status {
        font-size: 11px;
        padding: 3px 6px;
    }
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.movie-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.movie-card:nth-child(1) { animation-delay: 0.1s; }
.movie-card:nth-child(2) { animation-delay: 0.2s; }
.movie-card:nth-child(3) { animation-delay: 0.3s; }
.movie-card:nth-child(4) { animation-delay: 0.4s; }
.movie-card:nth-child(5) { animation-delay: 0.5s; }
.movie-card:nth-child(6) { animation-delay: 0.6s; }

.slide {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

    
