* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        :root {
            --primary: #7b2ff7;
            --primary-dark: #5a1cc4;
            --accent: #ff6bcb;
            --bg: #0d0f1a;
            --surface: #1a1c2e;
            --text: #e8e8f0;
            --text-dim: #9a9ab0;
            --border: #2e3050;
            --success: #4cd964;
            --warning: #ffcc00;
            --radius: 12px;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.75;
            font-size: 16px;
            overflow-x: hidden;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        a {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.3s;
        }
        a:hover {
            color: #ffa8e3;
        }
        .my-logo {
            font-size: 28px;
            font-weight: 800;
            color: var(--text);
            letter-spacing: 1px;
            background: linear-gradient(135deg, var(--accent), var(--primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-style: italic;
        }
        header {
            background: rgba(13, 15, 26, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 2px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 999;
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 0;
            gap: 20px;
        }
        .nav-links {
            display: flex;
            gap: 28px;
            list-style: none;
        }
        .nav-links a {
            color: var(--text-dim);
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .nav-links a:hover {
            color: var(--accent);
        }
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            background: none;
            border: none;
            padding: 8px;
        }
        .hamburger span {
            width: 28px;
            height: 3px;
            background: var(--text);
            margin: 3px 0;
            border-radius: 3px;
            transition: 0.3s;
        }
        .breadcrumb {
            background: var(--surface);
            padding: 10px 0;
            font-size: 14px;
            border-bottom: 1px solid var(--border);
        }
        .breadcrumb ol {
            list-style: none;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .breadcrumb li:not(:last-child)::after {
            content: "›";
            margin-left: 8px;
            color: var(--text-dim);
        }
        .breadcrumb a {
            color: var(--text-dim);
        }
        .breadcrumb .current {
            color: var(--text);
            font-weight: 600;
        }
        .hero {
            background: radial-gradient(ellipse at top, #1a1c4e 0%, var(--bg) 70%);
            padding: 60px 0;
            text-align: center;
            border-bottom: 1px solid var(--border);
        }
        .hero h1 {
            font-size: 46px;
            line-height: 1.2;
            background: linear-gradient(135deg, #fff, var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 16px;
            font-weight: 800;
        }
        .hero p {
            font-size: 20px;
            text-align: center;
            color: var(--text-dim);
            max-width: 700px;
            margin: 0 auto;
        }
        .hero-meta {
            margin-top: 20px;
            font-size: 14px;
            color: var(--text-dim);
        }
        .hero-meta span {
            margin: 0 12px;
        }
        .search-box {
            max-width: 550px;
            margin: 30px auto 0;
            display: flex;
            gap: 0;
            border-radius: 50px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
            background: var(--surface);
            border: 1px solid var(--border);
        }
        .search-box input {
            flex: 1;
            padding: 16px 24px;
            border: none;
            background: transparent;
            color: var(--text);
            font-size: 16px;
            outline: none;
        }
        .search-box button {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border: none;
            color: #fff;
            font-weight: 700;
            padding: 0 24px;
            cursor: pointer;
            font-size: 15px;
            transition: opacity 0.3s;
        }
        .search-box button:hover {
            opacity: 0.85;
        }
        .main-wrapper {
            display: grid;
            grid-template-columns: 260px 1fr;
            gap: 40px;
            padding: 40px 0;
        }
        .sidebar {
            position: sticky;
            top: 90px;
            height: fit-content;
            max-height: 80vh;
            overflow-y: auto;
            padding-right: 10px;
        }
        .sidebar h3 {
            font-size: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--accent);
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid var(--border);
        }
        .sidebar ul {
            list-style: none;
        }
        .sidebar li {
            margin-bottom: 4px;
        }
        .sidebar a {
            display: block;
            padding: 8px 10px;
            border-radius: 8px;
            font-size: 14px;
            color: var(--text-dim);
            transition: background 0.2s;
        }
        .sidebar a:hover {
            background: var(--surface);
            color: var(--text);
        }
        .content article {
            max-width: 860px;
        }
        .content h2 {
            font-size: 32px;
            color: #fff;
            margin: 40px 0 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary);
            font-weight: 700;
        }
        .content h3 {
            font-size: 24px;
            color: var(--accent);
            margin: 30px 0 12px;
            font-weight: 600;
        }
        .content h4 {
            font-size: 18px;
            color: var(--text);
            margin: 20px 0 8px;
            font-weight: 600;
            border-left: 3px solid var(--primary);
            padding-left: 10px;
        }
        .content p {
            margin-bottom: 18px;
            color: #c5c5d8;
            font-size: 16px;
        }
        .content ul,
        .content ol {
            margin: 16px 0 24px 24px;
            color: #c5c5d8;
        }
        .content li {
            margin-bottom: 8px;
        }
        .content blockquote {
            border-left: 4px solid var(--accent);
            margin: 20px 0;
            padding: 14px 20px;
            background: var(--surface);
            border-radius: 0 var(--radius) var(--radius) 0;
            font-style: italic;
            color: var(--text-dim);
        }
        .content img {
            max-width: 100%;
            border-radius: var(--radius);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            margin: 24px 0;
            height: auto;
        }
        .highlight {
            background: linear-gradient(135deg, rgba(123, 47, 247, 0.15), rgba(255, 107, 203, 0.15));
            border: 1px solid var(--primary);
            border-radius: var(--radius);
            padding: 18px 22px;
            margin: 24px 0;
        }
        .highlight strong {
            color: var(--accent);
        }
        .emoji-icon {
            font-style: normal;
        }
        .interactive-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            margin: 24px 0;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .interactive-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        }
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .comment-section,
        .rating-section {
            background: var(--surface);
            border-radius: var(--radius);
            padding: 24px;
            margin: 30px 0;
            border: 1px solid var(--border);
        }
        .comment-section h3,
        .rating-section h3 {
            color: var(--accent);
            margin-bottom: 16px;
            border: none;
            padding: 0;
        }
        .comment-section textarea {
            width: 100%;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text);
            padding: 12px;
            font-size: 14px;
            min-height: 90px;
            resize: vertical;
            font-family: inherit;
        }
        .comment-section input,
        .rating-section input {
            width: 100%;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text);
            padding: 10px 12px;
            font-size: 14px;
            margin-bottom: 10px;
        }
        .comment-section button,
        .rating-section button {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border: none;
            color: #fff;
            padding: 10px 28px;
            border-radius: 30px;
            font-weight: 700;
            cursor: pointer;
            font-size: 14px;
            transition: opacity 0.3s;
        }
        .comment-section button:hover,
        .rating-section button:hover {
            opacity: 0.8;
        }
        .star-rating {
            display: flex;
            gap: 8px;
            margin: 12px 0;
            font-size: 28px;
            cursor: pointer;
        }
        .star-rating span {
            color: var(--text-dim);
            transition: color 0.2s;
        }
        .star-rating span:hover,
        .star-rating span.active {
            color: var(--warning);
        }
        footer {
            background: #0a0b14;
            border-top: 2px solid var(--border);
            padding: 40px 0 20px;
            margin-top: 60px;
        }
        .footer-inner {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: space-between;
        }
        .footer-col h4 {
            color: #fff;
            margin-bottom: 14px;
            font-size: 16px;
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col li {
            margin-bottom: 6px;
            font-size: 14px;
        }
        .footer-col a {
            color: var(--text-dim);
        }
        .footer-col a:hover {
            color: var(--accent);
        }
        friend-link {
            display: block;
            padding: 20px;
            background: var(--surface);
            border-radius: var(--radius);
            border: 1px solid var(--border);
            margin-top: 24px;
            font-size: 14px;
        }
        friend-link a {
            margin: 0 8px;
        }
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid var(--border);
            margin-top: 30px;
            color: var(--text-dim);
            font-size: 14px;
        }
        .copyright a {
            color: var(--text-dim);
        }
        .copyright a:hover {
            color: var(--accent);
        }
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fff;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            z-index: 100;
            transition: transform 0.3s;
        }
        .back-to-top:hover {
            transform: scale(1.1);
        }
        .table-of-contents {
            background: var(--surface);
            border-radius: var(--radius);
            padding: 20px;
            margin: 24px 0;
            border: 1px solid var(--border);
        }
        .table-of-contents h3 {
            margin-top: 0;
            color: var(--accent);
        }
        .table-of-contents ol {
            margin-left: 18px;
            columns: 2;
            gap: 20px;
        }
        .table-of-contents li {
            margin-bottom: 5px;
            font-size: 14px;
            break-inside: avoid;
        }
        .stats-bar {
            display: flex;
            gap: 20px;
            margin: 20px 0;
            flex-wrap: wrap;
        }
        .stats-item {
            background: var(--surface);
            border-radius: var(--radius);
            padding: 16px 20px;
            border: 1px solid var(--border);
            text-align: center;
            flex: 1;
            min-width: 120px;
        }
        .stats-item .number {
            font-size: 28px;
            font-weight: 800;
            color: var(--accent);
        }
        .stats-item .label {
            font-size: 13px;
            color: var(--text-dim);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        @media (max-width: 992px) {
            .main-wrapper {
                grid-template-columns: 1fr;
            }
            .sidebar {
                display: none;
            }
            .table-of-contents ol {
                columns: 1;
            }
        }
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                background: var(--surface);
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                padding: 20px;
                border-bottom: 2px solid var(--primary);
                gap: 14px;
            }
            .nav-links.open {
                display: flex;
            }
            .hamburger {
                display: flex;
            }
            .hero h1 {
                font-size: 30px;
            }
            .hero p {
                font-size: 16px;
            }
            .grid-2 {
                grid-template-columns: 1fr;
            }
            .content h2 {
                font-size: 26px;
            }
            .content h3 {
                font-size: 20px;
            }
            .header-inner {
                padding: 12px 0;
            }
        }
        @media (max-width: 480px) {
            .stats-bar {
                flex-direction: column;
            }
            .search-box {
                flex-direction: column;
                border-radius: var(--radius);
            }
            .search-box button {
                padding: 14px;
                width: 100%;
            }
        }
