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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    line-height: 1.6;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo a {
    color: #f39c12;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: block;
    padding: 15px 25px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(52, 73, 94, 0.8);
    color: #f39c12;
    border-left-color: #f39c12;
}

.sidebar-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.search-box {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: none;
    color: #ecf0f1;
    outline: none;
}

.search-input::placeholder {
    color: #95a5a6;
}

.search-btn {
    padding: 12px 15px;
    border: none;
    background: #f39c12;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 0;
}

.top-header {
    background: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ecf0f1;
    font-size: 20px;
    cursor: pointer;
}

.breadcrumb {
    color: #95a5a6;
    font-size: 14px;
}

.breadcrumb span {
    color: #f39c12;
}

.header-right .user-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    padding: 8px 16px;
    background: rgba(241, 196, 15, 0.2);
    border: 1px solid #f1c40f;
    color: #f1c40f;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #f1c40f;
    color: #2c3e50;
}

.hero-section {
    padding: 40px 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

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

.movie-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 40px 30px 30px;
}

.movie-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #f39c12;
}

.movie-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.movie-meta span {
    background: rgba(52, 73, 94, 0.8);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.movie-desc {
    margin-bottom: 20px;
    color: #bdc3c7;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-play {
    background: #e74c3c;
    color: white;
}

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

.btn-download {
    background: rgba(52, 73, 94, 0.8);
    color: #ecf0f1;
    border: 1px solid #34495e;
}

.btn-download:hover {
    background: #34495e;
}

.hero-sidebar {
    background: rgba(44, 62, 80, 0.6);
    border-radius: 15px;
    padding: 25px;
}

.trending-list h3 {
    margin-bottom: 20px;
    color: #f39c12;
    font-size: 18px;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.trending-item:hover {
    background: rgba(52, 73, 94, 0.5);
}

.trending-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.trending-info h4 {
    margin-bottom: 5px;
    color: #ecf0f1;
}

.trending-info span {
    color: #f39c12;
    font-size: 14px;
}

.content-grid {
    padding: 40px 30px;
}

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

.section-header h2 {
    color: #f39c12;
    font-size: 24px;
}

.more-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #2980b9;
}

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

.movie-card {
    background: rgba(44, 62, 80, 0.6);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

.movie-card:hover .card-overlay {
    opacity: 1;
}

.play-icon {
    color: #f39c12;
    font-size: 48px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.play-icon:hover {
    transform: scale(1.2);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 8px;
    color: #ecf0f1;
}

.card-content p {
    color: #95a5a6;
    margin-bottom: 10px;
}

.card-meta {
    display: flex;
    gap: 10px;
}

.card-meta span {
    background: rgba(52, 73, 94, 0.8);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: #bdc3c7;
}

.latest-updates {
    padding: 40px 30px;
    background: rgba(44, 62, 80, 0.3);
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.update-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(44, 62, 80, 0.6);
    padding: 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.update-item:hover {
    transform: translateX(10px);
}

.update-item img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.update-info {
    flex: 1;
}

.update-info h3 {
    margin-bottom: 10px;
    color: #f39c12;
}

.update-info p {
    color: #bdc3c7;
    margin-bottom: 10px;
}

.update-meta {
    display: flex;
    gap: 15px;
}

.update-meta span {
    background: rgba(52, 73, 94, 0.8);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #95a5a6;
}

.watch-btn {
    padding: 12px 24px;
    background: #e74c3c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.watch-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.categories-section {
    padding: 40px 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.category-item {
    background: rgba(44, 62, 80, 0.6);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-item h3 {
    margin-bottom: 10px;
    color: #f39c12;
}

.category-item p {
    color: #95a5a6;
    margin-bottom: 15px;
}

.category-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #2980b9;
}

.footer {
    background: rgba(44, 62, 80, 0.9);
    margin-left: 280px;
    padding: 40px 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #f39c12;
}

.footer-section p {
    color: #95a5a6;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;}

@media (max-width: 1024px) {
.sidebar {
transform: translateX(-100%);
transition: transform 0.3s ease;
}
.sidebar.active {
    transform: translateX(0);
}

.main-content {
    margin-left: 0;
}

.footer {
    margin-left: 0;
}

.menu-toggle {
    display: block;
}

.hero-grid {
    grid-template-columns: 1fr;
}

.movie-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
}

@media (max-width: 768px) {
.top-header {
padding: 15px 20px;
}
.hero-section,
.content-grid,
.latest-updates,
.categories-section {
    padding: 20px 15px;
}

.movie-title {
    font-size: 24px;
}

.movie-overlay {
    padding: 20px 15px 15px;
}

.action-buttons {
    flex-direction: column;
    gap: 10px;
}

.btn {
    text-align: center;
}

.update-item {
    flex-direction: column;
    text-align: center;
}

.update-item img {
    width: 100px;
    height: 130px;
}

.movie-cards {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.card-image {
    height: 200px;
}

.footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
}

.search-box {
    margin: 0 -10px;
}
}

@media (max-width: 480px) {
.sidebar {
width: 100%;
}

复制
.hero-section {
    padding: 15px 10px;
}

.featured-movie {
    height: 250px;
}

.movie-title {
    font-size: 20px;
}

.movie-meta {
    flex-wrap: wrap;
    gap: 8px;
}

.movie-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.card-image {
    height: 180px;
}

.card-content {
    padding: 15px;
}

.trending-item img {
    width: 50px;
    height: 65px;
}

.category-item {
    padding: 20px;
}

.category-icon {
    font-size: 36px;
}

.update-item {
    padding: 15px;
}
}

