:root {
    --main-color: #c62828;       /* 深红色主色调 */
    --accent-color: #ff5252;     /* 亮红色调 */
    --third-color: #b71c1c;      /* 暗红色调 */
    --dark-color: #1e1e1e;       /* 深灰色 */
    --medium-dark: #2d2d2d;      /* 中灰色 */
    --light-color: #f5f5f5;      /* 浅灰色 */
    --text-color: #e0e0e0;       /* 文本色 */
    --light-text: #ffffff;       /* 浅色文本 */
    --card-shadow: 0 10px 30px rgba(0,0,0,0.2);
    --gradient-bg: linear-gradient(135deg, #b71c1c 0%, #c62828 100%);
}

/* 全局 */
body {
    margin: 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    background: var(--dark-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color .2s;
}
a:hover {
    color: var(--light-text);
}

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

/* 导航栏 */
.navbar {
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 70px;
    justify-content: space-between;
}
.nav-logo h1 {
    color: var(--accent-color);
    font-size: 2rem;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
}
.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.nav-menu li {
    margin: 0 15px;
}
.nav-menu a {
    color: var(--text-color);
    font-size: 1.05rem;
    padding: 8px 12px;
    position: relative;
    transition: color .2s;
    border-radius: 4px;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--light-text);
    background: rgba(198, 40, 40, 0.2);
}
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px;
}
.hamburger {
    display: none;
}

/* 横幅 */
.hero {
    position: relative;
    background: var(--gradient-bg);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(0,0,0,0.1)" stroke-width="2"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}
.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 50px 24px;
    max-width: 800px;
}
.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 900;
}
.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    color: var(--light-text);
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    line-height: 1.6;
}
.search-box {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border-radius: 50px;
    overflow: hidden;
}
.search-box input[type="text"] {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 1.05rem;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
}
.search-box button {
    padding: 18px 35px;
    border: none;
    background: var(--accent-color);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.search-box button:hover {
    background: var(--third-color);
}

/* 热门影视区块 */
.content-section {
    background: var(--medium-dark);
    padding: 80px 0 60px 0;
    position: relative;
}
.content-section h2 {
    color: var(--light-text);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    font-weight: 800;
}
.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.content-card {
    background: var(--dark-color);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
}
.content-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #111;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
    opacity: 0.9;
}
.content-card:hover .card-image img {
    transform: scale(1.1);
    opacity: 1;
}
.play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s, background 0.3s;
    opacity: 0;
}
.content-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}
.card-rating {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(255, 193, 7, 0.9);
    color: #000;
    font-size: 0.9rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 2;
}
.card-quality {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(198, 40, 40, 0.9);
    color: #fff;
    font-size: 0.9rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 2;
}
.card-category {
    position: absolute;
    left: 0;
    top: 15px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    z-index: 2;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}
.content-card h3 {
    font-size: 1.4rem;
    color: var(--light-text);
    margin: 20px 0 10px 0;
    padding: 0 20px;
    font-weight: 700;
}
.content-card p {
    color: var(--text-color);
    font-size: 1rem;
    padding: 0 20px 20px 20px;
    flex: 1;
    line-height: 1.5;
}

/* 网站特色 */
.about-section {
    background: var(--dark-color);
    padding: 80px 0 60px 0;
    position: relative;
}
.about-section h2 {
    color: var(--light-text);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    font-weight: 800;
}
.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-item {
    background: var(--medium-dark);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 30px 25px;
    text-align: center;
    transition: transform .3s, box-shadow .3s;
    position: relative;
    border-left: 4px solid var(--accent-color);
}
.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.feature-item h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
}
.feature-item p {
    color: var(--text-color);
    font-size: 1.05rem;
    position: relative;
}

/* 联系我们 */
.contact-inline-section {
    background: var(--third-color);
    padding: 25px 0;
    position: relative;
}
.contact-inline-container {
    max-width: 1000px;
    margin: 0 auto;
}
.contact-inline-content {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    flex-wrap: wrap;
    gap: 15px;
}
.contact-label {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--light-text);
}
.contact-divider {
    margin: 0 10px;
    color: rgba(255,255,255,0.5);
}

/* 页脚 */
.footer {
    background: #151515;
    color: var(--text-color);
    padding: 60px 0 0 0;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    justify-content: space-between;
    padding: 0 24px;
}
.footer-section {
    flex: 1 1 300px;
    min-width: 250px;
    margin-bottom: 30px;
}
.footer-section h3, .footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}
.footer-section h4 {
    font-size: 1.3rem;
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section ul li {
    margin-bottom: 12px;
}
.footer-section ul li a {
    color: var(--text-color);
    transition: color .2s;
}
.footer-section ul li a:hover {
    color: var(--accent-color);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    text-align: center;
    padding: 25px 0 20px 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px
