.character-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.character-card {
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.9), rgba(20, 20, 40, 0.9));
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 25px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 100, 150, 0.3);
    overflow: hidden;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(150, 150, 200, 0.5);
}

.character-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/backgrounds/character-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.character-avatar {
    flex: 0 0 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(224, 192, 128, 0.5);
}

.character-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.character-card:hover .character-avatar img {
    transform: scale(1.1);
}

.online-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background-color: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 10px #2ecc71;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.character-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.character-name {
    color: #e0c080;
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.character-progress {
    margin-bottom: 15px;
}

.progress-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e0c080, #ffd700);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.level-indicator {
    display: block;
    font-size: 14px;
    color: #ddd;
    text-align: right;
}

.character-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.detail-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.character-detail {
    color: #ccc;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.character-detail i {
    color: #e0c080;
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.character-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.character-action-btn {
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-action-btn i {
    margin-right: 5px;
}

.play-btn {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    color: white;
}

.play-btn:hover {
    background: linear-gradient(90deg, #27ae60, #219653);
    transform: translateY(-2px);
}

.details-btn {
    background: linear-gradient(90deg, #3498db, #2980b9);
    color: white;
}

.details-btn:hover {
    background: linear-gradient(90deg, #2980b9, #2471a3);
    transform: translateY(-2px);
}

.inventory-btn {
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
    color: white;
}

.inventory-btn:hover {
    background: linear-gradient(90deg, #8e44ad, #7d3c98);
    transform: translateY(-2px);
}

.online-btn {
    background: rgba(46, 204, 113, 0.3);
    color: #2ecc71;
    cursor: default;
}

.no-characters {
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.no-characters p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 18px;
}

.account-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(224, 192, 128, 0.3);
}

.account-tab {
    padding: 15px 25px;
    background: none;
    border: none;
    color: #ccc;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.account-tab:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e0c080, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.account-tab.active {
    color: #e0c080;
}

.account-tab.active:after {
    opacity: 1;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

@media (max-width: 768px) {
    .character-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .character-avatar {
        margin-bottom: 15px;
    }
    
    .character-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .character-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}
