
:root { --navy: #537791; --warm-gray: #c1c0b9; --cream: #f7f6e7; --light-gray: #e7e6e1; --text-dark: #2c3a3a; --text-medium: #4a4a4a; --text-light: #6b6b6b; --white: #ffffff; --gold: #c8963e; --navy-dark: #3d5e6e; --shadow-sm: 0 2px 8px rgba(83,119,145,0.07); --shadow-md: 0 4px 18px rgba(83,119,145,0.11); --shadow-lg: 0 8px 32px rgba(83,119,145,0.14); --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --transition: 0.28s cubic-bezier(0.4,0,0.2,1); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI','PingFang SC','Microsoft YaHei','Helvetica Neue',system-ui,sans-serif; background: var(--cream); color: var(--text-dark); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
.top-nav { width: 100%; background: linear-gradient(160deg, #3d5e6e 0%, #537791 45%, #4a6d82 100%); color: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 22px rgba(0,0,0,0.22); }
.top-nav-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; height: 62px; gap: 20px; }
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon { width: 38px; height: 38px; background: rgba(255,255,255,0.13); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; font-weight: 700; border: 1px solid rgba(255,255,255,0.18); }
.brand-name { font-size: 1.3rem; font-weight: 700; letter-spacing: 2px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.18); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; flex-shrink: 0; flex-wrap: wrap; }
.nav-links li a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 7px 14px; border-radius: 20px; transition: var(--transition); white-space: nowrap; }
.nav-links li a:hover,.nav-links li a.active { color: #fff; background: rgba(255,255,255,0.11); }
.nav-links li a.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 18px; height: 2.5px; background: #fff; border-radius: 2px; }
.user-status { display: flex; align-items: center; gap: 10px; flex-shrink: 0; cursor: pointer; padding: 6px 16px; border-radius: 24px; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.22); transition: var(--transition); }
.user-status:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.38); }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.55); flex-shrink: 0; display: block; }
.user-info { display: flex; flex-direction: column; line-height: 1.25; }
.user-name { font-size: 0.85rem; font-weight: 600; }
.user-tag { font-size: 0.7rem; opacity: 0.7; }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 6px 10px; }
.main-content { flex: 1; max-width: 1440px; width: 100%; margin: 0 auto; padding: 22px 36px 44px; }
.hero-banner { width: 100%; height: 340px; border-radius: var(--radius-lg); overflow: hidden; position: relative; margin-bottom: 30px; box-shadow: var(--shadow-lg); background: linear-gradient(140deg, #4a6d82 0%, #537791 50%, #3d5e6e 100%); }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: transform 8s ease; display: block; }
.hero-banner:hover img { transform: scale(1.04); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(28,38,44,0.88) 0%, rgba(28,38,44,0.4) 52%, rgba(28,38,44,0.15) 100%); display: flex; align-items: center; padding: 38px 48px; }
.hero-text { max-width: 500px; color: #fff; }
.hero-badge { display: inline-block; background: #d4953a; color: #1a1a1a; padding: 5px 15px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; }
.hero-text h2 { font-size: 2.3rem; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.hero-text p { font-size: 0.98rem; opacity: 0.88; margin-bottom: 22px; }
.hero-btn { display: inline-block; background: #fff; color: #3d5e6e; padding: 10px 30px; border-radius: 28px; text-decoration: none; font-weight: 700; font-size: 0.93rem; transition: var(--transition); box-shadow: 0 4px 14px rgba(0,0,0,0.2); }
.hero-btn:hover { background: #d4953a; color: #1a1a1a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.32); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1.5px solid var(--warm-gray); position: relative; }
.section-header::after { content: ''; position: absolute; bottom: -1.5px; left: 0; width: 55px; height: 2.5px; background: var(--navy); }
.section-header h2 { font-size: 1.3rem; font-weight: 700; color: #3d5e6e; display: flex; align-items: center; gap: 8px; }
.accent-dot { width: 9px; height: 9px; background: #d4953a; border-radius: 50%; display: inline-block; }
.more-link { color: var(--navy); text-decoration: none; font-size: 0.83rem; font-weight: 600; }
.more-link:hover { color: #3d5e6e; text-decoration: underline; }
.weekly-ranking { background: #fff; border-radius: var(--radius-lg); padding: 22px 26px; margin-bottom: 30px; box-shadow: var(--shadow-md); border: 1px solid var(--warm-gray); position: relative; overflow: hidden; }
.weekly-ranking::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg, #d4953a 0%, #b87028 100%); }
.ranking-scroll { display: flex; gap: 14px; overflow-x: auto; padding: 6px 0 14px; cursor: grab; user-select: none; }
.ranking-scroll:active { cursor: grabbing; }
.rank-card { flex: 0 0 155px; background: var(--light-gray); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); cursor: pointer; box-shadow: var(--shadow-sm); text-align: center; padding-bottom: 10px; }
.rank-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rank-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.rank-number { position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border-radius: 50%; background: #d4953a; color: #1a1a1a; font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.rank-card:nth-child(1) .rank-number { background: #e8b84b; font-size: 0.95rem; width: 34px; height: 34px; }
.rank-card:nth-child(2) .rank-number { background: #cfcfcf; font-size: 0.88rem; width: 32px; height: 32px; }
.rank-card:nth-child(3) .rank-number { background: #d4a574; font-size: 0.88rem; width: 32px; height: 32px; }
.rank-title { font-size: 0.83rem; font-weight: 600; padding: 8px 8px 2px; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-score { font-size: 0.73rem; color: #c8963e; font-weight: 700; }
.hot-movies-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-bottom: 30px; }
.movie-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; border: 1px solid transparent; }
.movie-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--warm-gray); }
.poster-wrap { position: relative; overflow: hidden; aspect-ratio: 2/3; background: var(--light-gray); }
.poster-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.movie-card:hover .poster-wrap img { transform: scale(1.07); }
.movie-tag { position: absolute; top: 7px; right: 7px; background: #d4953a; color: #1a1a1a; font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 11px; z-index: 3; }
.movie-tag.hot { background: #d9443a; color: #fff; }
.movie-tag.new { background: #3d8b6e; color: #fff; }
.movie-info { padding: 9px 11px 11px; }
.movie-info h4 { font-size: 0.86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { font-size: 0.72rem; color: var(--text-light); display: flex; align-items: center; gap: 7px; }
.rating { color: #c8963e; font-weight: 700; font-size: 0.76rem; }
.stars-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.star-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; text-align: center; border: 1px solid var(--warm-gray); padding-bottom: 16px; }
.star-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.star-card img { width: 100%; height: 230px; object-fit: cover; display: block; }
.star-card h4 { margin-top: 12px; font-size: 0.98rem; font-weight: 700; }
.star-role { font-size: 0.78rem; color: var(--navy); font-weight: 500; }
.star-works { font-size: 0.73rem; color: var(--text-light); margin-top: 3px; }
.plot-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.plot-card { background: #fff; border-radius: var(--radius-md); padding: 18px 20px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--navy); transition: var(--transition); cursor: pointer; }
.plot-card:hover { box-shadow: var(--shadow-md); border-left-color: #d4953a; transform: translateX(3px); }
.plot-card h4 { font-size: 0.96rem; font-weight: 700; color: #3d5e6e; margin-bottom: 8px; }
.plot-card p { font-size: 0.82rem; color: var(--text-medium); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.plot-meta { font-size: 0.73rem; color: var(--text-light); margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.detail-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 30px; }
.detail-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); display: flex; transition: var(--transition); cursor: pointer; border: 1px solid var(--warm-gray); }
.detail-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.detail-card img { width: 140px; height: 200px; object-fit: cover; flex-shrink: 0; display: block; }
.detail-info { padding: 15px 17px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.detail-info h4 { font-size: 1rem; font-weight: 700; color: #3d5e6e; }
.detail-meta { font-size: 0.75rem; color: var(--text-light); display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 5px; }
.detail-desc { font-size: 0.8rem; color: var(--text-medium); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.detail-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.detail-tags span { background: var(--light-gray); color: var(--navy); font-size: 0.68rem; padding: 3px 9px; border-radius: 11px; font-weight: 500; }
.reviews-section { background: #fff; border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-md); margin-bottom: 30px; border: 1px solid var(--warm-gray); }
.review-list { display: flex; flex-direction: column; gap: 15px; }
.review-item { display: flex; gap: 15px; padding: 15px 17px; background: var(--cream); border-radius: var(--radius-md); transition: var(--transition); border: 1px solid transparent; align-items: flex-start; }
.review-item:hover { border-color: var(--warm-gray); box-shadow: var(--shadow-sm); background: #fff; }
.reviewer-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--light-gray); display: block; }
.review-content { flex: 1; }
.reviewer-name { font-weight: 700; font-size: 0.88rem; color: #3d5e6e; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stars { color: #c8963e; font-size: 0.76rem; letter-spacing: 2px; }
.review-movie { font-size: 0.76rem; color: var(--navy); font-weight: 500; margin-bottom: 4px; }
.review-text { font-size: 0.83rem; color: var(--text-medium); line-height: 1.5; }
.review-date { font-size: 0.7rem; color: var(--text-light); margin-top: 4px; }
.bottom-nav { width: 100%; background: linear-gradient(160deg, #3d5e6e 0%, #537791 100%); color: #fff; padding: 34px 0 20px; margin-top: auto; box-shadow: 0 -4px 22px rgba(0,0,0,0.14); }
.bottom-nav-inner { max-width: 1440px; margin: 0 auto; padding: 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.bottom-nav-col h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 12px; color: #fff; }
.bottom-nav-col ul { list-style: none; }
.bottom-nav-col ul li { margin-bottom: 5px; }
.bottom-nav-col ul li a { color: rgba(255,255,255,0.68); text-decoration: none; font-size: 0.83rem; transition: var(--transition); }
.bottom-nav-col ul li a:hover { color: #fff; padding-left: 4px; }
.bottom-copyright { max-width: 1440px; margin: 20px auto 0; padding: 16px 36px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.18); font-size: 0.76rem; color: rgba(255,255,255,0.55); }
@media (max-width:1300px) { .hot-movies-grid { grid-template-columns: repeat(5,1fr); } }
@media (max-width:1100px) { .hot-movies-grid { grid-template-columns: repeat(4,1fr); } .stars-row { grid-template-columns: repeat(4,1fr); } .plot-cards { grid-template-columns: repeat(2,1fr); } .detail-cards { grid-template-columns: 1fr 1fr; } .hero-banner { height: 270px; } .hero-text h2 { font-size: 1.7rem; } }
@media (max-width:768px) { .top-nav-inner { padding: 0 14px; height: 52px; } .nav-links { display: none; } .mobile-menu-btn { display: block; } .main-content { padding: 12px 10px 28px; } .hero-banner { height: 190px; } .hero-overlay { padding: 18px; } .hero-text h2 { font-size: 1.2rem; } .hot-movies-grid { grid-template-columns: repeat(3,1fr); } .stars-row { grid-template-columns: repeat(2,1fr); } .plot-cards { grid-template-columns: 1fr 1fr; } .detail-cards { grid-template-columns: 1fr; } .detail-card img { width: 105px; height: 148px; } .rank-card { flex: 0 0 115px; } .rank-card img { height: 155px; } .review-item { padding: 10px 11px; } .reviewer-avatar { width: 38px; height: 38px; } .bottom-nav-inner { grid-template-columns: repeat(2,1fr); } }
@media (max-width:480px) { .hot-movies-grid { grid-template-columns: repeat(2,1fr); } .plot-cards { grid-template-columns: 1fr; } .detail-card { flex-direction: column; } .detail-card img { width: 100%; height: 170px; } .hero-banner { height: 150px; } .rank-card { flex: 0 0 95px; } .rank-card img { height: 130px; } }
