
        :root {
            --bg-base: #0b0f19;
            --bg-surface: #111827;
            --bg-card: #1f293d;
            --bg-card-hover: #27354f;
            --border: #334155;
            --border-highlight: #3b82f6;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --primary: #3b82f6;
            --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
            --accent-green: #10b981;
            --accent-orange: #f59e0b;
            --accent-cyan: #06b6d4;
            --accent-purple: #a855f7;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 18px;
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
        }

        [data-theme="light"] {
            --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-card: #ffffff;
            --bg-card-hover: #f1f5f9;
            --border: #e2e8f0;
            --border-highlight: #2563eb;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #2563eb;
            --shadow-lg: 0 15px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            line-height: 1.6;
            min-height: 100vh;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 24px 24px 100px;
        }

        /* 네비게이션 */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 28px;
            background: rgba(17, 24, 39, 0.85);
            backdrop-filter: blur(16px);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            margin-bottom: 32px;
            position: sticky;
            top: 16px;
            z-index: 1000;
        }

        [data-theme="light"] .navbar {
            background: rgba(255, 255, 255, 0.9);
        }

        .nav-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text-main);
        }

        .nav-logo {
            width: 40px;
            height: 40px;
            background: var(--primary-gradient);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: white;
            box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
        }

        .nav-title {
            font-size: 1.35rem;
            font-weight: 800;
            letter-spacing: -0.5px;
        }

        .nav-badge {
            background: rgba(59, 130, 246, 0.15);
            color: #60a5fa;
            border: 1px solid rgba(59, 130, 246, 0.3);
            font-size: 0.75rem;
            padding: 3px 10px;
            border-radius: 20px;
            font-weight: 700;
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .theme-toggle-btn {
            background: var(--bg-card);
            border: 1px solid var(--border);
            color: var(--text-main);
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }

        .theme-toggle-btn:hover {
            border-color: var(--primary);
        }

        .donate-btn-nav {
            background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
            color: white;
            border: none;
            padding: 8px 18px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.88rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            transition: all 0.2s;
            box-shadow: 0 4px 12px rgba(244, 63, 94, 0.35);
            letter-spacing: -0.2px;
        }

        .donate-btn-nav:hover {
            opacity: 0.9;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(244, 63, 94, 0.5);
        }

        .site-link-btn {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-muted);
            padding: 8px 14px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
            text-decoration: none;
            transition: all 0.2s;
        }

        .site-link-btn:hover {
            border-color: var(--primary);
            color: var(--text-main);
        }

        /* 후원 CTA 배너 */
        .donate-banner {
            background: linear-gradient(135deg, rgba(244, 63, 94, 0.12) 0%, rgba(236, 72, 153, 0.12) 100%);
            border: 1px solid rgba(244, 63, 94, 0.3);
            border-radius: var(--radius-md);
            padding: 20px 28px;
            margin-bottom: 48px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

        .donate-banner-text h3 {
            font-size: 1.1rem;
            font-weight: 800;
            color: #f43f5e;
            margin-bottom: 4px;
        }

        .donate-banner-text p {
            font-size: 0.88rem;
            color: var(--text-muted);
        }

        .donate-btn-main {
            background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
            color: white;
            border: none;
            padding: 12px 28px;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            transition: all 0.2s;
            box-shadow: 0 6px 16px rgba(244, 63, 94, 0.4);
            white-space: nowrap;
            letter-spacing: -0.3px;
        }

        .donate-btn-main:hover {
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 10px 24px rgba(244, 63, 94, 0.55);
        }

        /* 개선된 푸터 */
        .site-footer {
            margin-top: 64px;
            padding: 40px 0 20px;
            border-top: 1px solid var(--border);
            text-align: center;
        }

        .footer-donate-area {
            background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
            border: 1px solid rgba(244, 63, 94, 0.25);
            border-radius: var(--radius-md);
            padding: 28px;
            margin-bottom: 32px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
        }

        .footer-donate-area h3 {
            font-size: 1.25rem;
            font-weight: 800;
            background: linear-gradient(135deg, #f43f5e, #a855f7);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .footer-donate-area p {
            color: var(--text-muted);
            font-size: 0.9rem;
            max-width: 540px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 20px;
        }

        .footer-link {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            transition: color 0.2s;
        }

        .footer-link:hover {
            color: var(--primary);
        }

        .footer-copy {
            font-size: 0.82rem;
            color: var(--text-muted);
            opacity: 0.7;
        }

        /* 히어로 */
        .hero {
            text-align: center;
            padding: 30px 20px 48px;
        }

        .hero h1 {
            font-size: 3rem;
            font-weight: 800;
            letter-spacing: -1px;
            margin-bottom: 16px;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-muted);
            max-width: 860px;
            margin: 0 auto 24px;
        }

        .hero-tags {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        .hero-tag {
            background: var(--bg-card);
            border: 1px solid var(--border);
            color: var(--text-main);
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        /* 섹션 공통 헤더 */
        .section-header {
            margin-bottom: 24px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            flex-wrap: wrap;
            gap: 12px;
        }

        .section-title {
            font-size: 1.55rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-desc {
            color: var(--text-muted);
            font-size: 0.92rem;
            margin-top: 4px;
        }

        /* 에디터 카드 그리드 */
        .editors-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
            gap: 20px;
            margin-bottom: 56px;
        }

        .editor-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 24px;
            box-shadow: var(--shadow-lg);
            transition: all 0.25s ease;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }

        .editor-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 4px;
            background: var(--card-accent, var(--primary));
        }

        .editor-card:hover {
            transform: translateY(-4px);
            border-color: var(--card-accent, var(--primary));
            background: var(--bg-card-hover);
        }

        .card-head {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
        }

        .card-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            border: 1px solid var(--border);
        }

        .card-title-group h3 { font-size: 1.2rem; font-weight: 700; }
        .card-category { font-size: 0.75rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }
        .card-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 18px; flex: 1; line-height: 1.6; }

        .card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
        .badge-pill { font-size: 0.75rem; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--text-main); font-weight: 500; }

        .card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
        .btn-launch {
            background: var(--primary);
            color: white;
            padding: 10px;
            border-radius: 8px;
            text-align: center;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 700;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
        }
        .btn-launch:hover { opacity: 0.9; transform: scale(1.02); }
        .btn-test {
            background: transparent;
            color: var(--text-main);
            border: 1px solid var(--border);
            padding: 10px;
            border-radius: 8px;
            text-align: center;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.2s;
        }
        .btn-test:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--text-muted); }

        /* 인터랙티브 샌드박스 메인 레이아웃 */
        .sandbox-section {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 32px;
            margin-bottom: 56px;
            box-shadow: var(--shadow-lg);
        }

        .sandbox-layout {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 20px;
        }

        .sandbox-viewer {
            display: flex;
            flex-direction: column;
            height: 290px;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
            background: white;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .viewer-toolbar {
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
            padding: 12px 18px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .editor-select-box {
            padding: 9px 16px;
            background: var(--bg-surface);
            border: 1px solid var(--border-highlight);
            color: var(--text-main);
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 700;
            outline: none;
            cursor: pointer;
        }

        .status-dot {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            color: var(--accent-green);
            font-weight: 700;
        }

        .sandbox-iframe {
            width: 100%;
            height: 100%;
            border: none;
            background: white;
        }

        /* 샌드박스 버튼 컨트롤러 영역 — 에디터 아래 수직 스택 */
        .sandbox-controls {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        /* 하단 분석/코드 영역 */
        .sandbox-bottom {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }
        .sandbox-bottom .control-card.full-width {
            grid-column: unset;
        }

        .control-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 16px 18px;
        }

        .control-title {
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--text-main);
        }

        .api-btn-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 7px;
        }
        .api-btn-grid .action-btn {
            flex: 0 0 auto;
        }

        .action-btn {
            background: rgba(59, 130, 246, 0.12);
            color: #60a5fa;
            border: 1px solid rgba(59, 130, 246, 0.3);
            padding: 10px 12px;
            border-radius: 8px;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .action-btn:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
        }

        .action-btn.export-btn {
            background: rgba(16, 185, 129, 0.12);
            color: #34d399;
            border-color: rgba(16, 185, 129, 0.3);
        }
        .action-btn.export-btn:hover {
            background: #10b981;
            color: white;
            box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
        }

        .action-btn.danger-btn {
            background: rgba(239, 68, 68, 0.12);
            color: #f87171;
            border-color: rgba(239, 68, 68, 0.3);
        }
        .action-btn.danger-btn:hover {
            background: #ef4444;
            color: white;
        }

        /* 실행된 연동 코드 스니펫 박스 */
        .snippet-container {
            background: var(--bg-base);
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }

        .snippet-header {
            background: rgba(255, 255, 255, 0.03);
            border-bottom: 1px solid var(--border);
            padding: 8px 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.75rem;
            color: var(--text-muted);
            font-weight: 600;
        }

        .mini-copy-btn {
            background: rgba(59, 130, 246, 0.2);
            color: #60a5fa;
            border: 1px solid rgba(59, 130, 246, 0.4);
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.72rem;
            cursor: pointer;
            font-weight: 700;
            transition: all 0.2s;
        }
        .mini-copy-btn:hover { background: var(--primary); color: white; }

        .live-code-view {
            padding: 12px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            color: #a5f3fc;
            line-height: 1.6;
            max-height: 160px;
            overflow-y: auto;
            white-space: pre-wrap;
            word-break: break-all;
        }

        .payload-textarea {
            width: 100%;
            height: 90px;
            background: var(--bg-base);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-main);
            padding: 10px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            resize: none;
            outline: none;
        }

        .log-terminal {
            height: 90px;
            background: var(--bg-base);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 8px 12px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: #38bdf8;
            overflow-y: auto;
            white-space: pre-wrap;
            word-break: break-all;
        }

        /* 코드 생성기 */
        .code-generator-section {
            background: var(--bg-surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 32px;
            margin-bottom: 56px;
            box-shadow: var(--shadow-lg);
        }

        .platform-tabs {
            display: flex;
            gap: 8px;
            border-bottom: 1px solid var(--border);
            padding-bottom: 14px;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }

        .platform-tab-btn {
            background: transparent;
            border: 1px solid transparent;
            color: var(--text-muted);
            padding: 10px 18px;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
        }

        .platform-tab-btn.active {
            background: var(--primary);
            color: white;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
        }

        .platform-tab-btn:hover:not(.active) {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-main);
        }

        .filter-select {
            padding: 8px 14px;
            background: var(--bg-card);
            border: 1px solid var(--border-highlight);
            color: var(--text-main);
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 700;
            outline: none;
            cursor: pointer;
        }

        .code-display-wrapper {
            position: relative;
            background: var(--bg-base);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
        }

        .main-code-block {
            padding: 24px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.88rem;
            color: #e2e8f0;
            line-height: 1.65;
            min-height: 240px;
            max-height: 480px;
            overflow-y: auto;
            white-space: pre-wrap;
            word-break: break-all;
        }

        .copy-main-btn {
            position: absolute;
            top: 14px;
            right: 14px;
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 18px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
        }

        .copy-main-btn:hover {
            opacity: 0.9;
            transform: scale(1.03);
        }

        /* 3단계 초간단 사용법 가이드 */
        .guide-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 56px;
        }

        .guide-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 24px;
            position: relative;
        }

        .step-badge {
            display: inline-block;
            background: var(--primary-gradient);
            color: white;
            font-size: 0.8rem;
            font-weight: 800;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: 12px;
        }

        .guide-card h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
        .guide-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

        /* 토스트 알림 */
        .toast-notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #10b981;
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 700;
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            display: none;
            z-index: 9999;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 1024px) {
            .sandbox-viewer { height: 240px; }
            .api-btn-grid .action-btn { font-size: 0.78rem; padding: 8px 10px; }
            .hero h1 { font-size: 2.3rem; }
        }

