*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --green: #0ae448; --black: #0e100f; --white: #fffce1; --lt: #abff84; --grey: #191919; --s75: #bbbaa6; --s50: #7c7c6f; --s25: #42433d; --grad-macha: linear-gradient(114.41deg, #0ae448 20.74%, #abff84 65.5%); --grad-orange: linear-gradient(111.45deg, #ff8709 19.42%, #f7bdf8 73.08%); } body { font-family: Mori, sans-serif; background: var(--black); color: var(--s75); min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 40px 16px; } .header { text-align: center; max-width: 520px; } .header h1 { color: var(--white); font-weight: 400; font-size: clamp(1.2rem, 3vw, 1.7rem); } .header p { color: var(--s50); margin-top: 5px; max-width: 48ch; margin-inline: auto; } code { font-family: Fraktion Mono, monospace; font-size: 0.78em; background: var(--grey); color: var(--white); padding: 2px 5px; border-radius: 4px; } .demo-area { display: flex; gap: 4rem; flex-wrap: wrap; justify-content: center; align-items: flex-start; } .demo-col { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 40%; position: relative; } .demo-label { font-family: Fraktion Mono, monospace; font-size: 0.68rem; color: var(--s50); text-align: center; } .demo-label b { color: var(--white); font-weight: 400; } .code-peek { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--s25); background: var(--grey); color: var(--s50); font-family: Fraktion Mono, monospace; font-size: 0.7rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; margin-top: 4px; } .code-peek:hover { border-color: var(--green); color: var(--green); } .modal-overlay { position: fixed; inset: 0; background: rgba(14, 16, 15, 0.8); z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; } .modal-overlay.open { display: flex; } .modal { background: var(--grey); border: 1px solid var(--s25); border-radius: 12px; padding: 20px; max-width: 800px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative; display: flex; justify-content: center; } .modal-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 6px; background: transparent; color: var(--s50); cursor: pointer; font-family: Fraktion Mono, monospace; font-size: 1.2rem; display: flex; align-items: center; justify-content: flex-start; border: none; } .modal-close:hover { border-color: var(--green); color: var(--green); } .modal pre { margin: 0; } .modal code[class*="language-"] { font-size: 0.7rem; line-height: 1; } code[class*="language-"], pre[class*="language-"] { max-width: none; } .mag-zone { width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px dashed var(--s25); position: relative; cursor: pointer; } .mag-btn { position: relative; display: flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: 99px; border: none; cursor: pointer; font-family: Mori, sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--black); overflow: hidden; will-change: transform; } .mag-btn .bg { position: absolute; inset: 0; border-radius: 99px; z-index: 0; } .mag-btn .label { position: relative; z-index: 1; pointer-events: none; } .mag-btn.macha .bg { background: var(--grad-macha); } .mag-btn.orange .bg { background: var(--grad-orange); } .mag-btn.summer .bg { background: var(--gradient-summer-fair); } .mag-btn.danger .bg { background: var(--gradient-lipstick); } .code-box { width: 100%; max-width: 520px; background: var(--grey); border: 1px solid var(--s25); border-radius: 8px; padding: 12px 16px; overflow-x: auto; } .code-box pre { margin: 0; } .code-box code { font-size: 0.8rem; white-space: pre; background: none; padding: 0; border-radius: 0; } .details { width: 100%; max-width: 520px; } .details p { font-family: Fraktion Mono, monospace; font-size: 0.62rem; color: var(--s50); line-height: 1.4; margin-top: 4px; }