2025-08-08 15:33:44 +01:00
|
|
|
/* Minigame Framework Styles */
|
|
|
|
|
|
|
|
|
|
.minigame-container {
|
|
|
|
|
position: fixed;
|
2025-11-06 01:54:55 +00:00
|
|
|
/* top: 2vh; */
|
|
|
|
|
/* left: 2vw; */
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
2025-08-08 15:33:44 +01:00
|
|
|
background: rgba(0, 0, 0, 0.95);
|
|
|
|
|
z-index: 2000;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2025-10-21 10:58:56 +01:00
|
|
|
font-family: 'VT323', monospace;
|
2025-08-08 15:33:44 +01:00
|
|
|
color: white;
|
2025-10-21 10:58:56 +01:00
|
|
|
border: 4px solid #444;
|
2025-08-08 15:33:44 +01:00
|
|
|
box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
|
2025-10-21 10:58:56 +01:00
|
|
|
font-size: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-container input, .minigame-container select, .minigame-container textarea, .minigame-container button, .minigame-game-container pre {
|
|
|
|
|
font-family: 'VT323', monospace;
|
2025-08-08 15:33:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-header {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
2025-10-21 10:58:56 +01:00
|
|
|
font-size: 20px;
|
2025-08-08 15:33:44 +01:00
|
|
|
margin-bottom: 20px;
|
|
|
|
|
color: #3498db;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-header h3 {
|
|
|
|
|
font-family: 'Press Start 2P', monospace;
|
2025-10-21 10:58:56 +01:00
|
|
|
font-size: 18px;
|
2025-08-08 15:33:44 +01:00
|
|
|
margin: 0 0 10px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-header p {
|
|
|
|
|
font-family: 'VT323', monospace;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-game-container {
|
2025-11-04 14:16:48 +00:00
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2025-11-06 01:54:55 +00:00
|
|
|
/* max-width: 600px; */
|
2025-08-08 15:33:44 +01:00
|
|
|
margin: 20px auto;
|
|
|
|
|
background: #1a1a1a;
|
|
|
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.5) inset;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-message-container {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-success-message {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
background: rgba(46, 204, 113, 0.9);
|
|
|
|
|
color: white;
|
|
|
|
|
padding: 20px;
|
2025-10-21 10:58:56 +01:00
|
|
|
border: 2px solid #27ae60;
|
2025-08-08 15:33:44 +01:00
|
|
|
text-align: center;
|
|
|
|
|
z-index: 10001;
|
2025-10-21 10:58:56 +01:00
|
|
|
font-size: 18px;
|
2025-08-08 15:33:44 +01:00
|
|
|
box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-failure-message {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
background: rgba(231, 76, 60, 0.9);
|
|
|
|
|
color: white;
|
|
|
|
|
padding: 20px;
|
2025-10-21 10:58:56 +01:00
|
|
|
border: 2px solid #c0392b;
|
2025-08-08 15:33:44 +01:00
|
|
|
text-align: center;
|
|
|
|
|
z-index: 10001;
|
2025-10-21 10:58:56 +01:00
|
|
|
font-size: 18px;
|
2025-08-08 15:33:44 +01:00
|
|
|
box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-controls {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 10px;
|
2025-10-10 15:20:04 +01:00
|
|
|
margin-top: 10px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 20px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
2025-08-08 15:33:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-button {
|
|
|
|
|
background: #3498db;
|
|
|
|
|
color: white;
|
2025-10-10 15:20:04 +01:00
|
|
|
border: 4px solid #2980b9;
|
2025-08-08 15:33:44 +01:00
|
|
|
padding: 10px 20px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-family: 'VT323', monospace;
|
2025-10-21 10:58:56 +01:00
|
|
|
font-size: 18px;
|
2025-08-08 15:33:44 +01:00
|
|
|
transition: background 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-button:hover {
|
|
|
|
|
background: #2980b9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-button:active {
|
|
|
|
|
background: #21618c;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-progress-container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 20px;
|
|
|
|
|
background: #333;
|
2025-10-21 10:58:56 +01:00
|
|
|
border: 2px solid #333;
|
2025-08-08 15:33:44 +01:00
|
|
|
overflow: hidden;
|
|
|
|
|
margin: 10px 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-progress-bar {
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: #2ecc71;
|
|
|
|
|
width: 0%;
|
|
|
|
|
transition: width 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-21 10:58:56 +01:00
|
|
|
.instructions {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-08 15:33:44 +01:00
|
|
|
/* Minigame disabled state */
|
|
|
|
|
.minigame-disabled {
|
|
|
|
|
pointer-events: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Biometric scanner visual feedback */
|
|
|
|
|
.biometric-scanner-success {
|
|
|
|
|
border: 2px solid #00ff00 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Close button for minigames */
|
|
|
|
|
.minigame-close-button {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 15px;
|
|
|
|
|
right: 15px;
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
background: #e74c3c;
|
|
|
|
|
color: white;
|
2025-10-10 15:20:04 +01:00
|
|
|
border: 4px solid #c0392b;
|
2025-08-08 15:33:44 +01:00
|
|
|
cursor: pointer;
|
2025-10-21 10:58:56 +01:00
|
|
|
font-family: 'Press Start 2P', monospace !important;
|
2025-10-10 18:55:41 +01:00
|
|
|
font-size: 18px;
|
2025-08-08 15:33:44 +01:00
|
|
|
z-index: 10000;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
transition: background-color 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-close-button:hover {
|
|
|
|
|
background: #c0392b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-close-button:active {
|
|
|
|
|
background: #a93226;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Progress bar styling for minigames */
|
|
|
|
|
.minigame-progress-container {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 10px;
|
|
|
|
|
background: #333;
|
2025-10-21 10:58:56 +01:00
|
|
|
border: 2px solid #333;
|
2025-08-08 15:33:44 +01:00
|
|
|
overflow: hidden;
|
|
|
|
|
margin-top: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.minigame-progress-bar {
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: linear-gradient(90deg, #2ecc71, #27ae60);
|
|
|
|
|
transition: width 0.3s ease;
|
2025-10-21 10:58:56 +01:00
|
|
|
border: 2px solid #27ae60;
|
2025-08-08 15:33:44 +01:00
|
|
|
}
|