CSS
/* ─── 09 Tailwind Neon Config — theme.extend showcase ──────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fira+Code:wght@400;500&display=swap');
.nn-twl {
position: relative;
width: 100%;
min-height: 780px;
background: #06060f;
font-family: 'Inter', sans-serif;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 16px;
overflow: hidden;
box-sizing: border-box;
}
.nn-twl *,
.nn-twl *::before,
.nn-twl *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Cyan grid backdrop */
.nn-twl::before {
content: '';
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(0,219,222,0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(0,219,222,0.04) 1px, transparent 1px);
background-size: 44px 44px;
pointer-events: none;
z-index: 0;
}
.nn-twl .stage {
position: relative;
z-index: 1;
width: 100%;
max-width: 760px;
padding: 40px;
display: flex;
flex-direction: column;
gap: 40px;
}
/* Buttons */
.nn-twl .btn-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.nn-twl .twl-btn {
padding: 12px 28px;
background: transparent;
font-family: 'Inter', sans-serif;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
border: 1px solid;
cursor: pointer;
transition: all 0.3s ease;
}
.nn-twl .twl-btn.cyan {
color: #00dbde;
border-color: #00dbde;
text-shadow: 0 0 4px #fff, 0 0 10px #00dbde, 0 0 22px #00dbde, 0 0 44px rgba(0,219,222,0.7);
box-shadow: 0 0 5px #fff, 0 0 12px #00dbde, 0 0 28px #00dbde, 0 0 56px rgba(0,219,222,0.5);
}
.nn-twl .twl-btn.cyan:hover { background: rgba(0,219,222,0.1); box-shadow: 0 0 28px #00dbde, 0 0 70px rgba(0,219,222,0.4); }
.nn-twl .twl-btn.pink {
color: #fc00ff;
border-color: #fc00ff;
text-shadow: 0 0 4px #fff, 0 0 10px #fc00ff, 0 0 22px #fc00ff, 0 0 44px rgba(252,0,255,0.7);
box-shadow: 0 0 5px #fff, 0 0 12px #fc00ff, 0 0 28px #fc00ff, 0 0 56px rgba(252,0,255,0.5);
}
.nn-twl .twl-btn.pink:hover { background: rgba(252,0,255,0.1); box-shadow: 0 0 28px #fc00ff, 0 0 70px rgba(252,0,255,0.4); }
.nn-twl .twl-btn.amber {
color: #ffb300;
border-color: #ffb300;
text-shadow: 0 0 4px #fff, 0 0 10px #ffb300, 0 0 22px #ffb300, 0 0 44px rgba(255,179,0,0.7);
box-shadow: 0 0 5px #fff, 0 0 12px #ffb300, 0 0 28px #ffb300, 0 0 56px rgba(255,179,0,0.5);
}
.nn-twl .twl-btn.amber:hover { background: rgba(255,179,0,0.1); }
.nn-twl .twl-btn.green {
color: #00ff94;
border-color: #00ff94;
text-shadow: 0 0 4px #fff, 0 0 10px #00ff94, 0 0 22px #00ff94, 0 0 44px rgba(0,255,148,0.7);
box-shadow: 0 0 5px #fff, 0 0 12px #00ff94, 0 0 28px #00ff94, 0 0 56px rgba(0,255,148,0.5);
}
.nn-twl .twl-btn.green:hover { background: rgba(0,255,148,0.1); }
/* Cards */
.nn-twl .card-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.nn-twl .twl-card {
background: #0a0a1e;
padding: 20px;
display: flex;
flex-direction: column;
gap: 12px;
border: 1px solid;
}
.nn-twl .twl-card.cyan { border-color: rgba(0,219,222,0.2); box-shadow: 0 0 5px #fff, 0 0 12px #00dbde, 0 0 28px #00dbde, 0 0 56px rgba(0,219,222,0.5), inset 0 0 14px rgba(0,219,222,0.25); }
.nn-twl .twl-card.pink { border-color: rgba(252,0,255,0.2); box-shadow: 0 0 5px #fff, 0 0 12px #fc00ff, 0 0 28px #fc00ff, 0 0 56px rgba(252,0,255,0.5), inset 0 0 14px rgba(252,0,255,0.25); }
.nn-twl .twl-card.violet { border-color: rgba(139,0,255,0.2); box-shadow: 0 0 5px #fff, 0 0 12px #8b00ff, 0 0 28px #8b00ff, 0 0 56px rgba(139,0,255,0.5); }
.nn-twl .twl-card .card-title {
font-size: 13px;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
}
.nn-twl .twl-card.cyan .card-title { color: #00dbde; text-shadow: 0 0 4px #fff, 0 0 10px #00dbde, 0 0 22px #00dbde; }
.nn-twl .twl-card.pink .card-title { color: #fc00ff; text-shadow: 0 0 4px #fff, 0 0 10px #fc00ff, 0 0 22px #fc00ff; }
.nn-twl .twl-card.violet .card-title { color: #8b00ff; text-shadow: 0 0 4px #fff, 0 0 10px #8b00ff, 0 0 22px #8b00ff; }
.nn-twl .twl-card .card-body {
font-size: 12px;
line-height: 1.55;
color: rgba(255,255,255,0.5);
}
.nn-twl .twl-card .card-body code {
font-family: 'Fira Code', ui-monospace, monospace;
font-size: 11px;
}
.nn-twl .twl-card.cyan .card-body code { color: #00dbde; }
.nn-twl .twl-card.pink .card-body code { color: #fc00ff; }
.nn-twl .twl-card.violet .card-body code { color: #8b00ff; }
.nn-twl .twl-card .card-rule { height: 1px; }
.nn-twl .twl-card.cyan .card-rule { background: linear-gradient(90deg, transparent, rgba(0,219,222,0.4), transparent); }
.nn-twl .twl-card.pink .card-rule { background: linear-gradient(90deg, transparent, rgba(252,0,255,0.4), transparent); }
.nn-twl .twl-card.violet .card-rule { background: linear-gradient(90deg, transparent, rgba(139,0,255,0.4), transparent); }
.nn-twl .twl-card .card-code {
font-family: 'Fira Code', ui-monospace, monospace;
font-size: 10px;
line-height: 1.6;
color: rgba(255,255,255,0.25);
}
/* Config block */
.nn-twl .config-block {
position: relative;
background: #080818;
border: 1px solid rgba(255,255,255,0.07);
padding: 24px;
overflow: hidden;
}
.nn-twl .config-top,
.nn-twl .config-bottom {
position: absolute;
left: 0;
right: 0;
height: 1px;
}
.nn-twl .config-top { top: 0; background: linear-gradient(90deg, transparent, rgba(0,219,222,0.5), transparent); }
.nn-twl .config-bottom { bottom: 0; background: linear-gradient(90deg, transparent, rgba(252,0,255,0.5), transparent); }
.nn-twl .config-label {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.2em;
text-transform: uppercase;
color: rgba(0,219,222,0.6);
margin-bottom: 16px;
}
.nn-twl .config-pre {
font-family: 'Fira Code', ui-monospace, monospace;
font-size: 11px;
line-height: 1.8;
color: rgba(255,255,255,0.7);
overflow-x: auto;
white-space: pre;
}
.nn-twl .tw-mute { color: rgba(255,255,255,0.3); }
.nn-twl .tw-key { color: rgba(0,219,222,0.8); }
.nn-twl .tw-name { color: rgba(252,0,255,0.8); }
.nn-twl .tw-val { color: rgba(255,179,0,0.7); }
@media (max-width: 720px) {
.nn-twl .card-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
.nn-twl .twl-btn { transition: none !important; }
}