:root {
            --primary: #9c27b0;
            --primary-dark: #7b1fa2;
            --secondary: #ff9800;
            --light: #f3e5f5;
            --dark: #4a148c;
            --text: #333;
            --text-light: #666;
            --bg: #fff;
            --border: #e1bee7;
            --shadow: rgba(156, 39, 176, 0.1);
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        body {
            background-color: #fafafa;
            color: var(--text);
            line-height: 1.7;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.3s;
        }
        a:hover {
            color: var(--primary-dark);
        }
        .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: 0 4px 12px var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo a {
            font-size: 2rem;
            font-weight: 800;
            color: white;
            display: flex;
            align-items: center;
        }
        .logo i {
            margin-right: 10px;
            color: var(--secondary);
        }
        .search-form {
            display: flex;
            max-width: 400px;
            flex-grow: 1;
            margin: 0 30px;
        }
        .search-form input {
            flex-grow: 1;
            padding: 12px 20px;
            border: none;
            border-radius: 30px 0 0 30px;
            font-size: 1rem;
        }
        .search-form button {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 0 30px 30px 0;
            cursor: pointer;
            font-weight: bold;
            transition: background 0.3s;
        }
        .search-form button:hover {
            background: #e68900;
        }
        nav {
            display: flex;
            align-items: center;
        }
        .nav-links {
            display: flex;
            list-style: none;
        }
        .nav-links li {
            margin-left: 25px;
        }
        .nav-links a {
            color: white;
            font-weight: 600;
            padding: 8px 0;
            position: relative;
        }
        .nav-links a:hover::after {
            width: 100%;
        }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--secondary);
            transition: width 0.3s;
        }
        .hamburger {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: white;
        }
        .breadcrumb {
            padding: 15px 0;
            background-color: var(--light);
            font-size: 0.9rem;
        }
        .breadcrumb a {
            color: var(--primary-dark);
        }
        .breadcrumb span {
            color: var(--text-light);
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            padding: 40px 0;
        }
        article {
            background: var(--bg);
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 8px 25px var(--shadow);
        }
        aside {
            background: var(--bg);
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 5px 15px var(--shadow);
            align-self: start;
        }
        h1 {
            color: var(--dark);
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        h2 {
            color: var(--primary);
            font-size: 2rem;
            margin: 2.5rem 0 1rem;
            padding-bottom: 10px;
            border-bottom: 3px solid var(--light);
        }
        h3 {
            color: var(--primary-dark);
            font-size: 1.5rem;
            margin: 1.8rem 0 1rem;
        }
        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }
        .intro {
            font-size: 1.2rem;
            color: var(--text-light);
            background: var(--light);
            padding: 25px;
            border-left: 5px solid var(--secondary);
            border-radius: 0 10px 10px 0;
            margin-bottom: 30px;
        }
        .highlight {
            background: linear-gradient(120deg, var(--light) 0%, #fff 100%);
            padding: 25px;
            border-radius: 10px;
            margin: 25px 0;
            border: 2px dashed var(--primary);
        }
        .stats-box {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        .stat {
            background: var(--light);
            padding: 20px;
            text-align: center;
            border-radius: 10px;
        }
        .stat h4 {
            font-size: 2.5rem;
            color: var(--primary);
        }
        .image-container {
            margin: 30px 0;
            text-align: center;
        }
        .image-container img {
            max-width: 100%;
            height: auto;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .image-caption {
            font-style: italic;
            color: var(--text-light);
            margin-top: 10px;
            font-size: 0.95rem;
        }
        .user-interaction {
            background: var(--light);
            padding: 30px;
            border-radius: 15px;
            margin: 40px 0;
        }
        .rating-form, .comment-form {
            margin-top: 20px;
        }
        .stars {
            display: flex;
            direction: row;
            margin: 10px 0;
        }
        .star {
            font-size: 2rem;
            color: #ddd;
            cursor: pointer;
            margin-right: 5px;
        }
        .star:hover,
        .star.active {
            color: var(--secondary);
        }
        form label {
            display: block;
            margin: 15px 0 5px;
            font-weight: bold;
        }
        form input, form textarea, form select {
            width: 100%;
            padding: 12px;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 1rem;
        }
        form button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            margin-top: 20px;
            transition: background 0.3s;
        }
        form button:hover {
            background: var(--primary-dark);
        }
        .sidebar-widget {
            margin-bottom: 30px;
        }
        .sidebar-widget h3 {
            font-size: 1.3rem;
            border-bottom: 2px solid var(--light);
            padding-bottom: 10px;
            margin-bottom: 15px;
        }
        .widget-links {
            list-style: none;
        }
        .widget-links li {
            margin-bottom: 12px;
            padding-left: 15px;
            position: relative;
        }
        .widget-links li::before {
            content: '▸';
            color: var(--primary);
            position: absolute;
            left: 0;
        }
        .footer-links {
            background: var(--dark);
            color: white;
            padding: 40px 0 20px;
        }
        .web-link-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }
        .web-link {
            background: rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 8px;
            transition: background 0.3s;
        }
        .web-link:hover {
            background: rgba(255,255,255,0.2);
        }
        .web-link a {
            color: white;
            display: block;
        }
        footer {
            background: #2d0036;
            color: #ccc;
            text-align: center;
            padding: 25px 0;
            font-size: 0.95rem;
        }
        .footer-nav {
            display: flex;
            justify-content: center;
            list-style: none;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }
        .footer-nav li {
            margin: 0 15px 10px;
        }
        .footer-nav a {
            color: #ccc;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            .header-top {
                flex-wrap: wrap;
            }
            .search-form {
                order: 3;
                margin: 20px 0 0;
                max-width: 100%;
            }
        }
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--dark);
                padding: 20px;
            }
            .nav-links.active {
                display: flex;
            }
            .nav-links li {
                margin: 10px 0;
            }
            .hamburger {
                display: block;
            }
            h1 {
                font-size: 2.2rem;
            }
            article, aside {
                padding: 25px;
            }
        }
