button {
    background: linear-gradient(to bottom, #4040ff, #2020aa);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(64, 64, 255, 0.5);
}

button:hover {
    background: linear-gradient(to bottom, #60f0ff, #4040ff);
    box-shadow: 0 0 20px rgba(96, 240, 255, 0.7);
    transform: translateY(-2px);
}

.action-button {
    padding: 12px 24px;
    border-radius: 8px;
    background: linear-gradient(to bottom, #3a3a8c, #1a1a4c);
    color: white;
    border: 1px solid #60f0ff;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-button:hover {
    background: linear-gradient(to bottom, #4a4a9c, #2a2a5c);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(96, 240, 255, 0.7);
}

.action-button:active {
    transform: translateY(1px);
}

.action-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.attack-button {
    background: linear-gradient(to bottom, #8c3a3a, #4c1a1a);
    border-color: #ff6060;
}

.attack-button:hover {
    background: linear-gradient(to bottom, #9c4a4a, #5c2a2a);
    box-shadow: 0 0 10px rgba(255, 96, 96, 0.7);
}

.defend-button {
    background: linear-gradient(to bottom, #3a8c3a, #1a4c1a);
    border-color: #60ff60;
}

.defend-button:hover {
    background: linear-gradient(to bottom, #4a9c4a, #2a5c2a);
    box-shadow: 0 0 10px rgba(96, 255, 96, 0.7);
}

/* Ability Buttons */
.ability-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.ability-button {
    background: linear-gradient(to bottom, #4a4aaa, #2a2a6a);
    border: 1px solid #60f0ff;
    color: #fff;
    padding: 10px 15px;
    font-size: 0.9rem;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.ability-button:hover {
    background: linear-gradient(to bottom, #5a5aba, #3a3a7a);
    box-shadow: 0 0 15px rgba(96, 240, 255, 0.7);
}

.ability-button:disabled {
    background: linear-gradient(to bottom, #3a3a6a, #1a1a3a);
    border-color: #4040aa;
    color: #8080aa;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.ability-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: left 0.5s;
}

.ability-button:hover::before {
    left: 100%;
}

.ability-button i {
    margin-right: 5px;
}

/* Different colors for different ability types */
.ability-button[data-ability-id="powerStrike"] {
    background: linear-gradient(to bottom, #aa4a4a, #6a2a2a);
    border-color: #ff6060;
}

.ability-button[data-ability-id="powerStrike"]:hover {
    background: linear-gradient(to bottom, #ba5a5a, #7a3a3a);
    box-shadow: 0 0 15px rgba(255, 96, 96, 0.7);
}

.ability-button[data-ability-id="evasiveManeuvers"] {
    background: linear-gradient(to bottom, #4a8aaa, #2a5a6a);
    border-color: #60c0ff;
}

.ability-button[data-ability-id="evasiveManeuvers"]:hover {
    background: linear-gradient(to bottom, #5a9aba, #3a6a7a);
    box-shadow: 0 0 15px rgba(96, 192, 255, 0.7);
}

.ability-button[data-ability-id="energyShield"] {
    background: linear-gradient(to bottom, #4aaa8a, #2a6a5a);
    border-color: #60ffc0;
}

.ability-button[data-ability-id="energyShield"]:hover {
    background: linear-gradient(to bottom, #5aba9a, #3a7a6a);
    box-shadow: 0 0 15px rgba(96, 255, 192, 0.7);
}

.ability-button[data-ability-id="berserkerMode"] {
    background: linear-gradient(to bottom, #aa4a8a, #6a2a5a);
    border-color: #ff60c0;
}

.ability-button[data-ability-id="berserkerMode"]:hover {
    background: linear-gradient(to bottom, #ba5a9a, #7a3a6a);
    box-shadow: 0 0 15px rgba(255, 96, 192, 0.7);
}

/* Fighter Card */
.fighter-card {
    background: rgba(15, 15, 30, 0.7);
    border: 2px solid #4040ff;
    border-radius: 10px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fighter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(96, 240, 255, 0.1) 0%, 
        rgba(64, 64, 255, 0.05) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.fighter-card:hover {
    background: rgba(20, 20, 40, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(96, 240, 255, 0.4);
    border-color: #60f0ff;
}

.fighter-card:hover::before {
    opacity: 1;
}

.fighter-card.selected {
    background: rgba(40, 40, 80, 0.9);
    border: 1px solid #60f0ff;
    box-shadow: 0 0 15px rgba(96, 240, 255, 0.4), inset 0 0 8px rgba(96, 240, 255, 0.2);
    transform: translateY(-2px);
}

.fighter-name {
    font-weight: bold;
    color: #60f0ff;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(96, 240, 255, 0.5);
}

.fighter-stats {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.fighter-stats > div {
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.fighter-stat {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.fighter-stat-label {
    font-weight: bold;
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.7);
}

.fighter-stat-value {
    color: #ffcc00;
    font-weight: bold;
}

.fighter-stat-value.force {
    color: #ff6060;
}

.fighter-stat-value.finesse {
    color: #60f0ff;
}

.fighter-stat-value.precision {
    color: #60ff60;
}

.fighter-card button {
    background: linear-gradient(to bottom, #4040ff, #2020aa);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
    box-shadow: 0 0 10px rgba(64, 64, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.fighter-card button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transition: left 0.6s;
}

.fighter-card button:hover {
    background: linear-gradient(to bottom, #60f0ff, #4040ff);
    box-shadow: 0 0 15px rgba(96, 240, 255, 0.7);
    transform: translateY(-2px);
}

.fighter-card button:hover::before {
    left: 100%;
}

/* Stat Bars */
.stat-bar-container {
    flex: 1;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-bar {
    height: 100%;
    transition: width 0.3s ease-out;
    border-radius: 10px;
}

.stat-bar.health {
    background: linear-gradient(to right, #ff3030, #ff6060);
    box-shadow: 0 0 5px rgba(255, 48, 48, 0.7);
}

.stat-bar.energy {
    background: linear-gradient(to right, #3030ff, #6060ff);
    box-shadow: 0 0 5px rgba(48, 48, 255, 0.7);
}

/* Toast Notification */
#toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 40, 0.95);
    color: #60f0ff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(96, 240, 255, 0.5);
    border: 1px solid #4040ff;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 80%;
}

#toast-notification.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -20px);
}

/* Active effect indicators */
.active-effects {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.effect-indicator {
    font-size: 0.8rem;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.effect-indicator.damage-up {
    background: rgba(255, 0, 0, 0.3);
    border: 1px solid #ff6060;
}

.effect-indicator.dodge-down {
    background: rgba(255, 255, 0, 0.3);
    border: 1px solid #ffff60;
}

.effect-indicator.shield-active {
    background: rgba(0, 255, 255, 0.3);
    border: 1px solid #60ffff;
}