1390 lines
28 KiB
CSS
1390 lines
28 KiB
CSS
:root {
|
|
--table-green: #0d3824;
|
|
--table-green-dark: #061c12;
|
|
--table-border: #8b5a2b;
|
|
--gold: #f5b041;
|
|
--gold-glow: #ffd700;
|
|
--flame-red: #ff4500;
|
|
--ice-blue: #00e5ff;
|
|
--card-width: 90px;
|
|
--card-height: 135px;
|
|
--card-radius: 8px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
:root {
|
|
--card-width: 110px;
|
|
--card-height: 165px;
|
|
--card-radius: 10px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
:root {
|
|
--card-width: 125px;
|
|
--card-height: 188px;
|
|
--card-radius: 12px;
|
|
}
|
|
}
|
|
|
|
* {
|
|
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 */
|
|
.app-loader {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
background: radial-gradient(circle at center, #1b4d3e 0%, #050b08 100%);
|
|
}
|
|
|
|
.loader-card {
|
|
font-size: 4rem;
|
|
animation: bounce 1.2s infinite alternate ease-in-out;
|
|
}
|
|
|
|
.loader-text {
|
|
margin-top: 1rem;
|
|
font-family: 'Cinzel', serif;
|
|
font-size: 1.5rem;
|
|
letter-spacing: 2px;
|
|
color: var(--gold);
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0% { transform: translateY(0) rotate(-5deg); }
|
|
100% { transform: translateY(-20px) rotate(5deg); }
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.btn-game-icon {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
width: 38px;
|
|
height: 38px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.btn-game-icon:hover {
|
|
background: rgba(245, 176, 65, 0.3);
|
|
border-color: var(--gold);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
/* TABLE FELT & SLOTS */
|
|
.poker-table-surface {
|
|
flex: 1;
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-rows: 140px 1fr 180px;
|
|
grid-template-columns: 140px 1fr 140px;
|
|
margin: 10px 16px 16px;
|
|
border-radius: 40px;
|
|
border: 10px 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: 100px 1fr 160px;
|
|
grid-template-columns: 90px 1fr 90px;
|
|
margin: 6px;
|
|
border-width: 6px;
|
|
}
|
|
}
|
|
|
|
/* SLOTS */
|
|
.player-slot {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
z-index: 10;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.slot-center {
|
|
grid-row: 2;
|
|
grid-column: 2;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
/* AVATAR BADGE */
|
|
.avatar-badge {
|
|
position: relative;
|
|
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);
|
|
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
.avatar-badge.active-turn {
|
|
border-color: var(--gold);
|
|
box-shadow: 0 0 20px rgba(245, 176, 65, 0.8), inset 0 0 10px rgba(245, 176, 65, 0.3);
|
|
transform: scale(1.08);
|
|
animation: turn-pulse 1.8s infinite;
|
|
}
|
|
|
|
@keyframes turn-pulse {
|
|
0%, 100% { box-shadow: 0 0 15px rgba(245, 176, 65, 0.7); }
|
|
50% { box-shadow: 0 0 25px rgba(245, 176, 65, 1), 0 0 40px rgba(245, 176, 65, 0.5); }
|
|
}
|
|
|
|
.avatar-icon {
|
|
font-size: 1.8rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.avatar-name {
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
margin-top: 2px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.avatar-card-count {
|
|
font-size: 0.75rem;
|
|
background: rgba(245, 176, 65, 0.2);
|
|
color: var(--gold);
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
margin-top: 2px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.avatar-badge.is-skipped {
|
|
border-color: var(--ice-blue);
|
|
box-shadow: 0 0 15px var(--ice-blue);
|
|
}
|
|
|
|
.avatar-badge.is-finished {
|
|
opacity: 0.6;
|
|
filter: grayscale(0.5);
|
|
}
|
|
|
|
.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: 6px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mini-card-back {
|
|
width: 22px;
|
|
height: 32px;
|
|
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);
|
|
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: 600px;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
/* 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.9);
|
|
border: 2px solid rgba(245, 176, 65, 0.4);
|
|
border-radius: 28px;
|
|
padding: 30px 36px;
|
|
box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 176, 65, 0.2);
|
|
max-width: 850px;
|
|
width: 100%;
|
|
}
|
|
|
|
.lobby-header {
|
|
text-align: center;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.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: 1fr 1fr;
|
|
gap: 14px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.deck-selector-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.deck-option-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
background: rgba(0, 0, 0, 0.35);
|
|
border: 2px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 16px;
|
|
padding: 12px;
|
|
cursor: pointer;
|
|
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
}
|
|
|
|
.deck-option-card:hover {
|
|
background: rgba(245, 176, 65, 0.12);
|
|
border-color: rgba(245, 176, 65, 0.5);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.deck-option-card.selected-deck {
|
|
background: rgba(245, 176, 65, 0.2);
|
|
border-color: var(--gold);
|
|
box-shadow: 0 0 20px rgba(245, 176, 65, 0.4), inset 0 0 15px rgba(245, 176, 65, 0.15);
|
|
}
|
|
|
|
.deck-preview-img-box {
|
|
position: relative;
|
|
width: 64px;
|
|
height: 90px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.deck-preview-thumb {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 52px;
|
|
height: 78px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
box-shadow: 0 4px 10px 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: 52px;
|
|
height: 78px;
|
|
border-radius: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
|
|
object-fit: cover;
|
|
z-index: 1;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.deck-option-card:hover .deck-preview-thumb {
|
|
transform: translateY(-4px) rotate(-3deg);
|
|
}
|
|
|
|
.deck-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
text-align: left;
|
|
}
|
|
|
|
.deck-name {
|
|
font-size: 1rem;
|
|
font-weight: 800;
|
|
color: #fff;
|
|
}
|
|
|
|
.deck-option-card.selected-deck .deck-name {
|
|
color: var(--gold);
|
|
}
|
|
|
|
.deck-desc {
|
|
font-size: 0.8rem;
|
|
color: #94a3b8;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
/* Canvas Particle Layer */
|
|
#particle-canvas {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
z-index: 150;
|
|
}
|
|
|
|
/* Event Ticker Message */
|
|
.event-ticker {
|
|
position: absolute;
|
|
bottom: 210px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: rgba(0, 0, 0, 0.7);
|
|
border: 1px solid rgba(245, 176, 65, 0.4);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
padding: 5px 16px;
|
|
border-radius: 20px;
|
|
pointer-events: none;
|
|
z-index: 40;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: scale(0.95); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
} |