/* ─────────────────────────────────────────────────────────────
   jaydensJamminEmojiOriginalStyles.css
   TNT | JaydenJamminEmoji2026-09-18 | Original Sketch Showcase
   Dark navy + gold + blue: emoji face glows, headphones shine.
──────────────────────────────────────────────────────────────── */

:root {
    --jj-gold:    #ffd700;   /* emoji face tone — primary accent */
    --jj-gold-dk: #c9a800;   /* darker hover */
    --jj-blue:    #0078ff;   /* headphone blue — secondary accent */
    --jj-blue-lt: #4da3ff;   /* lighter blue for glow */
    --jj-dark:    #07080f;   /* near-black body */
    --jj-navy:    #090c20;   /* section dark */
    --jj-mid:     #0d1038;   /* intermediate */

    /* Greenbar paper */
    --gb-row-a:     #e8f4e8;
    --gb-row-b:     #d4ead4;
    --gb-num-color: #6aaa6a;
    --gb-border:    #a8d4a8;

    /* JS syntax */
    --js-keyword:   #0055cc;
    --js-comment:   #6a737d;
    --js-string:    #006400;
}

body { background: var(--jj-dark); color: #e8e8f0; }

/* ── Spark / mini-nav bar ─────────────────────────────────── */
.spark-bar {
    background: var(--jj-navy);
    padding: 0.52rem 1.2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    border-bottom: 2px solid var(--jj-blue);
    font-size: 0.88rem;
}
.spark-links { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.spark-links a { color: var(--jj-gold); font-weight: 700; text-decoration: none; }
.spark-links a:hover { color: #fff; text-decoration: underline; }
.spark-bar > span { color: rgba(255,255,255,0.35); font-size: 0.80rem; margin-left: auto; }

/* ── Hero — CSS-only music/stage theme ────────────────────── */
#hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 55% at 15% 55%, rgba(0, 120, 255, 0.30) 0%, transparent 65%),
        radial-gradient(ellipse 80% 55% at 85% 55%, rgba(0, 120, 255, 0.22) 0%, transparent 65%),
        radial-gradient(ellipse 55% 70% at 50% 108%, rgba(255, 215, 0, 0.24) 0%, transparent 55%),
        linear-gradient(170deg, #040608 0%, #060f2a 55%, #040608 100%);
    background-color: var(--jj-dark);
    min-height: 34vh;
    display: flex;
    align-items: center;
    padding: 4rem 1rem 3rem;
    color: #fff;
    text-align: center;
}

/* Subtle vertical equalizer-bar grid texture */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to right,
        transparent 0px,
        transparent 9px,
        rgba(0, 120, 255, 0.038) 9px,
        rgba(0, 120, 255, 0.038) 10px
    );
    pointer-events: none;
    z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.50);
    display: block;
    margin-bottom: 0.65rem;
}

.hero-title {
    font-family: 'Boogaloo', cursive;
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 0.75rem;
    color: var(--jj-gold);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: rgba(255,255,255,0.70);
    line-height: 1.68;
    max-width: 640px;
    margin: 0 auto;
}

.hero-subtitle code {
    background: rgba(255,255,255,0.08);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.90em;
}

/* ── Main section ─────────────────────────────────────────── */
#mainSection {
    background: var(--jj-dark);
    padding: 3rem 0 3.5rem;
}

/* ── Intro card ───────────────────────────────────────────── */
.intro-card {
    background: var(--jj-navy);
    border: 1px solid rgba(0, 120, 255, 0.22);
    border-top: 4px solid var(--jj-blue);
    border-radius: 12px;
    padding: 1.6rem 2rem;
    margin-bottom: 2rem;
}

.intro-card h2 {
    font-family: 'Boogaloo', cursive;
    font-size: clamp(1.4rem, 3.5vw, 1.9rem);
    color: var(--jj-gold);
    margin-bottom: 0.4rem;
}

.intro-card p {
    font-size: 0.93rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 0.6rem;
}

.intro-card code {
    background: rgba(255,255,255,0.10);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.88em;
    color: var(--jj-blue-lt);
}

.stage-badge {
    display: inline-block;
    background: var(--jj-blue);
    color: #fff;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.65rem;
}

.jayden-note {
    background: rgba(0, 120, 255, 0.08);
    border-left: 3px solid var(--jj-blue);
    border-radius: 0 8px 8px 0;
    padding: 0.65rem 1rem;
    margin: 0.75rem 0 0;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
}

.jayden-note strong { color: var(--jj-gold); }
.jayden-note code {
    background: rgba(255,255,255,0.10);
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.88em;
    color: var(--jj-blue-lt);
}

/* ── Showcase card ────────────────────────────────────────── */
.showcase-card {
    background: #0c0e22;
    border: 1px solid rgba(0, 120, 255, 0.18);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 2rem;
}

/* ── Code terminal header ─────────────────────────────────── */
.code-terminal-header {
    background: #1e1e2e;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.terminal-dots { display: flex; gap: 0.4rem; align-items: center; }
.td { width: 12px; height: 12px; border-radius: 50%; }
.td-red    { background: #ff5f57; }
.td-yellow { background: #febc2e; }
.td-green  { background: #28c840; }

.terminal-filename {
    font-family: 'Source Code Pro', monospace;
    font-size: 0.80rem;
    color: rgba(255,255,255,0.65);
    flex: 1;
}

.terminal-tag {
    font-size: 0.70rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
}

/* ── Greenbar code paper ──────────────────────────────────── */
.code-paper {
    background: var(--gb-row-a);
    border-right: 1px solid var(--gb-border);
    overflow-x: auto;
    max-height: 520px;
    overflow-y: auto;
    height: 100%;
    min-height: 300px;
}

.code-paper ol {
    margin: 0;
    padding: 0;
    list-style-type: decimal;
    padding-left: 3.2rem;
    counter-reset: line;
    font-family: 'Source Code Pro', 'Courier New', monospace;
    font-size: 0.78rem;
    line-height: 1.62;
}

.code-paper ol li {
    padding: 0 0.75rem 0 0.4rem;
    white-space: pre;
    position: relative;
}

.code-paper ol li:nth-child(6n+1),
.code-paper ol li:nth-child(6n+2),
.code-paper ol li:nth-child(6n+3) { background: var(--gb-row-a); }

.code-paper ol li:nth-child(6n+4),
.code-paper ol li:nth-child(6n+5),
.code-paper ol li:nth-child(6n+6) { background: var(--gb-row-b); }

.code-paper ol li::marker {
    color: var(--gb-num-color);
    font-size: 0.70rem;
}

.code-paper ol li code {
    font-family: inherit;
    font-size: inherit;
    background: none;
    padding: 0;
    color: #1a2e12;
    white-space: pre;
}

/* JS syntax highlights */
.js-keyword { color: var(--js-keyword); font-weight: 600; }
.js-comment { color: var(--js-comment); font-style: italic; }
.js-string  { color: var(--js-string); }

/* ── Live canvas panel ────────────────────────────────────── */
.canvas-panel {
    background: #0c0e22;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    min-height: 300px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

@media (min-width: 992px) {
    .canvas-panel {
        border-top: none;
        border-left: 1px solid rgba(255,255,255,0.07);
        height: 100%;
        min-height: 520px;
    }
}

.canvas-label {
    font-size: 0.70rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

#jaydensCanvas {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

#jaydensCanvas canvas {
    display: block;
    border-radius: 8px;
    max-width: 100%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}

.canvas-caption {
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
    text-align: center;
    line-height: 1.55;
}

.canvas-caption code {
    background: rgba(255,255,255,0.08);
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.88em;
}

/* ── Attribution strip ────────────────────────────────────── */
.attr-strip {
    background: #080a18;
    padding: 0.55rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.attr-name { color: var(--jj-gold); font-weight: 700; }

/* ── What's Next card ─────────────────────────────────────── */
.next-card {
    background: var(--jj-navy);
    border: 1px solid rgba(0, 120, 255, 0.22);
    border-radius: 12px;
    padding: 1.4rem 1.75rem;
}

.next-card h3 {
    font-family: 'Boogaloo', cursive;
    font-size: 1.35rem;
    color: var(--jj-gold);
    margin-bottom: 0.5rem;
}

.next-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.72;
    margin-bottom: 0;
}

.next-card code {
    background: rgba(255,255,255,0.10);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.88em;
    color: var(--jj-blue-lt);
}

/* ── Copy button ──────────────────────────────────────────── */
.copy-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.55);
    border-radius: 5px;
    padding: 0.18rem 0.65rem;
    font-size: 0.70rem;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.16);
    color: #fff;
    border-color: rgba(255,255,255,0.45);
}
