AI human mode
This commit is contained in:
@@ -310,43 +310,45 @@ body, html {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: rgba(10, 25, 18, 0.85);
|
||||
border: 2px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 16px;
|
||||
padding: 6px 12px;
|
||||
backdrop-filter: blur(8px);
|
||||
background: rgba(10, 25, 18, 0.88);
|
||||
border: 2.5px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: 20px;
|
||||
padding: 10px 18px;
|
||||
min-width: 110px;
|
||||
backdrop-filter: blur(10px);
|
||||
transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
.avatar-badge.active-turn {
|
||||
border-color: var(--gold);
|
||||
box-shadow: 0 0 25px rgba(245, 176, 65, 0.9), inset 0 0 12px rgba(245, 176, 65, 0.35);
|
||||
transform: scale(1.09);
|
||||
box-shadow: 0 0 30px rgba(245, 176, 65, 0.95), inset 0 0 16px rgba(245, 176, 65, 0.4);
|
||||
transform: scale(1.12);
|
||||
animation: turn-pulse 1.8s infinite;
|
||||
}
|
||||
|
||||
@keyframes turn-pulse {
|
||||
0%, 100% { box-shadow: 0 0 16px rgba(245, 176, 65, 0.7); }
|
||||
50% { box-shadow: 0 0 30px rgba(245, 176, 65, 1), 0 0 45px rgba(245, 176, 65, 0.55); }
|
||||
0%, 100% { box-shadow: 0 0 20px rgba(245, 176, 65, 0.75); }
|
||||
50% { box-shadow: 0 0 38px rgba(245, 176, 65, 1), 0 0 55px rgba(245, 176, 65, 0.6); }
|
||||
}
|
||||
|
||||
/* TURN INDICATOR BADGE (NA ŤAHU) */
|
||||
.turn-indicator-badge {
|
||||
position: absolute;
|
||||
top: -14px;
|
||||
top: -16px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
gap: 6px;
|
||||
background: linear-gradient(135deg, #ffd700, #f5b041);
|
||||
color: #11281d;
|
||||
font-size: 0.66rem;
|
||||
font-size: 0.74rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: 0.8px;
|
||||
padding: 2px 9px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 14px rgba(255, 215, 0, 0.8);
|
||||
letter-spacing: 0.9px;
|
||||
padding: 3px 12px;
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 215, 0, 0.85);
|
||||
border: 1.5px solid #ffffff;
|
||||
white-space: nowrap;
|
||||
z-index: 20;
|
||||
@@ -404,25 +406,28 @@ body, html {
|
||||
}
|
||||
|
||||
.avatar-icon {
|
||||
font-size: 1.8rem;
|
||||
font-size: 2.5rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.avatar-name {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 700;
|
||||
margin-top: 2px;
|
||||
font-size: 1.05rem;
|
||||
font-weight: 800;
|
||||
margin-top: 4px;
|
||||
white-space: nowrap;
|
||||
color: #ffffff;
|
||||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.avatar-card-count {
|
||||
font-size: 0.75rem;
|
||||
background: rgba(245, 176, 65, 0.2);
|
||||
font-size: 0.86rem;
|
||||
background: rgba(245, 176, 65, 0.22);
|
||||
color: var(--gold);
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
margin-top: 2px;
|
||||
font-weight: 700;
|
||||
padding: 3px 12px;
|
||||
border-radius: 12px;
|
||||
margin-top: 4px;
|
||||
font-weight: 800;
|
||||
border: 1px solid rgba(245, 176, 65, 0.35);
|
||||
}
|
||||
|
||||
/* FROZEN / ICE STATUS STYLES */
|
||||
@@ -671,18 +676,18 @@ body, html {
|
||||
/* OPPONENT MINI CARDS */
|
||||
.opponent-mini-cards {
|
||||
display: flex;
|
||||
margin-top: 6px;
|
||||
margin-top: 8px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.mini-card-back {
|
||||
width: 22px;
|
||||
height: 32px;
|
||||
width: 26px;
|
||||
height: 38px;
|
||||
background: linear-gradient(135deg, #8b1e1e, #4a0d0d);
|
||||
border: 1px solid #ffd700;
|
||||
border-radius: 3px;
|
||||
margin-left: -12px;
|
||||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
|
||||
border-radius: 4px;
|
||||
margin-left: -14px;
|
||||
box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.6);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
@@ -1779,6 +1784,239 @@ body, html {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* LOBBY COLLAPSIBLE SECTIONS */
|
||||
.lobby-accordion-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px 14px;
|
||||
background: rgba(0, 0, 0, 0.45);
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.lobby-accordion-header:hover {
|
||||
background: rgba(245, 176, 65, 0.12);
|
||||
border-color: rgba(245, 176, 65, 0.4);
|
||||
}
|
||||
|
||||
.lobby-accordion-header.open {
|
||||
border-color: rgba(245, 176, 65, 0.55);
|
||||
background: rgba(245, 176, 65, 0.15);
|
||||
}
|
||||
|
||||
.badge-rules-summary {
|
||||
font-size: 0.72rem;
|
||||
color: #cbd5e1;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.accordion-toggle-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 800;
|
||||
color: var(--gold);
|
||||
background: rgba(245, 176, 65, 0.12);
|
||||
padding: 4px 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(245, 176, 65, 0.3);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.lobby-accordion-header:hover .accordion-toggle-btn {
|
||||
background: rgba(245, 176, 65, 0.25);
|
||||
border-color: var(--gold);
|
||||
}
|
||||
|
||||
.accordion-arrow {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
/* SELECTED DECK PREVIEW CARD */
|
||||
.selected-deck-summary-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
background: linear-gradient(135deg, rgba(245, 176, 65, 0.14) 0%, rgba(0, 0, 0, 0.6) 100%);
|
||||
border: 2px solid rgba(245, 176, 65, 0.5);
|
||||
border-radius: 14px;
|
||||
padding: 10px 14px;
|
||||
cursor: pointer;
|
||||
transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
margin-top: 8px;
|
||||
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.selected-deck-summary-card:hover {
|
||||
transform: translateY(-2px);
|
||||
border-color: var(--gold);
|
||||
box-shadow: 0 6px 20px rgba(245, 176, 65, 0.3);
|
||||
background: linear-gradient(135deg, rgba(245, 176, 65, 0.22) 0%, rgba(0, 0, 0, 0.7) 100%);
|
||||
}
|
||||
|
||||
.badge-active-deck {
|
||||
font-size: 0.66rem;
|
||||
font-weight: 900;
|
||||
background: var(--gold);
|
||||
color: #000;
|
||||
padding: 2px 6px;
|
||||
border-radius: 6px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.btn-deck-change-action {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 800;
|
||||
color: #fff;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: 6px 12px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
white-space: nowrap;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.selected-deck-summary-card:hover .btn-deck-change-action {
|
||||
background: rgba(245, 176, 65, 0.25);
|
||||
border-color: var(--gold);
|
||||
color: var(--gold);
|
||||
}
|
||||
|
||||
/* AI THOUGHT BUBBLE */
|
||||
.ai-thought-bubble {
|
||||
position: absolute;
|
||||
background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
|
||||
border: 2px solid #38bdf8;
|
||||
color: #ffffff;
|
||||
font-size: 0.98rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.4;
|
||||
padding: 10px 18px;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 22px rgba(56, 189, 248, 0.5);
|
||||
z-index: 100;
|
||||
max-width: 320px;
|
||||
min-width: 170px;
|
||||
text-align: center;
|
||||
pointer-events: none;
|
||||
animation: thought-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
backdrop-filter: blur(10px);
|
||||
transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), filter 0.55s ease;
|
||||
opacity: 1;
|
||||
filter: blur(0);
|
||||
}
|
||||
|
||||
@keyframes thought-pop {
|
||||
0% { transform: scale(0.7) translateY(8px); opacity: 0; }
|
||||
100% { transform: scale(1) translateY(0); opacity: 1; }
|
||||
}
|
||||
|
||||
.ai-thought-bubble.fading-out {
|
||||
opacity: 0 !important;
|
||||
filter: blur(3px) !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
.thought-bubble-prefix {
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
font-size: 1.15rem;
|
||||
vertical-align: -1px;
|
||||
}
|
||||
|
||||
.thought-bubble-text {
|
||||
vertical-align: middle;
|
||||
color: #ffffff;
|
||||
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
.thought-typing-cursor {
|
||||
display: inline-block;
|
||||
color: #38bdf8;
|
||||
font-weight: 900;
|
||||
margin-left: 2px;
|
||||
animation: cursor-blink 0.6s infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes cursor-blink {
|
||||
0% { opacity: 0.15; }
|
||||
100% { opacity: 1; }
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-top {
|
||||
top: 105%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-top.fading-out {
|
||||
transform: translateX(-50%) scale(0.9) translateY(-6px);
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-left {
|
||||
top: 50%;
|
||||
left: 110%;
|
||||
transform: translateY(-50%);
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-left.fading-out {
|
||||
transform: translateY(-50%) scale(0.9) translateX(-6px);
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-right {
|
||||
top: 50%;
|
||||
right: 110%;
|
||||
transform: translateY(-50%);
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-right.fading-out {
|
||||
transform: translateY(-50%) scale(0.9) translateX(6px);
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-top-left {
|
||||
top: 105%;
|
||||
left: 0%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-top-left.fading-out {
|
||||
transform: scale(0.9) translateY(-6px);
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-top-right {
|
||||
top: 105%;
|
||||
right: 0%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-top-right.fading-out {
|
||||
transform: scale(0.9) translateY(-6px);
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-bottom {
|
||||
bottom: 110%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.ai-thought-bubble.slot-bottom.fading-out {
|
||||
transform: translateX(-50%) scale(0.9) translateY(6px);
|
||||
}
|
||||
|
||||
/* Canvas Particle Layer */
|
||||
#particle-canvas {
|
||||
position: absolute;
|
||||
@@ -1906,6 +2144,106 @@ body, html {
|
||||
100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
|
||||
}
|
||||
|
||||
/* AI SPECIAL CARD JOKE BANNER */
|
||||
.ai-joke-banner {
|
||||
position: absolute;
|
||||
top: 52px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
background: linear-gradient(135deg, rgba(35, 12, 50, 0.98) 0%, rgba(15, 23, 42, 0.98) 55%, rgba(45, 15, 25, 0.98) 100%);
|
||||
border: 2px solid #ffd700;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 215, 0, 0.45), inset 0 0 20px rgba(255, 215, 0, 0.18);
|
||||
padding: 14px 22px;
|
||||
max-width: 580px;
|
||||
width: 90%;
|
||||
z-index: 300;
|
||||
backdrop-filter: blur(12px);
|
||||
animation: joke-entrance 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.4, 0, 0.2, 1), filter 0.65s ease;
|
||||
color: #ffffff;
|
||||
opacity: 1;
|
||||
filter: blur(0);
|
||||
}
|
||||
|
||||
@keyframes joke-entrance {
|
||||
0% { transform: translateX(-50%) translateY(-30px) scale(0.85); opacity: 0; }
|
||||
100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
|
||||
}
|
||||
|
||||
.ai-joke-banner.fading-out {
|
||||
opacity: 0 !important;
|
||||
transform: translateX(-50%) translateY(-25px) scale(0.9) !important;
|
||||
filter: blur(4px) !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
.joke-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 8px;
|
||||
border-bottom: 1px solid rgba(255, 215, 0, 0.35);
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
.joke-header-badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 900;
|
||||
color: var(--gold);
|
||||
letter-spacing: 0.8px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.joke-storyteller {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
background: rgba(245, 176, 65, 0.22);
|
||||
padding: 2px 10px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(245, 176, 65, 0.45);
|
||||
color: #fff;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.joke-close-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #94a3b8;
|
||||
font-size: 1.1rem;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
padding: 2px 6px;
|
||||
border-radius: 6px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.joke-close-btn:hover {
|
||||
color: #ffd700;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.joke-setup {
|
||||
font-size: 1.02rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.35;
|
||||
color: #f1f5f9;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.joke-punchline {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 800;
|
||||
line-height: 1.35;
|
||||
color: #ffd700;
|
||||
text-shadow: 0 0 14px rgba(255, 215, 0, 0.6);
|
||||
}
|
||||
|
||||
/* HOLOGRAPHIC FOIL SHINE ON CARDS */
|
||||
.game-card.playable::before {
|
||||
content: '';
|
||||
|
||||
@@ -11,12 +11,18 @@ window.FaraonFx = (function () {
|
||||
|
||||
function setSpeedLevel(level) {
|
||||
switch (level) {
|
||||
case 1: speedMultiplier = 0.7; break; // 0.5x
|
||||
case 2: speedMultiplier = 0.85; break; // 0.75x
|
||||
case 4: speedMultiplier = 1.5; break; // 1.5x
|
||||
case 5: speedMultiplier = 2.4; break; // 2.5x Turbo
|
||||
case 3:
|
||||
default: speedMultiplier = 1.0; break;
|
||||
case -5: speedMultiplier = 0.35; break; // 0.2x Zen
|
||||
case -4: speedMultiplier = 0.45; break; // 0.35x Veľmi pomalá
|
||||
case -3: speedMultiplier = 0.60; break; // 0.5x Pomalá
|
||||
case -2: speedMultiplier = 0.75; break; // 0.65x Pokojná
|
||||
case -1: speedMultiplier = 0.88; break; // 0.8x Zvoľnená
|
||||
case 0: speedMultiplier = 1.0; break; // 1x Normálna
|
||||
case 1: speedMultiplier = 1.25; break; // 1.25x Svižná
|
||||
case 2: speedMultiplier = 1.55; break; // 1.5x Rýchla
|
||||
case 3: speedMultiplier = 2.0; break; // 2x Veľmi rýchla
|
||||
case 4: speedMultiplier = 2.75; break; // 2.75x Turbo
|
||||
case 5: speedMultiplier = 3.8; break; // 4x Blesková
|
||||
default: speedMultiplier = 1.0; break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user