        :root {
            --bg-color: #0b0f19;
            --panel-bg: #111827;
            --card-bg: rgba(22, 30, 49, 0.75);
            --card-border: rgba(99, 102, 241, 0.4);
            --accent-color: #5558f6;
            --accent-hover: #4346e6;
            --text-main: #f3f4f6;
            --text-muted: #8b95a5;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow-x: hidden;
        }

        header {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 24px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .logo {
            font-size: 1.4rem;
            font-weight: 700;
            color: #6366f1;
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo-icon {
            width: 22px;
            height: 22px;
            fill: currentColor;
        }

        nav {
            display: flex;
            gap: 28px;
        }

        nav a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.2s ease;
            cursor: pointer;
        }

        nav a:hover {
            color: var(--text-main);
        }

        .fullscreen-drag-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(11, 15, 25, 0.92);
            border: 4px dashed #6366f1;
            z-index: 9999;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(8px);
            pointer-events: none;
        }

        .fullscreen-drag-overlay.active {
            display: flex;
            pointer-events: all;
        }

        .fullscreen-drag-overlay h2 {
            font-size: 2rem;
            color: #818cf8;
            margin-top: 16px;
        }

        .main-wrapper {
            flex: 1;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 10px 20px 40px 20px;
            position: relative;
            z-index: 1;
        }

        .app-container {
            width: 100%;
            max-width: 1200px;
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        .scenario-banner {
            width: 100%;
            background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(22, 30, 49, 0.8));
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 20px;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(99, 102, 241, 0.08);
            position: relative;
            overflow: hidden;
        }

        .scenario-banner svg {
            width: 100%;
            max-width: 850px;
            height: auto;
            max-height: 180px;
        }

        @keyframes pulseWave {
            0% { opacity: 0.2; transform: scale(0.98); }
            50% { opacity: 0.8; transform: scale(1.02); }
            100% { opacity: 0.2; transform: scale(0.98); }
        }

        @keyframes dashMove {
            to { stroke-dashoffset: -40; }
        }

        .animated-dash {
            stroke-dasharray: 8 6;
            animation: dashMove 1.5s linear infinite;
        }

        .wave-pulse {
            transform-origin: center;
            animation: pulseWave 2.5s ease-in-out infinite;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 520px 1fr;
            gap: 50px;
            align-items: start;
        }

        .cards-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        @keyframes floatCute {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-4px); }
            100% { transform: translateY(0px); }
        }

        .card-box {
            background: var(--card-bg);
            border: 1.5px dashed var(--card-border);
            border-radius: 20px;
            padding: 30px 20px;
            text-align: center;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 340px;
            position: relative;
            backdrop-filter: blur(8px);
            box-shadow: 0 0 25px rgba(99, 102, 241, 0.25), inset 0 0 15px rgba(99, 102, 241, 0.1);
            transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            animation: floatCute 4s ease-in-out infinite;
        }

        .cards-grid .card-box:nth-child(2) {
            animation-delay: 2s;
        }

        .card-box:hover {
            transform: translateY(-8px) scale(1.02) !important;
            border-color: #818cf8;
            border-style: dashed;
            background: rgba(85, 88, 246, 0.18);
            box-shadow: 0 12px 35px rgba(99, 102, 241, 0.45), inset 0 0 20px rgba(99, 102, 241, 0.2);
        }

        .card-solid {
            border-style: solid;
            border-color: rgba(99, 102, 241, 0.4);
            cursor: default;
        }

        .card-solid:hover {
            border-color: #818cf8;
            background: rgba(22, 30, 49, 0.95);
        }

        .card-icon-wrapper {
            width: 64px;
            height: 64px;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(99, 102, 241, 0.1);
            border-radius: 16px;
            border: 1px solid rgba(99, 102, 241, 0.25);
            transition: all 0.35s ease;
        }

        .card-icon-wrapper svg {
            width: 32px;
            height: 32px;
            stroke: #818cf8;
        }

        .card-box:hover .card-icon-wrapper {
            background: rgba(85, 88, 246, 0.25);
            border-color: #818cf8;
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 0 15px rgba(85, 88, 246, 0.4);
        }

        .card-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-main);
        }

        .card-subtitle {
            font-size: 0.82rem;
            color: var(--text-muted);
            margin-top: 8px;
            line-height: 1.4;
            max-width: 200px;
            word-break: break-word;
        }

        /* Added network notice styling */
        .network-notice {
            font-size: 0.72rem;
            color: #94a3b8;
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 8px 10px;
            margin-top: 14px;
            line-height: 1.35;
            max-width: 210px;
        }

        .code-input {
            width: 100%;
            box-sizing: border-box;
            padding: 12px 10px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: #090d16;
            color: #fff;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 1.05rem;
            font-weight: 600;
            text-align: center;
            letter-spacing: 2px;
            margin: 20px 0 16px 0;
            text-transform: uppercase;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .code-input:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 10px rgba(85, 88, 246, 0.3);
        }

        .btn {
            background-color: var(--accent-color);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 10px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: all 0.25s ease;
            box-shadow: 0 4px 14px rgba(85, 88, 246, 0.3);
        }

        .btn:hover {
            background-color: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(85, 88, 246, 0.45);
        }

        .btn-secondary {
            background-color: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: var(--text-main);
            box-shadow: none;
            margin-top: 14px;
        }

        .btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        .right-hero {
            display: flex;
            flex-direction: column;
            gap: 24px;
            padding-left: 10px;
        }

        .hero-title {
            font-size: 2.6rem;
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.5px;
            color: #ffffff;
        }

        .hero-subtitle {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.5;
        }

        .features-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 4px;
        }

        .feature-item {
            background: rgba(22, 30, 49, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.06);
            padding: 12px 16px;
            border-radius: 10px;
            font-size: 0.88rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 10px;
            backdrop-filter: blur(4px);
        }

        .feature-item svg {
            width: 18px;
            height: 18px;
            stroke: #818cf8;
            flex-shrink: 0;
        }

        .action-panel {
            background: rgba(15, 21, 35, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 24px;
            margin-top: 8px;
        }

        .file-info-card h3 {
            font-size: 1.15rem;
            color: #818cf8;
            word-break: break-all;
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .file-info-card p {
            font-size: 0.88rem;
            color: var(--text-muted);
            margin-bottom: 4px;
        }

        .progress-bar-container {
            width: 100%;
            height: 10px;
            background-color: #1e293b;
            border-radius: 6px;
            overflow: hidden;
            margin: 20px 0 12px 0;
            display: none;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #ec4899, #8b5cf6, #6366f1);
            transition: width 0.2s;
        }

        .transfer-metrics {
            display: flex;
            justify-content: space-between;
            color: #818cf8;
            font-size: 0.88rem;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .transfer-warning-banner {
            display: none;
            align-items: center;
            gap: 8px;
            background: rgba(234, 179, 8, 0.1);
            border: 1px solid rgba(234, 179, 8, 0.3);
            color: #fde047;
            padding: 10px 14px;
            border-radius: 8px;
            font-size: 0.8rem;
            margin-top: 14px;
            line-height: 1.4;
        }

        .transfer-warning-banner svg {
            width: 16px;
            height: 16px;
            stroke: #fde047;
            flex-shrink: 0;
        }

        #status {
            font-size: 0.9rem;
            color: #34d399;
            font-weight: 600;
            margin-top: 8px;
        }

        @keyframes modalPopIn {
            0% {
                opacity: 0;
                transform: scale(0.85) translateY(20px);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.82);
            backdrop-filter: blur(6px);
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.show {
            display: flex;
            opacity: 1;
        }

        .modal {
            background: #111827;
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 20px;
            padding: 28px;
            max-width: 480px;
            width: 90%;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.2);
            transform: scale(0.85);
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .large-modal {
            max-width: 850px;
            width: 92%;
            padding: 42px 48px;
            max-height: 85vh;
            overflow-y: auto;
        }

        .modal-overlay.show .modal {
            animation: modalPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }

        .close-btn {
            position: absolute;
            top: 18px;
            right: 24px;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--text-muted);
            transition: color 0.2s ease;
        }

        .close-btn:hover {
            color: #fff;
        }

        .qr-wrapper {
            display: flex;
            justify-content: center;
            margin: 20px 0;
        }

        .qr-wrapper div {
            padding: 12px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            display: inline-block;
        }

        .share-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
            margin-top: 14px;
        }

        .share-links a {
            color: #818cf8;
            text-decoration: none;
            font-size: 0.82rem;
            background: rgba(255, 255, 255, 0.05);
            padding: 6px 12px;
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.2s ease;
        }

        .share-links a:hover {
            background: rgba(99, 102, 241, 0.2);
            border-color: #818cf8;
        }

        .code-display {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: clamp(1.25rem, 7vw, 2rem);
            font-weight: 700;
            letter-spacing: 2px;
            color: #818cf8;
            margin: 10px 0;
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: break-all;
            user-select: all;
        }

        .info-modal-body {
            text-align: left;
            line-height: 1.7;
            font-size: 1.05rem;
            color: #d1d5db;
        }

        .info-modal-body h2 {
            color: #818cf8;
            font-size: 1.8rem;
            margin-bottom: 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 10px;
        }

        .info-modal-body h3 {
            color: #f3f4f6;
            font-size: 1.25rem;
            margin-top: 22px;
            margin-bottom: 8px;
        }

        .info-modal-body ul {
            margin-left: 24px;
            margin-top: 12px;
        }

        .info-modal-body li {
            margin-bottom: 10px;
        }

        @media (max-width: 960px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            .right-hero {
                padding-left: 0;
            }
            .large-modal {
                padding: 28px 24px;
            }
        }
