:root {
            --primary-sand: #d4a574;
            --deep-spice: #b3541e;
            --arrakis-dusk: #5c3d2e;
            --fremen-blue: #1e5cb3;
            --desert-sun: #e8b054;
            --shadow-dark: #2a1c15;
            --text-light: #f5e9d9;
            --text-dim: #d9c8b3;
            --spacing-unit: 1rem;
            --border-radius: 8px;
            --transition-speed: 0.3s;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--text-light);
            background-color: var(--shadow-dark);
            background-image: linear-gradient(to bottom, var(--shadow-dark) 0%, var(--arrakis-dusk) 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        a {
            color: var(--desert-sun);
            text-decoration: none;
            transition: color var(--transition-speed);
        }
        a:hover {
            color: var(--primary-sand);
            text-decoration: underline;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--spacing-unit);
        }
        .site-header {
            background-color: rgba(42, 28, 21, 0.95);
            border-bottom: 2px solid var(--deep-spice);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: 'Times New Roman', serif;
            font-size: 2.2rem;
            font-weight: bold;
            color: var(--desert-sun);
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        .my-logo span {
            color: var(--primary-sand);
            font-style: italic;
        }
        .breadcrumb {
            padding: 0.8rem 0;
            background-color: rgba(92, 61, 46, 0.3);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '›';
            margin: 0 0.5rem;
            color: var(--text-dim);
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .main-nav a {
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--desert-sun);
            transition: width var(--transition-speed);
        }
        .main-nav a:hover::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .hero {
            text-align: center;
            padding: 3rem 1rem;
            background: radial-gradient(circle at center, var(--arrakis-dusk) 0%, var(--shadow-dark) 70%);
            border-bottom: 3px solid var(--deep-spice);
            margin-bottom: 2rem;
        }
        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 1rem;
            color: var(--primary-sand);
            text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
        }
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 1.5rem;
            color: var(--text-dim);
        }
        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            margin-bottom: 3rem;
        }
        @media (max-width: 992px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }
        }
        main {
            background-color: rgba(42, 28, 21, 0.7);
            padding: 2.5rem;
            border-radius: var(--border-radius);
            border: 1px solid var(--deep-spice);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }
        .sidebar {
            background-color: rgba(92, 61, 46, 0.5);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border: 1px solid var(--primary-sand);
            align-self: start;
            position: sticky;
            top: 120px;
        }
        .sidebar h3 {
            color: var(--desert-sun);
            border-bottom: 2px solid var(--deep-spice);
            padding-bottom: 0.5rem;
            margin-bottom: 1.2rem;
        }
        h1, h2, h3, h4 {
            color: var(--primary-sand);
            margin-top: 2rem;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        h1 {
            font-size: 2.8rem;
        }
        h2 {
            font-size: 2.2rem;
            border-left: 5px solid var(--deep-spice);
            padding-left: 1rem;
        }
        h3 {
            font-size: 1.8rem;
            color: var(--desert-sun);
        }
        h4 {
            font-size: 1.4rem;
            color: var(--text-light);
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .intro {
            font-size: 1.3rem;
            background-color: rgba(180, 84, 30, 0.1);
            padding: 1.5rem;
            border-left: 4px solid var(--deep-spice);
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            margin-bottom: 2.5rem;
        }
        .highlight {
            background-color: rgba(232, 176, 84, 0.1);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border: 1px dashed var(--desert-sun);
            margin: 1.5rem 0;
        }
        .highlight strong {
            color: var(--desert-sun);
            display: block;
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }
        .worm-image {
            float: right;
            margin: 0 0 1.5rem 2rem;
            max-width: 500px;
            border: 3px solid var(--deep-spice);
            box-shadow: 0 5px 15px rgba(0,0,0,0.7);
        }
        .worm-image figcaption {
            text-align: center;
            font-style: italic;
            color: var(--text-dim);
            margin-top: 0.5rem;
            font-size: 0.9rem;
        }
        .related-links {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            list-style: none;
            margin: 2rem 0;
            padding: 1.5rem;
            background-color: rgba(30, 92, 179, 0.1);
            border-radius: var(--border-radius);
        }
        .related-links a {
            background-color: var(--arrakis-dusk);
            padding: 0.7rem 1.2rem;
            border-radius: 50px;
            display: inline-block;
            border: 1px solid var(--fremen-blue);
        }
        .related-links a:hover {
            background-color: var(--deep-spice);
            text-decoration: none;
            transform: translateY(-3px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        }
        .user-module {
            background-color: rgba(42, 28, 21, 0.9);
            padding: 2rem;
            border-radius: var(--border-radius);
            margin: 3rem 0;
            border: 1px solid var(--primary-sand);
        }
        .module-title {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
            color: var(--desert-sun);
        }
        .module-title i {
            font-size: 1.5rem;
        }
        .search-form, .comment-form, .rating-form {
            display: grid;
            gap: 1rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        label {
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        input, textarea, select {
            padding: 0.8rem;
            border-radius: var(--border-radius);
            border: 1px solid var(--arrakis-dusk);
            background-color: var(--shadow-dark);
            color: var(--text-light);
            font-family: inherit;
            font-size: 1rem;
        }
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--desert-sun);
            box-shadow: 0 0 0 3px rgba(232, 176, 84, 0.3);
        }
        button {
            background-color: var(--deep-spice);
            color: var(--text-light);
            border: none;
            padding: 1rem 1.8rem;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-weight: bold;
            font-size: 1rem;
            transition: background-color var(--transition-speed), transform var(--transition-speed);
            justify-self: start;
        }
        button:hover {
            background-color: var(--desert-sun);
            color: var(--shadow-dark);
            transform: scale(1.05);
        }
        .star-rating {
            display: flex;
            gap: 0.5rem;
            font-size: 1.8rem;
            color: var(--text-dim);
            cursor: pointer;
            margin-bottom: 1rem;
        }
        .star-rating .star:hover,
        .star-rating .star:hover ~ .star {
            color: var(--text-dim);
        }
        .star-rating .star.active {
            color: var(--desert-sun);
        }
        .update-time {
            text-align: right;
            font-size: 0.9rem;
            color: var(--text-dim);
            margin-top: 3rem;
            padding-top: 1rem;
            border-top: 1px solid var(--arrakis-dusk);
        }
        .site-footer {
            background-color: var(--shadow-dark);
            border-top: 3px solid var(--deep-spice);
            padding: 3rem 0 1.5rem;
            margin-top: auto;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-logo {
            font-size: 1.8rem;
            color: var(--desert-sun);
            margin-bottom: 1rem;
        }
        friend-link {
            display: block;
            background-color: rgba(92, 61, 46, 0.5);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin: 1.5rem 0;
        }
        friend-link h4 {
            margin-top: 0;
            color: var(--primary-sand);
        }
        friend-link ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }
        friend-link a {
            background-color: var(--arrakis-dusk);
            padding: 0.5rem 1rem;
            border-radius: var(--border-radius);
            display: inline-block;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid var(--arrakis-dusk);
            color: var(--text-dim);
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            .hero p {
                font-size: 1.1rem;
            }
            h2 {
                font-size: 1.9rem;
            }
            h3 {
                font-size: 1.6rem;
            }
            .main-nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: var(--shadow-dark);
                padding: 1rem;
                border-top: 1px solid var(--deep-spice);
                box-shadow: 0 10px 15px rgba(0,0,0,0.5);
            }
            .main-nav.active ul {
                display: flex;
            }
            .hamburger {
                display: block;
            }
            .worm-image {
                float: none;
                margin: 1.5rem auto;
                max-width: 100%;
            }
            .content-wrapper {
                gap: 1.5rem;
            }
            main {
                padding: 1.5rem;
            }
        }
