:root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --success: #27ae60;
            --warning: #f39c12;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --border-radius: 8px;
            --transition: all 0.3s ease;
        }
        * {
            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-color: #f8f9fa;
            overflow-x: hidden;
        }
        .header {
            background-color: var(--primary);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            text-decoration: none;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo i {
            color: var(--accent);
        }
        .logo span {
            color: var(--secondary);
        }
        .nav-desktop {
            display: flex;
            gap: 2rem;
        }
        @media (max-width: 768px) {
            .nav-desktop {
                display: none;
            }
        }
        .nav-desktop a {
            color: var(--light);
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: var(--border-radius);
            transition: var(--transition);
        }
        .nav-desktop a:hover {
            background-color: var(--secondary);
            color: white;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
        }
        .nav-mobile {
            display: none;
            flex-direction: column;
            background-color: var(--dark);
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 1rem;
            box-shadow: var(--shadow);
        }
        .nav-mobile.active {
            display: flex;
        }
        .nav-mobile a {
            color: white;
            text-decoration: none;
            padding: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }
        .nav-mobile a:hover {
            background-color: var(--secondary);
            padding-left: 1.5rem;
        }
        .breadcrumb {
            background-color: #e9ecef;
            padding: 1rem 0;
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin: 0 10px;
            color: #6c757d;
        }
        .breadcrumb a {
            color: var(--secondary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            padding: 2.5rem 0;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        .article-content {
            background: white;
            padding: 2.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        .sidebar-widget {
            background: white;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        h1 {
            color: var(--primary);
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            border-bottom: 3px solid var(--secondary);
            padding-bottom: 0.5rem;
        }
        h2 {
            color: var(--dark);
            font-size: 1.8rem;
            margin: 2.5rem 0 1.2rem 0;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #eee;
        }
        h3 {
            color: var(--primary);
            font-size: 1.4rem;
            margin: 1.8rem 0 1rem 0;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 500;
            color: #555;
            background: #f8f9fa;
            padding: 1.5rem;
            border-left: 4px solid var(--secondary);
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            margin-bottom: 2rem;
        }
        .highlight {
            background-color: #fffacd;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-weight: 600;
        }
        .term {
            color: var(--accent);
            font-weight: bold;
        }
        .pro-tip {
            background: #e8f4fd;
            border-left: 4px solid var(--secondary);
            padding: 1.2rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .pro-tip i {
            color: var(--secondary);
            margin-right: 0.5rem;
        }
        .rules-box {
            background: #f9f9f9;
            border: 2px dashed #ccc;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin: 1.5rem 0;
        }
        ul, ol {
            margin-left: 1.5rem;
            margin-bottom: 1.5rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            box-shadow: 0 0 10px rgba(0,0,0,0.05);
        }
        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        th {
            background-color: var(--primary);
            color: white;
            font-weight: 600;
        }
        tr:hover {
            background-color: #f5f5f5;
        }
        .search-box {
            display: flex;
            margin: 2rem 0;
        }
        .search-box input {
            flex: 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-box input:focus {
            outline: none;
            border-color: var(--secondary);
        }
        .search-box button {
            background-color: var(--secondary);
            color: white;
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-box button:hover {
            background-color: #2980b9;
        }
        .rating-widget {
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            text-align: center;
            margin: 2rem 0;
        }
        .stars {
            font-size: 2rem;
            color: #ddd;
            margin: 1rem 0;
            cursor: pointer;
        }
        .stars .active {
            color: var(--warning);
        }
        .stars i:hover,
        .stars i:hover ~ i {
            color: var(--warning);
        }
        .comment-form, .rating-form {
            background: white;
            padding: 1.8rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin: 2.5rem 0;
        }
        .form-group {
            margin-bottom: 1.2rem;
        }
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #555;
        }
        input, textarea, select {
            width: 100%;
            padding: 0.9rem;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }
        .btn {
            background-color: var(--secondary);
            color: white;
            border: none;
            padding: 0.9rem 1.8rem;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: inline-block;
            text-decoration: none;
        }
        .btn:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        .btn-accent {
            background-color: var(--accent);
        }
        .btn-accent:hover {
            background-color: #c0392b;
        }
        .article-img {
            width: 100%;
            height: auto;
            border-radius: var(--border-radius);
            margin: 1.5rem 0;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .article-img:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: #666;
            margin-top: -0.8rem;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
        }
        .footer-links {
            background-color: #2c3e50;
            padding: 2.5rem 0;
            margin-top: 3rem;
        }
        .web-link {
            display: inline-block;
            margin: 0.8rem 1.5rem 0.8rem 0;
        }
        .web-link a {
            color: var(--light);
            text-decoration: none;
            padding: 0.5rem 1rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            transition: var(--transition);
            display: inline-block;
        }
        .web-link a:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }
        .footer {
            background-color: var(--dark);
            color: white;
            padding: 2rem 0;
            text-align: center;
        }
        .footer a {
            color: var(--secondary);
            text-decoration: none;
        }
        .footer a:hover {
            text-decoration: underline;
        }
        @media (max-width: 768px) {
            h1 { font-size: 2rem; }
            h2 { font-size: 1.6rem; }
            h3 { font-size: 1.3rem; }
            .article-content, .sidebar-widget {
                padding: 1.5rem;
            }
            .main-content {
                gap: 1.5rem;
                padding: 1.5rem 0;
            }
        }
        @media print {
            .header, .sidebar, .search-box, .comment-form, .rating-form, .footer-links, .footer {
                display: none;
            }
            body {
                background: white;
                color: black;
                font-size: 12pt;
            }
            .article-content {
                box-shadow: none;
                padding: 0;
            }
            a {
                color: black;
                text-decoration: underline;
            }
        }
