:root { --bg-color: #111; --text-color: #9b9b9b; --highlight-color: #ff4b4b; --secondary-color: #2a2a2e; --accent-color: #ff9f43; --code-bg: #000; --orange: #FF8F42; --border-color: #222; } body { background-color: var(--bg-color); color: var(--text-color); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; margin: 0; padding: 40px; display: flex; justify-content: center; overflow-y: auto; } .container { max-width: 900px; width: 100%; } h1 { color: var(--orange); font-size: 42px; margin-bottom: 15px; font-weight: 600; letter-spacing: -1px; } .description { font-size: 18px; line-height: 1.5; margin-bottom: 40px; color: #ccc; } h2 { font-size: 24px; color: #fff; margin-bottom: 10px; font-weight: 500; } p { margin-top: 0; margin-bottom: 20px; line-height: 1.6; } code.inline { background: rgba(255,255,255,0.1); color: #e6e6e6; padding: 2px 6px; border-radius: 3px; font-family: 'Roboto Mono', monospace; font-size: 0.9em; } /* Code & Demo Box */ .box-container { margin-top: 50px; background: #171717; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.2); } .box-header { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 50px; background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--border-color); } .box-title { color: var(--orange); font-weight: 600; font-size: 14px; } .tabs { display: flex; gap: 20px; height: 100%; } .tab { display: flex; align-items: center; height: 100%; cursor: pointer; color: #666; font-weight: 600; font-size: 13px; border-bottom: 2px solid transparent; transition: color 0.2s; } .tab:hover { color: #999; } .tab.active { color: var(--orange); border-bottom-color: var(--orange); } .code-view, .html-view { background: var(--code-bg); padding: 20px; font-family: 'Roboto Mono', 'Monaco', monospace; font-size: 13px; line-height: 1.6; color: #abb2bf; overflow-x: auto; display: none; } .code-view.active, .html-view.active { display: block; } /* Syntax Highlighting */ .kwd { color: #c678dd; } .str { color: #98c379; } .fun { color: #61afef; } .num { color: #d19a66; } .tag { color: #e06c75; } .attr { color: #d19a66; } .val { color: #98c379; } .punc { color: #abb2bf; } .com { color: #5c6370; font-style: italic; } .demo-visual { padding: 30px; background: #1a1a1a; border-top: 1px solid var(--border-color); min-height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 20px; } .action-bar { padding: 15px 30px; display: flex; justify-content: flex-end; border-top: 1px solid var(--border-color); } .play-btn { background: transparent; border: 1px solid #444; color: #fff; padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; } .play-btn:hover { border-color: var(--orange); color: var(--orange); }