169 lines
4.4 KiB
CSS
169 lines
4.4 KiB
CSS
/* ======================================================
|
|
Card Back — shared FILES-TCG back face
|
|
Neutral steel chassis + four-type (V/B/G/P) emblem.
|
|
====================================================== */
|
|
|
|
.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;
|
|
}
|
|
|
|
/* ----- 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);
|
|
}
|
|
|
|
/* ----- Chassis shell ----- */
|
|
.back {
|
|
position: absolute;
|
|
inset: 20px;
|
|
box-sizing: border-box;
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
background: radial-gradient(120% 90% at 50% 50%, #1a2029 0%, #0d1117 55%, #05070a 100%);
|
|
border: 3px solid #2a2f38;
|
|
box-shadow:
|
|
inset 0 0 80px rgba(0,0,0,0.7),
|
|
0 0 0 2px rgba(0,0,0,0.6),
|
|
0 10px 24px rgba(0,0,0,0.6);
|
|
}
|
|
|
|
/* Circuit grid + diagonal traces */
|
|
.grid {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
background-image:
|
|
linear-gradient(rgba(120,160,200,0.06) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(120,160,200,0.06) 1px, transparent 1px),
|
|
repeating-linear-gradient(45deg, rgba(120,160,200,0.04) 0 2px, transparent 2px 38px);
|
|
background-size: 44px 44px, 44px 44px, auto;
|
|
}
|
|
|
|
/* ----- Corner nodes (type-colored vias) ----- */
|
|
.node {
|
|
position: absolute;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
border: 3px solid #05070a;
|
|
}
|
|
.node.tl { top: 34px; left: 34px; background: #3fb950; box-shadow: 0 0 14px #3fb950; } /* V */
|
|
.node.tr { top: 34px; right: 34px; background: #ff5c5c; box-shadow: 0 0 14px #ff5c5c; } /* B */
|
|
.node.bl { bottom: 34px; left: 34px; background: #d264ff; box-shadow: 0 0 14px #d264ff; } /* G */
|
|
.node.br { bottom: 34px; right: 34px; background: #4aa3ff; box-shadow: 0 0 14px #4aa3ff; } /* P */
|
|
|
|
/* ----- Inner double frame ----- */
|
|
.frame {
|
|
position: absolute;
|
|
inset: 60px;
|
|
border: 2px solid #39414d;
|
|
border-radius: 12px;
|
|
box-shadow: inset 0 0 0 6px rgba(255,255,255,0.02), inset 0 0 40px rgba(0,0,0,0.5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 30px 0;
|
|
}
|
|
.edge-label {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
letter-spacing: 10px;
|
|
text-indent: 10px;
|
|
color: #4d5866;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* ----- Center crest ----- */
|
|
.crest {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 34px;
|
|
}
|
|
.emblem-wrap {
|
|
position: relative;
|
|
width: 320px;
|
|
height: 320px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
/* Rotated square split into four type-colored quadrants */
|
|
.emblem {
|
|
position: absolute;
|
|
inset: 0;
|
|
transform: rotate(45deg);
|
|
border-radius: 34px;
|
|
background: conic-gradient(
|
|
#3fb950 0deg 90deg, /* V — green */
|
|
#4aa3ff 90deg 180deg, /* P — blue */
|
|
#d264ff 180deg 270deg, /* G — purple */
|
|
#ff5c5c 270deg 360deg /* B — red */
|
|
);
|
|
border: 5px solid #05070a;
|
|
box-shadow:
|
|
0 0 50px rgba(80,140,200,0.35),
|
|
inset 0 0 0 4px rgba(0,0,0,0.35);
|
|
}
|
|
/* Dark chip core */
|
|
.emblem::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 96px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle at 42% 38%, #1c232c 0%, #090c11 70%);
|
|
border: 5px solid #05070a;
|
|
box-shadow: inset 0 0 26px rgba(0,0,0,0.85), 0 0 12px rgba(0,0,0,0.6);
|
|
}
|
|
.glyph {
|
|
position: relative;
|
|
z-index: 2;
|
|
font-size: 92px;
|
|
font-weight: 800;
|
|
color: #e8f0f7;
|
|
text-shadow: 0 0 18px rgba(150,200,255,0.5), 0 3px 6px #000;
|
|
letter-spacing: -4px;
|
|
}
|
|
|
|
/* ----- Wordmark ----- */
|
|
.wordmark {
|
|
font-size: 76px;
|
|
font-weight: 800;
|
|
letter-spacing: 4px;
|
|
color: #eaf1f8;
|
|
text-shadow: 0 2px 6px #000;
|
|
}
|
|
.wordmark .dot { color: #6c7a8a; margin: 0 6px; }
|
|
.tagline {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: 8px;
|
|
text-indent: 8px;
|
|
color: #5a6675;
|
|
text-transform: uppercase;
|
|
margin-top: 64px;
|
|
}
|