:root {
            --primary: #4361ee;
            --secondary: #3a0ca3;
            --accent: #f72585;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
            --border-radius: 12px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            background-color: #fff;
            color: var(--dark);
            line-height: 1.7;
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent);
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.2rem 0;
        }
        .logo a {
            font-size: 2.2rem;
            font-weight: 800;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo a:hover {
            color: #ffcc00;
        }
        .logo i {
            color: #ffcc00;
        }
        .search-box {
            display: flex;
            max-width: 400px;
            width: 100%;
        }
        .search-box input {
            flex: 1;
            padding: 12px 18px;
            border: none;
            border-radius: var(--border-radius) 0 0 var(--border-radius);
            font-size: 1rem;
            outline: none;
        }
        .search-box button {
            background: var(--accent);
            color: white;
            border: none;
            padding: 0 22px;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            cursor: pointer;
            transition: var(--transition);
        }
        .search-box button:hover {
            background: #d63384;
        }
        .mobile-toggle {
            display: none;
            font-size: 1.8rem;
            cursor: pointer;
        }
        nav ul {
            display: flex;
            list-style: none;
            background: rgba(255,255,255,0.1);
            border-radius: var(--border-radius);
            padding: 0.5rem;
            margin-top: 0.5rem;
        }
        nav ul li {
            margin: 0 5px;
        }
        nav ul li a {
            color: white;
            padding: 10px 18px;
            border-radius: 8px;
            font-weight: 600;
            display: block;
        }
        nav ul li a:hover,
        nav ul li a.active {
            background: rgba(255,255,255,0.2);
            color: #ffcc00;
        }
        .breadcrumb {
            padding: 1rem 0;
            background: #e9ecef;
            font-size: 0.9rem;
        }
        .breadcrumb a {
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
        }
        .breadcrumb span {
            color: var(--dark);
            margin: 0 8px;
        }
        main {
            padding: 3rem 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
        }
        .content-area h1 {
            font-size: 2.8rem;
            color: var(--secondary);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        .intro {
            background: linear-gradient(to right, #e3f2fd, #f3e5f5);
            padding: 2rem;
            border-radius: var(--border-radius);
            margin-bottom: 2.5rem;
            border-left: 5px solid var(--accent);
        }
        .intro p {
            font-size: 1.2rem;
            color: var(--dark);
        }
        article {
            margin-bottom: 3rem;
        }
        h2 {
            color: var(--primary);
            font-size: 2rem;
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid #eee;
        }
        h3 {
            color: var(--secondary);
            font-size: 1.6rem;
            margin: 2rem 0 1rem;
        }
        h4 {
            color: var(--dark);
            font-size: 1.3rem;
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }
        .highlight-box {
            background: #fff9db;
            border: 2px dashed #ffcc00;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin: 2rem 0;
        }
        .highlight-box h3 {
            color: #e67700;
            margin-top: 0;
        }
        .image-container {
            margin: 2rem 0;
            text-align: center;
        }
        .image-container img {
            max-width: 100%;
            height: auto;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: transform 0.5s ease;
        }
        .image-container img:hover {
            transform: scale(1.02);
        }
        .image-caption {
            font-style: italic;
            color: var(--gray);
            margin-top: 0.5rem;
            font-size: 0.95rem;
        }
        ul, ol {
            margin-left: 2rem;
            margin-bottom: 1.5rem;
        }
        li {
            margin-bottom: 0.7rem;
        }
        blockquote {
            border-left: 4px solid var(--accent);
            padding-left: 1.5rem;
            margin: 2rem 0;
            font-style: italic;
            color: var(--secondary);
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .sidebar {
            position: sticky;
            top: 120px;
            align-self: start;
        }
        .widget {
            background: #f8f9fa;
            border-radius: var(--border-radius);
            padding: 1.8rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
        }
        .widget h3 {
            color: var(--primary);
            margin-top: 0;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .rating-widget .stars {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin: 1.5rem 0;
            font-size: 2rem;
            color: #ffcc00;
        }
        .rating-widget form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .rating-widget select,
        .comment-form input,
        .comment-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ced4da;
            border-radius: 8px;
            font-size: 1rem;
        }
        .rating-widget button,
        .comment-form button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 12px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .rating-widget button:hover,
        .comment-form button:hover {
            background: var(--secondary);
        }
        .related-links ul {
            list-style: none;
            margin-left: 0;
        }
        .related-links li {
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px dashed #dee2e6;
        }
        .related-links li:last-child {
            border-bottom: none;
        }
        .related-links a {
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .related-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        .comments-section {
            background: #f8f9fa;
            padding: 2.5rem;
            border-radius: var(--border-radius);
            margin-top: 3rem;
        }
        .comment {
            background: white;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            color: var(--gray);
        }
        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: 2.5rem;
        }
        .footer-logo {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 1rem;
            color: white;
        }
        .footer-links h4 {
            color: #ffcc00;
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
        }
        .footer-links ul {
            list-style: none;
            margin-left: 0;
        }
        .footer-links li {
            margin-bottom: 0.7rem;
        }
        .footer-links a {
            color: #adb5bd;
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: block;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #495057;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #495057;
            color: #adb5bd;
            font-size: 0.9rem;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
            }
        }
        @media (max-width: 768px) {
            .header-top {
                flex-wrap: wrap;
            }
            .search-box {
                order: 3;
                margin-top: 1rem;
                max-width: 100%;
            }
            .mobile-toggle {
                display: block;
            }
            nav ul {
                display: none;
                flex-direction: column;
                width: 100%;
                margin-top: 1rem;
            }
            nav ul.active {
                display: flex;
            }
            nav ul li {
                margin: 5px 0;
            }
            .content-area h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            h3 {
                font-size: 1.5rem;
            }
        }
        .text-center {
            text-align: center;
        }
        .mt-3 { margin-top: 3rem; }
        .mb-3 { margin-bottom: 3rem; }
        .p-3 { padding: 3rem; }
        .bold { font-weight: 700; }
        .emoji { font-size: 1.2em; }
