Files
FaraonCardGame/Faraon.Client/wwwroot/css/app.css
T
2026-09-04 10:01:22 +02:00

2504 lines
59 KiB
CSS

:root {
--table-green: #0d3824;
--table-green-dark: #061c12;
--table-border: #8b5a2b;
--gold: #f5b041;
--gold-glow: #ffd700;
--flame-red: #ff4500;
--ice-blue: #00e5ff;
/* Dynamické škálovanie kariet podľa veľkosti a výšky obrazovky */
--card-width: clamp(82px, 8.5vw, 115px);
--card-height: calc(var(--card-width) * 1.5);
--card-radius: clamp(8px, 0.8vw, 14px);
--fan-card-step: clamp(26px, 2.8vw, 44px);
}
@media (min-width: 768px) and (min-height: 600px) {
:root {
--card-width: clamp(105px, 9vw, 135px);
--card-height: calc(var(--card-width) * 1.5);
--fan-card-step: clamp(34px, 3.2vw, 50px);
}
}
/* Fullscreen a štandardné monitory 1080p */
@media (min-width: 1200px) and (min-height: 700px) {
:root {
--card-width: clamp(130px, 9.5vw, 165px);
--card-height: calc(var(--card-width) * 1.5);
--fan-card-step: clamp(44px, 3.8vw, 64px);
}
}
/* Veľké Fullscreen displeje (1440p / 2K / 4K / Ultrawide) */
@media (min-width: 1600px) and (min-height: 850px) {
:root {
--card-width: clamp(160px, 10.5vw, 215px);
--card-height: calc(var(--card-width) * 1.5);
--fan-card-step: clamp(54px, 4.2vw, 80px);
}
}
* {
box-sizing: border-box;
user-select: none;
-webkit-user-select: none;
}
body, html {
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
background-color: #050b08;
font-family: 'Outfit', sans-serif;
color: #ffffff;
}
/* App Loader (WASM modern esports Pharaoh loader) */
.app-loader {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background: radial-gradient(circle at center, #0f2b38 0%, #061118 60%, #02060a 100%);
color: #ffffff;
user-select: none;
}
.loader-logo-container {
position: relative;
width: 140px;
height: 140px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 24px;
}
.loader-logo-img {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #00e5ff;
box-shadow: 0 0 30px rgba(0, 229, 255, 0.6), 0 0 60px rgba(255, 215, 0, 0.3);
animation: loader-pulse 2.2s infinite ease-in-out alternate;
z-index: 2;
}
.loader-spinner-ring {
position: absolute;
top: 0;
left: 0;
width: 140px;
height: 140px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #00e5ff;
border-right-color: #ffd700;
animation: loader-spin 1.4s linear infinite;
z-index: 1;
}
@keyframes loader-spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes loader-pulse {
0% { transform: scale(0.96); box-shadow: 0 0 20px rgba(0, 229, 255, 0.5); }
100% { transform: scale(1.04); box-shadow: 0 0 45px rgba(0, 229, 255, 0.85), 0 0 70px rgba(255, 215, 0, 0.4); }
}
.loader-title {
font-family: 'Cinzel', serif;
font-size: 2.2rem;
font-weight: 900;
letter-spacing: 4px;
color: var(--gold);
text-shadow: 0 0 25px rgba(255, 215, 0, 0.7), 0 0 45px rgba(0, 229, 255, 0.5);
margin-bottom: 6px;
}
.loader-text {
font-family: 'Outfit', sans-serif;
font-size: 1.05rem;
color: #94a3b8;
letter-spacing: 1px;
margin-bottom: 20px;
}
.loader-progress-bar {
width: 240px;
height: 6px;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
overflow: hidden;
position: relative;
border: 1px solid rgba(0, 229, 255, 0.3);
}
.loader-progress-fill {
width: 100%;
height: 100%;
background: linear-gradient(90deg, #00e5ff, #ffd700, #00e5ff);
background-size: 200% 100%;
animation: loader-progress-anim 1.8s infinite linear;
border-radius: 10px;
}
@keyframes loader-progress-anim {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* MAIN GAME CONTAINER */
#game-table-container {
position: relative;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
background: radial-gradient(ellipse at center, #144933 0%, #0b2b1d 60%, #04120c 100%);
overflow: hidden;
}
/* Screen Shake */
.shake-fx {
animation: screen-shake 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes screen-shake {
10%, 90% { transform: translate3d(-2px, 1px, 0); }
20%, 80% { transform: translate3d(3px, -2px, 0); }
30%, 50%, 70% { transform: translate3d(calc(-1 * var(--shake-intensity, 5px)), var(--shake-intensity, 5px), 0); }
40%, 60% { transform: translate3d(var(--shake-intensity, 5px), calc(-1 * var(--shake-intensity, 5px)), 0); }
}
/* Top Header Bar */
.game-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 16px;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(245, 176, 65, 0.2);
z-index: 50;
}
.game-title {
font-family: 'Cinzel', serif;
font-size: 1.4rem;
font-weight: 900;
letter-spacing: 2px;
color: var(--gold);
text-shadow: 0 0 10px rgba(245, 176, 65, 0.5);
margin: 0;
}
.game-controls {
display: flex;
gap: 8px;
}
/* Top Game Header Controls */
.btn-header-action,
.btn-speed-control {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
height: 32px !important;
padding: 0 14px !important;
border-radius: 18px !important;
font-family: 'Outfit', sans-serif !important;
font-size: 0.85rem !important;
font-weight: 700 !important;
color: #e2e8f0 !important;
background: rgba(10, 25, 20, 0.85) !important;
border: 1.5px solid rgba(245, 176, 65, 0.45) !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
backdrop-filter: blur(8px) !important;
cursor: pointer !important;
transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
user-select: none !important;
text-decoration: none !important;
white-space: nowrap !important;
outline: none !important;
line-height: 1 !important;
}
.btn-header-action:hover,
.btn-speed-control:hover {
background: rgba(245, 176, 65, 0.25) !important;
border-color: var(--gold) !important;
color: #ffffff !important;
box-shadow: 0 0 14px rgba(245, 176, 65, 0.55), 0 4px 12px rgba(0, 0, 0, 0.6) !important;
transform: translateY(-2px) scale(1.04) !important;
}
.btn-header-action:active,
.btn-speed-control:active {
transform: translateY(0) scale(0.97) !important;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
}
.btn-speed-control {
color: var(--gold) !important;
font-weight: 800 !important;
letter-spacing: 0.3px !important;
}
.btn-header-action.btn-sound-muted {
border-color: rgba(239, 68, 68, 0.5) !important;
color: #f87171 !important;
}
.btn-header-action.btn-sound-muted:hover {
border-color: #ef4444 !important;
background: rgba(239, 68, 68, 0.22) !important;
box-shadow: 0 0 14px rgba(239, 68, 68, 0.55) !important;
}
/* TABLE FELT & SLOTS */
.poker-table-surface {
flex: 1;
position: relative;
display: grid;
grid-template-rows: clamp(90px, 14vh, 160px) 1fr calc(var(--card-height) + 55px);
grid-template-columns: clamp(100px, 13vw, 220px) 1fr clamp(100px, 13vw, 220px);
margin: 8px 14px 14px;
border-radius: clamp(24px, 3vw, 44px);
border: clamp(6px, 0.8vw, 12px) solid #5a3818;
box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.9);
background: radial-gradient(ellipse at center, #1b5e3f 0%, #0d3824 70%, #061c12 100%);
}
@media (max-width: 768px) {
.poker-table-surface {
grid-template-rows: 90px 1fr calc(var(--card-height) + 45px);
grid-template-columns: 85px 1fr 85px;
margin: 4px;
border-width: 5px;
}
}
/* SLOTS */
.player-slot {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
z-index: 10;
transition: all 0.3s ease;
}
.player-slot.active-turn-slot::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 140%;
height: 140%;
background: radial-gradient(ellipse at center, rgba(245, 176, 65, 0.28) 0%, rgba(245, 176, 65, 0.08) 55%, transparent 75%);
pointer-events: none;
z-index: -1;
border-radius: 50%;
animation: aura-breathe 2.2s infinite ease-in-out alternate;
}
@keyframes aura-breathe {
0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.6; }
100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
.slot-top {
grid-row: 1;
grid-column: 2;
}
.slot-left {
grid-row: 2;
grid-column: 1;
}
.slot-right {
grid-row: 2;
grid-column: 3;
}
.slot-bottom {
grid-row: 3;
grid-column: 1 / span 3;
position: relative;
}
.slot-bottom.active-turn-slot::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 320px;
height: 120px;
background: radial-gradient(ellipse at center, rgba(245, 176, 65, 0.22) 0%, rgba(245, 176, 65, 0.05) 50%, transparent 75%);
pointer-events: none;
z-index: -1;
border-radius: 50%;
animation: aura-breathe 2.2s infinite ease-in-out alternate;
}
.slot-center {
grid-row: 2;
grid-column: 2;
display: flex;
align-items: center;
justify-content: center;
gap: 20px;
}
/* TURN HEADER INFO */
.turn-header-info {
font-size: 0.95rem;
font-weight: 700;
color: #a3b899;
display: flex;
align-items: center;
gap: 6px;
}
.active-turn-header-player {
color: var(--gold);
font-weight: 900;
text-shadow: 0 0 10px rgba(245, 176, 65, 0.8);
background: rgba(245, 176, 65, 0.15);
padding: 2px 10px;
border-radius: 12px;
border: 1px solid rgba(245, 176, 65, 0.45);
display: inline-flex;
align-items: center;
gap: 4px;
animation: header-pulse 1.8s infinite alternate;
}
@keyframes header-pulse {
0% { box-shadow: 0 0 4px rgba(245, 176, 65, 0.3); }
100% { box-shadow: 0 0 16px rgba(245, 176, 65, 0.8); }
}
/* AVATAR BADGE */
.avatar-badge {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
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 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 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: -16px;
left: 50%;
transform: translateX(-50%);
display: inline-flex;
align-items: center;
gap: 6px;
background: linear-gradient(135deg, #ffd700, #f5b041);
color: #11281d;
font-size: 0.74rem;
font-weight: 900;
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;
animation: turn-badge-float 1.8s ease-in-out infinite alternate;
}
@keyframes turn-badge-float {
0% { transform: translateX(-50%) translateY(0); }
100% { transform: translateX(-50%) translateY(-3px); }
}
.turn-indicator-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #0d3824;
box-shadow: 0 0 4px #0d3824;
animation: dot-blink 1s ease-in-out infinite alternate;
}
@keyframes dot-blink {
0% { opacity: 0.4; transform: scale(0.75); }
100% { opacity: 1; transform: scale(1.25); }
}
/* TURN ARRIVAL EFFECT */
.turn-arrived-pulse {
animation: turn-arrival 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
@keyframes turn-arrival {
0% { transform: scale(1); }
40% { transform: scale(1.18); box-shadow: 0 0 35px rgba(245, 176, 65, 1), 0 0 55px rgba(255, 215, 0, 0.8); }
100% { transform: scale(1.09); }
}
/* TURN TRANSFER ORB */
.turn-transfer-orb {
position: fixed;
width: 24px;
height: 24px;
border-radius: 50%;
background: radial-gradient(circle at 35% 35%, #ffffff, #ffd700 45%, #ff8c00 85%, transparent);
box-shadow: 0 0 18px rgba(255, 215, 0, 0.95), 0 0 36px rgba(245, 176, 65, 0.7);
transform: translate(-50%, -50%);
pointer-events: none;
z-index: 998;
filter: drop-shadow(0 0 10px rgba(245, 176, 65, 0.85));
animation: orb-glow 0.38s infinite alternate;
}
@keyframes orb-glow {
0% { transform: translate(-50%, -50%) scale(0.9); }
100% { transform: translate(-50%, -50%) scale(1.25); }
}
.avatar-icon-wrapper {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.avatar-icon {
font-size: 2.5rem;
line-height: 1;
display: inline-block;
transition: transform 0.25s ease;
}
.avatar-emotion-dot-badge {
position: absolute;
bottom: -4px;
right: -10px;
font-size: 1.15rem;
filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.85));
animation: badge-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
z-index: 15;
}
@keyframes badge-pop {
0% { transform: scale(0) rotate(-15deg); opacity: 0; }
100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
/* AVATAR EMOTION MICRO-ANIMATIONS */
.emotion-anim-thinking {
animation: anim-thinking 1.8s ease-in-out infinite alternate;
}
@keyframes anim-thinking {
0% { transform: translateY(0) rotate(-2deg); }
100% { transform: translateY(-4px) rotate(3deg); }
}
.emotion-anim-confident {
animation: anim-confident 1.4s ease-in-out infinite alternate;
}
@keyframes anim-confident {
0% { transform: scale(1); }
100% { transform: scale(1.14); }
}
.emotion-anim-shocked {
animation: anim-shocked 0.35s ease-in-out infinite alternate;
}
@keyframes anim-shocked {
0% { transform: translateX(-4px) scale(1.1); }
100% { transform: translateX(4px) scale(1.1); }
}
.emotion-anim-freezing {
animation: anim-freezing 0.12s ease-in-out infinite;
}
@keyframes anim-freezing {
0% { transform: translate(-2px, -1px); }
50% { transform: translate(2px, 1px); }
100% { transform: translate(-1px, 2px); }
}
.emotion-anim-angry {
animation: anim-angry 0.22s ease-in-out infinite alternate;
}
@keyframes anim-angry {
0% { transform: rotate(-5deg) scale(1.06); }
100% { transform: rotate(5deg) scale(1.06); }
}
.emotion-anim-relieved {
animation: anim-relieved 1.4s ease-in-out infinite alternate;
}
@keyframes anim-relieved {
0% { transform: translateY(0); }
100% { transform: translateY(-3px); }
}
.emotion-anim-desperate {
animation: anim-desperate 1.8s ease-in-out infinite alternate;
}
@keyframes anim-desperate {
0% { transform: translateY(0) scale(0.95); }
100% { transform: translateY(4px) scale(0.88); }
}
.emotion-anim-celebrating {
animation: anim-celebrating 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite alternate;
}
@keyframes anim-celebrating {
0% { transform: translateY(0) rotate(-7deg) scale(1.1); }
100% { transform: translateY(-8px) rotate(7deg) scale(1.22); }
}
/* EMOTION AURAS ON AVATAR BADGE */
.avatar-badge.emotion-aura-angry {
border-color: #ef4444 !important;
box-shadow: 0 0 25px rgba(239, 68, 68, 0.85), inset 0 0 14px rgba(239, 68, 68, 0.4) !important;
}
.avatar-badge.emotion-aura-shocked {
border-color: #f59e0b !important;
box-shadow: 0 0 25px rgba(245, 158, 11, 0.85), inset 0 0 14px rgba(245, 158, 11, 0.4) !important;
}
.avatar-badge.emotion-aura-confident {
border-color: #eab308 !important;
box-shadow: 0 0 25px rgba(234, 179, 8, 0.85), inset 0 0 14px rgba(234, 179, 8, 0.4) !important;
}
.avatar-badge.emotion-aura-celebrating {
border-color: #ffd700 !important;
box-shadow: 0 0 35px rgba(255, 215, 0, 1), inset 0 0 20px rgba(255, 215, 0, 0.6) !important;
}
.avatar-badge.emotion-aura-relieved {
border-color: #22c55e !important;
box-shadow: 0 0 25px rgba(34, 197, 94, 0.85), inset 0 0 14px rgba(34, 197, 94, 0.4) !important;
}
.avatar-name {
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.86rem;
background: rgba(245, 176, 65, 0.22);
color: var(--gold);
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 */
.avatar-badge.is-frozen,
.avatar-badge.is-skipped {
background: linear-gradient(135deg, rgba(0, 229, 255, 0.45) 0%, rgba(255, 255, 255, 0.25) 45%, rgba(0, 150, 255, 0.4) 100%) !important;
border-color: #00e5ff !important;
box-shadow: 0 0 26px rgba(0, 229, 255, 0.95), inset 0 0 16px rgba(255, 255, 255, 0.7) !important;
backdrop-filter: blur(8px) brightness(1.25) !important;
transform: scale(1.08);
overflow: visible;
animation: freeze-pulse 2s infinite ease-in-out alternate;
}
@keyframes freeze-pulse {
0% {
box-shadow: 0 0 18px rgba(0, 229, 255, 0.75), inset 0 0 12px rgba(255, 255, 255, 0.45);
border-color: #00e5ff;
}
100% {
box-shadow: 0 0 35px rgba(0, 229, 255, 1), 0 0 55px rgba(0, 229, 255, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.85);
border-color: #e0ffff;
}
}
/* FROZEN ICE AURA (SLOT) */
.player-slot.frozen-slot::before,
.slot-bottom.frozen-slot::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 150%;
height: 150%;
background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.38) 0%, rgba(0, 229, 255, 0.12) 50%, transparent 75%) !important;
pointer-events: none;
z-index: -1;
border-radius: 50%;
animation: ice-mist 2.4s infinite ease-in-out alternate !important;
}
@keyframes ice-mist {
0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.7; }
100% { transform: translate(-50%, -50%) scale(1.18); opacity: 1; filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.6)); }
}
/* FROZEN BADGE (ZMRAZENÝ) */
.frozen-indicator-badge {
position: absolute;
top: -14px;
left: 50%;
transform: translateX(-50%);
display: inline-flex;
align-items: center;
gap: 5px;
background: linear-gradient(135deg, #00e5ff, #80d8ff, #ffffff);
color: #003040;
font-size: 0.66rem;
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 18px rgba(0, 229, 255, 0.9);
border: 1.5px solid #ffffff;
white-space: nowrap;
z-index: 25;
animation: frozen-badge-float 2s ease-in-out infinite alternate;
}
@keyframes frozen-badge-float {
0% { transform: translateX(-50%) translateY(0); }
100% { transform: translateX(-50%) translateY(-3px); }
}
.frozen-indicator-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: #00b0ff;
box-shadow: 0 0 6px #00e5ff;
animation: dot-blink 0.8s ease-in-out infinite alternate;
}
/* ICICLES HANGING UNDER FROZEN BADGE */
.icicles-row {
position: absolute;
bottom: -10px;
left: 4px;
right: 4px;
height: 12px;
display: flex;
justify-content: space-around;
pointer-events: none;
z-index: 22;
}
.icicle {
width: 0;
height: 0;
border-left: 3.5px solid transparent;
border-right: 3.5px solid transparent;
border-top: 9px solid rgba(224, 247, 250, 0.92);
filter: drop-shadow(0 2px 4px rgba(0, 229, 255, 0.85));
}
.icicle:nth-child(even) {
border-top-width: 13px;
border-left-width: 4.5px;
border-right-width: 4.5px;
}
.icicle:nth-child(3n) {
border-top-width: 7px;
border-left-width: 2.5px;
border-right-width: 2.5px;
}
/* DISCARD PILE ACE FREEZE BADGE */
.ace-freeze-badge {
position: absolute;
top: -18px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, #00e5ff, #0091ea, #00b0ff);
color: #ffffff;
font-weight: 900;
font-size: 0.82rem;
padding: 3px 12px;
border-radius: 20px;
box-shadow: 0 0 22px rgba(0, 229, 255, 0.95), 0 4px 12px rgba(0, 0, 0, 0.7);
border: 2px solid #ffffff;
white-space: nowrap;
z-index: 25;
animation: ace-freeze-pulse 1.6s infinite alternate;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
@keyframes ace-freeze-pulse {
0% { transform: translateX(-50%) scale(0.95); box-shadow: 0 0 16px rgba(0, 229, 255, 0.75); }
100% { transform: translateX(-50%) scale(1.06); box-shadow: 0 0 32px rgba(0, 229, 255, 1); }
}
/* DISCARD PILE GREEN WILDCARD BADGE */
.green-wildcard-badge {
position: absolute;
top: -18px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, #1b4332, #2d6a4f, #52b788);
color: #ffffff;
font-weight: 900;
font-size: 0.82rem;
padding: 3px 12px;
border-radius: 20px;
box-shadow: 0 0 20px rgba(82, 183, 136, 0.9), 0 4px 12px rgba(0, 0, 0, 0.7);
border: 2px solid #b7e4c7;
white-space: nowrap;
z-index: 25;
animation: green-wildcard-pulse 1.6s infinite alternate;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
@keyframes green-wildcard-pulse {
0% { transform: translateX(-50%) scale(0.95); box-shadow: 0 0 14px rgba(82, 183, 136, 0.7); }
100% { transform: translateX(-50%) scale(1.06); box-shadow: 0 0 28px rgba(82, 183, 136, 1); }
}
.avatar-badge.is-finished {
opacity: 0.65;
filter: grayscale(0.4);
}
.avatar-badge.can-be-revived {
opacity: 0.95 !important;
filter: none !important;
border-color: #ff1744 !important;
box-shadow: 0 0 20px rgba(255, 23, 68, 0.7), inset 0 0 10px rgba(255, 23, 68, 0.3) !important;
animation: revive-target-pulse 1.4s infinite alternate;
}
@keyframes revive-target-pulse {
0% { box-shadow: 0 0 12px rgba(255, 23, 68, 0.5); }
100% { box-shadow: 0 0 24px rgba(255, 23, 68, 0.95), 0 0 35px rgba(255, 82, 82, 0.4); }
}
/* REVIVE COUNTDOWN BADGE */
.revive-countdown-badge {
position: absolute;
bottom: -13px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, #b71c1c, #d50000, #ff1744);
color: #ffffff;
font-size: 0.68rem;
font-weight: 900;
letter-spacing: 0.5px;
padding: 2px 9px;
border-radius: 12px;
box-shadow: 0 0 14px rgba(255, 23, 68, 0.85), 0 2px 6px rgba(0, 0, 0, 0.6);
border: 1.5px solid #ff8a80;
white-space: nowrap;
z-index: 25;
display: inline-flex;
align-items: center;
gap: 4px;
animation: heartbeat-glow 1.2s infinite ease-in-out alternate;
}
@keyframes heartbeat-glow {
0% { transform: translateX(-50%) scale(0.96); box-shadow: 0 0 8px rgba(255, 23, 68, 0.6); }
100% { transform: translateX(-50%) scale(1.05); box-shadow: 0 0 18px rgba(255, 23, 68, 1); }
}
.heartbeat-icon {
display: inline-block;
animation: heart-beat 1s infinite;
}
@keyframes heart-beat {
0% { transform: scale(1); }
15% { transform: scale(1.35); }
30% { transform: scale(1); }
45% { transform: scale(1.25); }
60% { transform: scale(1); }
}
.badge-finished-pos {
position: absolute;
top: -10px;
right: -10px;
background: linear-gradient(135deg, #ffd700, #ff8c00);
color: #000;
font-weight: 900;
font-size: 0.85rem;
width: 28px;
height: 28px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #fff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
/* OPPONENT MINI CARDS */
.opponent-mini-cards {
display: flex;
margin-top: 8px;
justify-content: center;
}
.mini-card-back {
width: 26px;
height: 38px;
background: linear-gradient(135deg, #8b1e1e, #4a0d0d);
border: 1px solid #ffd700;
border-radius: 4px;
margin-left: -14px;
box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.6);
transition: transform 0.2s ease;
}
.mini-card-back:first-child {
margin-left: 0;
}
/* MARIÁŠOVÉ SEDMOVÉ KARTY */
.game-card.marias-card {
width: var(--card-width);
height: var(--card-height);
border-radius: var(--card-radius);
position: relative;
background: #fdfbf7;
border: 2px solid #1a1a1a;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
padding: 0;
cursor: pointer;
transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
transform-origin: center bottom;
color: #1a1a1a;
overflow: hidden;
user-select: none;
}
.marias-card-img {
width: 100%;
height: 100%;
object-fit: fill;
border-radius: calc(var(--card-radius) - 2px);
display: block;
pointer-events: none;
background-color: #fff;
}
.back-inner-border {
width: 100%;
height: 100%;
border: 1px dashed #ffd700;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
}
.back-center-seal {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
}
.seal-icon {
font-size: 1.8rem;
color: #ffd700;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.seal-text {
font-family: 'Cinzel', serif;
font-size: 0.75rem;
font-weight: 900;
letter-spacing: 2px;
color: #ffd700;
}
/* MARIÁŠ ROHY */
.marias-corner {
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
z-index: 10;
}
.marias-corner.top-left {
top: 3px;
left: 4px;
}
.marias-corner.bottom-right {
bottom: 3px;
right: 4px;
transform: rotate(180deg);
}
.marias-rank-text {
font-family: 'Cinzel', serif;
font-weight: 900;
font-size: 0.95rem;
line-height: 1;
color: #1a1a1a;
}
.corner-pip {
width: 14px;
height: 14px;
margin-top: 1px;
}
/* MARIÁŠ TELO KARTY */
.marias-card-body {
flex: 1;
display: flex;
flex-direction: column;
position: relative;
width: 100%;
height: 100%;
}
.marias-half {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding: 2px 14px;
}
.marias-half.bottom-half {
transform: rotate(180deg);
}
/* STREDOVÝ DELIACI PÁS */
.marias-center-divider {
height: 14px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
z-index: 15;
}
.divider-line {
flex: 1;
height: 1px;
background: #d4a373;
}
.divider-badge {
padding: 0 4px;
font-size: 0.55rem;
font-family: 'Cinzel', serif;
font-weight: 800;
color: #6b4423;
white-space: nowrap;
background: #faf6ec;
border-radius: 4px;
border: 1px solid #e0c9a6;
letter-spacing: 0.5px;
}
.divider-ornament {
color: #d48b1a;
font-size: 0.5rem;
}
/* POSTAVY & ILUSTRÁCIE */
.figure-illustration {
display: flex;
align-items: center;
justify-content: center;
position: relative;
width: 100%;
height: 100%;
}
.figure-avatar {
font-size: 1.6rem;
filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}
.figure-badge-pip {
position: absolute;
width: 16px;
height: 16px;
}
.figure-badge-pip.pip-top {
top: 2px;
right: 4px;
}
.figure-badge-pip.pip-bottom {
bottom: 2px;
right: 4px;
}
/* JAZDEC NA ČERVENEJ SEDME */
.rider-illustration {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 100%;
padding: 0 2px;
}
.rider-icon {
font-size: 1.5rem;
}
.half-side-pips {
display: flex;
flex-direction: column;
gap: 2px;
}
.side-pip {
width: 13px;
height: 13px;
}
/* ROČNÉ OBDOBIE (ESO) */
.season-illustration {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
}
.season-icon {
font-size: 1.5rem;
}
.season-pip {
width: 18px;
height: 18px;
}
/* ČÍSELNÁ MRIEŽKA SYMBOLOV */
.numeric-pips-grid {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 3px 6px;
max-width: 60px;
}
.body-pip {
width: 15px;
height: 15px;
}
/* SVG PIP STYLING */
.marias-pip-wrapper {
display: inline-flex;
align-items: center;
justify-content: center;
}
.pip-svg {
width: 100%;
height: 100%;
overflow: visible;
}
.game-card.playable {
border: 2px solid var(--gold) !important;
box-shadow: 0 0 16px rgba(245, 176, 65, 0.9), 0 8px 18px rgba(0, 0, 0, 0.5);
cursor: pointer;
}
.game-card.unplayable {
filter: brightness(0.65) grayscale(0.3);
cursor: not-allowed;
}
/* Flying Card Animation Effect */
.flying-card-anim {
border: 2px solid var(--gold) !important;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 176, 65, 0.9) !important;
filter: brightness(1.05);
transform-origin: center center;
}
/* PLAYER HAND */
.player-hand-container {
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
width: 100%;
height: 100%;
padding-bottom: 8px;
perspective: 1000px;
position: relative;
}
.player-hand-fanning {
display: flex;
justify-content: center;
position: relative;
height: var(--card-height);
width: 100%;
max-width: clamp(650px, 75vw, 1350px);
}
.hand-card-slot {
position: absolute;
bottom: 0;
width: var(--card-width);
height: var(--card-height);
transform-origin: center bottom;
pointer-events: auto;
transition: z-index 0.05s ease;
}
.hand-card-slot:hover {
z-index: 180 !important;
}
.hand-card-slot .game-card {
width: 100%;
height: 100%;
transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.22s ease, filter 0.2s ease;
transform-origin: center bottom;
}
/* Stable hit area buffer at the bottom so cursor stays locked when card lifts up */
.hand-card-slot::after {
content: '';
position: absolute;
bottom: -35px;
left: -8px;
right: -8px;
height: 50px;
pointer-events: auto;
}
.hand-card-slot:hover .game-card.playable {
transform: translateY(-28px) scale(1.08);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 176, 65, 0.95);
filter: brightness(1.07);
}
.hand-card-slot .game-card.card-selected-combo {
transform: translateY(-34px) scale(1.08);
border-color: #ffd700 !important;
box-shadow: 0 0 28px rgba(255, 215, 0, 0.95), 0 18px 40px rgba(0, 0, 0, 0.85) !important;
filter: brightness(1.1);
}
/* Všetky karty rovnakej hodnoty sa automaticky vysunú pri otvorení comba */
.hand-card-slot.rank-group-lifted .game-card {
transform: translateY(-18px) scale(1.04);
border-color: rgba(245, 176, 65, 0.8) !important;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 18px rgba(245, 176, 65, 0.6) !important;
filter: brightness(1.05);
cursor: pointer;
}
.hand-card-slot.rank-group-lifted:hover .game-card {
transform: translateY(-28px) scale(1.08);
border-color: #ffd700 !important;
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7), 0 0 22px rgba(245, 176, 65, 0.95) !important;
}
/* COMBO ACTION BAR */
.hand-combo-action-bar {
position: absolute;
top: -55px;
display: flex;
align-items: center;
gap: 8px;
background: rgba(15, 23, 42, 0.94);
border: 2px solid var(--gold);
border-radius: 30px;
padding: 6px 14px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 176, 65, 0.5);
backdrop-filter: blur(12px);
z-index: 200;
animation: pop-up 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
white-space: nowrap;
}
@keyframes pop-up {
from { opacity: 0; transform: translateY(15px) scale(0.9); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.combo-sequence-container {
display: flex;
align-items: center;
gap: 6px;
padding-right: 6px;
border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.combo-seq-label {
font-size: 0.75rem;
color: #94a3b8;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 700;
}
.combo-sequence-items {
display: flex;
align-items: center;
gap: 4px;
}
.combo-seq-item {
display: inline-flex;
align-items: center;
gap: 3px;
font-size: 0.82rem;
font-weight: 800;
background: rgba(255, 255, 255, 0.08);
padding: 2px 7px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.combo-seq-item.combo-seq-final {
border-color: var(--gold);
background: rgba(245, 176, 65, 0.2);
box-shadow: 0 0 8px rgba(245, 176, 65, 0.4);
}
.seq-num {
opacity: 0.75;
font-size: 0.75rem;
}
.seq-symbol {
font-size: 0.95rem;
}
.seq-suit {
font-size: 0.8rem;
}
.seq-crown {
font-size: 0.85rem;
margin-left: 2px;
}
.combo-seq-arrow {
color: #cbd5e1;
font-size: 0.75rem;
opacity: 0.6;
}
.btn-combo-play {
background: linear-gradient(135deg, #f5b041, #d4ac0d);
color: #1a1a1a;
font-weight: 900;
font-size: 0.9rem;
padding: 7px 16px;
border-radius: 20px;
border: none;
cursor: pointer;
box-shadow: 0 4px 15px rgba(245, 176, 65, 0.6);
transition: all 0.2s ease;
white-space: nowrap;
}
.btn-combo-play:hover {
transform: scale(1.05);
box-shadow: 0 6px 20px rgba(245, 176, 65, 0.9);
}
.btn-combo-reverse {
background: rgba(255, 255, 255, 0.15);
color: #f8fafc;
font-weight: 700;
font-size: 0.82rem;
padding: 6px 12px;
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.25);
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
}
.btn-combo-reverse:hover {
background: rgba(255, 255, 255, 0.3);
border-color: var(--gold);
color: var(--gold);
}
.btn-combo-all {
background: rgba(255, 255, 255, 0.1);
color: #f1f5f9;
font-weight: 700;
font-size: 0.82rem;
padding: 6px 11px;
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.2);
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
}
.btn-combo-all:hover {
background: rgba(255, 255, 255, 0.22);
}
.btn-combo-clear {
background: rgba(239, 68, 68, 0.2);
color: #fca5a5;
font-weight: 900;
font-size: 0.85rem;
width: 30px;
height: 30px;
border-radius: 50%;
border: 1px solid rgba(239, 68, 68, 0.4);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
}
.btn-combo-clear:hover {
background: rgba(239, 68, 68, 0.6);
color: #fff;
}
.combo-invalid-badge {
color: #f87171;
font-weight: 700;
font-size: 0.85rem;
padding: 4px 10px;
}
/* CARD ORDER BADGE ON FAN CARDS */
.card-order-badge {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background: #0f172a;
border: 2px solid var(--gold);
color: var(--gold);
font-weight: 900;
font-size: 0.8rem;
padding: 2px 8px;
border-radius: 14px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 10px rgba(245, 176, 65, 0.6);
z-index: 150;
display: flex;
align-items: center;
gap: 4px;
white-space: nowrap;
animation: pop-up 0.2s ease;
pointer-events: none;
}
.card-order-badge.is-top-badge {
background: linear-gradient(135deg, #b45309, #d97706);
border-color: #ffd700;
color: #fff;
box-shadow: 0 4px 15px rgba(217, 119, 6, 0.8), 0 0 15px rgba(255, 215, 0, 0.8);
}
.order-number {
font-size: 0.85rem;
}
.order-tag {
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.5px;
}
/* SELECTED CARD IN HAND */
.card-selected-combo {
border-color: #ffd700 !important;
box-shadow: 0 0 25px rgba(255, 215, 0, 0.9), 0 15px 35px rgba(0, 0, 0, 0.8) !important;
filter: brightness(1.08);
}
.player-hand-fanning {
display: flex;
justify-content: center;
position: relative;
}
/* CENTER TABLE ELEMENTS */
.deck-card-container {
position: relative;
cursor: pointer;
transition: transform 0.2s ease;
}
.deck-card-container:hover {
transform: scale(1.05);
}
.deck-count-badge {
position: absolute;
top: -10px;
right: -10px;
background: #000;
border: 2px solid var(--gold);
color: var(--gold);
font-weight: 800;
font-size: 0.85rem;
width: 28px;
height: 28px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
z-index: 5;
}
.discard-pile-container {
position: relative;
}
/* CENTER ACTION INDICATORS */
.seven-penalty-badge {
position: absolute;
top: -24px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(135deg, #ff4500, #ff8c00);
color: #fff;
font-weight: 900;
font-size: 1.1rem;
padding: 4px 14px;
border-radius: 20px;
box-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
animation: pulse-fire 1s infinite alternate;
white-space: nowrap;
z-index: 20;
}
@keyframes pulse-fire {
0% { transform: translateX(-50%) scale(1); box-shadow: 0 0 15px #ff4500; }
100% { transform: translateX(-50%) scale(1.15); box-shadow: 0 0 30px #ff4500, 0 0 45px #ffd700; }
}
.active-suit-badge {
position: absolute;
bottom: -28px;
left: 50%;
transform: translateX(-50%);
background: rgba(10, 20, 15, 0.9);
border: 2px solid var(--gold);
color: #fff;
font-weight: 700;
font-size: 0.85rem;
padding: 3px 12px;
border-radius: 16px;
display: flex;
align-items: center;
gap: 6px;
white-space: nowrap;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
z-index: 20;
}
/* SUIT PICKER MODAL */
.suit-picker-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(8px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 200;
animation: fadeIn 0.3s ease;
}
.suit-picker-title {
font-family: 'Cinzel', serif;
font-size: 1.6rem;
color: var(--gold);
margin-bottom: 20px;
text-shadow: 0 0 15px rgba(245, 176, 65, 0.6);
}
.suit-picker-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.suit-btn {
background: rgba(20, 30, 25, 0.9);
border: 2px solid rgba(255, 255, 255, 0.15);
border-radius: 16px;
padding: 18px 24px;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.suit-btn:hover {
transform: scale(1.1);
border-color: var(--gold);
box-shadow: 0 0 20px rgba(245, 176, 65, 0.5);
}
.suit-btn-symbol {
font-size: 2.8rem;
line-height: 1;
}
.suit-btn-name {
font-weight: 700;
margin-top: 6px;
}
/* PASS & PLAY CURTAIN */
.pass-screen-overlay {
position: absolute;
inset: 0;
background: radial-gradient(circle at center, #1b3d2f 0%, #06150e 100%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 300;
text-align: center;
padding: 20px;
}
.pass-screen-card {
background: rgba(10, 25, 18, 0.9);
border: 2px solid var(--gold);
border-radius: 24px;
padding: 36px 48px;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 176, 65, 0.3);
max-width: 450px;
}
.pass-avatar {
font-size: 4.5rem;
margin-bottom: 12px;
}
.pass-title {
font-family: 'Cinzel', serif;
font-size: 1.8rem;
color: var(--gold);
margin-bottom: 8px;
}
.pass-subtitle {
font-size: 1rem;
color: #ccc;
margin-bottom: 24px;
}
.btn-primary-glow {
background: linear-gradient(135deg, #f5b041, #d48b1a);
color: #000;
font-weight: 900;
font-size: 1.15rem;
padding: 12px 32px;
border: none;
border-radius: 30px;
cursor: pointer;
box-shadow: 0 6px 20px rgba(245, 176, 65, 0.5);
transition: all 0.2s ease;
}
.btn-primary-glow:hover {
transform: scale(1.06);
box-shadow: 0 8px 25px rgba(245, 176, 65, 0.8);
}
/* GAME OVER MODAL */
.game-over-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(10px);
display: flex;
align-items: center;
justify-content: center;
z-index: 400;
animation: fadeIn 0.4s ease;
}
.game-over-card {
background: radial-gradient(circle at top, #1c4b38, #0a1f16);
border: 3px solid var(--gold);
border-radius: 28px;
padding: 32px 40px;
text-align: center;
box-shadow: 0 0 60px rgba(245, 176, 65, 0.4);
max-width: 500px;
width: 90%;
}
.game-over-title {
font-family: 'Cinzel', serif;
font-size: 2.2rem;
font-weight: 900;
color: var(--gold);
text-shadow: 0 0 20px rgba(245, 176, 65, 0.8);
margin-bottom: 20px;
}
.podium-list {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 24px;
}
.podium-row {
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(255, 255, 255, 0.08);
padding: 10px 16px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.podium-row.winner {
background: rgba(245, 176, 65, 0.2);
border-color: var(--gold);
}
.podium-pos {
font-size: 1.3rem;
font-weight: 900;
width: 32px;
}
.podium-player {
display: flex;
align-items: center;
gap: 10px;
font-weight: 700;
font-size: 1.05rem;
}
/* LOBBY SCREEN */
.lobby-screen {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: radial-gradient(circle at center, #1b4d3e 0%, #081a12 60%, #030a07 100%);
overflow-y: auto;
padding: 20px;
}
.lobby-container {
background: rgba(10, 25, 18, 0.92);
border: 2px solid rgba(245, 176, 65, 0.4);
border-radius: 24px;
padding: 22px 28px;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 176, 65, 0.2);
max-width: 1160px;
width: 100%;
}
.lobby-header {
text-align: center;
margin-bottom: 24px;
}
.lobby-logo-wrapper {
display: flex;
justify-content: center;
margin-bottom: 12px;
}
.lobby-logo-img {
width: 96px;
height: 96px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #00e5ff;
box-shadow: 0 0 25px rgba(0, 229, 255, 0.65), 0 0 45px rgba(255, 215, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.85);
animation: logo-glow 3s infinite ease-in-out alternate;
}
@keyframes logo-glow {
0% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 229, 255, 0.5), 0 0 35px rgba(255, 215, 0, 0.25); }
100% { transform: scale(1.05); box-shadow: 0 0 40px rgba(0, 229, 255, 0.9), 0 0 60px rgba(255, 215, 0, 0.5); }
}
.lobby-title {
font-family: 'Cinzel', serif;
font-size: 2.5rem;
font-weight: 900;
letter-spacing: 3px;
color: var(--gold);
text-shadow: 0 0 20px rgba(245, 176, 65, 0.6);
margin: 0;
}
.lobby-subtitle {
color: #a3b899;
font-size: 1rem;
margin-top: 4px;
}
.player-count-picker {
display: flex;
justify-content: center;
gap: 12px;
margin-bottom: 24px;
}
.btn-pill {
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #fff;
padding: 8px 20px;
border-radius: 20px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease;
}
.btn-pill.active {
background: var(--gold);
color: #000;
border-color: var(--gold);
box-shadow: 0 0 15px rgba(245, 176, 65, 0.5);
}
.players-config-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 14px;
margin-bottom: 24px;
}
.player-setup-card {
background: rgba(20, 45, 33, 0.8);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 18px;
padding: 16px;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
transition: all 0.2s ease;
}
.player-setup-card:hover {
border-color: var(--gold);
}
.player-setup-input {
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
color: #fff;
padding: 6px 10px;
font-weight: 600;
width: 100%;
text-align: center;
}
.player-setup-select {
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
color: #fff;
padding: 6px 10px;
font-size: 0.85rem;
width: 100%;
}
.rules-toggle-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 10px;
background: rgba(0, 0, 0, 0.3);
padding: 16px;
border-radius: 16px;
margin-bottom: 24px;
}
.rule-check-item {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.9rem;
cursor: pointer;
}
.rule-check-item input {
cursor: pointer;
accent-color: var(--gold);
}
/* DECK SELECTOR */
.deck-selector-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}
@media (max-width: 1100px) {
.deck-selector-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 768px) {
.deck-selector-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.deck-selector-grid {
grid-template-columns: 1fr;
}
}
.deck-option-card {
display: flex;
align-items: center;
gap: 10px;
background: rgba(0, 0, 0, 0.4);
border: 2px solid rgba(255, 255, 255, 0.15);
border-radius: 14px;
padding: 8px 10px;
cursor: pointer;
transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.deck-option-card:hover {
background: rgba(245, 176, 65, 0.14);
border-color: rgba(245, 176, 65, 0.6);
transform: translateY(-2px);
}
.deck-option-card.selected-deck {
background: rgba(245, 176, 65, 0.22);
border-color: var(--gold);
box-shadow: 0 0 16px rgba(245, 176, 65, 0.45), inset 0 0 12px rgba(245, 176, 65, 0.15);
}
.deck-preview-img-box {
position: relative;
width: 48px;
height: 68px;
flex-shrink: 0;
}
.deck-preview-thumb {
position: absolute;
top: 0;
left: 0;
width: 38px;
height: 58px;
border-radius: 5px;
border: 1px solid rgba(255, 255, 255, 0.4);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
object-fit: cover;
z-index: 2;
transition: transform 0.2s ease;
}
.deck-preview-thumb-back {
position: absolute;
bottom: 0;
right: 0;
width: 38px;
height: 58px;
border-radius: 5px;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
object-fit: cover;
z-index: 1;
opacity: 0.85;
}
.deck-option-card:hover .deck-preview-thumb {
transform: translateY(-3px) rotate(-3deg);
}
.deck-info {
display: flex;
flex-direction: column;
gap: 2px;
text-align: left;
overflow: hidden;
}
.deck-name {
font-size: 0.88rem;
font-weight: 800;
color: #fff;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.deck-option-card.selected-deck .deck-name {
color: var(--gold);
}
.deck-desc {
font-size: 0.72rem;
color: #94a3b8;
line-height: 1.2;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
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;
inset: 0;
pointer-events: none;
z-index: 150;
}
/* Event Ticker Message */
.event-ticker {
position: absolute;
bottom: calc(var(--card-height) + 65px);
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.75);
border: 1px solid rgba(245, 176, 65, 0.5);
color: #fff;
font-weight: 600;
font-size: 0.9rem;
padding: 6px 18px;
border-radius: 20px;
pointer-events: none;
z-index: 40;
transition: opacity 0.3s ease;
backdrop-filter: blur(6px);
}
/* --- DOPAMINE POPUP BANNER --- */
.dopamine-banner {
position: absolute;
top: 38%;
left: 50%;
transform: translate(-50%, -50%) scale(0.6);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 500;
pointer-events: none;
animation: dopamine-pop-in 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.35) forwards;
}
.dopamine-content {
position: relative;
padding: 12px 32px;
border-radius: 40px;
background: rgba(10, 15, 25, 0.92);
border: 3px solid #ffd700;
box-shadow: 0 0 50px rgba(255, 215, 0, 0.6), inset 0 0 25px rgba(255, 215, 0, 0.3);
text-align: center;
backdrop-filter: blur(12px);
}
.dopamine-title {
font-family: 'Cinzel', serif;
font-size: 2.2rem;
font-weight: 900;
letter-spacing: 2px;
color: #fff;
text-shadow: 0 0 20px #ffd700, 0 4px 10px rgba(0,0,0,0.8);
white-space: nowrap;
}
.dopamine-sub {
font-size: 1.1rem;
font-weight: 800;
color: #ffd700;
letter-spacing: 1px;
margin-top: 2px;
text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}
/* Types */
.dopamine-double .dopamine-content {
border-color: #00e5ff;
box-shadow: 0 0 45px rgba(0, 229, 255, 0.7), inset 0 0 20px rgba(0, 229, 255, 0.3);
}
.dopamine-double .dopamine-title {
text-shadow: 0 0 25px #00e5ff, 0 0 40px #00e5ff;
}
.dopamine-triple .dopamine-content {
border-color: #ff4500;
box-shadow: 0 0 55px rgba(255, 69, 0, 0.8), inset 0 0 25px rgba(255, 140, 0, 0.4);
}
.dopamine-triple .dopamine-title {
text-shadow: 0 0 30px #ff4500, 0 0 50px #ff8c00;
}
.dopamine-quad .dopamine-content, .dopamine-mega .dopamine-content {
border-color: #ffd700;
background: linear-gradient(135deg, rgba(30, 20, 5, 0.95), rgba(15, 10, 0, 0.95));
box-shadow: 0 0 80px rgba(255, 215, 0, 0.9), inset 0 0 35px rgba(255, 215, 0, 0.5);
transform: scale(1.15);
}
.dopamine-quad .dopamine-title {
font-size: 2.7rem;
text-shadow: 0 0 35px #ffd700, 0 0 60px #ff8c00, 0 0 90px #ffd700;
}
.dopamine-freeze .dopamine-content {
border-color: #00ffff;
box-shadow: 0 0 60px rgba(0, 255, 255, 0.8), inset 0 0 25px rgba(0, 255, 255, 0.4);
}
.dopamine-revive .dopamine-content {
border-color: #ff0055;
box-shadow: 0 0 65px rgba(255, 0, 85, 0.9), inset 0 0 30px rgba(255, 215, 0, 0.5);
}
.dopamine-jackpot .dopamine-content {
border-color: #ffd700;
box-shadow: 0 0 90px rgba(255, 215, 0, 1), inset 0 0 40px rgba(255, 215, 0, 0.6);
}
.dopamine-fadeout {
opacity: 0;
transform: translate(-50%, -70%) scale(1.2);
transition: all 0.35s ease;
}
@keyframes dopamine-pop-in {
0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
60% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
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: '';
position: absolute;
inset: 0;
border-radius: var(--card-radius);
background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.4) 40%, rgba(255, 215, 0, 0.5) 50%, rgba(0, 229, 255, 0.4) 60%, transparent 80%);
background-size: 200% 200%;
animation: holo-shine 2.8s infinite linear;
pointer-events: none;
z-index: 10;
opacity: 0.6;
}
@keyframes holo-shine {
0% { background-position: -200% -200%; }
100% { background-position: 200% 200%; }
}
@keyframes fadeIn {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}