:root {
            --primary: #2a52be; 
            --secondary: #da291c; 
            --accent: #ffd700; 
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }
        * {
            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(--dark);
            background-color: #fff;
            max-width: 100vw;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        ul, ol {
            list-style-position: inside;
            padding-left: 1rem;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .btn {
            display: inline-block;
            padding: 12px 28px;
            background: linear-gradient(to right, var(--primary), #1a3a9c);
            color: white;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
        }
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(42, 82, 190, 0.3);
        }
        .btn-secondary {
            background: linear-gradient(to right, var(--secondary), #b22222);
        }
        .btn-accent {
            background: linear-gradient(to right, var(--accent), #daa520);
            color: var(--dark);
        }
        .site-header {
            background-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: 15px 0;
        }
        .my-logo {
            font-size: 2rem;
            font-weight: 900;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.5px;
        }
        .my-logo span {
            color: var(--accent);
        }
        .search-box {
            display: flex;
            flex: 0 1 400px;
            margin: 0 30px;
        }
        .search-box input {
            flex: 1;
            padding: 10px 18px;
            border: 2px solid #e0e0e0;
            border-radius: 50px 0 0 50px;
            font-size: 1rem;
            outline: none;
        }
        .search-box input:focus {
            border-color: var(--primary);
        }
        .search-box button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0 25px;
            border-radius: 0 50px 50px 0;
            cursor: pointer;
        }
        .mobile-menu-toggle {
            display: none;
            font-size: 1.8rem;
            background: none;
            border: none;
            color: var(--dark);
            cursor: pointer;
        }
        .main-nav {
            background-color: var(--dark);
        }
        .nav-list {
            display: flex;
            justify-content: center;
        }
        .nav-list li {
            list-style: none;
        }
        .nav-list a {
            color: white;
            padding: 16px 22px;
            display: block;
            font-weight: 500;
            border-bottom: 3px solid transparent;
        }
        .nav-list a:hover, .nav-list a.active {
            background-color: rgba(255,255,255,0.05);
            border-bottom-color: var(--accent);
        }
        .breadcrumb {
            padding: 12px 0;
            background-color: var(--light);
            font-size: 0.9rem;
        }
        .breadcrumb a {
            color: var(--gray);
        }
        .breadcrumb a:hover {
            color: var(--primary);
            text-decoration: underline;
        }
        .breadcrumb i {
            margin: 0 8px;
            color: #aaa;
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            padding: 40px 0;
        }
        article {
            background-color: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: var(--shadow);
        }
        article h1 {
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }
        article h2 {
            font-size: 2rem;
            color: var(--secondary);
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 8px;
            border-bottom: 2px solid #eee;
        }
        article h3 {
            font-size: 1.6rem;
            color: var(--dark);
            margin: 2rem 0 1rem;
        }
        article h4 {
            font-size: 1.3rem;
            color: var(--gray);
            margin: 1.5rem 0 0.8rem;
        }
        article p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }
        .lead {
            font-size: 1.3rem;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 2rem;
            padding-left: 15px;
            border-left: 5px solid var(--accent);
        }
        .highlight {
            background-color: #fff8e1;
            padding: 25px;
            border-radius: 10px;
            border-left: 5px solid var(--accent);
            margin: 2rem 0;
        }
        .dice-links-box {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            padding: 25px;
            border-radius: 12px;
            margin: 2.5rem 0;
            text-align: center;
            border: 2px dashed var(--primary);
        }
        .featured-img {
            width: 100%;
            border-radius: 12px;
            margin: 2rem auto;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            margin-top: 8px;
            font-size: 0.95rem;
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        .sidebar-widget {
            background-color: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            color: var(--primary);
            margin-bottom: 1.2rem;
            padding-bottom: 8px;
            border-bottom: 2px solid #eee;
            font-size: 1.5rem;
        }
        .link-list li {
            list-style: none;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #eee;
        }
        .link-list a {
            color: var(--dark);
            display: flex;
            align-items: center;
        }
        .link-list a:hover {
            color: var(--primary);
            padding-left: 5px;
        }
        .link-list i {
            margin-right: 10px;
            color: var(--primary);
        }
        .comments-section, .rating-section {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 2px solid #eee;
        }
        .comment-form, .rating-form {
            display: grid;
            gap: 20px;
            margin-top: 1.5rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        .form-group label {
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }
        .form-group input, .form-group textarea, .form-group select {
            padding: 12px 16px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            font-family: inherit;
        }
        .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(42, 82, 190, 0.1);
        }
        .stars {
            display: flex;
            gap: 8px;
            font-size: 1.8rem;
            color: #ddd;
            cursor: pointer;
        }
        .stars .star:hover,
        .stars .star.active {
            color: var(--accent);
        }
        .site-footer {
            background-color: var(--dark);
            color: white;
            padding: 50px 0 30px;
            margin-top: 50px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-widget h4 {
            color: var(--accent);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }
        friend-link {
            display: block;
            margin-bottom: 10px;
            padding: 8px 12px;
            background-color: rgba(255,255,255,0.05);
            border-radius: 6px;
            transition: var(--transition);
        }
        friend-link:hover {
            background-color: rgba(255,255,255,0.1);
            transform: translateX(5px);
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.95rem;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            .search-box {
                flex: 0 1 300px;
            }
        }
        @media (max-width: 768px) {
            .header-top {
                flex-wrap: wrap;
            }
            .search-box {
                order: 3;
                flex: 1 1 100%;
                margin: 20px 0 0;
            }
            .mobile-menu-toggle {
                display: block;
            }
            .main-nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            }
            .main-nav.active {
                display: block;
            }
            .nav-list {
                flex-direction: column;
            }
            .nav-list a {
                padding: 15px 20px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
            article h1 {
                font-size: 2.2rem;
            }
            article h2 {
                font-size: 1.8rem;
            }
        }
