files-tcg/decks/files-deck-1/program-front-alt.css
2026-10-01 17:20:33 -04:00

251 lines
5.6 KiB
CSS

/* ======================================================
Program card — software / terminal-window
Accent color driven by Type (V/B/G/P), matching Anomalies.
====================================================== */
.card {
position: relative;
width: 750px;
height: 1050px;
box-sizing: border-box;
padding: 0;
overflow: hidden;
font-family: "Consolas", "Courier New", monospace;
background: #05070a;
--accent: #8b949e;
--accent-dk: #3a3f47;
--chamfer: 22px;
}
/* cinematic tint: accent top-corner light, cool counter-light, dark bottom for text */
.tint {
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
background:
radial-gradient(70% 45% at 100% 0%, var(--accent) 0%, transparent 55%),
radial-gradient(60% 40% at 0% 8%, rgba(40,150,255,0.22) 0%, transparent 60%),
linear-gradient(180deg, rgba(3,6,9,0.55) 0%, rgba(3,6,9,0) 22%, rgba(3,6,9,0) 40%, rgba(3,6,9,0.48) 82%, rgba(3,6,9,0.76) 100%);
opacity: 0.9;
}
/* ----- Neon HUD outline (shared across card types) ----- */
.neon {
position: absolute;
inset: 13px;
z-index: 40;
pointer-events: none;
border: 3px solid var(--accent);
clip-path: polygon(
var(--chamfer) 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer),
100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%,
var(--chamfer) 100%, 0 calc(100% - var(--chamfer)), 0 var(--chamfer)
);
box-shadow: 0 0 16px var(--accent), 0 0 6px var(--accent), inset 0 0 16px rgba(0,0,0,0.4);
}
/* Type-driven accent palette (shared with Anomaly cards) */
.type-v { --accent: #3fb950; --accent-dk: #176b2c; } /* Virus */
.type-b { --accent: #ff5c5c; --accent-dk: #a11a1a; } /* Bug */
.type-g { --accent: #d264ff; --accent-dk: #7a1fb0; } /* Glitch */
.type-p { --accent: #4aa3ff; --accent-dk: #0b57c9; } /* Patch */
/* ----- Application window shell ----- */
.app {
position: absolute;
inset: 20px;
box-sizing: border-box;
border-radius: 16px;
padding: 0 0 24px;
color: #e6edf3;
background: linear-gradient(180deg, #2b2f36 0%, #1c1f25 100%);
box-shadow:
inset 0 0 60px rgba(0,0,0,0.55),
0 0 0 2px rgba(0,0,0,0.6),
0 10px 24px rgba(0,0,0,0.6);
overflow: hidden;
}
/* ----- Window title bar ----- */
.titlebar {
position: relative;
display: flex;
align-items: center;
gap: 16px;
height: 82px;
padding: 0 20px;
z-index: 2;
}
.win-dots { display: flex; gap: 12px; flex: none; }
.win-dots i {
width: 20px;
height: 20px;
border-radius: 50%;
background: #2a2f36;
box-shadow: inset 0 0 3px rgba(0,0,0,0.7);
}
.win-dots i:first-child {
background: var(--accent);
box-shadow: 0 0 10px var(--accent), inset 0 0 3px rgba(0,0,0,0.4);
}
.app-name {
flex: 1;
font-size: 36px;
font-weight: 800;
letter-spacing: 1px;
text-transform: uppercase;
color: #f2f7fb;
text-shadow: 0 2px 4px #000;
line-height: 1.02;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.type-badge {
flex: none;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
font-size: 34px;
font-weight: 800;
color: #05070a;
background: var(--accent);
border: 3px solid #05070a;
box-shadow: 0 0 16px var(--accent);
}
/* ----- Toolbar: exec path + Bandwidth chip ----- */
.toolbar {
position: relative;
display: flex;
align-items: center;
gap: 16px;
margin: 22px 24px 0;
padding: 14px 18px;
border-radius: 10px;
background: rgba(0,0,0,0.35);
border: 2px solid var(--accent-dk);
z-index: 2;
}
.path {
flex: 1;
font-size: 24px;
font-weight: 700;
letter-spacing: 1px;
color: var(--accent);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.bandwidth-chip {
flex: none;
min-width: 96px;
height: 60px;
padding: 0 16px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
border-radius: 8px;
color: #fff;
background: #0a0f14;
border: 3px solid var(--accent);
box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
}
.bandwidth-value {
font-size: 40px;
font-weight: 800;
line-height: 1;
text-shadow: 0 2px 3px rgba(0,0,0,0.7);
}
.bandwidth-label {
font-size: 20px;
font-weight: 700;
letter-spacing: 2px;
color: var(--accent);
}
/* ----- Art viewport ----- */
.viewport {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
z-index: 0;
border-radius: 10px;
overflow: hidden;
background: #020405;
}
.art {
width: 100%;
height: 100%;
display: block;
image-rendering: pixelated;
background-color: #898989;
background-image: url({{index assets card.image}});
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
/* ----- Console output / description ----- */
.console {
position: relative;
margin: 550px 24px 0;
min-height: 200px;
padding: 16px 18px;
border-radius: 10px;
background: rgba(0,0,0,0.4);
border: 2px dashed var(--accent-dk);
z-index: 2;
}
.console .prompt {
color: var(--accent);
font-weight: 800;
font-size: 24px;
margin-right: 8px;
}
.description {
margin: 6px 0 0;
font-size: 23px;
line-height: 1.4;
color: #eef5fb;
}
/* ----- Status bar footer ----- */
.statusbar {
position: absolute;
left: 24px;
right: 24px;
bottom: 18px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 20px;
font-weight: 700;
letter-spacing: 2px;
color: #8a9099;
z-index: 2;
}
.statusbar .run {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--accent);
}
.statusbar .run::before {
content: "";
width: 14px;
height: 14px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 8px var(--accent);
}