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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, 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 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    color: #e74c3c;
    text-decoration: none;
}

.search-box {
    flex: 1;
    max-width: 400px;
    margin: 0 30px;
}

.search-form {
    display: flex;
    border: 2px solid #e74c3c;
    border-radius: 25px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

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

.nav-menu {
    border-top: 1px solid #eee;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.update-info {
    color: #666;
    font-size: 14px;
}

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

.nav-item a {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-item.active a,
.nav-item a:hover {
    background: #e74c3c;
    color: white;
}

.main-content {
    padding: 20px 0;
}

.hero-slider {
    position: relative;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slider-container {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 40px 30px 30px;
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.play-btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.play-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

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

.prev-btn,
.next-btn {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(0,0,0,0.8);
}

.slider-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: all 0.3s;
}

.dot.active {
    background: white;
}

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

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title {
    font-size: 24px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e74c3c;
}

.section-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.section-nav a {
    color: #666;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s;
    font-size: 14px;
}

.section-nav a:hover {
    background: #e74c3c;
    color: white;
}

.more-link {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
}

.more-link:hover {
    text-decoration: underline;
}

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

.movie-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.movie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.movie-poster {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.movie-item:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    color: white;
    font-size: 48px;
}

.movie-status {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.movie-title {
    padding: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.movie-title a {
    color: #333;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-title a:hover {
    color: #e74c3c;
}

.links-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.link-item {
    color: #666;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s;
    font-size: 14px;
}

.link-item:hover {
    background: #e74c3c;
    color: white;
}

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

.mobile-nav-list {
    display: flex;
    list-style: none;
}

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

.mobile-nav-item a {
    display: block;
    padding: 10px 5px;
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.mobile-nav-item.active a,
.mobile-nav-item a:hover {
    color: #e74c3c;
}

.nav-icon {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

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

.footer {
    background: #333;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: #e74c3c;
    text-decoration: none;
    margin: 0 15px;
}

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

.footer-info {
    text-align: center;
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        margin: 0;
        max-width: none;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .nav-list {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .slide-content {
        padding: 20px 15px 15px;
    }
    
    .slide-content h2 {
        font-size: 20px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-nav {
        order: 2;
    }
    
    .more-link {
        order: 1;
        align-self: flex-end;
    }
    
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .main-content {
        padding-bottom: 80px;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .slider-container {
        height: 200px;
    }
    
    .slide-content h2 {
        font-size: 18px;
    }
    
    .section-nav {
        gap: 10px;
    }
    
    .section-nav a {
        font-size: 12px;
        padding: 4px 8px;
    }
}
