*,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        :root {
            --primary: #0f0f1a;
            --secondary: #1a1a2e;
            --accent: #f5a623;
            --accent2: #e85d04;
            --text: #e8e8e8;
            --text-muted: #a0a0b0;
            --card-bg: #1e1e32;
            --border: #2a2a44;
            --shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
            --radius: 16px;
            --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
            --max-width: 1200px;
            --header-h: 72px;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: var(--font);
            background: var(--primary);
            color: var(--text);
            line-height: 1.7;
            min-height: 100vh;
        }
        a {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.3s;
        }
        a:hover {
            color: #ffc857;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
        }
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: var(--secondary);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
            height: var(--header-h);
            display: flex;
            align-items: center;
        }
        header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--accent);
            letter-spacing: 1px;
            text-transform: uppercase;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .my-logo:hover {
            opacity: 0.85;
        }
        .my-logo span {
            font-weight: 300;
            color: var(--text);
            -webkit-text-fill-color: var(--text);
        }
        .nav-wrapper {
            display: flex;
            align-items: center;
            gap: 24px;
        }
        .main-nav {
            display: flex;
            gap: 20px;
            list-style: none;
            align-items: center;
        }
        .main-nav li a {
            color: var(--text);
            font-weight: 500;
            padding: 8px 4px;
            border-bottom: 2px solid transparent;
            transition: 0.3s;
            font-size: 0.95rem;
        }
        .main-nav li a:hover,
        .main-nav li a.active {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text);
            font-size: 1.6rem;
            cursor: pointer;
            padding: 4px 8px;
            transition: 0.3s;
        }
        .hamburger:hover {
            color: var(--accent);
        }
        .breadcrumb {
            background: var(--secondary);
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 6px 12px;
            align-items: center;
        }
        .breadcrumb ol li+li::before {
            content: "›";
            margin-right: 12px;
            color: var(--text-muted);
        }
        .breadcrumb a {
            color: var(--text-muted);
        }
        .breadcrumb a:hover {
            color: var(--accent);
        }
        .breadcrumb .current {
            color: var(--accent);
            font-weight: 600;
        }
        .hero {
            padding: 48px 0 32px;
            text-align: center;
            background: radial-gradient(ellipse at 50% 0%, #1a1a3e, var(--primary) 70%);
        }
        .hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--accent), #ff8a5c);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
            margin-bottom: 16px;
        }
        .hero p {
            font-size: 1.2rem;
            color: var(--text-muted);
            max-width: 720px;
            margin: 0 auto 24px;
        }
        .hero-meta {
            display: flex;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
            font-size: 0.95rem;
            color: var(--text-muted);
        }
        .hero-meta i {
            color: var(--accent);
            margin-right: 6px;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            padding: 40px 0 60px;
        }
        .main-content {
            min-width: 0;
        }
        .sidebar {
            position: sticky;
            top: calc(var(--header-h) + 24px);
            align-self: start;
        }
        .card {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 28px 32px;
            margin-bottom: 28px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
        }
        h2 {
            font-size: 2rem;
            font-weight: 700;
            margin: 32px 0 16px;
            color: var(--accent);
            border-left: 4px solid var(--accent);
            padding-left: 16px;
        }
        h3 {
            font-size: 1.5rem;
            font-weight: 600;
            margin: 24px 0 12px;
            color: #f0e6d3;
        }
        h4 {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 20px 0 10px;
            color: var(--text);
        }
        .main-content p {
            margin-bottom: 18px;
            color: #d0d0dd;
        }
        .main-content ul,
        .main-content ol {
            margin: 12px 0 20px 24px;
            color: #d0d0dd;
        }
        .main-content li {
            margin-bottom: 8px;
        }
        .highlight {
            background: rgba(245, 166, 35, 0.12);
            border-left: 3px solid var(--accent);
            padding: 12px 20px;
            border-radius: 0 8px 8px 0;
            margin: 20px 0;
        }
        .highlight strong {
            color: var(--accent);
        }
        .stat-badge {
            display: inline-block;
            background: var(--accent);
            color: #0f0f1a;
            padding: 2px 12px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.85rem;
        }
        .featured-image {
            margin: 24px 0;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .featured-image img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            background: #2a2a44;
        }
        .featured-image figcaption {
            padding: 10px 16px;
            background: var(--card-bg);
            font-size: 0.9rem;
            color: var(--text-muted);
            border-top: 1px solid var(--border);
        }
        .data-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 0.95rem;
        }
        .data-table th {
            background: var(--accent);
            color: #0f0f1a;
            padding: 12px 16px;
            text-align: left;
            font-weight: 700;
        }
        .data-table td {
            padding: 10px 16px;
            border-bottom: 1px solid var(--border);
        }
        .data-table tr:hover td {
            background: rgba(245, 166, 35, 0.05);
        }
        .sidebar-widget {
            background: var(--card-bg);
            border-radius: var(--radius);
            padding: 24px;
            margin-bottom: 24px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            font-size: 1.2rem;
            margin-top: 0;
            margin-bottom: 16px;
            border-bottom: 2px solid var(--accent);
            padding-bottom: 8px;
        }
        .link-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .link-list li {
            margin-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            padding-bottom: 10px;
        }
        .link-list li:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .link-list a {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #d0d0dd;
            transition: 0.3s;
        }
        .link-list a:hover {
            color: var(--accent);
            transform: translateX(4px);
        }
        .link-list a i {
            width: 20px;
            color: var(--accent);
        }
        .search-form {
            display: flex;
            gap: 8px;
        }
        .search-form input {
            flex: 1;
            padding: 10px 16px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--primary);
            color: var(--text);
            font-size: 0.95rem;
            outline: none;
            transition: 0.3s;
        }
        .search-form input:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
        }
        .search-form button {
            padding: 10px 18px;
            background: var(--accent);
            color: #0f0f1a;
            border: none;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.3s;
        }
        .search-form button:hover {
            background: #ffc857;
            transform: scale(1.03);
        }
        .comment-form textarea {
            width: 100%;
            padding: 12px 16px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--primary);
            color: var(--text);
            font-size: 0.95rem;
            resize: vertical;
            min-height: 100px;
            outline: none;
            transition: 0.3s;
            font-family: var(--font);
        }
        .comment-form textarea:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
        }
        .comment-form .form-row {
            display: flex;
            gap: 12px;
            margin-top: 12px;
            flex-wrap: wrap;
            align-items: center;
        }
        .comment-form input[type="text"] {
            flex: 1;
            min-width: 180px;
            padding: 10px 16px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--primary);
            color: var(--text);
            outline: none;
            transition: 0.3s;
        }
        .comment-form input[type="text"]:focus {
            border-color: var(--accent);
        }
        .comment-form button {
            padding: 10px 24px;
            background: var(--accent);
            color: #0f0f1a;
            border: none;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.3s;
        }
        .comment-form button:hover {
            background: #ffc857;
        }
        .rating-stars {
            display: flex;
            gap: 6px;
            font-size: 1.6rem;
            cursor: pointer;
            color: var(--border);
            transition: 0.3s;
        }
        .rating-stars i {
            transition: 0.3s;
        }
        .rating-stars i.active,
        .rating-stars i:hover,
        .rating-stars i:hover~i {
            color: var(--accent);
        }
        .rating-stars i:hover {
            transform: scale(1.2);
        }
        .comment-item {
            padding: 16px 0;
            border-bottom: 1px solid var(--border);
        }
        .comment-item:last-child {
            border-bottom: none;
        }
        .comment-item .meta {
            font-size: 0.85rem;
            color: var(--text-muted);
            display: flex;
            gap: 12px;
            margin-bottom: 6px;
        }
        .comment-item .meta .name {
            color: var(--accent);
            font-weight: 600;
        }
        footer {
            background: var(--secondary);
            border-top: 1px solid var(--border);
            padding: 40px 0 20px;
            margin-top: 40px;
        }
        footer .container {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 32px;
        }
        footer h4 {
            color: var(--accent);
            margin-bottom: 12px;
            font-size: 1.1rem;
        }
        footer p,
        footer a {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        footer a:hover {
            color: var(--accent);
        }
        .footer-links {
            list-style: none;
            padding: 0;
        }
        .footer-links li {
            margin-bottom: 8px;
        }
        .copyright {
            grid-column: 1 / -1;
            text-align: center;
            padding-top: 24px;
            border-top: 1px solid var(--border);
            margin-top: 24px;
            color: var(--text-muted);
            font-size: 0.85rem;
        }
        friend-link {
            display: block;
            margin-top: 8px;
        }
        friend-link a {
            display: inline-block;
            margin-right: 16px;
            padding: 4px 0;
        }
        @media (max-width: 1024px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
            }
        }
        @media (max-width: 768px) {
            :root {
                --header-h: 64px;
            }
            .hero h1 {
                font-size: 2rem;
            }
            .hero p {
                font-size: 1rem;
            }
            .main-nav {
                display: none;
                position: absolute;
                top: var(--header-h);
                left: 0;
                right: 0;
                background: var(--secondary);
                flex-direction: column;
                padding: 20px 24px;
                border-bottom: 2px solid var(--accent);
                box-shadow: var(--shadow);
                gap: 12px;
            }
            .main-nav.open {
                display: flex;
            }
            .hamburger {
                display: block;
            }
            .card {
                padding: 20px;
            }
            h2 {
                font-size: 1.6rem;
            }
            h3 {
                font-size: 1.25rem;
            }
            .data-table {
                font-size: 0.8rem;
            }
            .data-table th,
            .data-table td {
                padding: 8px 10px;
            }
            footer .container {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .hero-meta {
                flex-direction: column;
                gap: 8px;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 14px;
            }
            .hero h1 {
                font-size: 1.6rem;
            }
            .my-logo {
                font-size: 1.3rem;
            }
            .card {
                padding: 16px;
            }
            .search-form {
                flex-direction: column;
            }
        }
        .text-accent {
            color: var(--accent);
        }
        .mt-0 {
            margin-top: 0;
        }
        .mb-0 {
            margin-bottom: 0;
        }
        .flex-between {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
        }
        .gap-8 {
            gap: 8px;
        }
        .gap-16 {
            gap: 16px;
        }
        .fw-700 {
            font-weight: 700;
        }
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: var(--primary);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent);
        }
        .demo-notice {
            background: rgba(245, 166, 35, 0.1);
            border: 1px dashed var(--accent);
            color: var(--accent);
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.85rem;
            margin-top: 12px;
            display: inline-block;
        }
