:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #F4A460;
    --light-bg: #FFF8E1;
    --dark-text: #3E2723;
    --light-text: #5D4037;
    --shadow: 0 4px 12px rgba(139, 69, 19, 0.1);
    --transition: all 0.3s ease;
}
* {
    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: var(--dark-text);
    background-color: #fefefe;
    max-width: 100vw;
    overflow-x: hidden;
}
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-header {
    background: linear-gradient(135deg, var(--primary-color), #5D4037);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.my-logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    font-family: 'Georgia', serif;
    display: flex;
    align-items: center;
    gap: 10px;
}
.my-logo i {
    color: var(--accent-color);
}
.my-logo:hover {
    text-decoration: none;
    color: var(--accent-color);
}
.breadcrumb {
    background-color: var(--light-bg);
    padding: 0.8rem 0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}
.breadcrumb li {
    margin-right: 0.5rem;
}
.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--secondary-color);
}
.main-nav {
    display: flex;
    align-items: center;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}
.nav-links a {
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    position: relative;
}
.nav-links a:hover {
    text-decoration: none;
    color: var(--accent-color);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        gap: 2rem;
        transition: left 0.5s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
        z-index: 999;
    }
    .nav-links.active {
        left: 0;
    }
}
.search-section {
    background-color: var(--light-bg);
    padding: 2rem 0;
    margin: 2rem 0;
    border-radius: 10px;
    text-align: center;
}
.search-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    padding: 0 20px;
}
.search-input {
    flex-grow: 1;
    padding: 15px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-size: 1.1rem;
    transition: var(--transition);
}
.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}
.search-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.search-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin: 2rem 0;
}
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}
article {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
h1 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.7rem;
}
h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin: 2.5rem 0 1.2rem;
    padding-top: 1rem;
}
h3 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}
h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem;
}
p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}
strong {
    color: var(--primary-color);
}
blockquote {
    border-left: 5px solid var(--accent-color);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--light-text);
    background-color: var(--light-bg);
    padding: 1.5rem 2rem;
    border-radius: 0 10px 10px 0;
}
.featured-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.5s;
}
.featured-img:hover {
    transform: scale(1.01);
}
.sidebar {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
    box-shadow: var(--shadow);
}
.sidebar h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px dashed var(--accent-color);
}
.related-links {
    list-style: none;
}
.related-links li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dotted #D7CCC8;
}
.related-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
    font-weight: 500;
}
.related-links a:hover {
    color: var(--primary-color);
    gap: 15px;
}
.related-links i {
    color: var(--secondary-color);
}
.info-box {
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    border-left: 5px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}
.tip {
    background-color: #E8F5E9;
    border-left: 5px solid #4CAF50;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}
.tip i {
    color: #4CAF50;
    margin-right: 10px;
}
.interaction-section {
    background-color: white;
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.rating-form, .comment-form {
    margin-top: 2rem;
}
.stars {
    display: flex;
    gap: 5px;
    margin: 1rem 0;
    font-size: 1.8rem;
    color: #FFD700;
    cursor: pointer;
}
.stars i:hover {
    transform: scale(1.2);
}
.form-group {
    margin-bottom: 1.5rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--light-text);
}
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 164, 96, 0.2);
}
.submit-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.submit-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(139, 69, 19, 0.3);
}
.site-footer {
    background: linear-gradient(135deg, #3E2723, var(--primary-color));
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}
.footer-section h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.friend-links {
    list-style: none;
}
.friend-links li {
    margin-bottom: 0.8rem;
}
.friend-links a {
    color: #FFCCBC;
    display: flex;
    align-items: center;
    gap: 10px;
}
.friend-links a:hover {
    color: white;
    gap: 15px;
}
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: #BCAAA4;
}
.update-time {
    background-color: #4CAF50;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin: 1rem 0;
    font-weight: 600;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
article {
    animation: fadeIn 0.8s ease-out;
}
.text-center {
    text-align: center;
}
.mb-3 {
    margin-bottom: 3rem;
}
.mt-3 {
    margin-top: 3rem;
}
.highlight {
    background-color: #FFF3E0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}
