
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d1b3d 100%);
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header {
            background: linear-gradient(135deg, #7b2cbf 0%, #cc33ff 100%);
            border-bottom: 5px solid #ff00ff;
            box-shadow: 0 4px 20px rgba(204, 51, 255, 0.3);
            padding: 40px 20px;
            margin-bottom: 30px;
        }

        h1 {
            color: #ffffff;
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            line-height: 1.3;
            padding: 10px;
        }

        .main-content {
            background: #ffffff;
            border: 3px solid #cc33ff;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: 0 8px 30px rgba(204, 51, 255, 0.2);
        }

        article {
            margin-bottom: 30px;
        }

        article h2,
        article h3,
        article h4 {
            color: #7b2cbf;
            margin-top: 25px;
            margin-bottom: 15px;
            font-weight: 600;
        }

        article h2 {
            font-size: 2rem;
            border-bottom: 3px solid #cc33ff;
            padding-bottom: 10px;
        }

        article h3 {
            font-size: 1.5rem;
        }

        article h4 {
            font-size: 1.2rem;
        }

        article p {
            margin-bottom: 15px;
            text-align: justify;
            color: #444;
        }

        .transition-section {
            background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
            border: 2px solid #cc33ff;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px rgba(204, 51, 255, 0.15);
        }

        .transition-section p {
            color: #333;
            line-height: 1.8;
            margin-bottom: 15px;
        }

        {% if links %}
        .links-section {
            background: #ffffff;
            border: 3px solid #cc33ff;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: 0 8px 30px rgba(204, 51, 255, 0.2);
        }

        .links-section h2 {
            color: #7b2cbf;
            font-size: 2rem;
            margin-bottom: 30px;
            text-align: center;
            border-bottom: 3px solid #cc33ff;
            padding-bottom: 15px;
        }

        .links-section h3 {
            color: #9c27b0;
            font-size: 1.4rem;
            margin-top: 30px;
            margin-bottom: 20px;
            padding: 10px 15px;
            background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
            border-left: 5px solid #cc33ff;
            border-radius: 5px;
        }

        .links-section ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px 30px;
            margin-bottom: 20px;
        }

        .links-section li {
            padding: 8px 0;
        }

        .links-section a {
            color: #7b2cbf;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            display: inline-block;
            padding: 5px 0;
            border-bottom: 2px solid transparent;
        }

        .links-section a:hover {
            color: #ff00ff;
            border-bottom-color: #ff00ff;
            transform: translateX(5px);
        }

        .links-section a:visited {
            color: #6a1b9a;
        }
        {% endif %}

        footer {
            background: linear-gradient(135deg, #7b2cbf 0%, #cc33ff 100%);
            border-top: 5px solid #ff00ff;
            padding: 30px 20px;
            margin-top: 50px;
            box-shadow: 0 -4px 20px rgba(204, 51, 255, 0.3);
        }

        footer p {
            color: #ffffff;
            text-align: center;
            font-size: 0.95rem;
            margin-bottom: 10px;
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 1.8rem;
            }

            .main-content,
            .links-section {
                padding: 25px;
            }

            article h2 {
                font-size: 1.6rem;
            }

            article h3 {
                font-size: 1.3rem;
            }

            {% if links %}
            .links-section ul {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            {% endif %}

            .transition-section {
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
            h1 {
                font-size: 1.5rem;
            }

            .main-content,
            .links-section {
                padding: 20px;
            }

            article h2 {
                font-size: 1.4rem;
            }

            header {
                padding: 25px 15px;
            }
        }
    