        :root {
            --unpak: #573c9d;
            --unpak-hover: #472f85;
            --unpak-gradient: linear-gradient(135deg, #573c9d 0%, #301f5e 100%);
            --unpak-hover-gradient: linear-gradient(135deg, #472f85 0%, #221545 100%);
            --accent: #ffc107;
            --bg-radial: radial-gradient(125% 125% at 50% 10%, #03010b 35%, #180d3a 100%);
            --card-bg: rgba(18, 16, 28, 0.5);
            --border: rgba(255, 255, 255, 0.08);
            --text: #eaeaf0;
            --text-p: #d6d6de;
            --muted: #8e8ea2;
            --green: #10b981;
            --green-glow: rgba(16, 185, 129, 0.2);
            --red: #ef4444;
            --red-glow: rgba(239, 68, 68, 0.2);
            --input-bg: rgba(0, 0, 0, 0.3);
            --icon-box-bg: rgba(87, 60, 157, 0.2);

            /* Aliases for existing design variables */
            --bg-banner: var(--unpak-gradient);
            --bg-card: var(--card-bg);
            --bg-input: var(--input-bg);
            --border-color: var(--border);
            --primary-color: var(--unpak);
            --primary-hover: var(--unpak-hover);
            --primary-bg: var(--unpak-gradient);
            --primary-hover-bg: var(--unpak-hover-gradient);
            --text-main: var(--text);
            --text-muted: var(--muted);
            --accent-purple: #a580ff;
            --accent-orange: var(--accent);
            --icon-bg: var(--icon-box-bg);
        }

        :root[data-theme="light"] {
            --bg-radial: radial-gradient(125% 125% at 50% 10%, #ffffff 50%, #ece7fa 100%);
            --card-bg: rgba(255, 255, 255, 0.85);
            --border: rgba(87, 60, 157, 0.16);
            --text: #0f172a;
            --text-p: #334155;
            --muted: #475569;
            --green: #047857;
            --green-glow: rgba(4, 120, 87, 0.15);
            --red: #b91c1c;
            --red-glow: rgba(185, 28, 28, 0.15);
            --input-bg: rgba(255, 255, 255, 0.6);
            --icon-box-bg: rgba(87, 60, 157, 0.1);
            --accent-purple: var(--unpak);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background: var(--bg-radial) !important;
            color: var(--text) !important;
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 0;
            transition: background 0.4s ease, color 0.4s ease;
        }

        /* Honeypot - visually hidden, off-screen */
        .hp-field {
            position: absolute;
            left: -9999px;
            top: -9999px;
            width: 1px;
            height: 1px;
            overflow: hidden;
            opacity: 0;
            pointer-events: none;
        }

        /* Banner */

        .banner {
            width: 100%;
            background: var(--bg-banner);
            padding: 15px 20px;
            display: flex;
            justify-content: center;
        }

        .banner-content {
            width: 100%;
            max-width: 800px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .brand-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .brand-logo {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.05));
            border: 1px solid rgba(255, 193, 7, 0.2);
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--accent-orange);
            box-shadow: 0 4px 15px rgba(255, 193, 7, 0.15);
        }

        .brand-title-group {
            display: flex;
            flex-direction: column;
        }

        .brand-title {
            font-size: 1.2rem;
            font-weight: 800;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .brand-title span.light {
            font-weight: 400;
            font-size: 1rem;
        }

        .connection-status {
            background-color: rgba(0, 0, 0, 0.2);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--accent-orange);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .connection-status .dot {
            width: 8px;
            height: 8px;
            background-color: var(--accent-orange);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--accent-orange);
        }

        /* Main Container */
        .container {
            width: 100%;
            max-width: 700px;
            padding: 40px 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        /* Search Card */
        .card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 25px;
        }

        .search-card h3 {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--text-main);
        }

        .search-card p {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .input-group {
            display: flex;
            gap: 15px;
        }

        .input-wrapper {
            position: relative;
            flex: 1;
        }

        .input-wrapper i {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 18px;
        }

        .input-wrapper input {
            width: 100%;
            height: 100%;
            background-color: var(--bg-input);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 16px 16px 16px 48px;
            color: var(--text-main);
            font-size: 1rem;
            font-family: 'Inter', sans-serif;
            outline: none;
            transition: border-color 0.3s;
        }

        .input-wrapper input:focus {
            border-color: var(--primary-color);
        }

        .action-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .buttons {
            display: flex;
            gap: 15px;
        }

        .btn {
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary {
            background: var(--primary-bg);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-hover-bg);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--text-main);
            border: 1px solid var(--border-color);
        }

        .btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.05);
        }

        .toggles {
            display: flex;
            gap: 15px;
        }

        .icon-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background-color: var(--bg-input);
            border: 1px solid var(--border-color);
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 18px;
        }

        .toggle-switch {
            display: flex;
            align-items: center;
            background-color: var(--bg-input);
            border: 1px solid var(--border-color);
            border-radius: 22px;
            padding: 4px;
            cursor: pointer;
        }

        .toggle-switch .knob {
            width: 34px;
            height: 34px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: black;
            font-weight: 700;
            font-size: 0.75rem;
        }

        .theme-toggle-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .theme-toggle-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* Result Card */
        .result-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }

        .result-header h3 {
            color: var(--accent-purple);
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: 0.5px;
        }

        .result-header span {
            color: var(--text-muted);
            font-size: 0.85rem;
            font-weight: 500;
        }

        .result-list {
            display: flex;
            flex-direction: column;
        }

        .list-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        .list-item:last-child {
            border-bottom: none;
        }

        .item-label {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-muted);
        }

        .icon-box {
            width: 35px;
            height: 35px;
            background-color: var(--icon-bg);
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .icon-box i {
            color: var(--accent-purple);
            font-size: 16px;
        }

        .item-value {
            font-size: 0.85rem;
            font-weight: 600;
            text-align: right;
            max-width: 60%;
            word-break: break-word;
        }

        .value-orange {
            color: var(--accent-orange);
        }

        .spinner {
            display: none;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        #errorAlert {
            display: none;
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
            padding: 15px;
            border-radius: 12px;
            border: 1px solid rgba(239, 68, 68, 0.2);
            margin-bottom: 20px;
            text-align: center;
            font-weight: 500;
        }

        @media (max-width: 600px) {
            .input-group {
                flex-direction: column;
                gap: 10px;
            }

            .btn-primary {
                width: 100%;
                justify-content: center;
                padding: 14px;
            }

            .buttons {
                flex-direction: column;
            }

            .toggles {
                justify-content: center;
            }

            .list-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }

            .item-value {
                max-width: 100%;
                padding-left: 51px;
                text-align: left;
            }
        }
