Homepage (site/index.html): integration-v14 promoted, Writings section integrated with 33 pieces clustered by type (stories/essays/miscellany), Writings welcome lightbox, content frame at 98% opacity. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
555 lines
16 KiB
HTML
555 lines
16 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<!--
|
|
DRAFT: Starfield Bold v2
|
|
AUTHOR: Gemini (Designer Agent)
|
|
DATE: 2026-03-26
|
|
|
|
DESCRIPTION:
|
|
A "BOLDER" fusion of vaporwave, Mad Max, and rainforest aesthetics.
|
|
Nature has reclaimed the ruins, and the universe is pressing in.
|
|
|
|
NEW IN THIS VERSION:
|
|
- EXPANDED STAR PALETTE: Orchid, Fairy Pink, Toucan Gold, Mint Green, Coral, Waterfall Teal.
|
|
- BOLDER NEBULA WASHES: 5 layers (Orchid, Teal, Fairy Pink, Deep Purple, Amber) at 0.05 opacity.
|
|
- CRT GHOST: Static scanlines (0.04 opacity) and phosphor vignette. NOT animated.
|
|
- STAR BLOOM: Nodes grow from 8px to 18px on hover/focus via CSS width/height.
|
|
- LUSH SKYLINE: Bioluminescent moss (mint/orchid) and polychromatic window lights.
|
|
- BUMPED TEXT: 13px labels, 12px billboards, 16px lightbox body.
|
|
- CAMPFIRE LIGHTBOX: Double-border with orchid inner frame and phosphor-green cursor line.
|
|
|
|
HARD CONSTRAINTS:
|
|
- No transform animations on hover.
|
|
- Border-radius: 10px max.
|
|
- Box-shadow blur: 8px max.
|
|
- Transitions: 150ms ease.
|
|
- Font: Space Grotesk only.
|
|
-->
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Draft: Starfield Bold v2 - Gemini</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Emoji&family=Space+Grotesk:wght@300;400;500;600&display=swap" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
/* Core Void */
|
|
--bg-void: #04060b;
|
|
--bg-deep: #060a14;
|
|
--bg-warm: #0d1320;
|
|
|
|
/* The Campfire */
|
|
--fire-amber: #e8943a;
|
|
--fire-coral: #d4654a;
|
|
--paradise: #ff7f3f;
|
|
|
|
/* Prismatic/Fairy Palette */
|
|
--orchid: #c558d9;
|
|
--fairy-pink: #f472b6;
|
|
--toucan: #ffcf40;
|
|
--mint-glow: #86efac;
|
|
--neon-teal: #2ac4b3;
|
|
--waterfall: #3fbfaf;
|
|
--cosmic-purple:#4a1d6e;
|
|
|
|
/* CRT Ghost */
|
|
--phosphor: #00ff41;
|
|
|
|
/* Text */
|
|
--text-warm: #e8d5b8;
|
|
--text-muted: #6a7a8a;
|
|
|
|
/* Constraints */
|
|
--radius-std: 4px;
|
|
--radius-max: 10px;
|
|
--blur-std: 4px;
|
|
--blur-max: 8px;
|
|
}
|
|
|
|
*, *::before, *::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
|
|
background: var(--bg-void);
|
|
color: var(--text-warm);
|
|
overflow: hidden;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ── CRT Ghost Layers ── */
|
|
|
|
/* Static Scanlines (texture only) */
|
|
body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
background: repeating-linear-gradient(
|
|
0deg,
|
|
transparent,
|
|
transparent 2px,
|
|
rgba(0, 0, 0, 0.04) 2px,
|
|
rgba(0, 0, 0, 0.04) 4px
|
|
);
|
|
pointer-events: none;
|
|
z-index: 9999;
|
|
}
|
|
|
|
/* Phosphor Vignette */
|
|
body::after {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
background: radial-gradient(ellipse at center, transparent 60%, rgba(0, 0, 0, 0.35) 100%);
|
|
pointer-events: none;
|
|
z-index: 9998;
|
|
}
|
|
|
|
/* ── Zone 1: Star Map ── */
|
|
|
|
#star-zone {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
background: radial-gradient(circle at 50% 50%, #0a0e1a 0%, var(--bg-void) 100%);
|
|
}
|
|
|
|
#nebula-canvas, #star-canvas {
|
|
position: absolute;
|
|
top: 0; left: 0;
|
|
width: 100%; height: 100%;
|
|
}
|
|
|
|
#nebula-canvas { z-index: 0; }
|
|
#star-canvas { z-index: 1; }
|
|
|
|
#constellation-svg {
|
|
position: absolute;
|
|
top: 0; left: 0;
|
|
width: 100%; height: 100%;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.constellation-line {
|
|
stroke-width: 1.2;
|
|
stroke-linecap: round;
|
|
animation: line-pulse 8s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes line-pulse {
|
|
0%, 100% { stroke-opacity: 0.1; }
|
|
50% { stroke-opacity: 0.25; }
|
|
}
|
|
|
|
/* ── Star Nodes ── */
|
|
|
|
.star-node {
|
|
position: absolute;
|
|
z-index: 10;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
transform: translate(-50%, -50%);
|
|
outline: none;
|
|
border: none;
|
|
background: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.star-dot-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.star-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
transition: width 150ms ease, height 150ms ease, box-shadow 150ms ease, background 150ms ease;
|
|
box-shadow: 0 0 var(--blur-std) #fff;
|
|
}
|
|
|
|
.star-label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
letter-spacing: 0.05em;
|
|
text-transform: lowercase;
|
|
white-space: nowrap;
|
|
opacity: 0.6;
|
|
transition: opacity 150ms ease, color 150ms ease;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
/* Node Specificity */
|
|
.star-node[data-star="writings"] .star-dot { background: var(--orchid); box-shadow: 0 0 6px var(--orchid); }
|
|
.star-node[data-star="videos"] .star-dot { background: var(--fire-coral); box-shadow: 0 0 6px var(--fire-coral); }
|
|
.star-node[data-star="music"] .star-dot { background: var(--neon-teal); box-shadow: 0 0 6px var(--neon-teal); }
|
|
.star-node[data-star="images"] .star-dot { background: var(--mint-glow); box-shadow: 0 0 6px var(--mint-glow); }
|
|
.star-node[data-star="playlists"] .star-dot { background: var(--fairy-pink); box-shadow: 0 0 6px var(--fairy-pink); }
|
|
.star-node[data-star="watchlists"] .star-dot { background: var(--cosmic-purple); box-shadow: 0 0 6px var(--cosmic-purple); }
|
|
.star-node[data-star="toolsntoys"] .star-dot { background: var(--toucan); box-shadow: 0 0 6px var(--toucan); }
|
|
.star-node[data-star="creatorlists"] .star-dot { background: var(--waterfall); box-shadow: 0 0 6px var(--waterfall); }
|
|
|
|
/* Star Bloom (Hover/Focus) */
|
|
.star-node:hover .star-dot,
|
|
.star-node:focus .star-dot,
|
|
.star-node.current .star-dot {
|
|
width: 18px;
|
|
height: 18px;
|
|
background: var(--fire-amber) !important;
|
|
box-shadow: 0 0 var(--blur-max) var(--fire-amber) !important;
|
|
}
|
|
|
|
.star-node:hover .star-label,
|
|
.star-node:focus .star-label,
|
|
.star-node.current .star-label {
|
|
color: var(--text-warm);
|
|
opacity: 1;
|
|
}
|
|
|
|
/* ── Transition Zone: Skyline ── */
|
|
|
|
#transition-zone {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 70vh;
|
|
background: linear-gradient(to bottom, var(--bg-void) 0%, #080c14 40%, var(--bg-warm) 100%);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#skyline {
|
|
position: absolute;
|
|
bottom: 0; left: 0;
|
|
width: 100%;
|
|
height: 70%;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
}
|
|
|
|
.building {
|
|
background: #05080f;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
border-top: 1px solid rgba(232, 148, 58, 0.05);
|
|
}
|
|
|
|
/* Bioluminescent Moss & Highlights */
|
|
.building.bio-orchid::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 15%; left: 0;
|
|
width: 2px; height: 35%;
|
|
background: var(--orchid);
|
|
box-shadow: 0 0 6px var(--orchid);
|
|
opacity: 0.1;
|
|
}
|
|
|
|
.building.bio-mint::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 25%; right: 0;
|
|
width: 1px; height: 30%;
|
|
background: var(--mint-glow);
|
|
box-shadow: 0 0 6px var(--mint-glow);
|
|
opacity: 0.08;
|
|
}
|
|
|
|
.billboard-nav {
|
|
position: absolute;
|
|
top: -2px; left: 50%;
|
|
transform: translate(-50%, -100%);
|
|
padding: 4px 10px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
border: 1px solid;
|
|
background: rgba(4, 6, 11, 0.95);
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
transition: color 150ms ease, border-color 150ms ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.bb-teal { color: var(--neon-teal); border-color: rgba(42, 196, 179, 0.3); }
|
|
.bb-amber { color: var(--fire-amber); border-color: rgba(232, 148, 58, 0.3); }
|
|
.bb-orchid { color: var(--orchid); border-color: rgba(197, 88, 217, 0.3); }
|
|
.bb-pink { color: var(--fairy-pink); border-color: rgba(244, 114, 182, 0.3); }
|
|
.bb-mint { color: var(--mint-glow); border-color: rgba(134, 239, 172, 0.3); }
|
|
|
|
.billboard-nav:hover {
|
|
color: var(--fire-amber) !important;
|
|
border-color: var(--fire-amber) !important;
|
|
}
|
|
|
|
/* ── Lightbox: Campfire Note ── */
|
|
|
|
#lightbox-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.85);
|
|
z-index: 10000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#lightbox-overlay.hidden { display: none; }
|
|
|
|
#lightbox {
|
|
background: var(--bg-warm);
|
|
border: 1px solid var(--fire-amber);
|
|
border-top: 4px solid var(--phosphor); /* CRT Top Line */
|
|
border-radius: var(--radius-std);
|
|
padding: 40px;
|
|
max-width: 520px;
|
|
width: 90%;
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Orchid Inner Border (Fairy Magic) */
|
|
#lightbox::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 6px;
|
|
border: 1px solid rgba(197, 88, 217, 0.12);
|
|
pointer-events: none;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
#lightbox p {
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
color: var(--text-warm);
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.nav-hint {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 32px;
|
|
display: block;
|
|
}
|
|
|
|
#lightbox-enter {
|
|
padding: 10px 32px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--bg-void);
|
|
background: var(--fire-amber);
|
|
border: none;
|
|
border-radius: var(--radius-std);
|
|
cursor: pointer;
|
|
transition: opacity 150ms ease;
|
|
}
|
|
|
|
#lightbox-enter:hover { opacity: 0.9; }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="star-zone">
|
|
<canvas id="nebula-canvas"></canvas>
|
|
<canvas id="star-canvas"></canvas>
|
|
<svg id="constellation-svg" xmlns="http://www.w3.org/2000/svg"></svg>
|
|
</div>
|
|
|
|
<div id="transition-zone">
|
|
<div id="skyline"></div>
|
|
</div>
|
|
|
|
<div id="lightbox-overlay" class="hidden">
|
|
<div id="lightbox">
|
|
<p>Hello traveller, welcome to a singular, particular space. Feel free to explore this little pocket of the universe. It's an adventure, bring snacks. Happy wanderings, Myster Wizzard</p>
|
|
<span class="nav-hint">click stars · arrow keys · escape to return</span>
|
|
<button id="lightbox-enter">Enter</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
(function() {
|
|
'use strict';
|
|
|
|
const STARS = [
|
|
{ id: 'writings', label: 'Writings', x: 25, y: 18, color: '#c558d9' },
|
|
{ id: 'videos', label: 'Videos', x: 68, y: 15, color: '#d4654a' },
|
|
{ id: 'music', label: 'Music', x: 12, y: 42, color: '#2ac4b3' },
|
|
{ id: 'images', label: 'Images', x: 55, y: 35, color: '#86efac' },
|
|
{ id: 'playlists', label: 'Playlists', x: 78, y: 48, color: '#f472b6' },
|
|
{ id: 'watchlists', label: 'Watchlists', x: 22, y: 65, color: '#4a1d6e' },
|
|
{ id: 'toolsntoys', label: 'ToolsnToys', x: 50, y: 72, color: '#ffcf40' },
|
|
{ id: 'creatorlists', label: 'Creatorlists', x: 75, y: 70, color: '#3fbfaf' }
|
|
];
|
|
|
|
const nebulaCanvas = document.getElementById('nebula-canvas');
|
|
const starCanvas = document.getElementById('star-canvas');
|
|
const nCtx = nebulaCanvas.getContext('2d');
|
|
const sCtx = starCanvas.getContext('2d');
|
|
let bgStars = [];
|
|
|
|
function resize() {
|
|
nebulaCanvas.width = starCanvas.width = window.innerWidth;
|
|
nebulaCanvas.height = starCanvas.height = window.innerHeight;
|
|
drawNebulae();
|
|
initStars();
|
|
}
|
|
|
|
function drawNebulae() {
|
|
nCtx.clearRect(0, 0, nebulaCanvas.width, nebulaCanvas.height);
|
|
const washes = [
|
|
{ x: 0.2, y: 0.3, r: 0.5, color: 'rgba(197, 88, 217, 0.05)' }, // Orchid
|
|
{ x: 0.8, y: 0.2, r: 0.6, color: 'rgba(42, 196, 179, 0.05)' }, // Teal
|
|
{ x: 0.5, y: 0.7, r: 0.5, color: 'rgba(244, 114, 182, 0.05)' }, // Fairy Pink
|
|
{ x: 0.7, y: 0.8, r: 0.4, color: 'rgba(74, 29, 110, 0.06)' }, // Deep Purple
|
|
{ x: 0.3, y: 0.6, r: 0.5, color: 'rgba(232, 148, 58, 0.04)' } // Amber
|
|
];
|
|
|
|
washes.forEach(w => {
|
|
const grad = nCtx.createRadialGradient(
|
|
w.x * nebulaCanvas.width, w.y * nebulaCanvas.height, 0,
|
|
w.x * nebulaCanvas.width, w.y * nebulaCanvas.height, w.r * nebulaCanvas.width
|
|
);
|
|
grad.addColorStop(0, w.color);
|
|
grad.addColorStop(1, 'transparent');
|
|
nCtx.fillStyle = grad;
|
|
nCtx.fillRect(0, 0, nebulaCanvas.width, nebulaCanvas.height);
|
|
});
|
|
}
|
|
|
|
function initStars() {
|
|
bgStars = [];
|
|
const colorClasses = [
|
|
'rgba(200,210,230,', // Cool White
|
|
'rgba(240,220,190,', // Warm White
|
|
'rgba(140,180,230,', // Pale Blue
|
|
'rgba(255,207,64,', // Toucan Gold
|
|
'rgba(244,114,182,', // Fairy Pink
|
|
'rgba(197,88,217,', // Orchid Purple
|
|
'rgba(134,239,172,', // Mint Green
|
|
'rgba(212,101,74,' // Coral
|
|
];
|
|
|
|
for(let i=0; i<350; i++) {
|
|
const r = Math.random() < 0.1 ? Math.random() * 1.5 + 1.5 : Math.random() * 1.5 + 0.3;
|
|
bgStars.push({
|
|
x: Math.random() * starCanvas.width,
|
|
y: Math.random() * starCanvas.height,
|
|
r: r,
|
|
colorBase: colorClasses[Math.floor(Math.random()*colorClasses.length)],
|
|
opacity: Math.random() * 0.7 + 0.3,
|
|
speed: Math.random() * 0.8 + 0.2,
|
|
phase: Math.random() * Math.PI * 2
|
|
});
|
|
}
|
|
}
|
|
|
|
function draw(time) {
|
|
sCtx.clearRect(0, 0, starCanvas.width, starCanvas.height);
|
|
const t = time * 0.001;
|
|
bgStars.forEach(s => {
|
|
const a = s.opacity + Math.sin(t * s.speed + s.phase) * 0.2;
|
|
sCtx.beginPath();
|
|
sCtx.arc(s.x, s.y, s.r, 0, Math.PI*2);
|
|
sCtx.fillStyle = s.colorBase + Math.max(0.1, Math.min(1, a)) + ')';
|
|
sCtx.fill();
|
|
});
|
|
requestAnimationFrame(draw);
|
|
}
|
|
|
|
// Nodes & Lines
|
|
const starZone = document.getElementById('star-zone');
|
|
const svg = document.getElementById('constellation-svg');
|
|
|
|
STARS.forEach(s => {
|
|
const btn = document.createElement('button');
|
|
btn.className = 'star-node';
|
|
btn.dataset.star = s.id;
|
|
btn.style.left = s.x + '%';
|
|
btn.style.top = s.y + '%';
|
|
btn.innerHTML = `<div class="star-dot-container"><span class="star-dot"></span></div><span class="star-label">${s.label}</span>`;
|
|
starZone.appendChild(btn);
|
|
});
|
|
|
|
const lines = [['writings','videos'],['music','playlists'],['images','videos'],['watchlists','toolsntoys'],['toolsntoys','creatorlists'],['music','watchlists']];
|
|
lines.forEach(pair => {
|
|
const s1 = STARS.find(s => s.id === pair[0]);
|
|
const s2 = STARS.find(s => s.id === pair[1]);
|
|
const line = document.createElementNS('http://www.w3.org/2000/svg', 'line');
|
|
line.setAttribute('x1', s1.x + '%'); line.setAttribute('y1', s1.y + '%');
|
|
line.setAttribute('x2', s2.x + '%'); line.setAttribute('y2', s2.y + '%');
|
|
line.setAttribute('class', 'constellation-line');
|
|
line.setAttribute('stroke', s1.color);
|
|
line.setAttribute('stroke-opacity', '0.15');
|
|
svg.appendChild(line);
|
|
});
|
|
|
|
// Skyline
|
|
function initSkyline() {
|
|
const skyline = document.getElementById('skyline');
|
|
const bbColors = ['bb-teal', 'bb-amber', 'bb-orchid', 'bb-pink', 'bb-mint'];
|
|
const winColors = ['var(--fire-amber)', 'var(--neon-teal)', 'var(--orchid)', 'var(--fairy-pink)', 'var(--phosphor)'];
|
|
|
|
for(let i=0; i<40; i++) {
|
|
const b = document.createElement('div');
|
|
b.className = 'building';
|
|
const bio = Math.random();
|
|
if(bio > 0.85) b.classList.add('bio-orchid');
|
|
else if(bio > 0.75) b.classList.add('bio-mint');
|
|
|
|
const w = 20 + Math.random() * 60;
|
|
const h = 40 + Math.random() * 300;
|
|
b.style.width = w + 'px';
|
|
b.style.height = h + 'px';
|
|
b.style.marginRight = '2px';
|
|
|
|
if(h > 80) {
|
|
for(let j=0; j<Math.floor(h/30); j++) {
|
|
const win = document.createElement('div');
|
|
const wc = winColors[Math.floor(Math.random()*winColors.length)];
|
|
win.style.cssText = `position:absolute; width:2px; height:2px; background:${wc}; opacity:${Math.random()*0.3}; left:${Math.random()*w}px; top:${30+j*30}px;`;
|
|
b.appendChild(win);
|
|
}
|
|
}
|
|
|
|
if(Math.random() > 0.85) {
|
|
const bb = document.createElement('div');
|
|
bb.className = 'billboard-nav ' + bbColors[Math.floor(Math.random()*bbColors.length)];
|
|
bb.textContent = 'SIGNAL';
|
|
b.appendChild(bb);
|
|
}
|
|
skyline.appendChild(b);
|
|
}
|
|
}
|
|
|
|
// Lightbox
|
|
const overlay = document.getElementById('lightbox-overlay');
|
|
if(!localStorage.getItem('sp-welcomed')) overlay.classList.remove('hidden');
|
|
document.getElementById('lightbox-enter').onclick = () => {
|
|
overlay.classList.add('hidden');
|
|
localStorage.setItem('sp-welcomed', 'true');
|
|
};
|
|
|
|
window.onresize = resize;
|
|
resize();
|
|
initSkyline();
|
|
requestAnimationFrame(draw);
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|