* { 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: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    background-attachment: fixed;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 1rem;
}
h1, h2, h3, h4 { font-weight: 800; color: #1a365d; margin-bottom: 1rem; line-height: 1.3; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); text-align: center; margin-top: 1.5rem; border-bottom: 5px solid #ff6b35; padding-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-top: 2.5rem; padding-left: 0.5rem; border-left: 4px solid #4ecdc4; }
h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 2rem; color: #2d545e; }
h4 { font-size: 1.3rem; margin-top: 1.5rem; color: #5a6c7d; }
p { margin-bottom: 1.2rem; text-align: justify; hyphens: auto; }
a { color: #ff6b35; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #1a365d; text-decoration: underline; }
strong { color: #1a365d; }
em { font-style: italic; color: #555; }
blockquote {
    border-left: 4px solid #4ecdc4;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: #f0f9ff;
    font-style: italic;
    border-radius: 0 5px 5px 0;
}
.container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "header"
        "nav"
        "breadcrumb"
        "main"
        "sidebar"
        "footer";
    gap: 1.5rem;
}
@media (min-width: 992px) {
    .container {
        grid-template-columns: 3fr 1fr;
        grid-template-areas:
            "header header"
            "nav nav"
            "breadcrumb breadcrumb"
            "main sidebar"
            "footer footer";
    }
}
.site-header {
    grid-area: header;
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(90deg, #1a365d 0%, #2d545e 100%);
    border-radius: 0 0 15px 15px;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.my-logo {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #ffdd00;
    text-shadow: 3px 3px 0 #ff6b35, 6px 6px 0 rgba(0,0,0,0.2);
    letter-spacing: 1px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.my-logo:hover {
    transform: scale(1.05);
}
.site-header p {
    color: #cbd5e0;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}
.main-nav {
    grid-area: nav;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    padding: 1rem;
}
.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
}
.nav-list a {
    display: block;
    padding: 0.7rem 1.2rem;
    background: #4ecdc4;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-list a:hover {
    background: #ff6b35;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(255,107,53,0.3);
}
.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #1a365d;
    cursor: pointer;
    margin: 0 auto 1rem;
}
.breadcrumb {
    grid-area: breadcrumb;
    padding: 0.8rem 1rem;
    background-color: #edf2f7;
    border-radius: 5px;
    font-size: 0.9rem;
}
.breadcrumb a { color: #4a5568; }
.breadcrumb a:hover { color: #ff6b35; }
.breadcrumb span { color: #718096; }
.main-content {
    grid-area: main;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #cbd5e0;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #718096;
}
.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin: 2rem 0;
    border: 5px solid #e2e8f0;
    transition: transform 0.5s ease;
}
.article-image:hover {
    transform: scale(1.01);
}
.caption {
    text-align: center;
    font-style: italic;
    color: #718096;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}
.content-block {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.strategy-card {
    background: linear-gradient(145deg, #f0f9ff, #e1f5fe);
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 5px solid #4ecdc4;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.strategy-card h4 { color: #1a365d; margin-top: 0; }
.highlight-box {
    background: linear-gradient(90deg, #fff9db, #ffec99);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 6px solid #ffd43b;
    margin: 2rem 0;
}
.sidebar {
    grid-area: sidebar;
}
.widget {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.widget h3 {
    font-size: 1.3rem;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.search-form, .comment-form, .rating-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.search-form input, .comment-form textarea, .comment-form input, .rating-form select {
    padding: 0.8rem;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}
.search-form button, .comment-form button, .rating-form button {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.search-form button:hover, .comment-form button:hover, .rating-form button:hover {
    background-color: #1a365d;
}
.stars {
    display: flex;
    justify-content: space-around;
    font-size: 1.8rem;
    color: #ffd43b;
    margin: 0.5rem 0;
}
.star:hover { transform: scale(1.2); cursor: pointer; }
.link-list { list-style: none; }
.link-list li { margin-bottom: 0.8rem; padding-left: 1.2rem; position: relative; }
.link-list li:before { content: '🃏'; position: absolute; left: 0; }
.site-footer {
    grid-area: footer;
    background-color: #1a365d;
    color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 15px 15px 0 0;
    text-align: center;
}
.friend-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}
friend-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #2d545e;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
friend-link:hover {
    background-color: #4ecdc4;
    text-decoration: none;
}
.copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2d545e;
    font-size: 0.9rem;
    color: #cbd5e0;
}
.emoji { font-size: 1.2em; margin-right: 0.3rem; }
.last-updated { background-color: #fffbeb; padding: 0.5rem; border-radius: 5px; display: inline-block; }
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-list {
        flex-direction: column;
        display: none;
        width: 100%;
    }
    .nav-list.active { display: flex; }
    .nav-list a { justify-content: center; }
    .strategy-grid { grid-template-columns: 1fr; }
    .article-meta { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}
