    :root {
      --primary-color: #F0C040;
      --primary-hover: #D4A017;
      --dark-bg: #0f0f0f;
      --dark-card: #1a1a1a;
      --dark-text: #f0f0f0;
      --light-bg: #fdfdfd;
      --light-card: #ffffff;
      --light-text: #212529;
      --glass-bg: rgba(255, 255, 255, 0.85);
      --glass-mobile: rgba(255, 255, 255, 0.98);
    }

    body {
      font-family: 'Poppins', sans-serif;
      line-height: 1.8;
      color: var(--light-text);
      background-color: var(--light-bg);
      overflow-x: hidden;
      transition: background-color 0.4s ease, color 0.4s ease, transform 1s ease, filter 0.5s ease;
      cursor: none; /* Custom cursor default */
    }

    /* Kembalikan cursor normal di Mobile agar tidak aneh */
    @media (hover: none) and (pointer: coarse) {
        body { cursor: auto; }
        .cursor-dot, .cursor-outline { display: none !important; }
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 80px;
    }

    /* =========================================
       CUSTOM CURSOR (Tech Enthusiast)
       ========================================= */
    .cursor-dot {
      width: 8px;
      height: 8px;
      background-color: var(--primary-color);
      position: fixed;
      top: 0; left: 0;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      z-index: 9999;
      pointer-events: none;
    }
    .cursor-outline {
      width: 40px;
      height: 40px;
      border: 2px solid rgba(240, 192, 64, 0.5);
      position: fixed;
      top: 0; left: 0;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      z-index: 9998;
      pointer-events: none;
      transition: width 0.2s, height 0.2s, background-color 0.2s;
    }
    
    body.hovering .cursor-outline {
        width: 60px;
        height: 60px;
        background-color: rgba(240, 192, 64, 0.1);
        border-color: var(--primary-color);
    }

    /* =========================================
       ACCESSIBILITY WIDGET (Guru ABK)
       ========================================= */
    .a11y-widget {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 1000;
    }
    .a11y-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--primary-color);
        border: none;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        color: #000;
        font-size: 1.5rem;
        transition: transform 0.3s;
        display: flex; 
        align-items: center; 
        justify-content: center;
    }
    .a11y-btn:hover { transform: scale(1.1) rotate(15deg); }
    
    .a11y-menu {
        position: absolute;
        bottom: 60px;
        left: 0;
        background: white;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 5px 30px rgba(0,0,0,0.15);
        width: 220px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
    .a11y-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .a11y-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px;
        cursor: pointer;
        border-radius: 6px;
        transition: background 0.2s;
        font-size: 0.9rem;
        color: #333;
    }
    .a11y-item:hover { background: #f0f0f0; }
    
    /* A11y Modes & Fixes for High Contrast */
    body.dyslexia-mode * {
        font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif !important;
        letter-spacing: 0.05em;
        line-height: 2 !important;
    }
    body.large-text-mode { font-size: 110%; }
    
    /* HIGH CONTRAST MODE */
    body.high-contrast-mode {
        background-color: #000 !important;
        color: #ffff00 !important;
    }
    body.high-contrast-mode .navbar,
    body.high-contrast-mode .card,
    body.high-contrast-mode .bg-light,
    body.high-contrast-mode .form-control {
        background-color: #000 !important;
        border: 2px solid #ffff00 !important;
        color: #ffff00 !important;
    }
    body.high-contrast-mode .text-muted { color: #00ff00 !important; opacity: 1 !important; }
    body.high-contrast-mode .badge {
        background-color: #000 !important;
        border: 1px solid #00ff00 !important;
        color: #00ff00 !important;
    }
    body.high-contrast-mode a { color: #ffff00 !important; text-decoration: underline; }
    body.high-contrast-mode .btn-primary {
        background-color: #ffff00 !important;
        color: #000 !important;
        border: 2px solid #fff;
        font-weight: bold;
    }
    body.high-contrast-mode img { filter: grayscale(100%) contrast(150%); }

    /* =========================================
       TERMINAL (TKJ Pride)
       ========================================= */
    .terminal-overlay {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.85); z-index: 10000;
      display: flex; align-items: center; justify-content: center;
      backdrop-filter: blur(5px);
    }
    .terminal-window {
      width: 90%; max-width: 800px; height: 60vh;
      background: #1e1e1e; border-radius: 8px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.5);
      display: flex; flex-direction: column; overflow: hidden;
      font-family: 'Fira Code', 'Courier New', monospace;
      border: 1px solid #333;
    }
    @media (max-width: 768px) {
        .terminal-window { height: 80vh; width: 95%; }
        .terminal-body { font-size: 0.85rem; }
    }
    .terminal-header {
      background: #2d2d2d; padding: 10px 15px; display: flex; align-items: center;
      border-bottom: 1px solid #333;
    }
    .dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
    .red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
    .terminal-title { margin-left: 15px; color: #aaa; font-size: 0.8rem; }
    
    .terminal-body { flex: 1; padding: 20px; color: #0f0; overflow-y: auto; font-size: 0.95rem; }
    .input-line { display: flex; padding: 10px 20px; background: #1e1e1e; align-items: center; }
    .prompt { color: #ff5f56; margin-right: 10px; font-weight: bold; }
    .path { color: #27c93f; margin-right: 10px; }
    .input-line input {
      background: transparent; border: none; color: #fff; width: 100%; outline: none; 
      font-family: inherit; font-size: 1rem;
    }
    .cmd-response { margin-bottom: 15px; color: #ccc; white-space: pre-wrap; line-height: 1.4; }

    /* =========================================
       MATRIX RAIN & EFFECTS
       ========================================= */
    canvas#matrixCanvas {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        z-index: 99999; pointer-events: auto; display: none;
    }
    /* Barrel Roll Effect (Konami Code) */
    .barrel-roll { animation: roll 4s ease-in-out; }
    @keyframes roll { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    
    .party-mode { filter: invert(100%) hue-rotate(180deg); transition: all 0.5s; }

    /* =========================================
       EXISTING STYLES (Preloader, Nav, etc)
       ========================================= */
    #preloader {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background-color: var(--light-bg); z-index: 9999;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    }
    .spinner {
      width: 50px; height: 50px; border: 4px solid rgba(0, 0, 0, 0.1);
      border-top: 4px solid var(--primary-color); border-radius: 50%;
      animation: spin 1s linear infinite; margin-bottom: 15px;
    }
    .loading-text { font-weight: 600; letter-spacing: 2px; font-size: 0.9rem; animation: pulse 1.5s infinite; }
    .loader-hidden { opacity: 0; visibility: hidden; }
    
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    @keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

    .navbar {
      background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(0,0,0,0.05); padding: 12px 0; transition: all 0.3s ease;
    }
    .navbar-brand { font-weight: 700; font-size: 1.4rem; color: var(--light-text); }
    .nav-link { font-weight: 500; color: var(--light-text); margin: 0 5px; }
    .nav-link:hover, .nav-link.active { color: var(--primary-color) !important; }

    @media (max-width: 991.98px) {
      .navbar-collapse {
        background: var(--glass-mobile); padding: 20px; border-radius: 12px; margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.05);
      }
    }

    #home { min-height: 90vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; padding-bottom: 40px; }
    .blob {
      position: absolute; width: 500px; height: 500px;
      background: linear-gradient(180deg, rgba(240, 192, 64, 0.1) 0%, rgba(240, 192, 64, 0.01) 100%);
      border-radius: 50%; z-index: -1; filter: blur(50px);
    }
    .display-4 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.2; }
    .typing {
      display: inline-block; overflow: hidden; white-space: nowrap; border-right: 4px solid var(--primary-color);
      font-weight: 700; animation: typing 2.5s steps(30, end), blink 0.75s step-end infinite; max-width: fit-content;
    }
    @keyframes typing { from { width: 0; } to { width: 100%; } }
    @keyframes blink { 50% { border-color: transparent; } }

    .profile-pic {
      width: 280px; height: 280px; object-fit: cover;
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      border: 5px solid var(--light-card); box-shadow: 0 20px 40px rgba(0,0,0,0.1);
      transition: all 0.5s ease; animation: morph 8s ease-in-out infinite;
    }
    @keyframes morph {
      0% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; }
      50% { border-radius: 30% 60% 70% 40%/50% 60% 30% 60%; }
      100% { border-radius: 60% 40% 30% 70%/60% 30% 70% 40%; }
    }

    .section-title { position: relative; display: inline-block; margin-bottom: 2.5rem; font-weight: 700; font-size: 1.8rem; }
    .section-title::after {
      content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
      width: 60px; height: 4px; background: var(--primary-color); border-radius: 2px;
    }

    .card {
      border: none; background: var(--light-card); border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease;
      overflow: hidden; transform-style: preserve-3d; transform: perspective(1000px);
    }
    .card-img-top { height: 200px; object-fit: cover; transition: transform 0.5s ease; }
    
    .btn { padding: 12px 28px; border-radius: 50px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.85rem; transition: all 0.3s; }
    .btn-primary { background: var(--primary-color); border-color: var(--primary-color); color: #212529; box-shadow: 0 4px 15px rgba(240, 192, 64, 0.4); }

    /* Dark Mode Global Styles */
    body.dark-mode { background-color: var(--dark-bg); color: var(--dark-text); }
    body.dark-mode .navbar { background: rgba(15, 15, 15, 0.85); border-bottom: 1px solid rgba(255,255,255,0.05); }
    body.dark-mode .navbar-brand, body.dark-mode .nav-link { color: var(--dark-text); }
    body.dark-mode .card { background-color: var(--dark-card); color: var(--dark-text); }
    body.dark-mode .bg-light { background-color: var(--dark-bg) !important; }
    body.dark-mode .text-muted { color: #a0a0a0 !important; }
    body.dark-mode .a11y-menu { background: #2d2d2d; color: #fff; }
    body.dark-mode .a11y-item { color: #fff; }
    body.dark-mode .a11y-item:hover { background: #3d3d3d; }

    /* FIXES FOR TEXT VISIBILITY IN DARK MODE */
    
    /* 1. Fix for Badges (bg-light text-dark) becomes invisible in dark mode */
    body.dark-mode .badge.bg-light.text-dark {
        background-color: #333 !important; /* Abu-abu gelap agar terlihat di background hitam */
        color: #f0f0f0 !important; /* Teks putih */
        border-color: #555 !important;
    }

    /* 2. Fix for Form Inputs & Search (bg-light) */
    body.dark-mode input.bg-light,
    body.dark-mode textarea.bg-light,
    body.dark-mode .form-control {
        background-color: var(--dark-card) !important;
        color: #f0f0f0 !important;
        border: 1px solid #444;
    }
    body.dark-mode input.bg-light::placeholder,
    body.dark-mode textarea.bg-light::placeholder,
    body.dark-mode .form-control::placeholder {
        color: #888;
    }
    body.dark-mode .input-group-text {
        color: #f0f0f0;
        border-color: #444;
    }

    .hide { display: none !important; }
    .d-none { display: none !important; }