        /* -------------------------------
           GLOBAL RESET & DESIGN SYSTEM
        ------------------------------- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(145deg, #0b1120 0%, #111827 100%);
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
            color: #eef2ff;
            line-height: 1.5;
            padding: 2rem 1.5rem;
            min-height: 100vh;
        }

        /* main container */
        .forge-container {
            max-width: 1400px;
            margin: 0 auto;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(2px);
            border-radius: 3rem;
            padding: 2rem 2rem 2.5rem;
            box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
            border: 1px solid rgba(56, 189, 248, 0.2);
        }

        /* header area */
        .forge-header {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 2rem;
            border-bottom: 2px dashed rgba(56, 189, 248, 0.4);
            padding-bottom: 1.5rem;
        }
        .title-section h1 {
            font-size: 2.2rem;
            font-weight: 700;
            background: linear-gradient(135deg, #c084fc, #38bdf8);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.02em;
        }
        .title-section p {
            color: #94a3b8;
            margin-top: 0.3rem;
            font-size: 0.9rem;
        }
        .badge-area {
            background: #0f172ad9;
            border-radius: 60px;
            padding: 0.4rem 1rem;
            font-size: 0.8rem;
            font-family: monospace;
            border: 1px solid #2dd4bf40;
            backdrop-filter: blur(4px);
        }

        /* main two column layout */
        .forge-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
        }
        .input-panel {
            flex: 1.2;
            min-width: 280px;
        }
        .output-panel {
            flex: 2;
            min-width: 320px;
        }

        /* cards */
        .card {
            background: #0f172ae6;
            border-radius: 1.8rem;
            padding: 1.5rem;
            backdrop-filter: blur(4px);
            border: 1px solid #334155;
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
            transition: all 0.2s;
        }
        .card h3 {
            font-weight: 600;
            font-size: 1.25rem;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #b9e2ff;
        }

        textarea, select, input {
            background: #020617cc;
            border: 1px solid #334155;
            border-radius: 1.2rem;
            padding: 0.8rem 1.2rem;
            color: #f1f5f9;
            font-family: 'JetBrains Mono', 'Fira Code', monospace;
            font-size: 0.9rem;
            width: 100%;
            transition: all 0.2s;
            outline: none;
        }
        textarea:focus, select:focus, input:focus {
            border-color: #38bdf8;
            box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
        }
        textarea {
            resize: vertical;
            min-height: 150px;
        }
        .file-zone {
            margin-top: 1rem;
            background: #02061780;
            border-radius: 1.2rem;
            padding: 0.5rem 1rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
            border: 1px dashed #38bdf8;
        }
        .file-label {
            background: #1e293b;
            padding: 0.4rem 1rem;
            border-radius: 2rem;
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 500;
            transition: 0.2s;
        }
        .file-label:hover {
            background: #2d3a5e;
        }
        input[type="file"] {
            display: none;
        }
        .hash-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin: 1.5rem 0 1rem;
        }
        .algo-btn {
            background: #1e293b;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            font-weight: 500;
            font-size: 0.8rem;
            cursor: pointer;
            transition: 0.2s;
            color: #cbd5e6;
        }
        .algo-btn.active {
            background: #0f5298;
            color: white;
            box-shadow: 0 0 8px #38bdf8;
            border: 1px solid #7ac7ff;
        }
        .algo-btn:hover {
            background: #2d3f60;
            color: white;
        }
        .action-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }
        .btn-primary {
            background: linear-gradient(95deg, #2563eb, #3b82f6);
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 2rem;
            font-weight: 600;
            color: white;
            cursor: pointer;
            transition: 0.2s;
            flex: 1;
        }
        .btn-secondary {
            background: #334155;
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 2rem;
            font-weight: 500;
            cursor: pointer;
        }
        .btn-secondary:hover {
            background: #475569;
        }
        .hash-results {
            background: #020617cc;
            border-radius: 1.5rem;
            padding: 0.2rem;
            max-height: 520px;
            overflow-y: auto;
        }
        .hash-item {
            background: #0f172a;
            margin: 1rem;
            padding: 1rem;
            border-radius: 1.2rem;
            border-left: 5px solid #3b82f6;
            transition: 0.1s;
        }
        .hash-label {
            font-family: monospace;
            font-weight: bold;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #7dd3fc;
            margin-bottom: 0.5rem;
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            flex-wrap: wrap;
        }
        .hash-value {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            word-break: break-all;
            background: #010409;
            padding: 0.6rem;
            border-radius: 1rem;
            color: #bbf0ff;
            margin-top: 0.3rem;
        }
        .copy-btn {
            background: none;
            border: 1px solid #38bdf8;
            border-radius: 1.5rem;
            padding: 0.2rem 0.8rem;
            font-size: 0.7rem;
            cursor: pointer;
            color: #b9e2ff;
            transition: 0.2s;
        }
        .copy-btn:hover {
            background: #38bdf8;
            color: #0f172a;
        }
        .toast-msg {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: #10b981dd;
            backdrop-filter: blur(12px);
            padding: 0.7rem 1.3rem;
            border-radius: 2rem;
            font-weight: 500;
            font-size: 0.85rem;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
        }
        .footer-note {
            margin-top: 2rem;
            text-align: center;
            font-size: 0.75rem;
            color: #5b6e8c;
        }
        @media (max-width: 760px) {
            .forge-container {
                padding: 1rem;
            }
            .hash-label {
                flex-direction: column;
                gap: 0.5rem;
            }
        }
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: #0f172a;
            border-radius: 10px;
        }
        ::-webkit-scrollbar-thumb {
            background: #3b82f6;
            border-radius: 10px;
        }