:root {
            --primary-color: #1a2b3c;
            --secondary-color: #2c3e50;
            --accent-color: #3498db;
            --accent-hover: #2980b9;
            --text-primary: #333;
            --text-secondary: #555;
            --bg-light: #f8f9fa;
            --bg-white: #fff;
            --border-color: #e0e0e0;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --radius: 8px;
            --transition: all 0.3s ease;
            --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-body);
            line-height: 1.7;
            color: var(--text-primary);
            background-color: var(--bg-light);
            overflow-x: hidden;
        }
        a {
            color: var(--accent-color);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent-hover);
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0,0,0,0);
            border: 0;
        }
        .site-header {
            background-color: var(--primary-color);
            color: white;
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo a {
            font-family: var(--font-heading);
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo-icon {
            color: #ffcc00;
            font-size: 1.5rem;
        }
        .logo a:hover {
            color: #ffcc00;
            text-decoration: none;
        }
        .nav-desktop {
            display: flex;
            gap: 25px;
        }
        @media (max-width: 768px) {
            .nav-desktop {
                display: none;
            }
        }
        .nav-desktop a {
            color: #ddd;
            font-weight: 500;
        }
        .nav-desktop a:hover {
            color: white;
            text-decoration: none;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
        }
        .nav-mobile {
            display: none;
            flex-direction: column;
            background-color: var(--secondary-color);
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 20px;
            box-shadow: 0 5px 10px rgba(0,0,0,0.2);
        }
        .nav-mobile.active {
            display: flex;
        }
        .nav-mobile a {
            color: #ddd;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .nav-mobile a:last-child {
            border-bottom: none;
        }
        .breadcrumb {
            background-color: var(--bg-white);
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
        }
        .breadcrumb li {
            display: flex;
            align-items: center;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin: 0 10px;
            color: #999;
        }
        .breadcrumb a {
            color: var(--text-secondary);
        }
        .breadcrumb a:hover {
            color: var(--accent-color);
        }
        .breadcrumb li:last-child a {
            color: var(--primary-color);
            font-weight: 600;
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            padding: 40px 0;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        .article-content {
            background-color: var(--bg-white);
            padding: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .article-header {
            margin-bottom: 30px;
            border-bottom: 2px solid var(--border-color);
            padding-bottom: 20px;
        }
        h1 {
            font-family: var(--font-heading);
            font-size: 2.5rem;
            line-height: 1.2;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
        }
        .article-meta {
            display: flex;
            gap: 15px;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        .article-meta i {
            margin-right: 5px;
        }
        h2, h3 {
            font-family: var(--font-heading);
            color: var(--secondary-color);
            margin-top: 30px;
            margin-bottom: 15px;
        }
        h2 {
            font-size: 1.8rem;
            border-left: 4px solid var(--accent-color);
            padding-left: 15px;
        }
        h3 {
            font-size: 1.4rem;
        }
        p {
            margin-bottom: 20px;
            text-align: justify;
        }
        .highlight {
            background-color: #fff9e6;
            border-left: 4px solid #ffcc00;
            padding: 20px;
            margin: 25px 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .note {
            background-color: #e8f4fd;
            border-left: 4px solid var(--accent-color);
            padding: 20px;
            margin: 25px 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .character-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        .character-card {
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            overflow: hidden;
            transition: var(--transition);
            background-color: var(--bg-white);
        }
        .character-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }
        .character-img {
            height: 150px;
            width: 100%;
            object-fit: cover;
        }
        .character-info {
            padding: 15px;
        }
        .character-name {
            font-weight: 700;
            margin-bottom: 5px;
        }
        .character-element {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            color: white;
            margin-bottom: 10px;
        }
        .pyro { background-color: #ff5733; }
        .hydro { background-color: #3498db; }
        .anemo { background-color: #2ecc71; }
        .electro { background-color: #9b59b6; }
        .cryo { background-color: #1abc9c; }
        .geo { background-color: #e67e22; }
        .dendro { background-color: #27ae60; }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        .sidebar-widget {
            background-color: var(--bg-white);
            padding: 25px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .sidebar-title {
            font-size: 1.2rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--border-color);
            color: var(--primary-color);
        }
        .search-form {
            display: flex;
        }
        .search-input {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-right: none;
            border-radius: var(--radius) 0 0 var(--radius);
            font-family: inherit;
        }
        .search-btn {
            background-color: var(--accent-color);
            color: white;
            border: none;
            padding: 0 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-btn:hover {
            background-color: var(--accent-hover);
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            font-size: 2rem;
            color: #ddd;
            margin-bottom: 15px;
            cursor: pointer;
        }
        .stars i {
            margin: 0 2px;
            transition: var(--transition);
        }
        .stars i:hover,
        .stars i.active {
            color: #ffcc00;
        }
        .rating-form {
            display: none;
            margin-top: 15px;
        }
        .rating-form.active {
            display: block;
        }
        .rating-form textarea,
        .rating-form input {
            width: 100%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            font-family: inherit;
        }
        .rating-form button {
            background-color: var(--accent-color);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: var(--radius);
            cursor: pointer;
            width: 100%;
            transition: var(--transition);
        }
        .rating-form button:hover {
            background-color: var(--accent-hover);
        }
        .related-links {
            list-style: none;
        }
        .related-links li {
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px dashed var(--border-color);
        }
        .related-links li:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        .comments-section {
            margin-top: 50px;
            background-color: var(--bg-white);
            padding: 40px;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .comment-form {
            margin-bottom: 40px;
        }
        .comment-form h3 {
            margin-bottom: 20px;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            font-family: inherit;
            transition: var(--transition);
        }
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-color);
        }
        .submit-btn {
            background-color: var(--accent-color);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        .submit-btn:hover {
            background-color: var(--accent-hover);
        }
        .comment-list {
            list-style: none;
        }
        .comment-item {
            padding: 25px 0;
            border-bottom: 1px solid var(--border-color);
        }
        .comment-item:last-child {
            border-bottom: none;
        }
        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        .comment-author {
            font-weight: 700;
            color: var(--primary-color);
        }
        .comment-date {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        .comment-body {
            color: var(--text-primary);
        }
        .footer-links {
            background-color: var(--secondary-color);
            padding: 40px 0;
            color: white;
        }
        .web-link {
            background-color: rgba(255,255,255,0.05);
            padding: 15px;
            margin-bottom: 15px;
            border-radius: var(--radius);
            transition: var(--transition);
        }
        .web-link:hover {
            background-color: rgba(255,255,255,0.1);
        }
        .web-link a {
            color: #ddd;
            font-weight: 500;
        }
        .web-link a:hover {
            color: white;
            text-decoration: none;
        }
        .site-footer {
            background-color: var(--primary-color);
            color: #bbb;
            padding: 30px 0;
            text-align: center;
        }
        .footer-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
        .copyright {
            font-size: 0.9rem;
        }
        .footer-nav {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .footer-nav a {
            color: #bbb;
        }
        .footer-nav a:hover {
            color: white;
        }
        @media (max-width: 768px) {
            .article-content,
            .sidebar-widget,
            .comments-section {
                padding: 25px;
            }
            .character-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }
