files-tcg/decks/files-deck-1/copy-of-server-front.css
2026-09-28 21:40:48 -04:00

250 lines
6.3 KiB
CSS

/* ======================================================
Server card — full-bleed cyber HUD node
Matches the Avatar frame: full-bleed art, neon HUD, corner
badges. Server identity = green accent + rack-glyph badge.
====================================================== */
.card {
position: relative;
width: 750px;
height: 1050px;
box-sizing: border-box;
padding: 0;
overflow: hidden;
font-family: "Consolas", "Courier New", monospace;
background: #060a0f;
--accent: #39d353;
--accent-dk: #157f31;
--chamfer: 22px;
}
/* ----- Full-bleed art ----- */
.art {
position: absolute;
inset: 0;
z-index: 0;
image-rendering: pixelated;
background-color: #ffffff;
background-image: url({{index assets card.image}});
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
/* 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.78) 72%, rgba(3,6,9,0.96) 100%);
opacity: 0.9;
}
/* ----- Angular neon HUD frame (open chamfered corners) ----- */
.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);
}
.tick {
position: absolute;
z-index: 41;
width: 30px;
height: 3px;
background: var(--accent);
box-shadow: 0 0 8px var(--accent);
}
.tick.tl { top: 27px; left: 5px; transform: rotate(45deg); }
.tick.tr { top: 27px; right: 5px; transform: rotate(-45deg); }
/* ----- Top-left: server-rack badge ----- */
.rack-badge {
position: absolute;
z-index: 5;
top: 28px;
left: 28px;
width: 116px;
height: 116px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 9px;
border-radius: 12px;
background: linear-gradient(160deg, #2a2f36 0%, #14181d 100%);
border: 2px solid var(--accent-dk);
box-shadow: 0 0 16px var(--accent), inset 0 0 10px rgba(0,0,0,0.75), 0 3px 6px rgba(0,0,0,0.6);
}
.rack-badge .u {
width: 80px;
height: 20px;
border-radius: 3px;
display: flex;
align-items: center;
justify-content: flex-end;
padding-right: 7px;
background: linear-gradient(180deg, #20242b 0%, #14171c 100%);
border: 1px solid #0a0b0e;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.rack-badge .u::after {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 6px var(--accent);
}
/* SRV glyph under the rack badge (mirrors avatar type glyph) */
.srvchip {
position: absolute;
z-index: 5;
top: 152px;
left: 40px;
width: 92px;
height: 46px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: 800;
letter-spacing: 3px;
color: #05070a;
clip-path: polygon(10% 0, 100% 0, 100% 78%, 90% 100%, 0 100%, 0 22%);
background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dk) 100%);
box-shadow: 0 0 14px var(--accent);
}
/* ----- Top-right: unit tab ----- */
.unit-tab {
position: absolute;
z-index: 5;
top: 34px;
right: 30px;
padding: 10px 22px 10px 30px;
font-size: 24px;
font-weight: 800;
letter-spacing: 4px;
color: #05070a;
clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dk) 100%);
box-shadow: 0 0 14px var(--accent);
}
/* status badge (mirrors avatar ports slot) */
.status {
position: absolute;
z-index: 5;
top: 34px;
left: 40px;
width: 140px;
height: 72px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
clip-path: polygon(10% 0, 100% 0, 100% 76%, 90% 100%, 0 100%, 0 24%);
background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dk) 100%);
box-shadow: 0 0 16px var(--accent);
}
.status::before {
content: "";
position: absolute;
inset: 3px;
clip-path: polygon(10% 0, 100% 0, 100% 76%, 90% 100%, 0 100%, 0 24%);
background: linear-gradient(160deg, #12181f 0%, #0a0e13 100%);
}
.status .leds { position: relative; z-index: 1; display: flex; gap: 12px; }
.status .led {
width: 14px;
height: 14px;
border-radius: 50%;
box-shadow: 0 0 8px currentColor, inset 0 0 3px rgba(0,0,0,0.4);
}
.status .led.green { background: #39d353; color: #39d353; }
.status .led.amber { background: #f0a92b; color: #f0a92b; }
.status i {
position: relative;
z-index: 1;
font-style: normal;
font-size: 15px;
font-weight: 800;
letter-spacing: 3px;
color: var(--accent);
}
/* ----- Edge micro-text ----- */
.vcode {
position: absolute;
z-index: 5;
left: 22px;
bottom: 300px;
writing-mode: vertical-rl;
transform: rotate(180deg);
font-size: 15px;
font-weight: 700;
letter-spacing: 3px;
color: rgba(230,240,235,0.55);
}
.vcredit {
position: absolute;
z-index: 5;
right: 22px;
top: 190px;
writing-mode: vertical-rl;
font-size: 15px;
font-weight: 700;
letter-spacing: 3px;
color: rgba(230,240,235,0.5);
}
/* ----- Lower content panel ----- */
.lower {
position: absolute;
z-index: 5;
left: 50px;
right: 30px;
bottom: 44px;
}
.name {
margin: 0 0 16px;
padding-bottom: 14px;
border-bottom: 2px solid var(--accent);
box-shadow: 0 2px 12px -6px var(--accent);
font-size: 44px;
font-weight: 800;
letter-spacing: 1px;
line-height: 1.04;
text-transform: uppercase;
color: #ffffff;
text-shadow: 0 0 16px rgba(0,0,0,0.9), 0 3px 6px #000;
}
.desc {
padding: 16px 18px;
min-height: 96px;
font-size: 23px;
line-height: 1.4;
color: #e8f6ec;
background: linear-gradient(180deg, rgba(4,9,7,0.86) 0%, rgba(4,9,7,0.92) 100%);
border-left: 3px solid var(--accent);
box-shadow: inset 0 0 26px rgba(0,0,0,0.5);
}
.desc .sys {
color: var(--accent);
font-weight: 800;
margin-right: 6px;
}