:root {
            --primary-color: #9c27b0;
            --primary-dark: #6a1b9a;
            --primary-light: #e1bee7;
            --accent-color: #ff4081;
            --text-dark: #333;
            --text-light: #666;
            --text-on-primary: #fff;
            --bg-light: #f9f9f9;
            --bg-section: #f3e5f5;
            --border-color: #ddd;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
            --max-content-width: 1200px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            font-size: 16px;
            scroll-behavior: smooth;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.7;
            color: var(--text-dark);
            background-color: #fff;
            overflow-x: hidden;
        }
        .site-header {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
            color: var(--text-on-primary);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            max-width: var(--max-content-width);
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: var(--transition);
        }
        .my-logo:hover {
            transform: scale(1.03);
            color: var(--primary-light);
        }
        .my-logo i {
            font-size: 2rem;
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }
        .main-nav a {
            color: var(--text-on-primary);
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 0.75rem;
            border-radius: 4px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .main-nav a:hover, .main-nav a.active {
            background-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 0.5rem;
        }
        .breadcrumb {
            background-color: var(--bg-light);
            padding: 0.75rem 2rem;
            font-size: 0.9rem;
            border-bottom: 1px solid var(--border-color);
        }
        .breadcrumb ol {
            max-width: var(--max-content-width);
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            gap: 0.5rem;
        }
        .breadcrumb li {
            display: inline;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin-left: 0.5rem;
            color: var(--text-light);
        }
        .breadcrumb a {
            color: var(--primary-color);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .search-container {
            max-width: var(--max-content-width);
            margin: 2rem auto;
            padding: 0 2rem;
        }
        .search-form {
            display: flex;
            max-width: 600px;
            margin: 0 auto;
            border-radius: 50px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .search-input {
            flex-grow: 1;
            padding: 1rem 1.5rem;
            border: none;
            font-size: 1rem;
            outline: none;
        }
        .search-button {
            background-color: var(--accent-color);
            color: white;
            border: none;
            padding: 0 1.8rem;
            cursor: pointer;
            font-size: 1.2rem;
            transition: var(--transition);
        }
        .search-button:hover {
            background-color: #e91e63;
        }
        .main-content {
            max-width: var(--max-content-width);
            margin: 0 auto;
            padding: 2rem;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        article {
            grid-column: 1;
        }
        .article-header {
            margin-bottom: 2.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid var(--primary-light);
        }
        h1 {
            font-size: 2.8rem;
            line-height: 1.2;
            color: var(--primary-dark);
            margin-bottom: 1rem;
        }
        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            color: var(--text-light);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }
        .article-meta i {
            margin-right: 0.5rem;
        }
        .lead {
            font-size: 1.3rem;
            color: var(--text-light);
            margin-bottom: 2rem;
            font-weight: 300;
            padding-left: 1rem;
            border-left: 4px solid var(--accent-color);
        }
        h2 {
            font-size: 2rem;
            color: var(--primary-color);
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px dashed var(--border-color);
        }
        h3 {
            font-size: 1.6rem;
            color: var(--primary-dark);
            margin: 2rem 0 1rem;
        }
        h4 {
            font-size: 1.3rem;
            color: var(--text-light);
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .highlight {
            background-color: var(--bg-section);
            padding: 2rem;
            border-radius: 10px;
            margin: 2rem 0;
            border-left: 5px solid var(--accent-color);
        }
        .highlight p:last-child {
            margin-bottom: 0;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 2rem auto;
            border-radius: 10px;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        img:hover {
            transform: scale(1.01);
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: var(--text-light);
            margin-top: -1.5rem;
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }
        a.content-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dotted transparent;
            transition: var(--transition);
        }
        a.content-link:hover {
            color: var(--accent-color);
            border-bottom-color: var(--accent-color);
        }
        ul, ol {
            margin-bottom: 1.5rem;
            padding-left: 2rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        blockquote {
            border-left: 4px solid var(--primary-color);
            padding-left: 1.5rem;
            margin: 2rem 0;
            color: var(--text-light);
            font-style: italic;
        }
        .rating-section, .comments-section {
            background-color: var(--bg-light);
            padding: 2rem;
            border-radius: 10px;
            margin: 3rem 0;
        }
        .rating-form, .comment-form {
            display: grid;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        .star-rating {
            display: flex;
            flex-direction: row-reverse;
            justify-content: flex-end;
            gap: 0.3rem;
            margin-bottom: 1rem;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            color: #ccc;
            font-size: 2rem;
            cursor: pointer;
            transition: color 0.2s;
        }
        .star-rating label:hover,
        .star-rating label:hover ~ label,
        .star-rating input:checked ~ label {
            color: #ffc107;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        input, textarea, select {
            padding: 0.8rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
        }
        button[type="submit"] {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            justify-self: start;
        }
        button[type="submit"]:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }
        aside {
            grid-column: 2;
        }
        .sidebar-widget {
            background-color: var(--bg-light);
            border-radius: 10px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            font-size: 1.4rem;
            margin-top: 0;
            color: var(--primary-color);
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary-light);
        }
        .related-links ul {
            list-style: none;
            padding-left: 0;
        }
        .related-links li {
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px dotted var(--border-color);
        }
        .related-links a {
            color: var(--text-dark);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: var(--transition);
        }
        .related-links a:hover {
            color: var(--primary-color);
            padding-left: 0.5rem;
        }
        .related-links i {
            color: var(--primary-color);
        }
        .update-info {
            background-color: #e8f5e9;
            border-left: 5px solid #4caf50;
        }
        footer {
            background-color: #2c2c2c;
            color: #eee;
            margin-top: 4rem;
            padding: 3rem 2rem 1.5rem;
        }
        .footer-content {
            max-width: var(--max-content-width);
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
            display: inline-block;
        }
        .footer-section h4 {
            color: #fff;
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--primary-color);
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: var(--transition);
        }
        .footer-links a:hover {
            color: var(--primary-light);
            padding-left: 0.5rem;
        }
        friend-link {
            display: block;
            background-color: rgba(255,255,255,0.05);
            padding: 1.5rem;
            border-radius: 8px;
            margin-top: 1rem;
        }
        friend-link a {
            color: var(--primary-light);
            font-weight: 600;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
            max-width: var(--max-content-width);
            margin: 0 auto;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            aside {
                grid-column: 1;
            }
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav ul {
                display: none;
                flex-direction: column;
                width: 100%;
                background-color: var(--primary-dark);
                position: absolute;
                top: 100%;
                left: 0;
                padding: 1rem 2rem;
                box-shadow: var(--shadow);
            }
            .main-nav.active ul {
                display: flex;
            }
            .header-container {
                padding: 1rem;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            .main-content, .search-container, .breadcrumb ol {
                padding-left: 1rem;
                padding-right: 1rem;
            }
        }
        @media (max-width: 480px) {
            html {
                font-size: 14px;
            }
            .search-form {
                flex-direction: column;
                border-radius: 10px;
            }
            .search-input, .search-button {
                width: 100%;
                border-radius: 0;
            }
        }
