This commit is contained in:
cay 2026-03-29 13:14:06 +01:00
parent d3e2421b19
commit 81020cd9f8

View File

@ -504,3 +504,132 @@
box-shadow: inset 0 1px 0 rgba(200,150,12,0.375), 0 0 30px rgba(200,150,12,0.2);
letter-spacing: 4px;
}
/* ================================
GAME NOTIFICATION
================================ */
#game-notification-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.65);
z-index: 9998;
}
#game-notification {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 9999;
width: 360px;
background:
repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(255,255,255,0.012) 2px,
rgba(255,255,255,0.012) 4px
),
linear-gradient(160deg, #2e1c07 0%, #1a0e04 40%, #221508 100%);
border: 2px solid #9a7a28;
border-radius: 6px;
overflow: visible;
box-shadow:
0 0 0 1px rgba(200,168,64,0.3),
0 0 40px rgba(200,150,12,0.15),
0 30px 80px rgba(0,0,0,0.7),
inset 0 0 60px rgba(0,0,0,0.27);
}
.notification-header {
background: linear-gradient(
90deg,
#0a0602 0%,
#3d2510 20%,
#4a2e12 50%,
#3d2510 80%,
#0a0602 100%
);
border-bottom: 2px solid #9a7a28;
padding: 0 18px;
height: 44px;
display: flex;
align-items: center;
gap: 10px;
position: relative;
}
.notification-header::after {
content: '';
position: absolute;
bottom: -5px;
left: 5%;
right: 5%;
height: 3px;
background: linear-gradient(
90deg,
transparent,
rgba(200,150,12,0.67),
rgba(240,208,96,0.6),
rgba(200,150,12,0.67),
transparent
);
filter: blur(1px);
pointer-events: none;
}
#notification-icon {
font-size: 16px;
}
#notification-title {
font-family: 'Cinzel Decorative', 'Palatino Linotype', serif;
font-size: 12px;
font-weight: 700;
color: #f5e090;
letter-spacing: 2px;
text-shadow: 0 0 20px rgba(200,150,12,0.53), 0 1px 3px rgba(0,0,0,0.6);
text-transform: uppercase;
}
.notification-body {
padding: 22px 20px 14px;
}
#notification-message {
font-family: 'Cinzel', 'Palatino Linotype', serif;
font-size: 13px;
color: #ccc8b0;
line-height: 1.7;
margin: 0;
text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}
.notification-footer {
padding: 0 20px 18px;
display: flex;
justify-content: flex-end;
}
.notification-btn {
background: linear-gradient(160deg, #6a4018 0%, #3e2408 50%, #6a4018 100%);
border: 1px solid #c8960c;
border-radius: 4px;
color: #f5e090;
font-family: 'Cinzel', 'Palatino Linotype', serif;
font-size: 12px;
letter-spacing: 2px;
padding: 8px 22px;
cursor: pointer;
transition: all 0.2s;
box-shadow: inset 0 1px 0 rgba(200,150,12,0.25), 0 0 16px rgba(200,150,12,0.1);
}
.notification-btn:hover {
background: linear-gradient(160deg, #8a5824 0%, #5a3410 50%, #8a5824 100%);
box-shadow: inset 0 1px 0 rgba(200,150,12,0.375), 0 0 26px rgba(200,150,12,0.2);
letter-spacing: 3px;
}