:root {
            --primary-dark: #1a1a2e;
            --secondary-dark: #16213e;
            --accent-gold: #d4af37;
            --accent-red: #8b0000;
            --text-light: #e6e6e6;
            --text-muted: #a0a0a0;
            --card-bg: rgba(30, 30, 46, 0.8);
            --border-color: #33334d;
            --shadow-color: rgba(0, 0, 0, 0.5);
            --transition-speed: 0.3s;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--text-light);
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
            min-height: 100vh;
            background-attachment: fixed;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background-color: rgba(22, 33, 62, 0.95);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 2px solid var(--accent-gold);
            box-shadow: 0 4px 12px var(--shadow-color);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        .my-logo {
            font-family: 'Cinzel', serif;
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--accent-gold);
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all var(--transition-speed);
        }
        .my-logo:hover {
            color: #fff;
            text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
        }
        .my-logo i {
            font-size: 1.8rem;
        }
        .breadcrumb {
            margin: 15px 0;
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        .breadcrumb a {
            color: var(--accent-gold);
            text-decoration: none;
            transition: color var(--transition-speed);
        }
        .breadcrumb a:hover {
            color: #fff;
            text-decoration: underline;
        }
        .breadcrumb span {
            margin: 0 8px;
        }
        nav {
            display: flex;
            align-items: center;
        }
        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }
        .nav-links a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 8px 12px;
            border-radius: 4px;
            transition: all var(--transition-speed);
            position: relative;
        }
        .nav-links a:hover,
        .nav-links a.active {
            color: var(--accent-gold);
            background-color: rgba(212, 175, 55, 0.1);
        }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 12px;
            width: 0;
            height: 2px;
            background-color: var(--accent-gold);
            transition: width var(--transition-speed);
        }
        .nav-links a:hover::after {
            width: calc(100% - 24px);
        }
        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 1.8rem;
            color: var(--accent-gold);
        }
        .hero {
            text-align: center;
            padding: 60px 0 40px;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 40px;
        }
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--accent-gold);
            text-shadow: 2px 2px 4px var(--shadow-color);
            line-height: 1.2;
        }
        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 30px;
            color: var(--text-muted);
        }
        .last-updated {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background-color: rgba(139, 0, 0, 0.2);
            padding: 10px 20px;
            border-radius: 30px;
            border: 1px solid var(--accent-red);
            font-size: 0.9rem;
        }
        .search-container {
            max-width: 600px;
            margin: 30px auto 40px;
            position: relative;
        }
        .search-form {
            display: flex;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border-radius: 50px;
            overflow: hidden;
        }
        .search-input {
            flex-grow: 1;
            padding: 18px 25px;
            border: none;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--text-light);
            font-size: 1.1rem;
            backdrop-filter: blur(5px);
        }
        .search-input::placeholder {
            color: var(--text-muted);
        }
        .search-button {
            background-color: var(--accent-gold);
            color: var(--primary-dark);
            border: none;
            padding: 0 30px;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: 600;
            transition: all var(--transition-speed);
        }
        .search-button:hover {
            background-color: #e6c158;
            padding: 0 35px;
        }
        main {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            margin-bottom: 60px;
        }
        article {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 8px 25px var(--shadow-color);
            border: 1px solid var(--border-color);
        }
        .article-section {
            margin-bottom: 50px;
        }
        .article-section:last-child {
            margin-bottom: 0;
        }
        h2 {
            font-size: 2.2rem;
            color: var(--accent-gold);
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--accent-red);
            position: relative;
        }
        h2::after {
            content: '⚔️';
            position: absolute;
            right: 0;
            bottom: -10px;
            font-size: 1.5rem;
        }
        h3 {
            font-size: 1.8rem;
            color: #fff;
            margin: 30px 0 20px;
            padding-left: 15px;
            border-left: 4px solid var(--accent-gold);
        }
        h4 {
            font-size: 1.4rem;
            color: var(--text-muted);
            margin: 25px 0 15px;
        }
        p {
            margin-bottom: 20px;
            text-align: justify;
            font-size: 1.1rem;
        }
        .highlight {
            background-color: rgba(212, 175, 55, 0.1);
            border-left: 4px solid var(--accent-gold);
            padding: 20px;
            margin: 25px 0;
            border-radius: 0 8px 8px 0;
        }
        .feature-img {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
            border-radius: 8px;
            margin: 25px 0;
            border: 2px solid var(--border-color);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            transition: transform var(--transition-speed);
        }
        .feature-img:hover {
            transform: scale(1.01);
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: var(--text-muted);
            margin-top: -15px;
            margin-bottom: 30px;
            font-size: 0.95rem;
        }
        .content-link {
            color: var(--accent-gold);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dashed var(--accent-gold);
            transition: all var(--transition-speed);
        }
        .content-link:hover {
            color: #fff;
            border-bottom: 1px solid #fff;
            background-color: rgba(212, 175, 55, 0.1);
            padding: 2px 5px;
            border-radius: 3px;
        }
        ul, ol {
            padding-left: 30px;
            margin-bottom: 25px;
        }
        li {
            margin-bottom: 10px;
        }
        aside {
            position: sticky;
            top: 120px;
            align-self: start;
            height: fit-content;
        }
        .sidebar-widget {
            background-color: var(--card-bg);
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 25px;
            border: 1px solid var(--border-color);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        .widget-title {
            font-size: 1.4rem;
            color: var(--accent-gold);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .widget-title i {
            font-size: 1.2rem;
        }
        .quick-links {
            list-style: none;
            padding-left: 0;
        }
        .quick-links li {
            margin-bottom: 12px;
        }
        .quick-links a {
            color: var(--text-light);
            text-decoration: none;
            display: block;
            padding: 10px 15px;
            border-radius: 6px;
            background-color: rgba(255, 255, 255, 0.05);
            transition: all var(--transition-speed);
        }
        .quick-links a:hover {
            background-color: rgba(212, 175, 55, 0.15);
            color: var(--accent-gold);
            transform: translateX(5px);
        }
        .rating-form,
        .comment-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .star-rating {
            display: flex;
            justify-content: center;
            gap: 5px;
            direction: rtl;
        }
        .star-rating input {
            display: none;
        }
        .star-rating label {
            font-size: 2rem;
            color: #444;
            cursor: pointer;
            transition: color var(--transition-speed);
        }
        .star-rating label:hover,
        .star-rating label:hover ~ label,
        .star-rating input:checked ~ label {
            color: var(--accent-gold);
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .form-group label {
            font-weight: 600;
            color: var(--text-muted);
        }
        .form-input,
        .form-textarea {
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            background-color: rgba(255, 255, 255, 0.08);
            color: var(--text-light);
            font-family: inherit;
            font-size: 1rem;
            transition: all var(--transition-speed);
        }
        .form-input:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--accent-gold);
            box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
        }
        .form-textarea {
            min-height: 120px;
            resize: vertical;
        }
        .submit-btn {
            background-color: var(--accent-gold);
            color: var(--primary-dark);
            border: none;
            padding: 14px;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all var(--transition-speed);
        }
        .submit-btn:hover {
            background-color: #e6c158;
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        }
        footer {
            background-color: rgba(10, 15, 30, 0.95);
            border-top: 2px solid var(--accent-red);
            padding: 50px 0 30px;
            margin-top: 60px;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-logo {
            font-family: 'Cinzel', serif;
            font-size: 2rem;
            color: var(--accent-gold);
            margin-bottom: 20px;
            display: block;
        }
        .footer-about {
            color: var(--text-muted);
            line-height: 1.8;
        }
        .footer-heading {
            font-size: 1.4rem;
            color: #fff;
            margin-bottom: 25px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
        .friend-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        friend-link {
            display: block;
        }
        friend-link a {
            color: var(--text-muted);
            text-decoration: none;
            transition: all var(--transition-speed);
            padding: 5px 0;
            display: block;
        }
        friend-link a:hover {
            color: var(--accent-gold);
            transform: translateX(5px);
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
            color: var(--text-muted);
            font-size: 0.95rem;
        }
        .copyright a {
            color: var(--accent-gold);
            text-decoration: none;
        }
        .copyright a:hover {
            text-decoration: underline;
        }
        @media (max-width: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            aside {
                position: static;
            }
            .hero h1 {
                font-size: 2.8rem;
            }
        }
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
            }
            .hamburger {
                display: block;
                position: absolute;
                top: 25px;
                right: 20px;
            }
            nav {
                width: 100%;
                display: none;
            }
            .nav-links {
                flex-direction: column;
                width: 100%;
                gap: 10px;
            }
            .nav-links.active {
                display: flex;
            }
            .nav-links li {
                width: 100%;
            }
            .nav-links a {
                display: block;
                padding: 15px;
                border-radius: 8px;
                background-color: rgba(255, 255, 255, 0.05);
            }
            .hero h1 {
                font-size: 2.3rem;
            }
            .hero p {
                font-size: 1.1rem;
            }
            article {
                padding: 25px;
            }
            h2 {
                font-size: 1.9rem;
            }
            h3 {
                font-size: 1.6rem;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            .hero h1 {
                font-size: 2rem;
            }
            .search-form {
                flex-direction: column;
                border-radius: 12px;
            }
            .search-input,
            .search-button {
                width: 100%;
                border-radius: 0;
                padding: 15px;
            }
            .last-updated {
                flex-direction: column;
                gap: 5px;
                text-align: center;
            }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .article-section {
            animation: fadeIn 0.6s ease-out;
        }
        @media print {
            header, footer, aside, .search-container, .rating-form, .comment-form {
                display: none;
            }
            body {
                background: white;
                color: black;
            }
            .container {
                max-width: 100%;
            }
            article {
                box-shadow: none;
                border: none;
                padding: 0;
            }
            a {
                color: black;
                text-decoration: underline;
            }
            .content-link::after {
                content: " (" attr(href) ")";
                font-size: 0.9em;
                font-weight: normal;
            }
        }
