:root {
            --primary: #1a237e;
            --secondary: #ff4081;
            --accent: #00bcd4;
            --light: #f5f7ff;
            --dark: #0d1430;
            --gray: #6c757d;
            --success: #28a745;
            --warning: #ffc107;
            --transition: all 0.3s ease;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --radius: 8px;
            --max-width: 1200px;
        }
        * {
            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.6;
            color: #333;
            background-color: var(--light);
            overflow-x: hidden;
        }
        .site-header {
            background: linear-gradient(135deg, var(--dark), var(--primary));
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
            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:hover {
            color: var(--accent);
            transform: scale(1.02);
            transition: var(--transition);
        }
        .nav-desktop {
            display: flex;
            gap: 2rem;
        }
        @media (max-width: 768px) {
            .nav-desktop {
                display: none;
            }
        }
        .nav-desktop a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
            transition: var(--transition);
        }
        .nav-desktop a:hover,
        .nav-desktop a.active {
            background-color: rgba(255, 255, 255, 0.15);
            color: var(--accent);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 5px;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
        }
        .nav-mobile {
            position: fixed;
            top: 70px;
            right: -100%;
            width: 280px;
            height: calc(100vh - 70px);
            background: var(--dark);
            transition: right 0.4s ease;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            z-index: 999;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        }
        .nav-mobile.active {
            right: 0;
        }
        .nav-mobile a {
            color: white;
            text-decoration: none;
            font-size: 1.2rem;
            padding: 0.8rem;
            border-radius: var(--radius);
            border-left: 4px solid transparent;
            transition: var(--transition);
        }
        .nav-mobile a:hover,
        .nav-mobile a.active {
            background-color: rgba(255, 255, 255, 0.1);
            border-left-color: var(--accent);
            padding-left: 1.2rem;
        }
        .breadcrumb {
            max-width: var(--max-width);
            margin: 1rem auto;
            padding: 0 20px;
            font-size: 0.9rem;
        }
        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .breadcrumb span {
            color: var(--gray);
        }
        .search-container {
            max-width: var(--max-width);
            margin: 2rem auto;
            padding: 0 20px;
        }
        .search-form {
            display: flex;
            background: white;
            border-radius: 50px;
            overflow: hidden;
            box-shadow: var(--shadow);
            border: 2px solid transparent;
            transition: var(--transition);
        }
        .search-form:focus-within {
            border-color: var(--accent);
        }
        .search-input {
            flex: 1;
            padding: 1rem 1.5rem;
            border: none;
            font-size: 1rem;
            outline: none;
        }
        .search-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0 1.8rem;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1.2rem;
        }
        .search-btn:hover {
            background: var(--secondary);
        }
        .main-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        @media (max-width: 992px) {
            .main-container {
                grid-template-columns: 1fr;
            }
        }
        article {
            background: white;
            border-radius: var(--radius);
            padding: 2.5rem;
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }
        h1 {
            color: var(--dark);
            font-size: 2.8rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 0.5rem;
        }
        @media (max-width: 768px) {
            h1 {
                font-size: 2.2rem;
            }
        }
        h2 {
            color: var(--primary);
            font-size: 2rem;
            margin: 2.5rem 0 1.2rem;
            padding-top: 1rem;
            border-top: 2px dashed #e0e0e0;
        }
        h3 {
            color: var(--secondary);
            font-size: 1.5rem;
            margin: 2rem 0 1rem;
        }
        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.3rem;
            color: var(--dark);
            font-weight: 600;
            background: linear-gradient(90deg, #f0f4ff, #ffffff);
            padding: 1.5rem;
            border-radius: var(--radius);
            border-left: 5px solid var(--accent);
            margin-bottom: 2rem;
        }
        .highlight {
            background-color: #fffacd;
            padding: 2rem;
            border-radius: var(--radius);
            border: 2px solid var(--warning);
            margin: 2rem 0;
        }
        .highlight h4 {
            color: #856404;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .chips-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .chip-item {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            text-align: center;
            box-shadow: var(--shadow);
            transition: transform 0.3s;
        }
        .chip-item:hover {
            transform: translateY(-5px);
        }
        .chip-value {
            font-size: 2rem;
            font-weight: 800;
        }
        .chip-code {
            font-family: monospace;
            background: rgba(0, 0, 0, 0.2);
            padding: 0.5rem;
            border-radius: 4px;
            margin: 0.8rem 0;
            display: inline-block;
        }
        .btn-copy {
            background: white;
            color: var(--secondary);
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        .btn-copy:hover {
            background: var(--dark);
            color: white;
        }
        .featured-image {
            width: 100%;
            border-radius: var(--radius);
            margin: 2rem 0;
            box-shadow: var(--shadow);
            transition: transform 0.5s;
        }
        .featured-image:hover {
            transform: scale(1.01);
        }
        .image-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            margin-top: 0.5rem;
            font-size: 0.95rem;
        }
        .emoji {
            font-size: 1.3rem;
            margin-right: 5px;
        }
        .stat-box {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin: 2rem 0;
        }
        .stat {
            flex: 1;
            min-width: 200px;
            background: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            text-align: center;
            border-top: 5px solid var(--accent);
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
        }
        .sidebar {
            position: sticky;
            top: 120px;
            height: fit-content;
        }
        @media (max-width: 992px) {
            .sidebar {
                position: static;
                margin-top: 2rem;
            }
        }
        .sidebar-widget {
            background: white;
            border-radius: var(--radius);
            padding: 1.8rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }
        .sidebar-title {
            color: var(--primary);
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.7rem;
            border-bottom: 2px solid #f0f0f0;
        }
        .daily-code {
            background: linear-gradient(135deg, var(--primary), var(--dark));
            color: white;
            padding: 2rem;
            border-radius: var(--radius);
            text-align: center;
        }
        .daily-code h3 {
            color: white;
            margin-top: 0;
        }
        .code-display {
            font-size: 2rem;
            font-family: monospace;
            letter-spacing: 3px;
            background: rgba(255, 255, 255, 0.2);
            padding: 1rem;
            border-radius: var(--radius);
            margin: 1.5rem 0;
            border: 2px dashed white;
        }
        .user-interaction {
            margin: 3rem 0;
            padding: 2rem;
            background: #f8f9ff;
            border-radius: var(--radius);
            border: 1px solid #e0e6ff;
        }
        .rating-container {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        .stars {
            display: flex;
            gap: 5px;
        }
        .star {
            font-size: 1.8rem;
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .star.active,
        .star:hover {
            color: var(--warning);
        }
        .comment-form,
        .rating-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .form-label {
            font-weight: 600;
            color: var(--dark);
        }
        .form-input,
        .form-textarea {
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: var(--radius);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        .form-input:focus,
        .form-textarea:focus {
            border-color: var(--accent);
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
        }
        .form-textarea {
            min-height: 150px;
            resize: vertical;
        }
        .btn-submit {
            background: var(--primary);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: var(--radius);
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            align-self: flex-start;
        }
        .btn-submit:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }
        .web-links-container {
            max-width: var(--max-width);
            margin: 3rem auto;
            padding: 0 20px;
        }
        .web-links-title {
            font-size: 1.8rem;
            color: var(--dark);
            margin-bottom: 1.5rem;
            text-align: center;
        }
        .web-links {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        .web-link {
            background: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        .web-link:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
        .web-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            display: block;
            margin-bottom: 0.5rem;
        }
        .web-link a:hover {
            color: var(--secondary);
            text-decoration: underline;
        }
        .web-link p {
            font-size: 0.95rem;
            color: var(--gray);
            margin-bottom: 0;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
        }
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            margin-bottom: 1rem;
            display: inline-block;
        }
        .footer-about {
            font-size: 0.95rem;
            opacity: 0.8;
            line-height: 1.7;
        }
        .footer-links h4 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        .footer-links h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
        }
        .footer-links ul {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            opacity: 0.7;
        }
        .text-bold {
            font-weight: 800;
            color: var(--dark);
        }
        .text-accent {
            color: var(--accent);
            font-weight: 700;
        }
        .text-secondary {
            color: var(--secondary);
        }
        .btn {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 0.8rem 1.8rem;
            border-radius: var(--radius);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }
        .btn:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }
        .alert {
            padding: 1rem;
            border-radius: var(--radius);
            margin: 1rem 0;
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .alert-info {
            background-color: #e7f3ff;
            border-left: 5px solid var(--accent);
        }
        .alert-success {
            background-color: #d4edda;
            border-left: 5px solid var(--success);
        }
        .tooltip {
            position: relative;
            display: inline-block;
            border-bottom: 1px dotted var(--gray);
            cursor: help;
        }
        .tooltip .tooltiptext {
            visibility: hidden;
            width: 280px;
            background-color: var(--dark);
            color: white;
            text-align: center;
            padding: 0.8rem;
            border-radius: var(--radius);
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.9rem;
            font-weight: normal;
        }
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        @media (max-width: 768px) {
            article {
                padding: 1.5rem;
            }
            .sidebar-widget {
                padding: 1.5rem;
            }
            .chips-list {
                grid-template-columns: 1fr;
            }
            .stat-box {
                flex-direction: column;
            }
        }
