/* 91日剧在线 - 日系简约风格 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Hiragino Sans', 'Yu Gothic', 'Microsoft YaHei', sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.8;
}

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

/* 简洁头部 */
.jp-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 0;
}

.jp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.jp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.jp-logo-mark {
    width: 36px;
    height: 36px;
    background: #e74c3c;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.jp-logo-text span {
    color: #e74c3c;
}

.jp-slogan {
    color: #868e96;
    font-size: 0.9rem;
}

/* 导航 */
.jp-nav {
    background: #fff;
    border-bottom: 2px solid #e74c3c;
}

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

.jp-nav li a {
    display: block;
    padding: 16px 24px;
    color: #495057;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    position: relative;
}

.jp-nav li a:hover,
.jp-nav li a.active {
    color: #e74c3c;
}

.jp-nav li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e74c3c;
}

/* 主视觉 */
.jp-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.jp-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.jp-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.jp-hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #e74c3c;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.jp-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 区块 */
.jp-section {
    padding: 60px 0;
}

.jp-section-title {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.jp-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #e74c3c;
    margin: 15px auto 0;
}

.jp-section-sub {
    text-align: center;
    color: #868e96;
    margin-bottom: 45px;
}

/* 剧集卡片 */
.jp-series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.jp-series-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.jp-series-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.jp-series-img {
    height: 180px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
}

.jp-series-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.jp-series-rating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffd700;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
}

.jp-series-body {
    padding: 18px;
}

.jp-series-body h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.jp-series-meta {
    color: #868e96;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.jp-series-desc {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 特色区 */
.jp-features {
    background: #fff;
}

.jp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.jp-feature-card {
    text-align: center;
    padding: 40px 25px;
}

.jp-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.jp-feature-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.jp-feature-card p {
    color: #868e96;
    font-size: 0.95rem;
}

/* 排行榜 */
.jp-chart {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.jp-chart-header {
    background: #e74c3c;
    color: #fff;
    padding: 15px 25px;
    font-weight: 600;
}

.jp-chart-list {
    list-style: none;
}

.jp-chart-list li {
    display: flex;
    align-items: center;
    padding: 14px 25px;
    border-bottom: 1px solid #f1f3f5;
    transition: background 0.2s;
}

.jp-chart-list li:last-child {
    border-bottom: none;
}

.jp-chart-list li:hover {
    background: #f8f9fa;
}

.jp-chart-num {
    width: 30px;
    color: #adb5bd;
    font-weight: 600;
    margin-right: 15px;
}

.jp-chart-list li:nth-child(1) .jp-chart-num {
    color: #e74c3c;
}

.jp-chart-list li:nth-child(2) .jp-chart-num {
    color: #f39c12;
}

.jp-chart-list li:nth-child(3) .jp-chart-num {
    color: #3498db;
}

.jp-chart-title {
    flex: 1;
    color: #2c3e50;
}

.jp-chart-episodes {
    color: #868e96;
    font-size: 0.85rem;
}

/* 关于页面 */
.jp-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.jp-about-img {
    height: 320px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.jp-about-text h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
}

.jp-about-text p {
    color: #495057;
    margin-bottom: 15px;
    line-height: 1.9;
}

.jp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.jp-stat {
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.jp-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
}

.jp-stat-label {
    color: #868e96;
    font-size: 0.9rem;
}

/* 新闻列表 */
.jp-news-list {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.jp-news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 25px;
    padding: 25px;
    border-bottom: 1px solid #f1f3f5;
    transition: background 0.2s;
}

.jp-news-item:last-child {
    border-bottom: none;
}

.jp-news-item:hover {
    background: #f8f9fa;
}

.jp-news-date {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.jp-news-date .day {
    font-size: 2rem;
    font-weight: 700;
    color: #e74c3c;
}

.jp-news-date .month {
    color: #868e96;
    font-size: 0.9rem;
}

.jp-news-body h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.jp-news-body p {
    color: #495057;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.jp-news-meta {
    color: #adb5bd;
    font-size: 0.85rem;
}

/* 联系页 */
.jp-contact {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.jp-contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.jp-contact-info h2 {
    color: #2c3e50;
    margin-bottom: 25px;
}

.jp-contact-item {
    display: flex;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #f1f3f5;
}

.jp-contact-item:last-child {
    border-bottom: none;
}

.jp-contact-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.jp-contact-item h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.jp-contact-item p {
    color: #868e96;
    font-size: 0.9rem;
}

.jp-contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.jp-contact-form h2 {
    color: #2c3e50;
    margin-bottom: 25px;
}

.jp-form-group {
    margin-bottom: 18px;
}

.jp-form-group label {
    display: block;
    color: #495057;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.jp-form-group input,
.jp-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.jp-form-group input:focus,
.jp-form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.jp-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.jp-submit {
    width: 100%;
    padding: 14px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.jp-submit:hover {
    background: #c0392b;
}

/* 页脚 */
.jp-footer {
    background: #2c3e50;
    color: #adb5bd;
    padding: 50px 0 25px;
    margin-top: 60px;
}

.jp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.jp-footer-grid h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1rem;
}

.jp-footer-grid p {
    line-height: 1.8;
    font-size: 0.9rem;
}

.jp-footer-grid ul {
    list-style: none;
}

.jp-footer-grid li {
    margin-bottom: 10px;
}

.jp-footer-grid a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.jp-footer-grid a:hover {
    color: #fff;
}

.jp-footer-bottom {
    padding-top: 25px;
    border-top: 1px solid #495057;
    text-align: center;
    font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .jp-hero h1 { font-size: 2rem; }
    .jp-about,
    .jp-contact { grid-template-columns: 1fr; }
    .jp-stats { grid-template-columns: repeat(2, 1fr); }
    .jp-footer-grid { grid-template-columns: 1fr 1fr; }
    .jp-news-item { grid-template-columns: 1fr; }
    .jp-nav ul { flex-wrap: wrap; }
    .jp-nav li a { padding: 12px 16px; font-size: 0.9rem; }
}
