/* Combat Shared Styles - High Fantasy Theme */
/* This file is now deprecated - use components-combat.css from the design system */
/* Kept for backward compatibility but will be removed in future version */

@import url('components-combat.css');

/* ========================================
   MULTIPLAYER SPECIFIC (not yet in design system)
   ======================================== */

.multiplayer-lobby {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.lobby-header {
    background: rgba(255, 215, 0, 0.15);
    padding: var(--space-xl) var(--space-2xl);
    border-bottom: 1px solid var(--color-border-base);
}

.lobby-title {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.lobby-code {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.lobby-code-value {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    letter-spacing: 0.2em;
}

.player-list {
    padding: var(--space-lg);
}

.player-slot {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
}

.player-slot:hover {
    border-color: var(--color-border-hover);
}

.player-slot.host {
    border-left: 3px solid var(--color-primary);
}

.player-slot.ready {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.05);
}

.player-slot-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.player-slot-name {
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

.player-slot-class {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
}

.connection-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.connection-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.connection-dot.connected {
    background: var(--color-success);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.connection-dot.disconnected {
    background: var(--color-danger);
}

.ready-badge {
    background: linear-gradient(135deg, var(--color-success), var(--color-success-dark));
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.host-badge {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #0f172a;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

/* ========================================
   ADVENTURE SELECTION
   ======================================== */

.adventure-card {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    cursor: pointer;
    transition: all var(--transition-slow);
}

.adventure-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-active);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.adventure-card-title {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.adventure-card-description {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.adventure-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
}

/* ========================================
   MULTIPLAYER TABS
   ======================================== */

.multiplayer-tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.multiplayer-tab {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid transparent;
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-text-secondary);
}

.multiplayer-tab:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-primary);
}

.multiplayer-tab.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--color-border-active);
    color: var(--color-primary);
}

/* ========================================
   JOIN BY CODE
   ======================================== */

.join-code-container {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
}

.join-code-title {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

/* ========================================
   CLASS FEATURE BUTTONS
   ======================================== */

.class-feature-btn {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: var(--font-weight-semibold);
}

.barbarian-rage-btn {
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    animation: rage-pulse 2s ease-in-out infinite;
}

.barbarian-rage-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
}

.rage-active-alert {
    animation: rage-glow 1.5s ease-in-out infinite;
    font-weight: var(--font-weight-semibold);
}

@keyframes rage-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
    }
}

@keyframes rage-glow {
    0%, 100% {
        border-color: rgba(220, 38, 38, 0.4);
        background: rgba(220, 38, 38, 0.1);
    }
    50% {
        border-color: rgba(220, 38, 38, 0.8);
        background: rgba(220, 38, 38, 0.15);
    }
}
