
        @import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&family=Cinzel:wght@400;700&family=Metamorphous&display=swap');

        body {
            background-color: #000c1a;
            color: #e2e8f0;
            font-family: 'Metamorphous', serif;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

        /* HEADER STYLING */
        .header-title {
            text-align: center;
            background-color: #020617;
            padding: 60px 10px 40px 10px;
            position: relative;
        }

        .title-wrapper {
            position: relative;
            display: inline-block;
        }

        .side-icon {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #b45309;
            font-size: 2rem;
            filter: drop-shadow(0 0 10px #78350f);
            opacity: 0.8;
        }
        .icon-left { left: -60px; }
        .icon-right { right: -60px; }

        .header-title h1 {
            font-family: 'UnifrakturMaguntia', cursive;
            font-size: 5.5rem;
            margin: 0;
            padding: 0;
            line-height: 1;
            background: linear-gradient(to bottom, #fde68a 20%, #d97706 50%, #78350f 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(4px 4px 2px rgba(0,0,0,0.8));
        }

        .divider-container {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 10px;
            gap: 15px;
        }

        .gold-line {
            height: 2px;
            width: 150px;
            background: linear-gradient(to right, transparent, #f59e0b, transparent);
        }

        .diamond-icon {
            color: #fde68a;
            font-size: 1.2rem;
            filter: drop-shadow(0 0 5px #f59e0b);
        }

        .header-title p {
            font-family: 'Cinzel', serif;
            color: #94a3b8;
            font-size: 0.85rem;
            margin-top: 8px;
            letter-spacing: 5px;
            text-transform: uppercase;
            font-weight: 700;
        }

        @media (max-width: 768px) {
            .header-title h1 { font-size: 3.5rem; }
            .side-icon { display: none; }
            .gold-line { width: 80px; }
        }

        /* CONTAINER STYLING */
        .syair-container {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            max-width: 100%;
            margin: 0 auto;
            background-color: #020617;
        }

        @media (min-width: 768px) {
            .syair-container {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px;
                padding: 10px;
            }
        }

        @media (min-width: 1024px) {
            .syair-container {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        .generated-syair {
            width: 100%;
            height: auto;
            display: block;
            cursor: zoom-in;
            border: 1px solid #1e293b;
            transition: transform 0.3s ease;
        }
        
        .generated-syair:hover {
            filter: brightness(1.1);
            transform: scale(1.01);
            z-index: 10;
        }

        canvas { display: none; }

        #loading, #loading-wla {
            text-align: center;
            padding: 40px 20px;
            font-size: 18px;
            color: #f59e0b;
            font-family: 'Cinzel', serif;
        }

        .btn-load-more {
            display: block;
            width: fit-content;
            min-width: 280px;
            margin: 40px auto;
            padding: 12px 30px;
            background: #0f172a;
            color: #fde68a;
            text-align: center;
            font-family: 'Cinzel', serif;
            font-size: 0.9rem;
            letter-spacing: 2px;
            border: 1px solid #92400e;
            border-radius: 4px;
            cursor: pointer;
            text-transform: uppercase;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }

        .btn-load-more:hover {
            background: #92400e;
            color: #fff;
            border-color: #f59e0b;
            box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
            transform: translateY(-2px);
        }

        #image-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(5px);
            justify-content: center;
            align-items: center;
            cursor: zoom-out;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        #image-modal.show {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            max-width: 95%;
            max-height: 95%;
            box-shadow: 0 0 50px rgba(0,0,0,0.5);
            border: 2px solid #f59e0b;
            border-radius: 4px;
            transform: scale(0.8);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        #image-modal.show .modal-content {
            transform: scale(1);
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 30px;
            color: #fde68a;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
            z-index: 1001;
        }

        .close-modal:hover {
            color: #fff;
            text-shadow: 0 0 10px #f59e0b;
        }

        @media (max-width: 640px) {
            .header-title h1 { font-size: 2rem; }
            .header-title p {font-size: 0.5rem; letter-spacing: 3px;}
            .btn-load-more {
                width: 90%;
                font-size: 0.8rem;
                letter-spacing: 1px;
            }
            .close-modal {
                top: 10px;
                right: 20px;
                font-size: 30px;
            }
        }
