:root {
            --primary-color: #4a148c;
            --secondary-color: #ff6f00;
            --accent-color: #00b0ff;
            --dark-bg: #1a1a2e;
            --light-bg: #f8f9fa;
            --text-dark: #333333;
            --text-light: #f5f5f5;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
            --border-radius: 12px;
        }
        * {
            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(--text-dark);
            background-color: var(--light-bg);
            overflow-x: hidden;
        }
        .site-header {
            background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
            color: var(--text-light);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 2.2rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 2px;
            background: linear-gradient(90deg, #ffd166, #ff6f00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-decoration: none;
            transition: var(--transition);
        }
        .logo:hover {
            transform: scale(1.05);
        }
        .main-nav {
            display: flex;
            gap: 2rem;
        }
        .nav-link {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: var(--border-radius);
            transition: var(--transition);
            position: relative;
        }
        .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }
        .nav-link.active {
            background-color: var(--secondary-color);
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: var(--accent-color);
            transition: var(--transition);
            transform: translateX(-50%);
        }
        .nav-link:hover::after {
            width: 80%;
        }
        .hamburger {
            display: none;
            font-size: 1.8rem;
            background: none;
            border: none;
            color: var(--text-light);
            cursor: pointer;
        }
        .breadcrumb {
            background-color: rgba(255, 255, 255, 0.1);
            padding: 1rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        .breadcrumb-list {
            display: flex;
            list-style: none;
            gap: 0.5rem;
            font-size: 0.9rem;
        }
        .breadcrumb-item a {
            color: var(--text-light);
            text-decoration: none;
            opacity: 0.9;
        }
        .breadcrumb-item a:hover {
            opacity: 1;
            text-decoration: underline;
        }
        .breadcrumb-item::after {
            content: '›';
            margin-left: 0.5rem;
            opacity: 0.7;
        }
        .breadcrumb-item:last-child::after {
            display: none;
        }
        .container {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 3rem;
        }
        .article-content {
            background-color: white;
            padding: 3rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .article-header {
            margin-bottom: 3rem;
            border-bottom: 3px solid var(--secondary-color);
            padding-bottom: 1.5rem;
        }
        h1 {
            font-size: 2.8rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .article-meta {
            display: flex;
            gap: 1.5rem;
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }
        .meta-item i {
            margin-right: 0.5rem;
            color: var(--accent-color);
        }
        h2 {
            font-size: 2rem;
            color: var(--primary-color);
            margin: 2.5rem 0 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #eee;
        }
        h3 {
            font-size: 1.5rem;
            color: var(--secondary-color);
            margin: 2rem 0 1rem;
        }
        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            text-align: justify;
        }
        .highlight {
            background-color: #fff8e1;
            border-left: 4px solid var(--secondary-color);
            padding: 1.5rem;
            margin: 2rem 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        .card-item {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid #eee;
        }
        .card-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
        }
        .card-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-bottom: 3px solid var(--accent-color);
        }
        .card-content {
            padding: 1.5rem;
        }
        .card-rarity {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }
        .common { background-color: #bdbdbd; color: #333; }
        .rare { background-color: #2196f3; color: white; }
        .epic { background-color: #9c27b0; color: white; }
        .legendary { background-color: #ff9800; color: white; }
        .sidebar {
            position: sticky;
            top: 120px;
            height: fit-content;
        }
        .sidebar-widget {
            background: white;
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }
        .search-form {
            display: flex;
            margin-bottom: 2rem;
        }
        .search-input {
            flex-grow: 1;
            padding: 0.9rem 1.2rem;
            border: 2px solid #ddd;
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            font-size: 1rem;
            transition: var(--transition);
        }
        .search-input:focus {
            outline: none;
            border-color: var(--accent-color);
        }
        .search-btn {
            background-color: var(--accent-color);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1.1rem;
        }
        .search-btn:hover {
            background-color: #0091ea;
        }
        .rating-widget {
            text-align: center;
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin: 1.5rem 0;
            font-size: 1.8rem;
            color: #ffd700;
        }
        .star {
            cursor: pointer;
            transition: var(--transition);
        }
        .star:hover {
            transform: scale(1.2);
        }
        .rating-btn {
            background-color: var(--secondary-color);
            color: white;
            border: none;
            padding: 0.9rem 2rem;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            width: 100%;
        }
        .rating-btn:hover {
            background-color: #e65100;
            transform: translateY(-3px);
        }
        .comment-form textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: var(--border-radius);
            resize: vertical;
            min-height: 150px;
            margin-bottom: 1rem;
            font-family: inherit;
            transition: var(--transition);
        }
        .comment-form textarea:focus {
            outline: none;
            border-color: var(--accent-color);
        }
        .submit-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            width: 100%;
        }
        .submit-btn:hover {
            background-color: #38006b;
            transform: translateY(-3px);
        }
        .web-links {
            max-width: 1400px;
            margin: 3rem auto 0;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1.5rem;
        }
        .web-link {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 1.2rem;
            border-radius: var(--border-radius);
            text-align: center;
            transition: var(--transition);
        }
        .web-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
        }
        .web-link a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            display: block;
        }
        .site-footer {
            background-color: var(--dark-bg);
            color: var(--text-light);
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
        }
        .footer-section h4 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            color: var(--accent-color);
            position: relative;
            padding-bottom: 0.5rem;
        }
        .footer-section h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--secondary-color);
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #bbb;
            text-decoration: none;
            transition: var(--transition);
        }
        .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 5px;
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 1200px) {
            .web-links {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 992px) {
            .container {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
            }
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 1rem;
            }
            .main-nav {
                display: none;
                width: 100%;
                flex-direction: column;
                text-align: center;
                margin-top: 1rem;
            }
            .main-nav.active {
                display: flex;
            }
            .hamburger {
                display: block;
                position: absolute;
                top: 1rem;
                right: 2rem;
            }
            .article-content {
                padding: 2rem;
            }
            h1 {
                font-size: 2.2rem;
            }
            .card-grid {
                grid-template-columns: 1fr;
            }
            .web-links {
                grid-template-columns: 1fr;
            }
            .footer-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }
        .tooltip {
            position: relative;
            display: inline-block;
            border-bottom: 1px dotted var(--accent-color);
            cursor: help;
        }
        .tooltip .tooltiptext {
            visibility: hidden;
            width: 250px;
            background-color: var(--dark-bg);
            color: white;
            text-align: center;
            border-radius: var(--border-radius);
            padding: 1rem;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.9rem;
            box-shadow: var(--shadow);
        }
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        .stats-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        }
        .stats-table th, .stats-table td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        .stats-table th {
            background-color: var(--primary-color);
            color: white;
            font-weight: 600;
        }
        .stats-table tr:hover {
            background-color: #f5f5f5;
        }
        .emoji {
            font-size: 1.2rem;
            margin-right: 0.5rem;
        }
        .key-term {
            font-weight: 700;
            color: var(--primary-color);
            background-color: #f3e5f5;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
        }
