*,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        :root {
            --primary: #8b5cf6;
            --primary-dark: #6d28d9;
            --secondary: #f9a8d4;
            --accent: #fbbf24;
            --bg-light: #fdf9ff;
            --bg-white: #ffffff;
            --bg-dark: #1e1b4b;
            --text-dark: #1e1b4b;
            --text-muted: #6b7280;
            --border-light: #e9d5ff;
            --shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
            --radius: 16px;
            --max-width: 1440px;
            --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            --transition: all 0.3s ease;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-family);
            background: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.8;
            font-size: 1rem;
        }
        .header {
            background: linear-gradient(135deg, var(--primary), #c084fc);
            color: #fff;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
        }
        .header-topbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            padding: 0.5rem 1rem;
            background: rgba(0, 0, 0, 0.08);
            font-size: 0.8rem;
        }
        .header-topbar a {
            color: #fef9c3;
            text-decoration: none;
            font-weight: 600;
        }
        .header-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            max-width: var(--max-width);
            margin: 0 auto;
            flex-wrap: wrap;
            gap: 0.8rem;
        }
        .my-logo {
            font-size: 1.8rem;
            font-weight: 800;
            font-style: italic;
            color: #fff;
            text-decoration: none;
            letter-spacing: -0.5px;
            text-shadow: 0 2px 15px rgba(255, 255, 255, 0.3);
        }
        .my-logo:hover {
            opacity: 0.85;
        }
        .nav {
            display: none;
            width: 100%;
            background: rgba(30, 27, 75, 0.4);
            backdrop-filter: blur(8px);
            border-radius: 12px;
            padding: 0.5rem 1rem;
               }
        .nav.active {
            display: block;
        }
        .nav-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 0.2rem;
            flex-wrap: wrap;
            margin: 0;
            padding: 0;
        }
        .nav-list li a {
            color: #fff;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.6rem 0.8rem;
            border-radius: 8px;
            font-weight: 500;
            transition: var(--transition);
        }
        .nav-list li a:hover,
        .nav-list li a:focus {
            background: rgba(255, 255, 255, 0.2);
            color: var(--accent);
            transform: translateX(4px);
        }
        .hamburger {
            display: inline-flex;
            flex-direction: column;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.15);
            border: none;
            border-radius: 10px;
            padding: 0.6rem 0.7rem;
            gap: 5px;
            width: auto;
        }
        .hamburger span {
            display: block;
            width: 22px;
            height: 2.5px;
            background: #fff;
            border-radius: 4px;
            transition: var(--transition);
        }
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
        .breadcrumbs {
            background: #fff;
            border-bottom: 1px solid var(--border-light);
            padding: 0.6rem 1rem;
            font-size: 0.82rem;
        }
        .breadcrumbs ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            max-width: var(--max-width);
            margin: 0 auto;
        }
        .breadcrumbs li a {
            color: var(--primary);
            text-decoration: none;
        }
        .breadcrumbs li a:hover {
            text-decoration: underline;
        }
        .breadcrumbs li+li::before {
            content: '/';
            margin-right: 0.5rem;
            color: var(--text-muted);
        }
        .breadcrumbs .active {
            color: var(--text-muted);
        }
        .hero {
            padding: 2rem 1rem;
            background: linear-gradient(to bottom, #ede9fe, var(--bg-light));
            text-align: center;
            border-bottom: 1px solid var(--border-light);
        }
        .hero h1 {
            font-size: clamp(1.8rem, 4vw, 3rem);
            font-weight: 800;
            line-height: 1.2;
            color: var(--primary-dark);
            max-width: 900px;
            margin: 0 auto 0.5rem;
        }
        .hero .subhead {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }
        .hero img {
            max-width: 100%;
            border-radius: var(--radius);
            margin-top: 2rem;
            box-shadow: var(--shadow);
            border: 4px solid #fff;
            height: auto;
        }
        .page-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 2rem 1rem;
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        .main-content {
            background: var(--bg-white);
            border-radius: var(--radius);
            padding: 2rem 1.5rem;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
        }
        .sidebar {
            display: none;
        }
        @media (min-width: 1024px) {
            .page-container {
                grid-template-columns: minmax(0, 1fr) 320px;
            }
            .sidebar {
                display: block;
                background: #fff;
                border-radius: var(--radius);
                padding: 1.5rem;
                box-shadow: var(--shadow);
                position: sticky;
                top: 80px;
                align-self: start;
                border: 1px solid var(--border-light);
            }
            .sidebar h3 {
                border-bottom: 2px solid var(--accent);
                padding-bottom: 0.6rem;
                margin-bottom: 1rem;
            }
            .sidebar ul {
                list-style: none;
                display: flex;
                flex-direction: column;
                gap: 0.7rem;
            }
            .sidebar ul li a {
                color: var(--primary);
                text-decoration: none;
                font-weight: 500;
                font-size: 0.9rem;
                border-bottom: 1px dashed #e9d5ff;
                padding-bottom: 3px;
            }
            .sidebar ul li a:hover {
                color: var(--accent);
                border-bottom: 1px solid var(--accent);
            }
        }
        h2 {
            font-size: 2rem;
            color: var(--primary-dark);
            margin-top: 2.8rem;
            margin-bottom: 1rem;
            border-left: 6px solid var(--accent);
            padding-left: 1rem;
            line-height: 1.3;
        }
        h3 {
            font-size: 1.5rem;
            color: var(--primary);
            margin-top: 2.2rem;
            margin-bottom: 0.8rem;
            font-weight: 700;
        }
        h4 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-top: 1.6rem;
            margin-bottom: 0.6rem;
        }
        p {
            margin-bottom: 1.4rem;
            color: #333;
        }
        ul,
        ol {
            margin-bottom: 1.4rem;
            padding-left: 1.4rem;
        }
        li {
            margin-bottom: 0.7rem;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: var(--transition);
        }
        a:hover {
            color: var(--primary-dark);
            border-bottom: 1px solid var(--primary);
        }
        .code-block {
            background: var(--bg-dark);
            color: #e2e8f0;
            padding: 1rem 1.4rem;
            border-radius: 10px;
            overflow-x: auto;
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            border-left: 4px solid var(--accent);
            margin: 1.5rem 0;
            line-height: 1.6;
        }
        .callout {
            background: #f0f9ff;
            border: 1px solid #bae6fd;
            border-radius: var(--radius);
            padding: 1.3rem 1.5rem;
            margin: 2rem 0;
            box-shadow: 0 2px 12px rgba(0, 179, 255, 0.06);
        }
        .callout strong {
            color: #0369a1;
        }
        .table-wrap {
            overflow-x: auto;
            margin: 1.8rem 0;
            border-radius: var(--radius);
            border: 1px solid var(--border-light);
        }
        table {
            width: 100%;
            border-collapse: collapse;
            background: #fff;
            font-size: 0.92rem;
            min-width: 600px;
        }
        thead {
            background: var(--primary);
            color: #fff;
        }
        th,
        td {
            padding: 12px 15px;
            text-align: left;
        }
        td {
            border-bottom: 1px solid #f3e8ff;
        }
        tbody tr:hover {
            background: #f5f3ff;
        }
        .btn {
            display: inline-block;
            background: var(--primary);
            color: #fff !important;
            border: none;
            padding: 0.8rem 1.6rem;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
            text-decoration: none;
        }
        .btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(109, 40, 217, 0.35);
        }
        .btn-outline {
            background: transparent;
            color: var(--primary) !important;
            border: 2px solid var(--primary);
            box-shadow: none;
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff !important;
        }
        .form-group {
            margin-bottom: 1.4rem;
        }
        .form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        .form-control {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            background: #fff;
        }
        textarea.form-control {
            min-height: 110px;
            resize: vertical;
        }
        .comment-box,
        .review-box {
            background: #faf9ff;
            border: 1px solid var(--border-light);
            padding: 1.5rem;
            border-radius: var(--radius);
            margin: 2.5rem 0;
        }
        .rating-stars {
            display: inline-flex;
            flex-direction: row-reverse;
            gap: 6px;
            font-size: 1.6rem;
        }
        .rating-stars input {
            display: none;
        }
        .rating-stars label {
            color: #cbd5e1;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1.6rem;
        }
        .rating-stars label:hover,
        .rating-stars label:hover~label,
        .rating-stars input:checked~label {
            color: var(--accent);
        }
        .footer {
            background: var(--bg-dark);
            color: #cbd5e1;
            padding: 3rem 1rem 1rem;
            font-size: 0.9rem;
        }
        .footer .footer-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
        }
        .footer h4 {
            color: #fff;
            margin-bottom: 1rem;
        }
        .footer a {
            color: #c4b5fd;
            text-decoration: none;
        }
        .footer a:hover {
            color: var(--accent);
            text-decoration: none;
        }
        .friend-link {
            display: block;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding-top: 1px;
            margin-top: 1rem;
        }
        friend-link {
            display: block;
            font-style: normal;
        }
        friend-link a {
            display: inline-block;
            margin: 0 0.6rem 0.5rem 0;
            padding: 0.4rem 0.9rem;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 30px;
            font-size: 0.8rem;
        }
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            margin-top: 2.5rem;
            padding-top: 1.5rem;
            text-align: center;
            font-size: 0.8rem;
        }
        .card-grid {
            display: grid;
            gap: 1.5rem;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            margin: 2rem 0;
        }
        .card {
            background: #fff;
            border: 1px solid var(--border-light);
            border-radius: 16px;
            overflow: hidden;
            transition: var(--transition);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
            border-color: var(--primary);
        }
        .card .card-body {
            padding: 1rem 1.3rem;
        }
        .text-muted {
            color: #6b7280 !important;
            font-size: .85rem;
        }
        .text-center {
            text-align: center;
        }
        .mt-5 {
            margin-top: 3rem;
        }
        .mb-3 {
            margin-bottom: 1rem;
        }
        @media (min-width: 768px) {
            .header-main {
                flex-wrap: nowrap;
            }
            .nav {
                display: flex !important;
                width: auto;
                background: transparent;
                padding: 0;
                backdrop-filter: none;
            }
            .nav-list {
                flex-direction: row;
                align-items: center;
            }
            .nav-list li a {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
            .nav-list li a:hover {
                transform: none;
                background: rgba(255, 255, 255, 0.12);
            }
            .hamburger {
                display: none;
            }
            .main-content {
                padding: 2.5rem;
            }
        }
