@font-face { font-family: "Pacifico"; src: url(fonts/Pacifico.ttf); }
@font-face { font-family: "Poppins"; font-weight: 800; src: url(fonts/Poppins-ExtraBold.ttf); }
@font-face { font-family: "Poppins"; font-weight: 500; src: url(fonts/Poppins-Medium.ttf); }

:root { --bar: #101119; --line: #2A2D40; --text: #E9E9F2; --muted: #8C8FA8; --orange: #D85A30; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bar); color: var(--text); font-family: "Poppins", system-ui, sans-serif; font-weight: 500; }

.hbar { height: 56px; display: flex; align-items: center; padding: 0 28px; border-bottom: 1px solid var(--line); }
.logo { font-family: "Pacifico", cursive; font-size: 24px; color: #fff; }

.hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px 64px 34px; max-width: 1440px; margin: 0 auto; }
.hero h1 { font-family: "Pacifico", cursive; font-weight: 400; font-size: 64px; line-height: 1.1; margin: 0; color: #fff; }
.hero h2 { font-weight: 800; font-size: 28px; margin: 10px 0 14px; color: #fff; }
.hero p { margin: 0; font-size: 17px; line-height: 1.6; color: #C9CBE0; }
.spark { font-size: .9em; }
.heroCta { text-align: center; flex: none; }
.startBtn { display: inline-block; background: var(--orange); color: #fff; text-decoration: none; font-weight: 800; font-size: 22px;
  padding: 18px 34px; border-radius: 14px; transition: transform .12s ease, box-shadow .12s ease; }
.startBtn:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(216,90,48,.45); }
.startBtn:active { transform: translateY(1px); box-shadow: none; }
.fine { margin-top: 12px; font-size: 13px; color: var(--muted); }

.showcase { display: grid; grid-template-columns: 1fr 1.15fr 1.1fr; gap: 0; margin: 0 auto 40px; max-width: 1380px;
  border: 1px solid #2E3148; border-radius: 16px; overflow: hidden; height: 560px; }
.pane { display: flex; flex-direction: column; min-width: 0; }
.paneHead { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; font-size: 13px; color: var(--muted);
  border-bottom: 1px solid #2A2D40; flex: none; }

.chat { background: #F7F5F0; }
.chat .paneHead { background: #EFECE4; color: #5C5A55; border-bottom-color: #E2DED4; }
.msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.msg.cl { background: #fff; color: #2A2925; border: 1px solid #E6E2D8; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.us { background: #FF6B1A; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chatInput { margin: 0 14px 14px; padding: 12px 14px; background: #fff; border: 1px solid #E2DED4; border-radius: 12px; font-size: 13px; color: #A09C92;
  display: flex; justify-content: space-between; align-items: center; }
.chatInput .send { background: #D85A30; color: #fff; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; }

.blocks { background: #1B1D2A; border-left: 1px solid #2A2D40; border-right: 1px solid #2A2D40;
  background-image: radial-gradient(#2A2D45 1.2px, transparent 1.2px); background-size: 24px 24px; }
.blocks .paneHead { background: #1B1D2A; }
#blockArt { flex: 1; width: 100%; padding: 10px 6px; }

.code { background: #15161A; }
.dots { display: inline-flex; gap: 6px; margin-right: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; } .dots i:nth-child(3) { background: #28C840; }
#homeCode { flex: 1; margin: 0; padding: 12px 0; overflow: hidden; font: 12.5px/1.55 "SF Mono", Menlo, Consolas, monospace; color: #D7D9E0; counter-reset: ln; }
#homeCode .ln { display: block; white-space: pre; }
#homeCode .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 34px; margin-right: 12px; text-align: right; color: #4A4D5C; }
.k { color: #FF7AB6; } .f { color: #7CC8FF; } .s { color: #A8E07A; } .n { color: #FFC66D; } .c { color: #6E7390; font-style: italic; } .b { color: #C6A8FF; }

body { cursor: pointer; }
