:root {
    --primary-color: #00247D; /* British Blue */
    --secondary-color: #CF142B; /* British Red */
    --accent-color: #FFFFFF; /* White */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #F0F2F5;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 36, 125, 0.15);
}

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

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background-color: var(--primary-color);
    color: var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 18px;
}

.site-nav ul {
    display: flex;
    gap: 20px;
}

.site-nav a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    padding: 5px 10px;
    border-radius: 4px;
}

.site-nav a:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #001f6b 0%, #003399 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, transparent 20%, #001f6b 150%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

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

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: #a80f22;
    border-color: #a80f22;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Content Sections */
.content-section {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--primary-color);
}

.more {
    color: var(--text-light);
    font-size: 14px;
    cursor: pointer;
}

.more:hover {
    color: var(--secondary-color);
}

/* Source Grid */
.source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.source-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.source-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.source-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.source-info p {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.source-info button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.source-info button:hover {
    background-color: var(--secondary-color);
}

/* Plot */
.plot-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.plot-text {
    flex: 1;
}

.plot-text h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.plot-text p {
    color: var(--text-light);
    text-align: justify;
    line-height: 1.8;
}

.plot-img {
    width: 300px;
    height: 200px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.video-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.img-wrapper {
    width: 100%;
    height: 240px;
    position: relative;
}

.gradient-box {
    width: 100%;
    height: 100%;
}

.card-info {
    padding: 12px;
    text-align: center;
}

.card-info h3 {
    font-size: 15px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-info p {
    font-size: 12px;
    color: #999;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-item {
    height: 150px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-item:hover {
    opacity: 0.8;
}

.related-list h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.related-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.related-list a {
    background: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-light);
    border: 1px solid #ddd;
}

.related-list a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Reviews */
.review-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}

.review-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.rating {
    color: #FFD700;
    font-size: 14px;
    margin-bottom: 10px;
}

.review-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Article Section */
.article-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.seo-article {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.seo-article h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.seo-article p {
    font-size: 15px;
    color: var(--text-light);
    text-indent: 2em;
    text-align: justify;
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #aaa;
    padding: 60px 0 30px;
    margin-top: 50px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.footer-content p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    margin: 0 15px;
    font-size: 14px;
    color: #888;
}

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

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .site-nav {
        display: none; 
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .plot-content {
        flex-direction: column;
    }
    
    .plot-img {
        width: 100%;
        height: 180px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .img-wrapper {
        height: 160px;
    }
}
