* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
    padding-bottom: 40px;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-header {
    background: linear-gradient(to right, #1a237e, #283593);
    color: white;
    padding: 1.2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Arial Black', sans-serif;
    background: linear-gradient(90deg, #ffd700, #ffecb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo a:hover {
    opacity: 0.9;
}
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.main-nav a {
    color: #e3f2fd;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.main-nav a:hover,
.main-nav a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffd700;
}
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #ffd700;
    background: none;
    border: none;
}
.breadcrumb {
    padding: 1rem 0;
    background-color: #f1f8ff;
    border-bottom: 1px solid #d1e3ff;
}
.breadcrumb ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: #5c6bc0;
}
.breadcrumb a {
    color: #3949ab;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.search-container {
    max-width: 800px;
    margin: 2.5rem auto;
    padding: 0 20px;
}
.search-box {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(41, 128, 185, 0.2);
}
.search-box input {
    flex-grow: 1;
    padding: 1.2rem 1.8rem;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: #fff;
}
.search-box button {
    background: linear-gradient(to right, #1a237e, #3949ab);
    color: white;
    border: none;
    padding: 0 2.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s;
}
.search-box button:hover {
    background: linear-gradient(to right, #283593, #5c6bc0);
}
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-top: 2rem;
}
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}
.article-content {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e8ed;
}
.article-content h1 {
    font-size: 2.8rem;
    color: #1a237e;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 0.8rem;
}
.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    color: #666;
    font-size: 0.95rem;
}
.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.article-meta i {
    color: #3949ab;
}
.featured-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin: 2.5rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.featured-image img:hover {
    transform: scale(1.02);
}
.article-body {
    font-size: 1.125rem;
}
.article-body h2 {
    font-size: 2rem;
    color: #283593;
    margin: 2.8rem 0 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed #c5cae9;
}
.article-body h3 {
    font-size: 1.6rem;
    color: #3949ab;
    margin: 2.2rem 0 1rem;
}
.article-body p {
    margin-bottom: 1.8rem;
    text-align: justify;
    hyphens: auto;
}
.article-body strong {
    color: #1a237e;
    font-weight: 700;
}
.article-body em {
    color: #5c6bc0;
    font-style: italic;
}
.highlight-box {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-left: 5px solid #3949ab;
    padding: 1.8rem;
    margin: 2.2rem 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.quote {
    font-style: italic;
    font-size: 1.3rem;
    color: #555;
    text-align: center;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    margin: 2.5rem 0;
    position: relative;
}
.quote::before, .quote::after {
    content: '"';
    font-size: 3rem;
    color: #ffd700;
    position: absolute;
}
.quote::before { top: 10px; left: 20px; }
.quote::after { bottom: 10px; right: 20px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}
.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid #3949ab;
    transition: transform 0.3s;
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-card h4 {
    color: #1a237e;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}
.stat-card p {
    font-size: 2.2rem;
    font-weight: 800;
    color: #283593;
    margin: 0;
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.sidebar-widget {
    background: white;
    border-radius: 10px;
    padding: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e1e8ed;
}
.sidebar-widget h3 {
    color: #1a237e;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffd700;
    font-size: 1.5rem;
}
.toc ul {
    list-style: none;
    padding-left: 0;
}
.toc li {
    margin-bottom: 0.8rem;
}
.toc a {
    color: #3949ab;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem;
    border-radius: 6px;
    transition: all 0.3s;
}
.toc a:hover {
    background-color: #f0f4ff;
    color: #1a237e;
    padding-left: 1rem;
}
.related-links a {
    display: block;
    padding: 0.9rem;
    margin-bottom: 0.8rem;
    background: #f8f9fa;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
    border-left: 4px solid #3949ab;
    transition: all 0.3s;
}
.related-links a:hover {
    background: #e3f2fd;
    border-left-color: #ffd700;
}
.comment-rating-section {
    margin-top: 4rem;
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.comment-rating-section h2 {
    color: #1a237e;
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 0.8rem;
}
.rating-form, .comment-form {
    margin-bottom: 3rem;
}
.rating-form h3, .comment-form h3 {
    color: #283593;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}
.stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.stars input {
    display: none;
}
.stars label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}
.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: #ffd700;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #c5cae9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3949ab;
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.1);
}
.submit-btn {
    background: linear-gradient(to right, #1a237e, #3949ab);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.submit-btn:hover {
    background: linear-gradient(to right, #283593, #5c6bc0);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(41, 128, 185, 0.3);
}
.long-tail-links {
    margin: 4rem 0 2.5rem;
}
.long-tail-links h2 {
    color: #1a237e;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}
.web-link {
    display: inline-block;
    margin: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: #f0f4ff;
    border-radius: 30px;
    border: 1px solid #c5cae9;
}
.web-link a {
    color: #3949ab;
    text-decoration: none;
    font-weight: 500;
}
.web-link:hover {
    background: #e3f2fd;
    border-color: #3949ab;
    transform: translateY(-2px);
    transition: all 0.3s;
}
.site-footer {
    background: linear-gradient(to right, #1a237e, #283593);
    color: #e3f2fd;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer-section {
    flex: 1;
    min-width: 250px;
}
.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #e3f2fd;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}
.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    color: #b0bec5;
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a237e;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .main-nav.active ul {
        display: flex;
    }
    .article-content h1 { font-size: 2.2rem; }
    .article-content { padding: 1.8rem; }
    .search-box button { padding: 0 1.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; }
}
