game/2d/ui/survivaltutorial.razor.scss
.survival-tut-bg {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background-color: rgba(4, 1, 13, 0.85);
z-index: 99;
pointer-events: all;
}
.survival-tut-card {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 460px;
background-color: rgba(20, 8, 50, 0.98);
border: 2px solid rgba(251, 191, 36, 0.60);
border-radius: 20px;
padding: 40px 48px;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px; /* was 16px — a bit more breathing room between all children */
pointer-events: all;
z-index: 100;
}
.survival-tut-title {
font-size: 24px;
margin: 25px;
font-weight: 900;
color: rgba(251, 191, 36, 0.95);
letter-spacing: 0.05em;
text-align: center;
}
.tut-step-count {
font-size: 12px;
font-weight: 700;
color: rgba(255,255,255,0.40);
letter-spacing: 0.1em;
}
.survival-tut-close {
background-color: rgba(109, 40, 217, 0.50);
border: 1px solid rgba(167, 139, 250, 0.70);
border-radius: 12px;
color: white;
align-items: center;
justify-content: center;
font-size: 16px;
font-weight: 900;
padding: 14px 32px;
cursor: pointer;
pointer-events: all;
letter-spacing: 0.08em;
margin-top: 40px; /* was 8px — pushes button further from whatever's above it */
min-width: 220px;
flex-shrink: 0;
text-align: center;
white-space: nowrap;
}
.survival-tut-close:hover {
background-color: rgba(109, 40, 217, 0.70);
}
/* ── Body text ── */
.survival-tut-text {
font-size: 14px;
font-weight: 600;
color: rgba(220,210,255,0.75);
text-align: center;
line-height: 1.6; /* was 1.5 — slightly taller lines, easier to read */
margin-bottom: 8px; /* extra explicit space below the text block itself */
}
/* ── Mini grid demo (block-with-bomb tip) ── */
.survival-demo-grid {
display: flex;
flex-direction: column;
gap: 6px;
align-items: center;
margin: 16px 0 12px 0; /* was 12px 0 8px 0 — a bit more space above/below */
}
.survival-demo-row {
display: flex;
flex-direction: row;
gap: 6px;
}
.survival-demo-cell {
width: 48px;
height: 48px;
border-radius: 8px;
border: 2px solid rgba(255,255,255,0.08);
background-color: rgba(255,255,255,0.03);
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
transition: all 0.3s ease;
}
.survival-demo-cell.chest {
background-color: rgba(206,154,76,0.25);
border-color: rgba(206,165,76,0.55);
}
.survival-demo-cell.bomb {
background-color: rgba(109,40,217,0.35);
border-color: rgba(167,139,250,0.75);
}
.survival-demo-caption {
font-size: 11px;
font-weight: 700;
color: rgba(251,191,36,0.75);
text-align: center;
letter-spacing: 0.02em;
margin-bottom: 4px; /* small explicit gap before the button that follows */
}