:root {
            --primary: #8a2be2;
            --secondary: #ff69b4;
            --accent: #00ced1;
            --dark: #2f2f4f;
            --light: #f8f8ff;
            --gray: #888;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Nirmala UI', sans-serif;
        }
        body {
            background-color: #fefefe;
            color: #333;
            line-height: 1.7;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--dark), var(--primary));
            color: white;
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            font-size: 2rem;
            font-weight: 900;
            background: linear-gradient(to right, var(--secondary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 1px;
        }
        .logo a:hover {
            opacity: 0.9;
        }
        nav ul {
            display: flex;
            gap: 2rem;
        }
        nav a {
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: var(--transition);
        }
        nav a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }
        .hamburger {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
        }
        .search-box {
            display: flex;
            border-radius: 30px;
            overflow: hidden;
            background: white;
            margin-left: 2rem;
        }
        .search-box input {
            border: none;
            padding: 0.7rem 1rem;
            width: 250px;
            outline: none;
        }
        .search-box button {
            background: var(--accent);
            border: none;
            color: white;
            padding: 0.7rem 1.5rem;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-box button:hover {
            background: var(--primary);
        }
        .breadcrumb {
            padding: 1rem 0;
            background: #f0f0f0;
            margin-top: 5px;
        }
        .breadcrumb ul {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '›';
            margin-left: 0.5rem;
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
            text-decoration: underline;
        }
        main {
            padding: 2rem 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        article {
            background: white;
            border-radius: 10px;
            padding: 2.5rem;
            box-shadow: var(--shadow);
        }
        h1 {
            color: var(--dark);
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            line-height: 1.3;
        }
        h2 {
            color: var(--primary);
            font-size: 2rem;
            margin: 2.5rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid var(--secondary);
        }
        h3 {
            color: var(--dark);
            font-size: 1.5rem;
            margin: 2rem 0 1rem;
        }
        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            text-align: justify;
        }
        .highlight {
            background: linear-gradient(90deg, #ffeb3b40, #ff980040);
            padding: 2rem;
            border-left: 5px solid var(--secondary);
            margin: 2rem 0;
            border-radius: 0 10px 10px 0;
        }
        .highlight p {
            margin-bottom: 0;
            font-weight: bold;
            color: #c2185b;
        }
        .emoji {
            font-size: 1.5rem;
            margin-right: 0.5rem;
        }
        .feature-img {
            width: 100%;
            border-radius: 10px;
            margin: 2rem 0;
            border: 5px solid var(--accent);
            transition: var(--transition);
        }
        .feature-img:hover {
            transform: scale(1.01);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        .interaction {
            background: #f9f9ff;
            padding: 2rem;
            border-radius: 10px;
            margin: 3rem 0;
            border: 1px dashed var(--primary);
        }
        .interaction h3 {
            text-align: center;
            color: var(--primary);
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 0.8rem;
            border: 2px solid #ccc;
            border-radius: 5px;
            transition: var(--transition);
        }
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--accent);
            outline: none;
        }
        button[type="submit"] {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 30px;
            cursor: pointer;
            font-weight: bold;
            font-size: 1.1rem;
            transition: var(--transition);
            display: block;
            margin: 0 auto;
        }
        button[type="submit"]:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
        }
        .rating {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .rating input { display: none; }
        .rating label {
            font-size: 2rem;
            color: #ddd;
            cursor: pointer;
            transition: var(--transition);
        }
        .rating label:hover,
        .rating label:hover ~ label,
        .rating input:checked ~ label {
            color: #ffcc00;
        }
        aside {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: var(--shadow);
            align-self: start;
            position: sticky;
            top: 120px;
        }
        aside h3 {
            background: var(--dark);
            color: white;
            padding: 1rem;
            margin: -2rem -2rem 1.5rem;
            border-radius: 10px 10px 0 0;
            text-align: center;
        }
        .toc li {
            margin-bottom: 1rem;
            padding-left: 1rem;
            border-left: 3px solid var(--accent);
        }
        .toc a:hover {
            color: var(--primary);
            padding-left: 5px;
            transition: var(--transition);
        }
        .web-links {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin: 3rem 0;
        }
        .web-link {
            background: #f0f8ff;
            padding: 1rem;
            border-radius: 5px;
            border: 1px solid #add8e6;
            transition: var(--transition);
        }
        .web-link:hover {
            background: #e0f7ff;
            transform: translateY(-5px);
        }
        .web-link a {
            color: var(--primary);
            font-weight: 600;
        }
        .web-link a:hover {
            text-decoration: underline;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #555;
            font-size: 0.9rem;
            color: #aaa;
        }
        @media (max-width: 992px) {
            main { grid-template-columns: 1fr; }
            aside { position: static; }
        }
        @media (max-width: 768px) {
            .header-top { flex-wrap: wrap; }
            nav {
                width: 100%;
                order: 3;
                margin-top: 1rem;
                display: none;
            }
            nav.active { display: block; }
            nav ul {
                flex-direction: column;
                gap: 0.5rem;
            }
            .search-box {
                margin: 1rem 0 0;
                width: 100%;
            }
            .search-box input { width: 100%; }
            .hamburger { display: block; }
            h1 { font-size: 2.2rem; }
            article { padding: 1.5rem; }
        }
