       :root {
            --primary: #00f7ff;
            --secondary: #0084ff;
            --dark: #0a0a20;
            --light: #f0f8ff;
            --accent: #ff00aa;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: var(--dark);
            color: var(--light);
            overflow-x: hidden;
            position: relative;
        }
        
        /* Particle Background */
        #particles-js {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
        }
        
        /* Navigation */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            position: fixed;
            width: 100%;
            z-index: 100;
            background: rgba(10, 10, 32, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 247, 255, 0.2);
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }
        
        .logo i {
            font-size: 2rem;
            color: var(--accent);
        }
        
        .nav-links {
            display: flex;
            gap: 30px;
        }
        
        .nav-links a {
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            position: relative;
            transition: all 0.3s ease;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background: var(--primary);
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover {
            color: var(--primary);
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }
        
        .cta-button {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            color: var(--dark);
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
        }
        
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 20px rgba(0, 247, 255, 0.8);
        }
        
        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            padding: 0 5%;
            position: relative;
            overflow: hidden;
        }
        
        .hero-content {
            max-width: 600px;
            z-index: 2;
        }
        
        .hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            background: linear-gradient(90deg, var(--primary), var(--light));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            line-height: 1.2;
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        .hero-buttons {
            display: flex;
            gap: 20px;
        }
        
        .hero-buttons .secondary-button {
            border: 2px solid var(--primary);
            color: var(--primary);
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .hero-buttons .secondary-button:hover {
            background: rgba(0, 247, 255, 0.1);
        }
        
        .hero-image {
            position: absolute;
            right: 5%;
            height: 80%;
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        
        /* Features Section */
        .features {
            padding: 100px 5%;
            background: rgba(0, 132, 255, 0.05);
            position: relative;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: var(--primary);
        }
        
        .section-title p {
            max-width: 700px;
            margin: 0 auto;
            opacity: 0.8;
            font-size: 1.1rem;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .feature-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 30px;
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 247, 255, 0.1);
            backdrop-filter: blur(10px);
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
            border-color: rgba(0, 247, 255, 0.3);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        
        .feature-card p {
            opacity: 0.8;
            line-height: 1.6;
        }
        
        /* Tools Section */
        .tools {
            padding: 100px 5%;
            position: relative;
        }
        
        .tools-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }
        
        .tool-card {
            width: 300px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 247, 255, 0.1);
            backdrop-filter: blur(10px);
        }
        
        .tool-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(255, 0, 170, 0.2);
            border-color: rgba(255, 0, 170, 0.3);
        }
        
        .tool-header {
            padding: 20px;
            background: rgba(255, 0, 170, 0.1);
            border-bottom: 1px solid rgba(255, 0, 170, 0.2);
        }
        
        .tool-header h3 {
            color: var(--accent);
            font-size: 1.3rem;
        }
        
        .tool-body {
            padding: 20px;
        }
        
        .tool-body p {
            margin-bottom: 20px;
            opacity: 0.8;
        }
        
        .tool-button {
            display: inline-block;
            background: rgba(255, 0, 170, 0.2);
            color: var(--accent);
            padding: 8px 15px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .tool-button:hover {
            background: rgba(255, 0, 170, 0.3);
        }
        
        /* Interactive Code Editor */
        .code-editor {
            width: 100%;
            max-width: 800px;
            margin: 50px auto;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        
        .editor-header {
            background: #1e1e1e;
            padding: 10px 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .editor-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        
        .dot-red { background: #ff5f56; }
        .dot-yellow { background: #ffbd2e; }
        .dot-green { background: #27c93f; }
        
        .editor-title {
            color: #888;
            font-size: 0.9rem;
            flex-grow: 1;
            text-align: center;
        }
        
        .editor-body {
            background: #1e1e1e;
            padding: 20px;
            font-family: 'Courier New', monospace;
            position: relative;
        }
        
        .code-line {
            display: flex;
            margin-bottom: 5px;
        }
        
        .line-number {
            color: #555;
            margin-right: 15px;
            user-select: none;
        }
        
        .code-content {
            color: #f8f8f2;
            flex-grow: 1;
        }
        
        .keyword { color: #ff79c6; }
        .function { color: #66d9ef; }
        .string { color: #e6db74; }
        .comment { color: #6272a4; }
        .variable { color: #f8f8f2; }
        .operator { color: #f92672; }
        
        .editor-cursor {
            position: absolute;
            width: 8px;
            height: 18px;
            background: #f8f8f2;
            animation: blink 1s infinite;
        }
        
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }
        
        /* 3D Model Viewer */
        .model-viewer {
            width: 100%;
            height: 500px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 15px;
            margin: 50px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .model-placeholder {
            width: 300px;
            height: 300px;
            background: rgba(0, 247, 255, 0.1);
            border: 2px dashed var(--primary);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--primary);
            font-size: 1.2rem;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 0.5; }
            50% { opacity: 1; }
            100% { opacity: 0.5; }
        }
        
        /* Animated Stats */
        .stats {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 30px;
            margin: 80px 0;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
            position: relative;
        }
        
        .stat-number::after {
            content: '+';
            position: absolute;
            right: -15px;
            color: var(--accent);
        }
        
        .stat-label {
            font-size: 1.1rem;
            opacity: 0.8;
        }
        
        /* Footer */
        footer {
            background: rgba(0, 0, 0, 0.3);
            padding: 50px 5%;
            text-align: center;
            border-top: 1px solid rgba(0, 247, 255, 0.1);
        }
        
        .footer-logo {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 20px;
            display: inline-block;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .footer-links a {
            color: var(--light);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer-links a:hover {
            color: var(--primary);
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .social-links a {
            color: var(--light);
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            color: var(--primary);
            transform: translateY(-5px);
        }
        
        .copyright {
            opacity: 0.7;
            font-size: 0.9rem;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .hero {
                flex-direction: column;
                text-align: center;
                padding-top: 100px;
            }
            
            .hero-content {
                margin-bottom: 50px;
            }
            
            .hero-image {
                position: relative;
                right: auto;
                height: auto;
                width: 100%;
                max-width: 400px;
            }
            
            .hero-buttons {
                justify-content: center;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .nav-links {
                display: none;
            }
        }
        
        /* Floating Elements Animation */
        .floating-element {
            position: absolute;
            opacity: 0.3;
            z-index: -1;
        }
        
        .floating-element:nth-child(1) {
            top: 20%;
            left: 10%;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, var(--primary), transparent 70%);
            filter: blur(20px);
            animation: float-1 15s infinite linear;
        }
        
        .floating-element:nth-child(2) {
            top: 60%;
            right: 15%;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, var(--accent), transparent 70%);
            filter: blur(30px);
            animation: float-2 20s infinite linear;
        }
        
        .floating-element:nth-child(3) {
            bottom: 10%;
            left: 20%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, var(--secondary), transparent 70%);
            filter: blur(40px);
            animation: float-3 25s infinite linear;
        }
        
        @keyframes float-1 {
            0% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(50px, 50px) rotate(180deg); }
            100% { transform: translate(0, 0) rotate(360deg); }
        }
        
        @keyframes float-2 {
            0% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(-70px, -30px) rotate(-180deg); }
            100% { transform: translate(0, 0) rotate(-360deg); }
        }
        
        @keyframes float-3 {
            0% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(30px, -70px) rotate(180deg); }
            100% { transform: translate(0, 0) rotate(360deg); }
        }
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Ganti background menjadi lebih gelap dan blur untuk efek glassmorphism */
    background: rgba(0, 0, 0, 0.7); /* Lebih gelap */
    backdrop-filter: blur(10px); /* Efek blur yang keren */
    -webkit-backdrop-filter: blur(10px); /* Dukungan Safari */
    z-index: 999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease forwards;
    /* Tambahkan efek kilauan cahaya (opsional, untuk sentuhan ekstra) */
}

.modal-overlay.active {
    display: flex;
}

/* Modal Content (Kotak Popup Itu Sendiri) */
.modal-content {
    /* Background yang lebih solid tapi tetap dengan sentuhan transparan */
    background: linear-gradient(145deg, #1a2a3a, #0d1a2a); /* Gradien gelap */
    /* Tambahkan sedikit alpha untuk efek tembus pandang samar */
    background: rgba(13, 20, 27, 0.95); /* Hampir opaque tapi masih ada kedalaman */
    padding: 40px; /* Padding lebih besar */
    border-radius: 15px; /* Sudut lebih melengkung */
    position: relative;
    width: 90%; /* Lebar lebih fleksibel */
    max-width: 550px; /* Batasan lebar */
    transform: translateY(20px); /* Efek muncul sedikit dari bawah */
    opacity: 0; /* Awalnya tersembunyi */
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; /* Animasi pantul */

    /* Efek hover untuk interaktivitas (opsional) */
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.modal-content:hover {
    transform: translateY(18px) scale(1.005);
}


/* Tombol Tutup */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.2em; /* Lebih besar */
    color: var(--primary); /* Warna cerah */
    cursor: pointer;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
    opacity: 0.8;
    line-height: 1; /* Pastikan ikon terlihat baik */
    text-shadow: 0 0 8px var(--primary); /* Efek glow */
}

.modal-close:hover {
    color: var(--accent); /* Warna aksen saat hover */
    transform: rotate(90deg); /* Rotasi saat hover */
    opacity: 1;
    text-shadow: 0 0 12px var(--accent);
}

  @keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  @keyframes fadeIn {
    from { background: rgba(0,0,0,0); }
    to { background: rgba(0,0,0,0.7); }
  }
  /* Judul dalam Modal */
.modal-content h2 {
    color: var(--primary); /* Gunakan warna utama Anda */
    text-align: center;
    margin-bottom: 25px; /* Jarak bawah lebih */
    font-size: 2em; /* Lebih besar */
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.6); /* Efek glow pada judul */
}

/* Label Formulir */
.modal-content label {
    display: block; /* Agar label di baris baru */
    margin-bottom: 8px;
    color: var(--light); /* Warna teks cerah */
    font-weight: 500;
    font-size: 1.1em;
}

/* Input Teks dan Area Teks */
.modal-content input[type="text"],
.modal-content input[type="password"],
.modal-content textarea {
    width: 100%;
    padding: 12px; /* Padding lebih */
    border-radius: 8px;
    border: 0px solid rgba(0, 247, 255, 0.4); /* Border cerah */
    background: rgba(10, 10, 32, 0.685); /* Background input lebih gelap */
    color: var(--light); /* Warna teks input */
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="password"]:focus,
.modal-content textarea:focus {
    border-color: var(--primary); /* Border terang saat fokus */
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.6); /* Glow saat fokus */
    background: rgba(10, 10, 32, 0.8); /* Sedikit lebih gelap saat fokus */
}

/* Tombol Aksi dalam Modal (Encrypt/Decrypt, Launch, dll.) */
.modal-content .form-group button {
    padding: 12px 25px; /* Padding lebih */
    border-radius: 10px; /* Sudut lebih melengkung */
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.05em;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-transform: uppercase; /* Huruf kapital */
    letter-spacing: 0.5px;
}

/* Tombol Enkripsi (AES) */
.modal-content button[onclick="aesEncrypt()"] {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
}
.modal-content button[onclick="aesEncrypt()"]:hover {
    background: var(--accent); /* Berubah ke warna aksen */
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 0, 170, 0.6);
}

/* Tombol Dekripsi (AES) */
.modal-content button[onclick="aesDecrypt()"] {
    background: var(--secondary);
    color: var(--light);
    box-shadow: 0 0 15px rgba(0, 132, 255, 0.4);
}
.modal-content button[onclick="aesDecrypt()"]:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.6);
}
/* Wrapper untuk Input Password dan Tombol */
.password-input-wrapper {
    position: relative; /* Penting: agar tombol bisa diposisikan absolute di dalamnya */
    width: 100%;
    display: flex; /* Menggunakan flexbox untuk penyesuaian */
    align-items: center; /* Memastikan input dan tombol sejajar vertikal */
}

/* Penyesuaian Input Password di dalam wrapper */
.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] { /* Tambahkan type="text" juga */
    width: 100%; /* Input mengambil seluruh lebar wrapper */
    padding: 12px 50px 12px 12px; /* Padding kanan lebih besar untuk tombol */
    border-radius: 8px;
    border: 1px solid rgba(0, 247, 255, 0.4);
    background: rgba(10, 10, 32, 0.6);
    color: var(--light);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.password-input-wrapper input[type="password"]:focus,
.password-input-wrapper input[type="text"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.6);
    background: rgba(10, 10, 32, 0.8);
}

/* Tombol Toggle Password (Mata) */
/* --- Perbaikan Tombol Toggle Password (Mata) --- */
.aes-toggle-password {
    position: absolute; /* Posisikan secara absolute */
    right: 5px; /* Jarak dari sisi kanan input */
    top: 50%; /* Posisikan di tengah vertikal */
    transform: translateY(-50%); /* Geser ke atas 50% dari tingginya sendiri */
    background: transparent; /* Transparan */
    border: none; /* Hapus border */
    color: var(--primary); /* Warna teks */
    padding: 5px 8px; /* Padding tombol */
    border-radius: 5px; /* Sedikit border-radius */
    font-size: 0.85em; /* Ukuran font */
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Jangan melipat teks */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Transisi untuk warna dan shadow */
    text-shadow: 0 0 5px rgba(0, 247, 255, 0.4); /* Efek glow */
    z-index: 10; /* Pastikan di atas input */
}

.aes-toggle-password:hover {
    color: var(--accent); /* Warna aksen saat hover */
    text-shadow: 0 0 8px var(--accent); /* Glow lebih kuat saat hover */
}

/* Password Strength Bar (Sesuaikan dengan desain bar Anda) */
#strengthBar {
    border: 1px solid rgba(0, 247, 255, 0.3); /* Border cerah */
    box-shadow: inset 0 0 5px rgba(0, 247, 255, 0.1); /* Cahaya dalam */
}
#strengthFill {
    /* Warna diatur oleh JS, tapi transisi dan bayangan tetap di CSS */
    transition: width 0.3s ease-in-out, background 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.4); /* Efek glow pada bar */
}

/* Text Strength */
#strengthText {
    color: var(--primary); /* Warna utama */
    font-size: 1.1em;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 247, 255, 0.4);
}

/* Animasi Masuk Popup */
@keyframes slideIn {
    0% {
        transform: translateY(50px) scale(0.9);
        opacity: 0;
    }
    75% {
        transform: translateY(-5px) scale(1.02);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*ANIMASI BLOCKCHAIN*/
/* Interactive Code Editor */
.interactive-code-editor {
    width: 100%;
    max-width: 900px; /* Lebar maksimum editor */
    margin: 50px auto 80px auto; /* Margin atas dan bawah */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #1e1e1e; /* Background editor */
    border: 1px solid rgba(0, 247, 255, 0.1);
}

.interactive-code-editor .editor-header {
    background: #2a2a2a; /* Warna header editor */
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 247, 255, 0.05);
}

.interactive-code-editor .editor-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.interactive-code-editor .dot-red { background: #ff5f56; }
.interactive-code-editor .dot-yellow { background: #ffbd2e; }
.interactive-code-editor .dot-green { background: #27c93f; }

.interactive-code-editor .editor-title {
    color: #888;
    font-size: 0.9rem;
    flex-grow: 1;
    text-align: center;
}

.editor-tabs {
    display: flex;
    background: #2a2a2a;
    border-bottom: 1px solid rgba(0, 247, 255, 0.1);
}

.tab-button {
    background: #2a2a2a;
    border: none;
    padding: 12px 20px;
    color: #bbb;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(0, 247, 255, 0.05);
}

.tab-button:last-child {
    border-right: none;
}

.tab-button:hover {
    background: #3a3a3a;
    color: var(--primary);
}

.tab-button.active {
    background: #1e1e1e; /* Warna background tab aktif */
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}
.tool-card.large {
    grid-column: 1 / -1; /* Membuat kartu ini mengambil semua kolom */
    /* Jika Anda ingin kartu ini memiliki tinggi minimum tertentu */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px; /* Sedikit lebih sedikit padding untuk memberi ruang editor */
}
.code-editor-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5px;
    margin-bottom: 20px;
}
.editor-panel {
    background: #1a1a30; /* Latar belakang panel editor */
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}
.editor-panel h4 {
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

/* Gaya untuk CodeMirror itu sendiri */
.CodeMirror {
    font-size: 1em;
    height: 300px; /* Atur tinggi editor di sini */
    border: 1px solid #333;
    border-radius: 5px;
    background: #282a36; /* Warna background tema dracula */
    color: #f8f8f2; /* Warna teks tema dracula */
}

.CodeMirror pre {
  white-space: pre-wrap !important;  /* Bungkus teks */
  word-break: break-word !important; /* Paksa putus kata panjang */
}

.CodeMirror-scroll {
  overflow-x: hidden !important; /* Sembunyikan scroll horizontal */
}


/* Pastikan scrollbar CodeMirror tetap terlihat bagus */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar {
    background-color: #282a36; /* Warna latar belakang scrollbar CodeMirror */
}

.CodeMirror-scroll::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.CodeMirror-scroll::-webkit-scrollbar-track {
    background: #1a1a30;
    border-radius: 10px;
}

.CodeMirror-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 3px solid #1a1a30;
}
.code-editor-textarea {
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    background: #8a6161;
    border: none;
    color: #f8f8f2;
    font-size: 1.em;
    resize: none; /* Nonaktifkan resize manual oleh user */
    outline: none;
    padding: 10px; /* Padding di dalam textarea */
    display: none; /* Defaultnya tersembunyi */
    
}

.code-editor-textarea.active {
    display: block; /* Hanya tampilkan yang aktif */
}

.editor-actions {
    padding: 15px;
    text-align: right;
    background: #2a2a2a;
    border-top: 1px solid rgba(0, 247, 255, 0.1);
}

.editor-actions .cta-button {
    padding: 10px 25px;
    font-size: 1em;
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.4);
}

.editor-actions .cta-button:hover {
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.6);
}

.preview-area {
    background: rgba(0, 0, 0, 0.3); /* Background area preview */
    padding: 20px;
    border-top: 1px solid rgba(0, 247, 255, 0.1);
}

.preview-area h3 {
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

#preview-iframe {
    width: 100%;
    height: 300px; /* Tinggi iframe preview */
    border: 1px solid var(--primary);
    border-radius: 8px;
    background-color: white; /* Default background iframe, bisa diubah oleh kode user */
    box-shadow: inset 0 0 10px rgba(0, 247, 255, 0.2);
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
    .editor-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    .tab-button {
        flex: 1 1 auto; /* Memungkinkan tombol untuk wrap */
        border-right: none;
        border-bottom: 1px solid rgba(0, 247, 255, 0.05);
    }
}
/* Modal Styling (pastikan ini ada, atau tambahkan jika belum) */
.modal {
    display: none; /* Sembunyikan secara default */
    position: fixed; /* Tetap di layar */
    z-index: 1000; /* Letakkan di atas segalanya */
    left: 0;
    top: 0;
    width: 100%; /* Lebar penuh */
    height: 100%; /* Tinggi penuh */
    overflow: auto; /* Aktifkan scroll jika konten terlalu besar */
    background-color: rgba(0, 0, 0, 0.8); /* Warna background gelap dengan transparansi */
    backdrop-filter: blur(5px); /* Efek blur di belakang modal */
    justify-content: center; /* Pusatkan secara horizontal */
    align-items: center; /* Pusatkan secara vertikal */
}

.modal.active {
    display: flex; /* Tampilkan modal ketika aktif */
}

.modal-content {
    background-color: #1a1a2e; /* Warna background konten modal */
    margin: auto; /* Pusatkan di tengah */
    padding: 30px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.3);
    position: relative;
    width: 80%; /* Lebar default modal */
    max-width: 500px; /* Lebar maksimum default */
    transform: translateY(-20px); /* Efek muncul sedikit dari atas */
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-content h2 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.6);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--accent);
    text-decoration: none;
}

/* Specific styling for the large code preview modal */
.modal-content.large-modal {
    width: 95%; /* Lebih lebar untuk preview */
    max-width: 1200px; /* Max lebar yang lebih besar */
    height: 90%; /* Lebih tinggi untuk preview */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Konten dimulai dari atas */
    align-items: stretch; /* Regangkan item horizontal */
}

.modal-body-preview {
    flex-grow: 1; /* Ambil ruang sebanyak mungkin */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #fff; /* Background putih untuk iframe */
    border-radius: 5px;
    overflow: hidden; /* Pastikan iframe tidak keluar */
}

#popup-preview-iframe {
    width: 100%;
    height: 100%;
    border: none; /* Hilangkan border iframe */
    background-color: white; /* Pastikan background putih */
    border-radius: 5px;
}
/* Untuk browser berbasis WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px; /* Lebar scrollbar vertikal */
    height: 12px; /* Tinggi scrollbar horizontal */
}

::-webkit-scrollbar-track {
    background: #1a1a30; /* Warna latar belakang track scrollbar */
    border-radius: 10px; /* Sudut membulat pada track */
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary)); /* Gradien warna pada thumb */
    border-radius: 10px; /* Sudut membulat pada thumb */
    border: 3px solid #1a1a30; /* Border di sekitar thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary)); /* Ubah gradien saat hover */
}

/* Untuk Firefox */
html {
    scrollbar-width: thin; /* Lebar scrollbar (auto, thin, none) */
    scrollbar-color: var(--primary) #1a1a30; /* Warna thumb dan track */
}

.about-content {
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
}

.about-content strong {
  color: var(--primary);
}