/* Global Styles */
:root {
    --bg-color: #0d0d12;
    --card-bg: #1a1a24;
    --primary: #00f3ff;
    /* Cyan Neon */
    --secondary: #ff0055;
    /* Red Neon */
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --glass: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

/* Typography */
.neon-text {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.status-box {
    padding: 1rem 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 200px;
}

#player-status {
    border-bottom: 3px solid var(--primary);
}

#enemy-status {
    border-bottom: 3px solid var(--secondary);
}

.vs {
    font-weight: 900;
    font-style: italic;
    font-size: 1.5rem;
    color: #fff;
}

/* Grid */
.fighters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Cards */
.fighter-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.fighter-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-image .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--card-bg), transparent);
}

.card-info {
    padding: 1.5rem;
    position: relative;
}

.card-info h2 {
    margin: 0;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.style-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.stat {
    text-align: center;
    font-size: 0.9rem;
}

.stat span {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
}

/* Selection States */
.selected-player {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.selected-enemy {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}

/* Button */
#fight-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 1.2rem 4rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: not-allowed;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
}

#fight-btn.ready {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
}

#fight-btn.ready:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.6);
}

/* Combat View Specifics (Preview) */
.arena {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
}

.battler {
    flex: 1;
    text-align: center;
}

.health-bar-container {
    width: 100%;
    height: 10px;
    background: #333;
    border-radius: 5px;
    margin: 1rem 0;
    overflow: hidden;
}

.health-bar-fill {
    height: 100%;
    background: var(--primary);
    width: 100%;
    transition: width 0.5s ease;
}

.enemy-fill {
    background: var(--secondary);
}

.combat-log {
    background: rgba(0, 0, 0, 0.5);
    height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
    text-align: left;
    font-family: monospace;
}

.combat-log p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

.combat-log .log-attack {
    color: #ff9;
}

.combat-log .log-heal {
    color: #9f9;
}

.combat-log .log-ult {
    color: #f5f;
    font-weight: bold;
}

.controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.action-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    transition: transform 0.2s;
}

.btn-attack {
    background: #ff4757;
    color: white;
}

.btn-heal {
    background: #2ed573;
    color: white;
}

.btn-ult {
    background: #a55eea;
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

footer {
    text-align: center;
    margin: 2rem;
    color: var(--text-muted);
}

footer a {
    color: var(--primary);
    text-decoration: none;
}
