*,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        :root {
            --primary: #29b6f6;
            --primary-dark: #0288d1;
            --accent: #ff7043;
            --bg-light: #f9fcff;
            --bg-dark: #0e1a2e;
            --text-main: #1a2a3a;
            --text-muted: #5a768a;
            --card-bg: #ffffff;
            --radius: 14px;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: var(--bg-light);
            color: var(--text-main);
            line-height: 1.7;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, #f8fbff 0%, #e8f4fc 100%);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
            position: sticky;
            top: 0;
            z-index: 999;
        }
        .header-top {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            padding: 8px 0;
            font-size: 13px;
            color: var(--text-muted);
        }
        .header-top .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
        }
        .header-main {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 0;
            gap: 16px;
            flex-wrap: wrap;
        }
        .my-logo {
            font-family: 'Trebuchet MS', sans-serif;
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--primary-dark);
            text-decoration: none;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .my-logo span {
            font-size: 1rem;
            font-weight: 400;
            display: block;
            letter-spacing: 2px;
            text-transform: uppercase;
            -webkit-text-fill-color: var(--text-muted);
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 2rem;
            color: var(--primary-dark);
            cursor: pointer;
            padding: 4px 8px;
        }
        #nav-menu {
            display: flex;
            align-items: center;
            gap: 4px;
            list-style: none;
            flex-wrap: wrap;
        }
        #nav-menu li a {
            text-decoration: none;
            padding: 8px 14px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-main);
            transition: all 0.2s;
        }
        #nav-menu li a:hover,
        #nav-menu li a.active {
            background: var(--primary);
            color: #fff;
        }
        .breadcrumb {
            background: var(--bg-light);
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            font-size: 0.85rem;
        }
        .breadcrumb a {
            color: var(--primary-dark);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        .hero {
            background: linear-gradient(135deg, #e3f2fd 0%, #fff3e0 50%, #fce4ec 100%);
            border-radius: 0 0 40px 40px;
            padding: 48px 0 64px;
            text-align: center;
        }
        .hero h1 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 900;
            line-height: 1.2;
            color: var(--bg-dark);
            margin-bottom: 16px;
        }
        .hero h1 .highlight {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero p.lead {
            font-size: clamp(1rem, 2vw, 1.2rem);
            color: var(--text-muted);
            max-width: 720px;
            margin: 0 auto 24px;
        }
        .hero-badges {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .badge {
            background: #fff;
            border-radius: 30px;
            padding: 8px 18px;
            font-size: 0.85rem;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--text-main);
        }
        .search-wrapper {
            background: #fff;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 24px;
            margin: -36px auto 0;
            max-width: 800px;
            border: 1px solid #f0f0f0;
        }
        .search-form {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .search-form input[type="search"] {
            flex: 1 1 220px;
            padding: 14px 16px;
            border: 2px solid #e8eef3;
            border-radius: 30px;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.2s;
        }
        .search-form input[type="search"]:focus {
            border-color: var(--primary);
        }
        .search-form button {
            padding: 14px 28px;
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 30px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
        }
        .search-form button:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 40px;
            margin: 48px auto 64px;
        }
        @media (max-width: 992px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
        }
        .article-body h2 {
            font-size: 2rem;
            margin-top: 48px;
            margin-bottom: 16px;
            padding-bottom: 8px;
            border-bottom: 3px solid var(--primary);
            color: var(--bg-dark);
            font-weight: 800;
        }
        .article-body h2::before {
            content: "◆ ";
            color: var(--accent);
        }
        .article-body h3 {
            font-size: 1.4rem;
            margin-top: 32px;
            margin-bottom: 8px;
            color: var(--primary-dark);
        }
        .article-body h4 {
            font-size: 1.1rem;
            margin-top: 20px;
            color: var(--bg-dark);
        }
        .article-body p {
            margin-bottom: 16px;
            color: var(--text-main);
        }
        .article-body ul,
        .article-body ol {
            margin-left: 24px;
            margin-bottom: 16px;
        }
        .article-body li {
            margin-bottom: 6px;
        }
        .article-body strong {
            font-weight: 700;
        }
        .article-body a {
            color: var(--primary-dark);
            text-decoration: underline;
            text-underline-offset: 3px;
        }
        .article-body a:hover {
            color: var(--accent);
        }
        .side-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 24px;
            margin-bottom: 24px;
            border: 1px solid #f0f0f0;
        }
        .side-card h3 {
            font-size: 1.1rem;
            margin-bottom: 12px;
            color: var(--bg-dark);
            font-weight: 700;
        }
        .side-card ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .side-card ul li {
            padding: 6px 0;
            border-bottom: 1px solid #f5f5f5;
            font-size: 0.9rem;
        }
        .side-card ul li:last-child {
            border-bottom: none;
        }
        .side-card ul li a {
            color: var(--text-main);
            text-decoration: none;
            display: block;
            transition: all 0.2s;
        }
        .side-card ul li a:hover {
            color: var(--primary);
            transform: translateX(4px);
        }
        .content-image {
            width: 100%;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin: 24px 0;
            height: auto;
            display: block;
        }
        .img-caption {
            font-size: 0.85rem;
            color: var(--text-muted);
            text-align: center;
            margin-top: 4px;
        }
        .info-box {
            background: #f0f8ff;
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 20px 0;
        }
        .warning-box {
            background: #fff8f0;
            border-left: 4px solid var(--accent);
            padding: 16px 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 20px 0;
        }
        .value-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 0.9rem;
        }
        .value-table th {
            background: var(--primary);
            color: #fff;
            padding: 12px 10px;
            text-align: left;
        }
        .value-table td {
            padding: 10px;
            border-bottom: 1px solid #eee;
        }
        .value-table tr:hover td {
            background: #f5f9ff;
        }
        .user-form {
            background: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 28px;
            margin: 32px 0;
            border: 1px solid #f0f0f0;
        }
        .user-form label {
            font-weight: 600;
            font-size: 0.9rem;
            display: block;
            margin-bottom: 6px;
            color: var(--bg-dark);
        }
        .user-form input,
        .user-form textarea,
        .user-form select {
            width: 100%;
            padding: 12px 14px;
            border: 2px solid #e8eef3;
            border-radius: 10px;
            font-size: 0.95rem;
            margin-bottom: 16px;
            font-family: inherit;
            transition: border-color 0.2s;
        }
        .user-form input:focus,
        .user-form textarea:focus,
        .user-form select:focus {
            border-color: var(--primary);
            outline: none;
        }
        .user-form textarea {
            min-height: 100px;
            resize: vertical;
        }
        .user-form button {
            background: var(--primary);
            color: #fff;
            border: none;
            padding: 12px 32px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .user-form button:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }
        .star-rating {
            display: flex;
            gap: 4px;
            margin-bottom: 16px;
            font-size: 1.6rem;
            color: #e0e0e0;
        }
        .star-rating i.fa-star.active {
            color: #ffc107;
        }
        .star-rating i {
            cursor: pointer;
            transition: color 0.2s;
        }
        .star-rating i:hover {
            color: #ffc107;
        }
        footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.8);
            padding: 48px 0 20px;
            margin-top: 48px;
        }
        footer .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 32px;
            margin-bottom: 32px;
        }
        footer h3 {
            color: #fff;
            font-size: 1rem;
            margin-bottom: 12px;
        }
        footer a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s;
        }
        footer a:hover {
            color: var(--primary);
        }
        footer ul {
            list-style: none;
            padding: 0;
        }
        footer ul li {
            margin-bottom: 6px;
        }
        .friend-link {
            display: block;
            padding: 24px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 24px;
        }
        .friend-link ul {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
        }
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
            font-size: 0.85rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
        }
        @media (max-width: 768px) {
            .nav-toggle {
                display: block;
            }
            #nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
                background: #fff;
                border-radius: 12px;
                padding: 12px;
                box-shadow: var(--shadow);
            }
            #nav-menu.open {
                display: flex;
            }
            .header-main {
                flex-wrap: wrap;
            }
            .hero {
                padding: 32px 0 48px;
            }
            .content-grid {
                margin-top: 32px;
            }
            .search-wrapper {
                margin-top: -20px;
                padding: 16px;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 12px;
            }
            .my-logo {
                font-size: 1.4rem;
            }
            .hero h1 {
                font-size: 1.6rem;
            }
            .article-body h2 {
                font-size: 1.5rem;
            }
        }
        .toc {
            background: #f0f8ff;
            border-radius: var(--radius);
            padding: 16px 24px;
            margin: 24px 0;
            border: 1px solid #d6eaf8;
        }
        .toc h4 {
            font-size: 1rem;
            margin-bottom: 8px;
        }
        .toc ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .toc ul li {
            margin: 4px 0;
        }
        .toc ul li a {
            color: var(--primary-dark);
            text-decoration: none;
        }
        .toc ul li a:hover {
            text-decoration: underline;
        }
        .scroll-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 44px;
            height: 44px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 999;
            border: none;
        }
        .scroll-top.visible {
            opacity: 1;
        }
        .scroll-top:hover {
            background: var(--primary-dark);
        }
