123
This commit is contained in:
@ -345,6 +345,26 @@ html, body {
|
||||
color: #ff6b6b; display: inline-flex; align-items: center;
|
||||
}
|
||||
|
||||
.health-display #your-health.health-changed {
|
||||
animation: healthChange 0.5s ease-out;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@keyframes healthChange {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
color: var(--red);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.3);
|
||||
color: var(--amber-bright);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
color: var(--red);
|
||||
}
|
||||
}
|
||||
|
||||
.deck-count { font-size: 0.9rem; color: #94a3b8; }
|
||||
.deck-count .swg.deck-icon { font-size: 1rem; margin-right: 0.2rem; color: var(--gold); }
|
||||
|
||||
@ -519,8 +539,50 @@ html, body {
|
||||
0%, 100% { box-shadow: 0 0 20px rgba(255,204,0,0.4); }
|
||||
50% { box-shadow: 0 0 30px rgba(255,204,0,0.7); }
|
||||
}
|
||||
.opponent-block.defeated {
|
||||
opacity: 0.5;
|
||||
position: relative;
|
||||
}
|
||||
.opponent-block.defeated::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(135deg, transparent 45%, rgba(255,70,70,0.3) 48%, rgba(255,70,70,0.3) 52%, transparent 55%);
|
||||
pointer-events: none;
|
||||
z-index: 10;
|
||||
}
|
||||
.opponent-block.defeated::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: -10px;
|
||||
right: -10px;
|
||||
height: 3px;
|
||||
background: rgba(255,70,70,0.8);
|
||||
transform: translateY(-50%) rotate(-5deg);
|
||||
box-shadow: 0 0 10px rgba(255,70,70,0.6);
|
||||
pointer-events: none;
|
||||
z-index: 11;
|
||||
}
|
||||
.opponent-name { font-weight: 700; color: var(--cyan); margin-bottom: 0.35rem; font-size: 0.95rem; }
|
||||
.opponent-name.defeated-name {
|
||||
text-decoration: line-through;
|
||||
color: #666;
|
||||
opacity: 0.6;
|
||||
}
|
||||
.defeated-badge {
|
||||
color: var(--red);
|
||||
font-size: 1.2em;
|
||||
margin-left: 0.3rem;
|
||||
}
|
||||
.opponent-stats { display: flex; gap: 0.75rem; font-size: 0.85rem; color: #94a3b8; margin-bottom: 0.5rem; }
|
||||
.opponent-stats.defeated-stats {
|
||||
opacity: 0.5;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
.opponent-board { display: flex; flex-wrap: wrap; gap: 0.5rem; min-height: 80px; }
|
||||
|
||||
.battlefield { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
|
||||
@ -1739,31 +1801,102 @@ html, body {
|
||||
/* Frozen effect */
|
||||
.frozen, .frozen-card {
|
||||
position: relative;
|
||||
filter: brightness(0.85) saturate(0.7);
|
||||
border: 2px solid rgba(135,206,250,0.6) !important;
|
||||
box-shadow: 0 0 15px rgba(135,206,250,0.4), inset 0 0 20px rgba(135,206,250,0.2) !important;
|
||||
filter: brightness(0.75) saturate(0.6);
|
||||
border: 3px solid rgba(135,206,250,0.8) !important;
|
||||
box-shadow: 0 0 20px rgba(135,206,250,0.6),
|
||||
0 0 40px rgba(135,206,250,0.4),
|
||||
inset 0 0 30px rgba(135,206,250,0.3) !important;
|
||||
animation: frozenShimmer 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes frozenShimmer {
|
||||
0%, 100% {
|
||||
filter: brightness(0.75) saturate(0.6);
|
||||
box-shadow: 0 0 20px rgba(135,206,250,0.6),
|
||||
0 0 40px rgba(135,206,250,0.4),
|
||||
inset 0 0 30px rgba(135,206,250,0.3);
|
||||
}
|
||||
50% {
|
||||
filter: brightness(0.85) saturate(0.7);
|
||||
box-shadow: 0 0 30px rgba(135,206,250,0.8),
|
||||
0 0 60px rgba(135,206,250,0.6),
|
||||
inset 0 0 40px rgba(135,206,250,0.4);
|
||||
}
|
||||
}
|
||||
|
||||
.frozen-icon {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
font-size: 1.5rem;
|
||||
font-size: 1.8rem;
|
||||
z-index: 10;
|
||||
animation: frozenPulse 2s ease-in-out infinite;
|
||||
text-shadow: 0 0 10px rgba(135,206,250,0.8);
|
||||
text-shadow: 0 0 10px rgba(135,206,250,0.8),
|
||||
0 0 20px rgba(135,206,250,0.6);
|
||||
}
|
||||
@keyframes frozenPulse {
|
||||
0%, 100% { opacity: 0.8; transform: scale(1); }
|
||||
50% { opacity: 1; transform: scale(1.1); }
|
||||
0%, 100% { opacity: 0.9; transform: scale(1); }
|
||||
50% { opacity: 1; transform: scale(1.3); }
|
||||
}
|
||||
.frozen-card::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(135deg, rgba(135,206,250,0.1) 0%, rgba(70,130,180,0.1) 100%);
|
||||
border-radius: 10px;
|
||||
inset: -3px;
|
||||
background: linear-gradient(135deg,
|
||||
rgba(135,206,250,0.2) 0%,
|
||||
rgba(70,130,180,0.3) 25%,
|
||||
rgba(135,206,250,0.2) 50%,
|
||||
rgba(70,130,180,0.3) 75%,
|
||||
rgba(135,206,250,0.2) 100%);
|
||||
background-size: 200% 200%;
|
||||
border-radius: 12px;
|
||||
animation: frozenGradient 3s linear infinite;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@keyframes frozenGradient {
|
||||
0% {
|
||||
background-position: 0% 0%;
|
||||
}
|
||||
100% {
|
||||
background-position: 200% 200%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Synergy bonuses */
|
||||
.has-synergy {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.has-synergy::after {
|
||||
content: '✨';
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
left: -5px;
|
||||
font-size: 1.2rem;
|
||||
z-index: 15;
|
||||
animation: synergyGlow 2s ease-in-out infinite;
|
||||
filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.8));
|
||||
}
|
||||
|
||||
@keyframes synergyGlow {
|
||||
0%, 100% {
|
||||
opacity: 0.7;
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: scale(1.2);
|
||||
}
|
||||
}
|
||||
|
||||
.synergy-bonus {
|
||||
color: var(--amber-bright);
|
||||
font-size: 0.7em;
|
||||
font-weight: bold;
|
||||
margin-left: 2px;
|
||||
text-shadow: 0 0 5px rgba(255, 204, 0, 0.8);
|
||||
}
|
||||
|
||||
/* Fictional card marker */
|
||||
|
||||
Reference in New Issue
Block a user