* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e6e6e6;
    line-height: 1.7;
    font-size: 1.05rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    color: #4dabf7;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}
a:hover {
    color: #a5d8ff;
    transform: translateY(-1px);
}
header {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a3b5c;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.my-logo {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}
.my-logo a {
    background: none;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
nav ul li a {
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
}
nav ul li a:hover {
    background: rgba(77, 171, 247, 0.15);
}
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #4dabf7;
}
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #8892b0;
}
.breadcrumb a:not(:last-child)::after {
    content: "›";
    margin: 0 10px;
}
main {
    flex: 1;
    padding: 30px 0;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}
article {
    background: rgba(22, 33, 62, 0.7);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #f8f9fa;
    line-height: 1.2;
    border-left: 5px solid #4ecdc4;
    padding-left: 20px;
}
h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: #4ecdc4;
    padding-bottom: 10px;
    border-bottom: 2px dashed #2a3b5c;
}
h3 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: #a5d8ff;
}
h4 {
    font-size: 1.3rem;
    margin: 25px 0 12px;
    color: #ffd8a8;
}
p {
    margin-bottom: 1.5em;
    text-align: justify;
}
strong {
    color: #ffd8a8;
    font-weight: 700;
}
.hero-image {
    width: 100%;
    border-radius: 12px;
    margin: 25px 0;
    border: 2px solid #4ecdc4;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.feature-box {
    background: rgba(42, 59, 92, 0.5);
    border-left: 4px solid #ff6b6b;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 10px 10px 0;
}
blockquote {
    font-style: italic;
    color: #b2bec3;
    border-left: 4px solid #6c5ce7;
    padding-left: 20px;
    margin: 25px 0;
}
aside {
    background: rgba(22, 33, 62, 0.7);
    border-radius: 16px;
    padding: 25px;
    align-self: start;
    position: sticky;
    top: 120px;
}
.sidebar-widget {
    margin-bottom: 30px;
}
.sidebar-widget h3 {
    font-size: 1.4rem;
    color: #ff6b6b;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a3b5c;
}
.search-form, .comment-form, .rating-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #a5d8ff;
}
input, textarea, select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #2a3b5c;
    background: rgba(10, 25, 47, 0.7);
    color: #f8f9fa;
    font-size: 1rem;
    transition: border 0.3s ease;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #4dabf7;
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.2);
}
button, .btn {
    background: linear-gradient(90deg, #4dabf7, #228be6);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
button:hover, .btn:hover {
    background: linear-gradient(90deg, #228be6, #1971c2);
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(34, 139, 230, 0.4);
}
.star-rating {
    display: flex;
    gap: 10px;
    font-size: 1.8rem;
    color: #495057;
    cursor: pointer;
}
.star-rating i:hover,
.star-rating i:hover ~ i {
    color: #ffd43b;
}
.star-rating i.active {
    color: #ffd43b;
}
footer {
    background: rgba(10, 25, 47, 0.95);
    border-top: 1px solid #2a3b5c;
    padding: 40px 0 20px;
    margin-top: 50px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}
friend-link {
    display: inline-block;
    background: rgba(42, 59, 92, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
friend-link:hover {
    background: rgba(77, 171, 247, 0.2);
    transform: scale(1.05);
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a3b5c;
    color: #8892b0;
    font-size: 0.9rem;
}
.update-time {
    color: #4ecdc4;
    font-weight: 600;
}
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(10, 25, 47, 0.98);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px;
        border-top: 1px solid #2a3b5c;
    }
    nav ul.active {
        display: flex;
    }
    .hamburger {
        display: block;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    article {
        padding: 25px;
    }
    aside {
        position: static;
    }
}
