/* Base Variables & Reset */
        :root {
            --primary-color: #1e3a8a;
            --secondary-color: #f8fafc;
            --accent-color: #f59e0b;
            --success-color: #10b981;
            --warning-color: #f97316;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --border-color: #e5e7eb;
            --wiki-blue: #3366cc;
            --wiki-light: #f1f5f9;
            --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            line-height: 1.7;
            color: var(--text-primary);
            background-color: #ffffff;
            overflow-x: hidden;
        }
        
        /* Typography */
        h1, h2, h3, h4, h5 {
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        
        h1 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        h1:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--accent-color);
            border-radius: 2px;
        }
        
        h2 {
            font-size: 1.8rem;
            margin-top: 2.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--border-color);
        }
        
        h3 {
            font-size: 1.4rem;
            margin-top: 1.8rem;
            color: var(--text-primary);
        }
        
        h4 {
            font-size: 1.2rem;
            margin-top: 1.5rem;
            color: var(--text-secondary);
        }
        
        p {
            margin-bottom: 1.2rem;
            line-height: 1.8;
        }
        
        a {
            color: var(--wiki-blue);
            text-decoration: none;
            transition: color 0.2s;
        }
        
        a:hover {
            color: var(--primary-color);
            text-decoration: underline;
        }
        
        /* Layout */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }
        
        /* Header & Navigation */
        .site-header {
            background: var(--gradient-primary);
            color: white;
            box-shadow: var(--shadow-md);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            display: flex;
            align-items: center;
        }
        
        .logo a {
            color: white;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .logo-icon {
            font-size: 2rem;
            color: var(--accent-color);
        }
        
        .desktop-nav {
            display: flex;
            gap: 2rem;
        }
        
        .nav-link {
            color: rgba(255,255,255,0.9);
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
            min-height: 44px;
            display: flex;
            align-items: center;
        }
        
        .nav-link:hover {
            color: white;
            text-decoration: none;
        }
        
        .nav-link:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--accent-color);
            transition: width 0.3s;
        }
        
        .nav-link:hover:after {
            width: 100%;
        }
        
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            min-height: 44px;
            min-width: 44px;
            align-items: center;
            justify-content: center;
        }
        
        .mobile-nav {
            display: none;
            background: rgba(30, 58, 138, 0.98);
            padding: 1rem;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .mobile-nav.active {
            display: flex;
        }
        
        /* Main Content Layout */
        .main-container {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 2.5rem;
            padding: 2.5rem 1.5rem;
        }
        
        /* Content Sections */
        .content-section {
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .content-section:last-of-type {
            border-bottom: none;
        }
        
        /* Wiki Infobox */
        .wiki-infobox {
            background: var(--wiki-light);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 0 0 2rem 2rem;
            float: right;
            width: 320px;
            box-shadow: var(--shadow-sm);
        }
        
        .infobox-title {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
            border-bottom: 2px solid var(--accent-color);
            padding-bottom: 0.5rem;
        }
        
        .infobox-row {
            display: flex;
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .infobox-label {
            font-weight: 600;
            min-width: 130px;
            color: var(--text-primary);
        }
        
        .infobox-value {
            flex: 1;
            color: var(--text-secondary);
        }
        
        /* Images */
        .article-image {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 1.5rem 0;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-md);
        }
        
        .image-caption {
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-top: 0.5rem;
            margin-bottom: 1.5rem;
            font-style: italic;
        }
        
        /* Tables */
        .wiki-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            box-shadow: var(--shadow-sm);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .wiki-table th {
            background-color: var(--primary-color);
            color: white;
            font-weight: 600;
            text-align: left;
            padding: 1rem;
        }
        
        .wiki-table td {
            padding: 1rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .wiki-table tr:nth-child(even) {
            background-color: var(--wiki-light);
        }
        
        .wiki-table tr:hover {
            background-color: #f0f9ff;
        }
        
        /* Lists */
        ul, ol {
            margin: 0 0 1.5rem 2rem;
        }
        
        li {
            margin-bottom: 0.5rem;
            line-height: 1.6;
        }
        
        /* Interactive Components */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            min-height: 44px;
            min-width: 44px;
            text-align: center;
            gap: 0.5rem;
        }
        
        .btn:hover {
            background-color: #1e40af;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
            text-decoration: none;
        }
        
        .btn-accent {
            background-color: var(--accent-color);
            color: var(--text-primary);
        }
        
        .btn-accent:hover {
            background-color: #e78b0c;
        }
        
        .btn-success {
            background-color: var(--success-color);
        }
        
        /* Search Box */
        .search-box {
            background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
            border-radius: 12px;
            padding: 2rem;
            margin: 2.5rem 0;
            border: 2px solid #bae6fd;
            box-shadow: var(--shadow-md);
        }
        
        .search-form {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .form-label {
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .form-input, .form-textarea, .form-select {
            padding: 0.9rem 1rem;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-size: 1rem;
            font-family: inherit;
            transition: border-color 0.2s;
        }
        
        .form-input:focus, .form-textarea:focus, .form-select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        .form-textarea {
            min-height: 120px;
            resize: vertical;
            line-height: 1.6;
        }
        
        /* Rating System */
        .rating-section {
            background-color: #fff7ed;
            border: 2px solid #fed7aa;
            border-radius: 12px;
            padding: 2rem;
            margin: 2.5rem 0;
        }
        
        .rating-stars {
            display: flex;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        
        .star {
            font-size: 2rem;
            color: #e5e7eb;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .star:hover, .star.active {
            color: var(--accent-color);
            transform: scale(1.1);
        }
        
        .star.active {
            text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
        }
        
        /* Comments Section */
        .comments-section {
            background-color: var(--wiki-light);
            border-radius: 12px;
            padding: 2rem;
            margin: 2.5rem 0;
        }
        
        .comment {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border-left: 4px solid var(--primary-color);
            box-shadow: var(--shadow-sm);
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .comment-author {
            font-weight: 700;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .comment-date {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 100px;
            align-self: start;
        }
        
        .sidebar-section {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
        }
        
        .sidebar-title {
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
            color: var(--primary-color);
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .sidebar-nav {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        .sidebar-nav li {
            margin-bottom: 0.5rem;
        }
        
        .sidebar-nav a {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            border-radius: 6px;
            color: var(--text-primary);
            transition: all 0.2s;
        }
        
        .sidebar-nav a:hover {
            background-color: #f0f9ff;
            color: var(--primary-color);
            text-decoration: none;
            transform: translateX(5px);
        }
        
        .update-log {
            background: #fef3c7;
            border-radius: 8px;
            padding: 1rem;
            margin-top: 1rem;
        }
        
        .update-entry {
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px solid #fde68a;
        }
        
        .update-entry:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .update-date {
            font-weight: 700;
            color: #92400e;
            font-size: 0.9rem;
        }
        
        /* Footer */
        .site-footer {
            background: #0f172a;
            color: #cbd5e1;
            padding: 3rem 0 2rem;
            margin-top: 4rem;
        }
        
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        
        .footer-section h3 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid #334155;
            padding-bottom: 0.5rem;
        }
        
        .footer-links {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: #94a3b8;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .footer-links a:hover {
            color: white;
            text-decoration: none;
        }
        
        friend-link {
            display: block;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid #334155;
            text-align: center;
        }
        
        .copyright {
            text-align: center;
            padding-top: 2rem;
            color: #64748b;
            font-size: 0.9rem;
            border-top: 1px solid #334155;
        }
        
        /* Social Sharing */
        .social-share {
            display: flex;
            gap: 1rem;
            margin: 2.5rem 0;
            flex-wrap: wrap;
        }
        
        .social-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            transition: all 0.2s;
        }
        
        .social-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            text-decoration: none;
        }
        
        .facebook { background-color: #1877f2; }
        .twitter { background-color: #1da1f2; }
        .reddit { background-color: #ff4500; }
        .whatsapp { background-color: #25d366; }
        .pinterest { background-color: #e60023; }
        
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: var(--shadow-lg);
            cursor: pointer;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            border: none;
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background: #1e40af;
            transform: translateY(-5px);
        }
        
        /* Content Highlight Boxes */
        .highlight-box {
            background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
            border-left: 4px solid var(--primary-color);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }
        
        .tip-box {
            background: #f0fdf4;
            border-left: 4px solid var(--success-color);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }
        
        .warning-box {
            background: #fef3c7;
            border-left: 4px solid var(--warning-color);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }
        
        /* Responsive Design */
        @media (max-width: 1024px) {
            .main-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .wiki-infobox {
                float: none;
                width: 100%;
                margin: 0 0 2rem 0;
            }
            
            .sidebar {
                position: static;
            }
        }
        
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.5rem;
            }
            
            .header-container {
                padding: 0.75rem 1rem;
            }
            
            .desktop-nav {
                display: none;
            }
            
            .mobile-menu-toggle {
                display: flex;
            }
            
            .main-container {
                padding: 1.5rem 1rem;
            }
            
            .search-box, .rating-section, .comments-section {
                padding: 1.5rem;
            }
            
            .footer-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .social-share {
                justify-content: center;
            }
            
            .back-to-top {
                bottom: 1rem;
                right: 1rem;
            }
        }
        
        @media (max-width: 480px) {
            html {
                font-size: 15px;
            }
            
            .container {
                padding: 0 1rem;
            }
            
            .btn {
                width: 100%;
            }
            
            .comment-header {
                flex-direction: column;
                align-items: flex-start;
            }
        }
        
        /* Accessibility */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        
        :focus-visible {
            outline: 3px solid var(--accent-color);
            outline-offset: 2px;
        }
        
        /* Print Styles */
        @media print {
            .site-header, .sidebar, .search-box, .comments-section, 
            .rating-section, .social-share, .back-to-top, .site-footer {
                display: none;
            }
            
            body {
                font-size: 12pt;
                line-height: 1.5;
                color: black;
            }
            
            a {
                color: black;
                text-decoration: underline;
            }
            
            .main-container {
                max-width: 100%;
                padding: 0;
                margin: 0;
                display: block;
            }
            
            .wiki-infobox {
                float: right;
                width: 40%;
                margin: 0 0 1rem 1rem;
                border: 1px solid #ccc;
            }
        }

