﻿.player-tabs {
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0 1.5rem;
    padding: 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
}

.player-tab-btn {
    flex: 1;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
}

.player-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.player-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 16px -4px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.player-tab-content {
    display: none !important;
}

.player-tab-content.active {
    display: block !important;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.badge-item {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.badge-image {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.badge-info {
    flex: 1;
    min-width: 0;
}

.badge-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.badge-level {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.badge-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.badge-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.badge-progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: right;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.card-item {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.card-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.card-item.evolved {
    border-color: var(--accent-color);
    background: rgba(245, 158, 11, 0.05);
}

.card-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.5rem;
    display: block;
    border-radius: 0.5rem;
}

.card-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    min-height: 2.4em;
}

.card-details {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.card-level {
    background: var(--gradient-primary);
    color: white;
    padding: 0.15rem 0.4rem;
    border-radius: 0.3rem;
    font-size: 0.65rem;
    font-weight: 600;
}

.card-stars {
    font-size: 0.65rem;
}

.card-evolution {
    font-size: 0.85rem;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.achievement-item {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.achievement-item.complete {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.achievement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.achievement-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.achievement-stars {
    font-size: 1rem;
}

.achievement-info {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.achievement-progress {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.empty-message {
    text-align: center;
    color: var(--text-secondary);
    padding: 3rem;
    font-size: 1rem;
}