feat: Add universal victory celebration modal, chamber item requirements, and fix broom & cauldron displays
This commit is contained in:
+541
-5
@@ -1517,6 +1517,215 @@ body {
|
||||
}
|
||||
|
||||
|
||||
/* ========================================================
|
||||
MINI-GAME: DIE BRAUKÜCHE / CAULDRON BREW (/brew)
|
||||
======================================================== */
|
||||
.brew-container {
|
||||
max-width: 520px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.recipe-book {
|
||||
width: 100%;
|
||||
background: rgba(22, 17, 30, 0.9);
|
||||
border: 2px solid var(--gold);
|
||||
border-radius: 14px;
|
||||
padding: 1rem 1.2rem;
|
||||
text-align: center;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.recipe-step-badge {
|
||||
display: inline-block;
|
||||
background: rgba(229, 185, 72, 0.2);
|
||||
border: 1px solid var(--gold);
|
||||
color: var(--gold);
|
||||
font-size: 0.8rem;
|
||||
font-weight: bold;
|
||||
padding: 0.2rem 0.75rem;
|
||||
border-radius: 20px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 0.3rem;
|
||||
}
|
||||
|
||||
.cauldron-visual-container {
|
||||
width: 100%;
|
||||
max-width: 320px;
|
||||
aspect-ratio: 320 / 280;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.8));
|
||||
}
|
||||
|
||||
.cauldron-svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.animated-flames {
|
||||
animation: flameFlicker 0.6s infinite alternate ease-in-out;
|
||||
transform-origin: 160px 260px;
|
||||
}
|
||||
|
||||
@keyframes flameFlicker {
|
||||
0% { transform: scaleY(0.92) scaleX(0.98); opacity: 0.85; }
|
||||
100% { transform: scaleY(1.08) scaleX(1.02); opacity: 1; }
|
||||
}
|
||||
|
||||
.bubble-anim {
|
||||
animation: bubbleRise 1.6s infinite ease-in-out alternate;
|
||||
}
|
||||
.bubble-anim.b1 { animation-delay: 0.1s; }
|
||||
.bubble-anim.b2 { animation-delay: 0.4s; }
|
||||
.bubble-anim.b3 { animation-delay: 0.7s; }
|
||||
.bubble-anim.b4 { animation-delay: 1.0s; }
|
||||
.bubble-anim.b5 { animation-delay: 1.3s; }
|
||||
|
||||
@keyframes bubbleRise {
|
||||
0% { transform: translateY(0); opacity: 0.4; }
|
||||
50% { transform: translateY(-4px) scale(1.2); opacity: 0.8; }
|
||||
100% { transform: translateY(2px) scale(0.9); opacity: 0.5; }
|
||||
}
|
||||
|
||||
/* Ingredients Shelf */
|
||||
.ingredients-shelf {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 0.65rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ingredient-btn {
|
||||
background: linear-gradient(135deg, rgba(30, 24, 42, 0.95), rgba(18, 14, 26, 0.95));
|
||||
border: 2px solid rgba(229, 185, 72, 0.35);
|
||||
border-radius: 12px;
|
||||
padding: 0.85rem 0.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.3rem;
|
||||
cursor: pointer;
|
||||
font-family: inherit;
|
||||
transition: all 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
|
||||
touch-action: manipulation;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.ingredient-btn:active {
|
||||
transform: scale(0.94);
|
||||
border-color: var(--gold);
|
||||
}
|
||||
|
||||
.ingredient-btn:disabled {
|
||||
opacity: 0.45;
|
||||
cursor: not-allowed;
|
||||
border-color: rgba(255, 255, 255, 0.1);
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
.ing-icon {
|
||||
font-size: 2.2rem;
|
||||
filter: drop-shadow(0 2px 5px rgba(0,0,0,0.6));
|
||||
}
|
||||
|
||||
.ing-name {
|
||||
color: var(--text-light);
|
||||
font-size: 0.88rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ing-count {
|
||||
color: var(--gold);
|
||||
font-size: 0.78rem;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
padding: 0.1rem 0.45rem;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* Heat Control Panel */
|
||||
.heat-control-panel {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
width: 100%;
|
||||
background: rgba(20, 16, 28, 0.9);
|
||||
border: 2px solid var(--gold);
|
||||
border-radius: 14px;
|
||||
padding: 1rem 1.2rem;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.heat-control-panel.active {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.temp-bar-container {
|
||||
width: 100%;
|
||||
max-width: 320px;
|
||||
height: 24px;
|
||||
background: rgba(10, 8, 16, 0.9);
|
||||
border: 2px solid #555;
|
||||
border-radius: 12px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.temp-ideal-zone {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: rgba(46, 204, 113, 0.35);
|
||||
border-left: 2px solid #2ecc71;
|
||||
border-right: 2px solid #2ecc71;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.temp-indicator {
|
||||
height: 100%;
|
||||
width: 20%;
|
||||
background: linear-gradient(90deg, #3498db, #f39c12, #e74c3c);
|
||||
border-radius: 10px;
|
||||
transition: width 0.15s ease-out, background 0.2s ease;
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bellows-btn {
|
||||
background: linear-gradient(135deg, #d35400, #c0392b);
|
||||
border: 2px solid #f39c12;
|
||||
border-radius: 12px;
|
||||
color: #ffffff;
|
||||
font-family: inherit;
|
||||
font-size: 1.15rem;
|
||||
font-weight: bold;
|
||||
padding: 0.85rem 2rem;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
|
||||
touch-action: manipulation;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
transition: transform 0.1s ease, box-shadow 0.1s ease;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
|
||||
.bellows-btn:active {
|
||||
transform: scale(0.94);
|
||||
box-shadow: 0 2px 8px rgba(231, 76, 60, 0.6);
|
||||
}
|
||||
|
||||
/* ========================================================
|
||||
MINI-GAME: WICHTEL-PANIK / CORNISH PIXIES (/pixies)
|
||||
======================================================== */
|
||||
@@ -1640,22 +1849,349 @@ body {
|
||||
100% { transform: translateY(0) rotate(6deg); }
|
||||
}
|
||||
|
||||
/* Flight Start Overlay */
|
||||
/* Flight Canvas Wrapper & Start Overlay */
|
||||
.canvas-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
overflow: hidden;
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 8px 30px rgba(0,0,0,0.6);
|
||||
}
|
||||
|
||||
.flight-start-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(12, 10, 20, 0.9);
|
||||
background: rgba(12, 10, 20, 0.93);
|
||||
border: 2px solid var(--gold);
|
||||
border-radius: 14px;
|
||||
z-index: 25;
|
||||
z-index: 50;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 1.5rem;
|
||||
text-align: center;
|
||||
backdrop-filter: blur(4px);
|
||||
box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
|
||||
backdrop-filter: blur(6px);
|
||||
box-shadow: 0 0 35px rgba(0, 0, 0, 0.95);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.flight-start-overlay.hidden {
|
||||
display: none !important;
|
||||
opacity: 0 !important;
|
||||
pointer-events: none !important;
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
/* Chamber Locked Screen */
|
||||
.chamber-lock-banner {
|
||||
background: linear-gradient(135deg, rgba(30, 20, 25, 0.95), rgba(18, 12, 18, 0.98));
|
||||
border: 2px dashed #e74c3c;
|
||||
border-radius: 16px;
|
||||
padding: 2.2rem 1.5rem;
|
||||
text-align: center;
|
||||
margin: 1.5rem auto;
|
||||
max-width: 600px;
|
||||
box-shadow: 0 0 35px rgba(231, 76, 60, 0.25);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.chamber-lock-icon {
|
||||
font-size: 3.6rem;
|
||||
margin-bottom: 0.5rem;
|
||||
animation: lockJiggle 2.5s infinite ease-in-out;
|
||||
}
|
||||
|
||||
@keyframes lockJiggle {
|
||||
0%, 100% { transform: rotate(0deg); }
|
||||
15% { transform: rotate(-9deg); }
|
||||
30% { transform: rotate(9deg); }
|
||||
45% { transform: rotate(-5deg); }
|
||||
60% { transform: rotate(0deg); }
|
||||
}
|
||||
|
||||
.chamber-lock-title {
|
||||
color: #e74c3c;
|
||||
font-size: 1.7rem;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
.chamber-lock-desc {
|
||||
color: var(--text-light);
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.55;
|
||||
margin-bottom: 1.3rem;
|
||||
}
|
||||
|
||||
.chamber-req-box {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.9rem;
|
||||
background: rgba(0, 0, 0, 0.55);
|
||||
border: 2px solid var(--gold);
|
||||
border-radius: 12px;
|
||||
padding: 0.85rem 1.4rem;
|
||||
margin-bottom: 1.5rem;
|
||||
text-align: left;
|
||||
box-shadow: 0 0 20px rgba(229, 185, 72, 0.2);
|
||||
}
|
||||
|
||||
.chamber-req-icon {
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
|
||||
.chamber-req-info strong {
|
||||
display: block;
|
||||
color: var(--gold);
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
|
||||
.chamber-req-info span {
|
||||
color: var(--text-dim);
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.chamber-lock-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.85rem;
|
||||
}
|
||||
|
||||
.alohomora-link {
|
||||
color: var(--text-dim);
|
||||
font-size: 0.85rem;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0.3rem 0.6rem;
|
||||
}
|
||||
|
||||
.alohomora-link:hover {
|
||||
color: var(--gold);
|
||||
}
|
||||
|
||||
/* ========================================================
|
||||
VICTORY CELEBRATION MODAL & PARTICLES
|
||||
======================================================== */
|
||||
.victory-modal-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(6, 4, 12, 0.94);
|
||||
backdrop-filter: blur(10px);
|
||||
z-index: 9999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1rem;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.35s ease, visibility 0.35s ease;
|
||||
}
|
||||
|
||||
.victory-modal-backdrop.show {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.victory-confetti-canvas {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.victory-card {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
background: linear-gradient(135deg, rgba(26, 18, 40, 0.98), rgba(14, 10, 22, 0.98));
|
||||
border: 3px solid var(--gold);
|
||||
border-radius: 20px;
|
||||
max-width: 520px;
|
||||
width: 100%;
|
||||
padding: 2rem 1.5rem;
|
||||
text-align: center;
|
||||
box-shadow: 0 0 50px rgba(229, 185, 72, 0.45), inset 0 0 30px rgba(0, 0, 0, 0.8);
|
||||
transform: scale(0.85);
|
||||
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.victory-modal-backdrop.show .victory-card {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.victory-crest-wrap {
|
||||
position: relative;
|
||||
width: 85px;
|
||||
height: 85px;
|
||||
margin: 0 auto 0.75rem auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.victory-crest-icon {
|
||||
font-size: 3.8rem;
|
||||
filter: drop-shadow(0 0 20px #ffd700);
|
||||
animation: victoryCrestBounce 1s infinite alternate ease-in-out;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@keyframes victoryCrestBounce {
|
||||
0% { transform: translateY(0) scale(1); }
|
||||
100% { transform: translateY(-8px) scale(1.08); }
|
||||
}
|
||||
|
||||
.victory-chamber-badge {
|
||||
display: inline-block;
|
||||
background: rgba(229, 185, 72, 0.2);
|
||||
border: 1px solid var(--gold);
|
||||
color: var(--gold);
|
||||
font-weight: bold;
|
||||
padding: 0.25rem 0.85rem;
|
||||
border-radius: 20px;
|
||||
font-size: 0.85rem;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.victory-title {
|
||||
font-size: clamp(1.5rem, 5vw, 2.1rem);
|
||||
color: #ffd700;
|
||||
margin-bottom: 0.6rem;
|
||||
text-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
|
||||
}
|
||||
|
||||
.victory-stats-box {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1.2rem;
|
||||
margin-bottom: 1.2rem;
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-light);
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.victory-reward-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
background: linear-gradient(135deg, rgba(229, 185, 72, 0.15), rgba(46, 204, 113, 0.1));
|
||||
border: 2px solid var(--gold);
|
||||
border-radius: 14px;
|
||||
padding: 0.85rem 1rem;
|
||||
margin-bottom: 1.25rem;
|
||||
text-align: left;
|
||||
box-shadow: 0 0 20px rgba(229, 185, 72, 0.25);
|
||||
animation: rewardGlow 2s infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes rewardGlow {
|
||||
0% { box-shadow: 0 0 10px rgba(229, 185, 72, 0.2); }
|
||||
100% { box-shadow: 0 0 25px rgba(229, 185, 72, 0.5); }
|
||||
}
|
||||
|
||||
.reward-icon {
|
||||
font-size: 2.8rem;
|
||||
filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
|
||||
animation: rewardPop 0.6s ease-out;
|
||||
}
|
||||
|
||||
@keyframes rewardPop {
|
||||
0% { transform: scale(0.4) rotate(-20deg); opacity: 0; }
|
||||
70% { transform: scale(1.25) rotate(10deg); }
|
||||
100% { transform: scale(1) rotate(0deg); opacity: 1; }
|
||||
}
|
||||
|
||||
.reward-label {
|
||||
display: block;
|
||||
font-size: 0.78rem;
|
||||
color: var(--gold-light);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.reward-name {
|
||||
display: block;
|
||||
font-size: 1.15rem;
|
||||
color: #ffffff;
|
||||
margin: 0.1rem 0;
|
||||
}
|
||||
|
||||
.reward-desc {
|
||||
font-size: 0.82rem;
|
||||
color: var(--text-dim);
|
||||
margin: 0;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.victory-story-box {
|
||||
font-family: 'Caveat', cursive;
|
||||
font-size: 1.35rem;
|
||||
color: #e0d0b8;
|
||||
line-height: 1.5;
|
||||
background: rgba(15, 10, 20, 0.6);
|
||||
border-left: 3px solid var(--gold);
|
||||
padding: 0.75rem 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
text-align: left;
|
||||
border-radius: 0 8px 8px 0;
|
||||
}
|
||||
|
||||
.victory-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.victory-next-btn {
|
||||
font-size: 1.25rem !important;
|
||||
padding: 0.95rem 1.5rem !important;
|
||||
box-shadow: 0 0 25px rgba(229, 185, 72, 0.6) !important;
|
||||
animation: nextBtnPulse 1.8s infinite ease-in-out;
|
||||
}
|
||||
|
||||
@keyframes nextBtnPulse {
|
||||
0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(229, 185, 72, 0.5); }
|
||||
50% { transform: scale(1.03); box-shadow: 0 0 32px rgba(229, 185, 72, 0.85); }
|
||||
}
|
||||
|
||||
.victory-sub-actions {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.btn-subtle {
|
||||
background: transparent;
|
||||
border: 1px solid rgba(229, 185, 72, 0.4);
|
||||
color: var(--text-light);
|
||||
border-radius: 8px;
|
||||
padding: 0.5rem 0.9rem;
|
||||
font-size: 0.9rem;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.btn-subtle:hover {
|
||||
background: rgba(229, 185, 72, 0.15);
|
||||
border-color: var(--gold);
|
||||
color: var(--gold);
|
||||
}
|
||||
|
||||
/* Mobile responsive adjustments */
|
||||
|
||||
Reference in New Issue
Block a user